Commit graph

1117 commits

Author SHA1 Message Date
Benoît Minisini
119d8674bf [GB.GTK]
* BUG: Forgot to implement a static class variable in gapplication.cpp.


git-svn-id: svn://localhost/gambas/trunk@2661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 21:08:52 +00:00
Benoît Minisini
1ff708f0b0 [INTERPRETER]
* BUG: Fix commnad-line arguments parsing.
* NEW: System.Family is a new property that returns the operating system 
  family (Linux, FreeBSD...) as a string.
* NEW: System.Architecture is a new property that returns the current CPU
  architecture as as string: x86, x86_64 or ARM.


git-svn-id: svn://localhost/gambas/trunk@2660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 15:48:37 +00:00
David Villalobos Cambronero
0c563c2e1a [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 13:45:07 +00:00
Benoît Minisini
49ad535836 [GB.GTK]
* BUG: Popup menus now grab events correctly.

[INTERPRETER]
* BUG: Clean up usage help messages for gbx3 and gbr3.

[GB.FORM]
* NEW: FileView now sorts files by using natural sort.


git-svn-id: svn://localhost/gambas/trunk@2658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 02:30:37 +00:00
Benoît Minisini
3cfa47d94f [DEVELOPMENT ENVIRONMENT]
* BUG: Loading recent projects list now does not crash if one of the 
  recent project is invalid.


git-svn-id: svn://localhost/gambas/trunk@2655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 00:48:48 +00:00
Benoît Minisini
888bf3ed3b [DEVELOPMENT ENVIRONMENT]
* NEW: Group recent files by slots (today, yesterday, last week...) in 
  recent file lists and menus.


git-svn-id: svn://localhost/gambas/trunk@2654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-01 14:48:16 +00:00
Benoît Minisini
34ece710f0 [DEVELOPMENT ENVIRONMENT]
* NEW: Apply color theme to project treeview, property sheet and form 
  hierarchy window.

[INTERPRETER]
* NEW: gbr3 and gbx3 now interpret their command line the same way.
* NEW: The -L option now prints the license, and the -h option only print
  the interpreter usage.

[GB.GTK]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.

[GB.QT4]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.


git-svn-id: svn://localhost/gambas/trunk@2653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-01 12:17:38 +00:00
Benoît Minisini
fd13cc710e [COMPILER]
* NEW: Be more clever when detecting hexdecimal or binary numbers.

[GB.EVAL]
* NEW: Be more clever when detecting hexdecimal or binary numbers.

[GB.FORM]
* BUG: In DateChooser, switching to February works now, when there is 28 
  days in February and the current day is greater or equal than 29.


git-svn-id: svn://localhost/gambas/trunk@2651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-31 20:32:12 +00:00
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