Commit graph

211 commits

Author SHA1 Message Date
Radek Fryšták
78745749dd [EXAMPLES]
* NEW: Czech translation for Object.


git-svn-id: svn://localhost/gambas/trunk@3637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-05 21:25:45 +00:00
Radek Fryšták
ece57ed411 [EXAMPLES]
* NEW: Czech translation by Collection.


git-svn-id: svn://localhost/gambas/trunk@3636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-05 20:58:34 +00:00
Benoît Minisini
e402978455 [GB.FORM]
* BUG: IconView.Background now works as expected.


git-svn-id: svn://localhost/gambas/trunk@3628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-02 01:07:37 +00:00
Benoît Minisini
bd1eca0749 [EXAMPLES]
* BUG: Only one instance of the text in the Printing example.


git-svn-id: svn://localhost/gambas/trunk@3627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-28 14:58:56 +00:00
Benoît Minisini
188afde117 [EXAMPLES]
* BUG: Some little fixes.

[GB.FORM]
* NEW: Support for Xfce 4.6 icon themes.


git-svn-id: svn://localhost/gambas/trunk@3614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 23:24:38 +00:00
Matti
c05f8563ea [EXAMPLES]
* OPT: Lighttable: moving of frames simplified


git-svn-id: svn://localhost/gambas/trunk@3613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 21:23:35 +00:00
Benoît Minisini
a0cf1a5b01 [DEVELOPMENT ENVIRONMENT]
* BUG: Paste and Delete are now correctly disabled in the form editor when 
  the form is read-only.

[EXAMPLE]
* NEW: New Printing example.

[GB.DRAW]
* NEW: Paint.RichTextExtents() now take an optional width argument.
* NEW: Paint.DrawText() and Paint.DrawRichText() are two new methods to 
  directly draw text without using an intermediate path. They make 
  generated PDF and Postscript files smaller.

[GB.FORM]
* BUG: Setting ScrollArea.Border property correctly refreshes it now.
* BUG: ScrollArea contents is correctly clipped now.

[GB.GTK]
* BUG: gb.gtk now requires 'gtk+-unix-print-2.0' pkg-config library.
* BUG: Dialog.Font works correctly now.
* BUG: Relative font sizes are correctly interpreted in rich text now.
* BUG: TextArea shortcuts correctly ensure that the cursor is visible.
* BUG: Paint.DrawImage() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-23 15:49:56 +00:00
Benoît Minisini
3b081cdc5c [DEVELOPMENT ENVIRONMENT]
* NEW: Update authors list.

[EXAMPLES]
* BUG: Fix the use of boolean incrementation in DeepSpace example.


git-svn-id: svn://localhost/gambas/trunk@3601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 13:04:52 +00:00
Benoît Minisini
9b8cb32427 [EXAMPLES]
* NEW: Remove the Sensor example.


git-svn-id: svn://localhost/gambas/trunk@3600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 12:57:58 +00:00
Benoît Minisini
2387674156 [EXAMPLES]
* NEW: Remove the Gambas 2 DataReportExample example.


git-svn-id: svn://localhost/gambas/trunk@3599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 12:45:09 +00:00
Benoît Minisini
ac03c9fc85 [GB.CAIRO]
* NEW: Cairo.ShowPage() and Cairo.CopyPage() have been implemented.
* NEW: New classes for implementing some Cairo surfaces: CairoPdfSurface, 
  CairoPsSurface and CairoSvgSurface.

[GB.IMAGE]
* BUG: When deleting an image, free the temporary handle before the owner 
  handle, because the temporary owner may want to access the data while 
  freeing it.


git-svn-id: svn://localhost/gambas/trunk@3590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 00:26:50 +00:00
Benoît Minisini
1628c4844b [GB.DRAW]
* BUG: Remove some now useless code.

[GB.FORM]
* BUG: Close the balloon, do not hide it. That way, it won't prevent the 
  program from exiting the event loop.

[GB.GTK]
* BUG: Windows are correctly deleted at event loop exit.


git-svn-id: svn://localhost/gambas/trunk@3589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 16:17:32 +00:00
Benoît Minisini
cd44f9a7de [EXAMPLES]
* BUG: Fix the Blights example.

[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple 
  of eight pixels.
* NEW: Paint.DrawImage() has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 01:32:14 +00:00
Benoît Minisini
4e709192c2 [EXAMPLES]
* NEW: Remove old Gambas 2 automation examples.


git-svn-id: svn://localhost/gambas/trunk@3586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-20 23:21:21 +00:00
Benoît Minisini
4525d7f572 [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure under the mouse is correctly highlighted while 
  scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly 
  handled when the project is under subversion.

[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.

[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now 
  correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.


git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 02:21:34 +00:00
Matti
5c7c88166b [EXAMPLES]
* NEW: German translation of some more examples
* BUG: Barcode: made translatable, made strings translatable, changes to
  layout for translatability
* NEW: Painting: made translatable
* BUG: Sensor: made a string translatable
* BUG: GameOfLife: made translatable, typos corrected
* NEW: GNUBoxWorld: made strings translatable, help text completed
* BUG: RobotFindsKitten: ported to Gambas3, made strings translatable
* BUG: Snake: made translatable, made strings translatable, debugging
  message removed
* BUG: Solitaire: made a string translatable


git-svn-id: svn://localhost/gambas/trunk@3580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-18 20:59:45 +00:00
Fabien Bodard
26b5f0236d [EXAMPLES]
* OPT: Some littles changes in the code.


git-svn-id: svn://localhost/gambas/trunk@3574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-15 19:56:07 +00:00
Fabien Bodard
99e9365cf5 [EXAMPLES]
* BUG: The form close only when the esc key is pressed


git-svn-id: svn://localhost/gambas/trunk@3573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-15 19:33:42 +00:00
Benoît Minisini
1c14f33263 [EXAMPLES]
* NEW: Rename the "Array_of_Controls" example as "ArrayOfControls".


git-svn-id: svn://localhost/gambas/trunk@3572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 19:27:16 +00:00
Matti
c133db3049 [EXAMPLES]
* NEW: Array_of_Controls (forgotten in rev. 3570)



git-svn-id: svn://localhost/gambas/trunk@3571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 19:17:48 +00:00
Matti
0a5ff28e04 [EXAMPLES]
* NEW: German translation of some more examples
* BUG: TextEdit: remove TextEdit1_Link, since it has been removed from
  gb.qt4.ext
* NEW: Add Array_of_Controls
* BUG: PictureDatabase: make strings translatable
* BUG: AnalogWatch: Port it to gb3



git-svn-id: svn://localhost/gambas/trunk@3570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 18:55:14 +00:00
Benoît Minisini
f4b4816f4c [GB.DB.FORM]
* BUG: Use the Proxy property in data bound controls.

[GB.DESKTOP]
* BUG: Fix the reading of big X11 properties.


git-svn-id: svn://localhost/gambas/trunk@3554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-11 22:16:43 +00:00
Matti
b8f67cb808 [GB.FORM]
* NEW: Update of German translation

[EXAMPLES]
* NEW: German translation of some examples
* BUG: Collection: disable btnCreate after executing
* NEW: Timer: small layout changes for better readability
* BUG: DragNDrop: Port it to Gambas 3
* BUG: TextEdit: Correct ToolTips, make texts translatable
* BUG: TreeView: Correct gender symbols, layout changes, make texts
       translatable
* BUG: Database: small layout changes for translatability


git-svn-id: svn://localhost/gambas/trunk@3552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-10 20:41:26 +00:00
Benoît Minisini
8cb70ddf70 [GB.GTK]
* BUG: Key[] does not print GTK+ warning anymore when getting a null 
  string as argument.
* BUG: Mouse.Blank cursor works as expected now.


git-svn-id: svn://localhost/gambas/trunk@3547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 01:35:04 +00:00
Benoît Minisini
1daab792db [DEVELOPMENT ENVIRONMENT]
* BUG: CoordBox correctly returns decimal value in american format.

[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog 
  anymore.
* BUG: Printed font now have the correct size.

[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because 
  Paint.DrawText aligns according to Font.Height and not 
  Paint.TextExtents().


git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 01:28:12 +00:00
Benoît Minisini
5af06bc544 [EXAMPLES]
* BUG: Port the OnScreenDisplay example to Gambas 3.

[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now 
  raises the Activate event.

[GB.GTK]
* BUG: Fix warnings when creating a Slider.

[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.


git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:03:52 +00:00
Benoît Minisini
50b23be17a [DEVELOPMENT ENVIRONMENT]
* BUG: Use the menu editor only for GUI forms.


git-svn-id: svn://localhost/gambas/trunk@3522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 20:58:46 +00:00
Benoît Minisini
6744c067b9 [GB.FORM]
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
  arrange and draw its icons.
* OPT: IconView refreshing has been optimized.

[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().

[GB.QT4]
* NEW: TextArea.Alignment has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:35:47 +00:00
Matti
6a8e48f645 [EXAMPLES]
* NEW: Wizard: show how to move between the steps by code,
  and give some additional informations.


git-svn-id: svn://localhost/gambas/trunk@3497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-26 20:03:56 +00:00
Matti
9e91468026 [EXAMPLES]
* NEW: Wizard example:little corrections to make text visible
* NEW: Wizard example: German translation


git-svn-id: svn://localhost/gambas/trunk@3492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 17:57:59 +00:00
Benoît Minisini
b0c42307a1 [EXAMPLES]
* NEW: New Wizard example made by Mathias Ebermann.

[GB.FORM]
* BUG: ValueBox whose Type is Number does not block Tab and Shift+Tab keys 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@3488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-22 01:38:33 +00:00
Benoît Minisini
fce4691c9f [DEVELOPMENT ENVIRONMENT]
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current 
  desktop.

[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker, 
  Enlighnement.

[GB.GTK]
* NEW: Support for screen available geometry.


git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 16:07:50 +00:00
David Villalobos Cambronero
7e327f1619 [Examples]
* NEW: Added a new example to show how to use gb.mysql

git-svn-id: svn://localhost/gambas/trunk@3448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-06 15:48:46 +00:00
Benoît Minisini
7cf9cc6881 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't abort if there is a breakpoint with a bad line number stored
  in the project settings file.

[GB.GTK]
* BUG: SpinBox Value property should always be accurate now.
* BUG: Enter and Leave events are correctly raised again.
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.
* BUG: A parent menu does not raise the Click event anymore.

[GB.QT4]
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.

[GB.QT4.EXT]
* BUG: Getting the Editor.Text property now does not leave the current line
  uncolorized.


git-svn-id: svn://localhost/gambas/trunk@3440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-04 16:10:07 +00:00
Benoît Minisini
15d0fbcb9c [DEVELOPMENT ENVIRONMENT]
* BUG: Symbol icons are all visible again in the completion popup.
* NEW: A source language different from the one used in the source code can
  be used in the translation dialog.

[GB.FORM]
* NEW: Bookmark edition has been redesigned and enhanced.


git-svn-id: svn://localhost/gambas/trunk@3433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 12:25:56 +00:00
Jordi Sayol
130724e07f [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Catalan translation.

[MAKEWEBSITE]
* NEW: Updated Catalan translation.

[DOC.CGI]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Updated Catalan translation of Lighttable.
* NEW: Updated Catalan translation of ServerSocket.




git-svn-id: svn://localhost/gambas/trunk@3418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 02:17:14 +00:00
Benoît Minisini
cd788ff08a [GB.GTK]
* BUG: Keyboard events are now sent to windows the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@3412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 18:25:16 +00:00
Benoît Minisini
c275829ddc [DEVELOPMENT ENVIRONMENT]
* BUG: The control rename algorithm should work better now.

[EXAMPLES]
* BUG: Fix ServerSocket and ClientSocket examples.

[INTERPRETER]
* BUG: WRITE and READ with a specified length of zero now does nothing.

[GB.NET]
* BUG: Closing a socket created by a ServerSocket does not crash anymore.

[GB.QT4]
* BUG: When a combo-box becomes read-only, the first item is automatically 
  selected if there was no current item.
* BUG: Window with no border can have focus now.



git-svn-id: svn://localhost/gambas/trunk@3404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-28 21:58:42 +00:00
Benoît Minisini
6a596a2aa6 [DEVELOPMENT ENVIRONMENT]
* NEW: Gambas2 to Gambas3 project converter. Only forms and project 
  structure are converted at the moment, as before.
* NEW: Update compiler error messages list.

[INTERPRETER]
* BUG: Activate the automatic instance just after its creation, but 
  before calling the constructors, so that they can reference it without
  trying to create it recursively again and again.


git-svn-id: svn://localhost/gambas/trunk@3397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-24 12:20:11 +00:00
Benoît Minisini
e5cac201f2 [GB.GTK]
* BUG: Draw.Picture() and Draw.Zoom() now have the same behaviour as 
  gb.qt4. The picture is not smoothed when it is enlarged by an integer
  ratio.

[GB.QT4]
* BUG: Cached DrawingArea refresh should work again.
* BUG: Resizing a cached DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@3394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 00:23:58 +00:00
Benoît Minisini
0384fd1303 [GB.DB.FORM]
* BUG: Update DataControl and DataView to the new behaviour of IsXXX() and
  Val() functions.



git-svn-id: svn://localhost/gambas/trunk@3391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-22 01:47:00 +00:00
Jordi Sayol
93646d4c1c [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[EXAMPLES]
* NEW: Lighttable Help Catalan translation added.
* NEW: GNUBoxWorld Catalan translation updated.



git-svn-id: svn://localhost/gambas/trunk@3381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-20 02:37:02 +00:00
Matti
02739a761f [EXAMPLES]
*NEW: Lighttable: allow localized help files


git-svn-id: svn://localhost/gambas/trunk@3379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-19 16:42:40 +00:00
Jordi Sayol
50e9e81c5f [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.

[GB.FORM.MDI]
* NEW: Catalan translation updated.

[GB.FORM.DIALOG]
* NEW: Catalan translation updated.

[GB.FORM]
* NEW: Catalan translation updated.

[GB.DB.FORM]
* NEW: Catalan translation updated.

[EXAMPLES]
* NEW: Catalan translation of all examples updated.



git-svn-id: svn://localhost/gambas/trunk@3373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-17 00:24:35 +00:00
Jordi Sayol
585cc90819 [EXAMPLES]
* NEW: Added Catalan translation of Lighttable.
* NEW: Added Catalan translation of Puzzle1To8.
* NEW: Added Catalan translation of GNUBoxWorld.



git-svn-id: svn://localhost/gambas/trunk@3372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-16 17:40:25 +00:00
Jordi Sayol
c5e8667fdf [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.

[GB.FORM.MDI]
* NEW: Catalan translation updated.

[GB.FORM.DIALOG]
* NEW: Catalan translation updated.

[GB.FORM]
* NEW: Catalan translation updated.

[GB.DB.FORM]
* NEW: Catalan translation updated.

[EXAMPLES]
* NEW: Catalan translation of all examples updated.



git-svn-id: svn://localhost/gambas/trunk@3371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-16 01:58:02 +00:00
Benoît Minisini
1354ca2af7 [GB.DB.ODBC]
* BUG: Table existence should be checked correctly now.

[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image 
  easily.

[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is 
  taken into account when painting on a Printer object.


git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:20:40 +00:00
Benoît Minisini
018ea0ebb1 [EXAMPLES]
* NEW: Remove the Printing example that works on Gambas 2 only.


git-svn-id: svn://localhost/gambas/trunk@3341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-04 15:39:48 +00:00
Benoît Minisini
030523326f [INTERPRETER]
* NEW: Mem$() is a new function that returns a string from the internal 
  memory representation of a value.
* NEW: BoolPtr() has been replaced by Bool@(), BytePtr() has been replaced 
  by Byte@(), and so on...
* NEW: StrPtr() has been replaced by String@().

[EXAMPLES]
* NEW: Search support in the WebBrowser example.


git-svn-id: svn://localhost/gambas/trunk@3318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 01:30:36 +00:00
Matti
f6d634845d [DEVELOPMENT ENVIRONMENT]
* OPT: Update of German Translation

[MAKEWEBSITE]
* OPT: Update of German Translation

[GB.DB.FORM]
* OPT: Update of German Translation

[GB.FORM]
* OPT: Update of German Translation

[GB.FORM.MDI]
* OPT: Update of German Translation

[DOC.CGI]
* OPT: Update of German Translation

[TEXTEDIT EXAMPLE]
* OPT: Update of German Translation

[TREEVIEV EXAMPLE]
* NEW: German Translation

[CONCENT EXAMPLE]
* NEW: German Translation

[TIPS OF THE DAY]
* OPT: Update of German Translation



git-svn-id: svn://localhost/gambas/trunk@3300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 19:29:27 +00:00