Commit graph

1200 commits

Author SHA1 Message Date
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
Benoît Minisini
32d0b2e12c [GB.GTK]
* NEW: Printer implementation was completed.

[GB.FORM]
* NEW: Some control icons were updated.

[GB.QT4]
* NEW: Printer class implementation.

[GB.QT4.EXT]
* NEw: The Printer class was removed.


git-svn-id: svn://localhost/gambas/trunk@2579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 02:12:35 +00:00
Laurent Carlier
6128fa8d9f [GB.GTK]
* NEW: Add the ability to init gb.gtk component through another component.

[GB.GTK.OPENGL]
* NEW: New component to manage an OpenGL through gb.gtk component

This component is pre-alpha, and doesn't work yet, but the structure is in place.


git-svn-id: svn://localhost/gambas/trunk@2576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 12:57:51 +00:00
Fabien Bodard
a7c69e8357 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish de project class help
  but there is a problem on inherited class info


git-svn-id: svn://localhost/gambas/trunk@2575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 10:42:48 +00:00
Benoît Minisini
8e281f3181 [DEVELOPMENT ENVIRONMENT]
* NEW: Change some control icons.
* NEW: An icon for the Printer control.

[GB.GTK]
* NEW: The Printer control has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 02:51:59 +00:00
Benoît Minisini
25df6dde6a [GB.GTK]
* BUG: Rotations must be counter-clockwise when the angle is positive.

[GB.QT4]
* BUG: Rotations must be counter-clockwise when the angle is positive.


git-svn-id: svn://localhost/gambas/trunk@2573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:48:43 +00:00
Fabien Bodard
99f9df5340 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the project classes symbols are correctly showed
       i just need to add constant and creatable infos


git-svn-id: svn://localhost/gambas/trunk@2572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:16:57 +00:00
Benoît Minisini
b1381b8956 [EXAMPLES]
* NEW: Fix the text extend example in Painting example.

git-svn-id: svn://localhost/gambas/trunk@2571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:11:45 +00:00
Benoît Minisini
e565884447 [EXAMPLES]
* NEW: Fix the radio button of the example #17 in Painting example.

git-svn-id: svn://localhost/gambas/trunk@2570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:59:31 +00:00
Benoît Minisini
e5107e258e [EXAMPLES]
* NEW: Add a module that includes a function that generates all example
  source text files directly from the Gambas source file in the Painting
  example.
* NEw: Some fixes in the source code of the Painting example.

[GB.GTK]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.

[GB.QT4]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.


git-svn-id: svn://localhost/gambas/trunk@2569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:55:35 +00:00