Commit graph

1009 commits

Author SHA1 Message Date
Fabien Bodard
0e3298486a [DEVELOPMENT ENVIRONMENT]
* NEW: Now the classes help page pattern is partially traductible



git-svn-id: svn://localhost/gambas/trunk@2650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-31 12:35:26 +00:00
Benoît Minisini
6d3201bc1f [WIKI CGI SCRIPT]
* BUG: Linkification does not erase symbols references anymore.

[INTERPRETER]
* BUG: Use the system maximum path length constant, not ours.

[COMPILER]
* BUG: Allow Inherits to be followed by any indentifier.


git-svn-id: svn://localhost/gambas/trunk@2647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-28 10:55:24 +00:00
Benoît Minisini
0665d5f720 [CONFIGURATION]
* BUG: Configuration summary should be printed correctly again.
* NEW: README file was updated.

[INTERPRETER]
* BUG: The Error information should not be lost anymore during error 
  propagation through constructors.
* NEW: Natural comparison is now always language-aware.

[GB.QT4]
* BUG: TextArea selection methods work correctly now.
* BUG: TreeView.Count and ColumnView.Count now return the number of items 
  in the view like in gb.gtk, not just the number of root items.


git-svn-id: svn://localhost/gambas/trunk@2643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-27 03:28:06 +00:00
Benoît Minisini
fc7e755733 [DEVELOPMENT ENVIRONMENT]
* BUG: "End Function" can mark the end of a function.


git-svn-id: svn://localhost/gambas/trunk@2641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-27 00:08:19 +00:00
Benoît Minisini
6f2a3f43a5 [INTERPRETER]
* NEW: gb.Text has been deprecated, and a warning is printed each time it 
  is used now. Use gb.IgnoreCase instead.
* NEW: Natural string comparison and sorting were implemented. Use the 
  gb.Natural constant for that.


git-svn-id: svn://localhost/gambas/trunk@2640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 17:53:58 +00:00
Benoît Minisini
24b651b14f [DEVELOPMENT ENVIRONMENT]
* NEW: Creating and removing records is now possible in the database 
  table editor.
* BUG: Procedures whose name is enclosed between braces are now displayed 
  correctly in the editor procedure combo-box.
* BUG: Backup files are not taken into account anymore where generating
  unique names for new files.

[GB.DB.FORM]
* NEW: DataView.Editable is a new property to define if a DataView is 
  editable.
* NEW: DataBrowser.Editable is a new property to define if a DataBrowser is 
  editable.

[GB.FORM]
* NEW: Less padding in Balloons.
* NEW: ButtonBox has a new Border property.

[GB.QT4]
* NEW: TextArea.ToPos(), TextArea.ToLine() and TextArea.ToColumn() methods 
  were implemented.
* OPT: TextArea is now based on the QPlainTextEdit widget.
* BUG: Do not let GridView raise too many Scroll events.


git-svn-id: svn://localhost/gambas/trunk@2638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 12:10:58 +00:00
Benoît Minisini
8b29fc8165 [GB.DESKTOP]
* BUG: Make the gb.desktop project use gb.qt4 instead of gb.gui, otherwise
  it cannot be installed.


git-svn-id: svn://localhost/gambas/trunk@2637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 19:54:45 +00:00
Peter Landgren
983da1e59d [GB.FORM.DIALOG]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:25:31 +00:00
Peter Landgren
ae99ef9732 [GB.DB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:24:12 +00:00
Peter Landgren
c58d8b1c13 [GB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:17:58 +00:00
Peter Landgren
22b2627a33 [GB.FORM.MDI]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:14:31 +00:00
Peter Landgren
1508bdcee0 [WIKI CGI SCRIPT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:12:36 +00:00
Peter Landgren
b0b5941f80 [DEVELOPMENT ENVIRONMENT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:09:21 +00:00
Benoît Minisini
6abb6b9690 [GB.DB.FORM]
* BUG: Clicking on a void DataView does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 15:03:44 +00:00
Benoît Minisini
8c8859b165 [CONFIGURATION]
* BUG: Fix the compilation and installation order of sub-directories.

[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not 
  like them.

[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent 
  container has no arrangement.

[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the 
  window manager close button.


git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 14:23:51 +00:00
Benoît Minisini
211f4595ac [DEVELOPMENT ENVIRONMENT]
* NEW: The signature popup does not display the help by default anymore. 
  Instead there is a toggle button inside the signature to show that help.


git-svn-id: svn://localhost/gambas/trunk@2628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 00:45:05 +00:00
Benoît Minisini
4a5667fad2 [GB.DESKTOP]
* BUG: Some files were incorrectly modified by Mac OS X changes.


git-svn-id: svn://localhost/gambas/trunk@2625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-22 10:07:59 +00:00
Benoît Minisini
667a8eda24 [GB.QT4]
* BUG: Fix compilation on Mac OS X and Linux.


git-svn-id: svn://localhost/gambas/trunk@2624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-22 01:25:24 +00:00
Benoît Minisini
a1635a40a5 [GB.DB.MYSQL]
* NEW: Search include and library files in /opt/local for Mac OS X.

[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it 
  does not compile yet.

[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
  Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!



git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-21 16:46:21 +00:00
Benoît Minisini
932eb88117 [CONFIGURATION]
* BUG: Use -fnested-functions only on Mac OS X.
* BUG: The GB_COMPONENT macro now correctly voids all component variables 
  when the component is not found.


git-svn-id: svn://localhost/gambas/trunk@2621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 14:08:22 +00:00
Benoît Minisini
2add6d27f7 [DEVELOPMENT ENVIRONMENT]
* NEW: The "report-ng" script has been integrated inside the IDE. To get 
  its result, you must now open the "About" dialog box and click on the 
  "system information" tab. The result of the script is displayed and 
  automatically copied in the clipboard so that you can use it for your own
  purpose.


git-svn-id: svn://localhost/gambas/trunk@2620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 13:03:56 +00:00
Benoît Minisini
09b7390344 [CONFIGURATION]
* BUG: Do not use the "echo" command with options, FreeBSD shell does 
  not understand it.
* BUG: Make the "main" directory compile on Mac OS X.



git-svn-id: svn://localhost/gambas/trunk@2619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 01:37:45 +00:00
Benoît Minisini
927a153b22 [DEVELOPMENT ENVIRONMENT]
* BUG: Always correctly round control coordinates in the form editor when 
  the form Scaled property is set.

[GB.FORM]
* BUG: Clicking inside the FontChooser style ListBox now always works 
  correctly.

[GB.GTK]
* BUG: Setting the Control.Tracking property should work correctly in all 
  cases now.
* BUG: Prevent a crash when creating an Image or a Picture with incorrect
  constructor arguments.

[GB.IMAGE.EFFECT]
* BUG: Use accurate compilation flags.

[GB.NET]
* BUG: Clear the CR / NL input conversion flags when initializing a serial 
  port.

[GB.QT4]
* BUG: Setting MovieBox Path property to NULL does not fail anymore.
* BUG: Do not try to reparent a window in its Show() method when it is 
  already visible.


git-svn-id: svn://localhost/gambas/trunk@2618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 00:52:50 +00:00
Benoît Minisini
4e17272a76 [INTERPRETER]
* BUG: Do not crash anymore when running the interpreter in a directory 
  that is not a gambas project. And print a clear message then.


git-svn-id: svn://localhost/gambas/trunk@2617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 00:37:00 +00:00
Benoît Minisini
5c7f33a54b [GB.QT4]
* BUG: Do not use Xor composition mode if Qt version is not >= 4.5.0.


git-svn-id: svn://localhost/gambas/trunk@2611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-13 21:27:11 +00:00
Benoît Minisini
482bade6e1 [EXAMPLES]
* NEW: New game "Puzzle1To8" made by Pablo Mileti.


git-svn-id: svn://localhost/gambas/trunk@2609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-12 00:01:08 +00:00
Benoît Minisini
18882cf487 [DEVELOPMENT ENVIRONMENT]
* NEW: JavaScript files with "*.js" extension are highlighted.

[GB.EVAL.HIGHLIGHT]
* NEW: JavaScript highlighting routine.

[GB.QT4.EXT]
* BUG: Editor now correctly handles highlighting of help comments spanning 
  on multiple lines.
* NEW: Editor highlights only the matching bracket or parenthesis, not the 
  current one anymore.


git-svn-id: svn://localhost/gambas/trunk@2608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 21:14:40 +00:00
Benoît Minisini
96d7b36b7d [GB.GTK]
* NEW: Paint.TextExtents has been correctly implemented.

[GB.QT4]
* NEW: Paint.TextExtents has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 00:51:35 +00:00
Benoît Minisini
0421ced0fe [EXAMPLES]
* NEW: The ImageViewer example now uses the Paint class.

[INTERPRETER]
* NEW: Class.Symbols now returns a string array of all class public 
  symbols.
* NEW: Component.IsLoaded is a new static method to check if a specific 
  component has been loaded.
* NEW: Components.Load has been removed.

[GB.GTK]
* NEW: Cairo requirements have been added to the configure.ac file.
* NEW: The Container.Children.Clear method has been implemented.

[GB.GUI]
* NEW: Add gb.image requirement in the gb.gui component file.

[GB.QT4]
* BUG: DrawingArea scrollbars are correctly displayed again.
* BUG: DrawingArea internal cache is correctly resized with the control.


git-svn-id: svn://localhost/gambas/trunk@2606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 23:00:31 +00:00
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Fabien Bodard
09916d0a4b [GB.REPORT]
* NEW: Begin to convert gb.report to use the paint class


git-svn-id: svn://localhost/gambas/trunk@2603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-08 20:37:00 +00:00
David Villalobos Cambronero
426dfa33d1 [GB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 14:32:55 +00:00
David Villalobos Cambronero
6e66eecf18 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 14:29:53 +00:00
Benoît Minisini
a07a868dbd [WIKI CGI SCRIPT]
* BUG: Correctly deals with class reimplementation for Gambas3 component 
  help pages.

[GB.GTK]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.

[GB.NET]
* NEW: Starting some code cleanup in the component.

[GB.QT4]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.

[GB.QT4.WEBKIT]
* NEW: WebFrame.Print() is a new method to send a frame to an existing 
  printer object.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.


git-svn-id: svn://localhost/gambas/trunk@2600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 12:04:53 +00:00
Laurent Carlier
61a84a8483 [GB.OPENGL.GLSL]
* NEW: Add support for Gl.GetUniformLocation and Gl.UniformMatrix**** methods


git-svn-id: svn://localhost/gambas/trunk@2598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 23:42:48 +00:00
Benoît Minisini
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version 
  control if the project parent directory is already under version control.

[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
  display the text extents accurately.

[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.

[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.

[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.

[GB.NET]
* NEW: UpdSocket has now a Timeout property.

[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when 
  they have a border.


git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 17:09:57 +00:00
Benoît Minisini
6e51411941 [GB.NET]
* NEW: The Socket class got a Timeout property to define the socket sending 
  and receiving timeout. The same property with UdpSocket and ServerSocket
  will follow.


git-svn-id: svn://localhost/gambas/trunk@2594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 13:08:00 +00:00
Benoît Minisini
f6aa513082 [GB.NET]
* NEW: Socket are blocking by default, except Socket created by 
  ServerSocket that are non-blocking by default.
* BUG: Writing too much data on a non-blocking socket raises an error now.


git-svn-id: svn://localhost/gambas/trunk@2593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 19:44:25 +00:00
Benoît Minisini
e61a0c45be [INTERPRETER]
* BUG: Hexadecimal numbers can be interpreted as Long only if they have 
  more than eight digits (32 digit for binary numbers), or if they are 
  unsigned.

[COMPILER]
* BUG: Hexadecimal numbers can be interpreted as Long only if they have 
  more than eight digits (32 digit for binary numbers), or if they are 
  unsigned.


git-svn-id: svn://localhost/gambas/trunk@2592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 15:04:06 +00:00
Benoît Minisini
c40fabf1b8 [EXAMPLES]
* BUG: IDE .settings file should not be put in subversion. Remove it from 
  Painting example.


git-svn-id: svn://localhost/gambas/trunk@2591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 13:38:34 +00:00
Benoît Minisini
62ddf76303 [EXAMPLES]
* NEW: SVG drawing in Painting example has been enhanced.

[GB.GTK]
* BUG: Correctly detect file copy errors in the SvgImage.Save() method.

[GB.QT4]
* NEW: SvgImage.Load() has been implemented, and painting on a SvgImage 
  loaded from disk is now possible.
* BUG: Paint.TextExtents has been fixed to take into account negative top 
  and left extents.


git-svn-id: svn://localhost/gambas/trunk@2590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 03:59:02 +00:00
Benoît Minisini
58577a9c0a [CONFIGURATION]
* NEW: Remove the gb.gtk.svg component.


git-svn-id: svn://localhost/gambas/trunk@2589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 02:01:34 +00:00
Benoît Minisini
870f511e1c [GB.GTK]
* NEW: Painting on a SvgImage loaded from a SVG file is now possible.


git-svn-id: svn://localhost/gambas/trunk@2588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 01:55:03 +00:00
Benoît Minisini
330a46fbed [EXAMPLES]
* NEW: Add a SVG drawing to the Painting example.

[GB.GTK]
* NEW: Use librsvg to implement SVG file loading and rendering.
* NEW: SvgImage.Load is a new method to load a SVG file from disk.
* NEW: SvgImage.Paint is a new method for painting the SvgImage to the 
  current painted device.
* BUG: Paint.TextExtents works correctly by taken into account negative 
  top and left extents.


git-svn-id: svn://localhost/gambas/trunk@2587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 23:20:25 +00:00
Fabien Bodard
f543f61634 [GB.GTK]
* BUG: Now there is no segmentation fault on running.


git-svn-id: svn://localhost/gambas/trunk@2586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 23:13:56 +00:00
Fabien Bodard
5a319b4eb5 [GB.GTK]
* NEW: implement Paint.TextExtents

[GB.QT4]
* NEW: implement Paint.TextExtents



git-svn-id: svn://localhost/gambas/trunk@2585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 22:19:11 +00:00
Benoît Minisini
a2fa1cc408 [GB.GTK]
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.

[GB.QT4]
* NEW: The SvgImage class has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 21:32:45 +00:00
Benoît Minisini
05fe8d8446 [INTERPRETER]
* NEW: A new interpreter API to get temporary file names.
* NEW: A new interpreter API to copy a file.
* NEW: Rename the GB.GetTempDir() function to GB.TempDir(), and fix all 
  components using it.

[GB.GTK]
* NEW: SvgImage is a new class that allows to generate SVG files by 
  painting on it. But it cannot render them.


git-svn-id: svn://localhost/gambas/trunk@2583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 18:45:35 +00:00
Benoît Minisini
d81bda1c5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save ListBox having exactly 31 items defined from the IDE.

[INTERPRETER]
* BUG: Now when a method call fails when checking arguments, the arguments
  are correctly released.

[GB.QT4]
* NEW: The Window background picture is now drawn differently, and not 
  propagated anymore.


git-svn-id: svn://localhost/gambas/trunk@2582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 14:55:13 +00:00
Benoît Minisini
dab9c93bbe [WIKI CGI SCRIPT]
* BUG: Fix a HTML markup mistake.

[GB.GTK]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.

[GB.GUI]
* BUG: Add Printer control to the *.component file.

[GB.QT4]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
* BUG: Add Printer control to the *.component file.


git-svn-id: svn://localhost/gambas/trunk@2580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 11:54:16 +00:00