Commit graph

815 commits

Author SHA1 Message Date
Benoît Minisini
eab3905085 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a true popup now to display the editor procedure list.

[GB.FORM.MDI]
* NEW: Slightly change the look of the toolbar configuration dialog.

[GB.QT4]
* BUG: Popups are correctly activated when shown now.


git-svn-id: svn://localhost/gambas/trunk@3195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 15:38:42 +00:00
Benoît Minisini
83a86ff33c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when scanning project class header.

[GB.FORM]
* NEW: Add svg files for "linux" and "gambas" icons.
* NEW: Stock.Debug is a new property that makes the Stock class print 
  debugging message when set.
* NEW: The Stock debugging messages are also activated if the environmental
  variable named "GB_STOCK_DEBUG" is set.
* BUG: Better detection of how icons are stored inside themes.
* NEW: Icons directories are browsed theme by theme instead of theme being
  browsed directory by directory. That follows the freedesktop 
  specifications.

[GB.QT4.EXT]
* BUG: Highlight.Add() now correctly handles when more than 1024 
  successive characters have the same highlight pattern.


git-svn-id: svn://localhost/gambas/trunk@3193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 10:30:09 +00:00
Fabien Bodard
651cccbf12 [SCRIPTER]
* OPT: Remove a debug message


git-svn-id: svn://localhost/gambas/trunk@3192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 08:13:25 +00:00
Fabien Bodard
ca4c16a38b [SCRIPTER]
* BUG: Gambas scripter work again on gambas3.
* BUG: If a function is already implemented by a given library then don't
  try to add a new one.
* BUG: Main sub is correctly detected now


git-svn-id: svn://localhost/gambas/trunk@3191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 07:43:08 +00:00
Benoît Minisini
86751ff950 [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh the search browse list when the search window is activated 
  and if one of the file included in the search list has been modified 
  since the last refresh. That way, the browse list contents should always
  be accurate.


git-svn-id: svn://localhost/gambas/trunk@3189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 01:16:25 +00:00
Benoît Minisini
be4f2108d5 [DEVELOPMENT ENVIRONMENT]
* BUG: Closing the search window while browsing the project now cancels the 
  search.
* BUG: Pretty printing the code now works correctly with IF ... THEN ...
  lines ending with comments.


git-svn-id: svn://localhost/gambas/trunk@3188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 19:49:33 +00:00
Benoît Minisini
e9b2cd19b9 [WIKI CGI SCIRPT]
* NEW: Support for czech language.

[GB.GTK]
* BUG: Fix behaviour of autoresize Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 17:38:57 +00:00
Fabien Bodard
48212b979c [SCRIPTER]
* BUG: Change the content of .project file to fit with the new gb3 pattern


git-svn-id: svn://localhost/gambas/trunk@3180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-05 20:53:42 +00:00
Fabien Bodard
b68274e984 [SCRIPTER]
* BUG: Now, the component loader work again by using the new ide routine.


git-svn-id: svn://localhost/gambas/trunk@3179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-05 20:44:47 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Benoît Minisini
262d9d6bc5 [GB.FORM]
* BUG: MenuButton best size should be computed correctly now.

[GB.GTK]
* BUG: ColumnView, TreeView and ListView are correctly refreshed when an 
  item icon is changed.


git-svn-id: svn://localhost/gambas/trunk@3172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 18:29:05 +00:00
Benoît Minisini
2a60608474 [WIKI CGI SCRIPT]
* BUg: Fix the handle of formatting characters.

[INTERPRETER]
* NEW: Sizeof() now takes a datatype constant (like gb.Integer) as 
  argument, and not an expression anymore.
* NEW: Object.Sizeof() returns the memory used by an object in bytes.


git-svn-id: svn://localhost/gambas/trunk@3170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 12:02:08 +00:00
Benoît Minisini
93a7daf44e [DEVELOPMENT ENVIRONMENT]
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the 
  user can put the menus inside the main toolbar so that eveything fit on 
  one line.
* NEW: Hiding the menu now displays a removable warning message.

[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account 
  inside a word.

[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message, 
  i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.

[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.

[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially 
  visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.

[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.


git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 00:58:35 +00:00
Benoît Minisini
62c381c2f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle compiler errors having column information.

[INTERPRETER]
* BUG: Manage errors from native methods differently.

[COMPILER]
* NEW: Return the column in error messages generated by the parser.

[GB.GTK]
* BUG: Make TabStrip behave like in gb.qt when inserting a new tab.


git-svn-id: svn://localhost/gambas/trunk@3156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 20:51:10 +00:00
Benoît Minisini
6fa248850c [GB.FORM]
* NEW: Some new icons.

[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.

[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.


git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 01:39:59 +00:00
Benoît Minisini
84aa516fa4 [INTERPRETER]
* NEW: System.FirstDayOfWeek is a new property that allows to define the 
  first day of the week if the default is not accurate. The default value
  is gb.Sunday for english countries and gb.Monday otherwise.
* NEW: The Week() function now use the default first day of the week.

[GB.FORM]
* NEW: DateChooser now takes System.FirstDayOfWeek into account.


git-svn-id: svn://localhost/gambas/trunk@3151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 12:33:05 +00:00
Benoît Minisini
21008d01b9 [DEVELOPMENT ENVIRONMENT]
* BUG: Oops. Fix a forgotten bug in the last commit.


git-svn-id: svn://localhost/gambas/trunk@3150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 01:04:08 +00:00
Benoît Minisini
e9419adbf7 [DEVELOPMENT ENVIRONMENT]
* BUG: The file combo-box in the translation dialog is correctly 
  initialized again.
* BUG: Fix many many bugs in the function that generates the project 
  classes help.


git-svn-id: svn://localhost/gambas/trunk@3149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 01:01:27 +00:00
Benoît Minisini
2cba68053e [DEVELOPMENT ENVIRONMENT]
* NEW: You can choose the language used by the help browser and the help 
  popups from the help browser window.

[GB.FORM]
* NEW: Somme little cosmetic changes in the Expander container.


git-svn-id: svn://localhost/gambas/trunk@3148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 23:33:07 +00:00
Benoît Minisini
6db743fc12 [GB.FORM]
* NEW: Polish the DirChooser/FileChooser bookmark button.

[GB.QT4]
* BUG: Send expected Leave and Enter events when a popup is closed.


git-svn-id: svn://localhost/gambas/trunk@3146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 21:09:34 +00:00
Benoît Minisini
27ce882d1e [GB.FORM]
* NEW: DateChooser use Sunday as first day of the week when the current 
  language is 'C' or 'en_US'.


git-svn-id: svn://localhost/gambas/trunk@3140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 15:51:25 +00:00
Benoît Minisini
e389bcfa9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when closing the procedure list with F6.

[EXAMPLES]
* BUG: Fix the display of method signatures in the DBusExplorer example.

[GB.WEB]
* NEW: Disable HTTP compression if 'gzip' is not installed.


git-svn-id: svn://localhost/gambas/trunk@3134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 20:56:29 +00:00
Benoît Minisini
eb94949c92 [DEVELOPMENT ENVIRONMENT]
* NEW: More snippets for declaring local variables: "di" declares an 
  integer variable, "ds" a string variable...

[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect() 
  method takes it into account now.

[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event 
  handler.

[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is 
  buffered, and if the HTTP client can handle it of course.


git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:56:55 +00:00
Benoît Minisini
808cafc1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Main window layout follows main toolbar size correctly again.

[GB.FORM.MDI]
* NEW: Toolbar are now configured through a popup menu. The toolbar handle
  has been removed.

[GB.QT4]
* BUG: AutoResize property now works in both dimensions for horizontal and 
  vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@3126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 14:46:43 +00:00
Charlie Reinl
cb5549e320 BUG : MPrettyCode , "End If" was not taken into cClose list
git-svn-id: svn://localhost/gambas/trunk@3125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-18 22:04:15 +00:00
Benoît Minisini
f673289045 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a pretty printer button in the code editor.


git-svn-id: svn://localhost/gambas/trunk@3124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 14:34:37 +00:00
Benoît Minisini
a7bbd9ac90 [DEVELOPMENT ENVIRONMENT]
* BUG: Redesign the main window toolbar so that it does not bug anymore 
  when being configured.


git-svn-id: svn://localhost/gambas/trunk@3123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 11:34:21 +00:00
David Villalobos Cambronero
01b024d77d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 22:17:40 +00:00
Benoît Minisini
b2e5a3979f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the project tree view.

[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.

[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.


git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 21:56:11 +00:00
Benoît Minisini
2fbab44da9 [DEVELOPMENT ENVIRONMENT]
* NEW: New project files not added to the subversion repository are now 
  always visible when refreshing the project tree.


git-svn-id: svn://localhost/gambas/trunk@3118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 12:18:50 +00:00
Benoît Minisini
82206cf4c9 [DEVELOPMENT ENVIRONMENT]
* NEW: Chaning the case of class names is allowed now.

git-svn-id: svn://localhost/gambas/trunk@3117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:54:02 +00:00
Benoît Minisini
40ae8310f2 [GB.FORM]
* BUG: MenuButton behaves more like a normal button.

[GB.QT4]
* BUG: Fix style drawing methods.


git-svn-id: svn://localhost/gambas/trunk@3115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 09:58:39 +00:00
David Villalobos Cambronero
5de667b8fa [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 02:46:17 +00:00
Benoît Minisini
07efe53bdf [DEVELOPMENT ENVIRONMENT]
* NEW: Use expanders in the project option dialog.

[GB.FORM.MDI]
* BUG: Do not draw toolbar handle with style methods anymore. It is not 
  good for many styles.


git-svn-id: svn://localhost/gambas/trunk@3113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 00:19:33 +00:00
Benoît Minisini
b620f3a8bd [DEVELOPMENT ENVIRONMENT]
* NEW: Put the breakpoint and watch buttons inside the code editor.
* NEW: Use another icon for breakpoints.

[GB.FORM]
* BUG: MenuButton does not react to mouse events when disabled now.

[GB.FORM.MDI]
* NEW: Use style methods to draw the toolbar handle.
* BUG: Dragging toolbar buttons work with Qt 4.7.

[GB.GTK]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Do not try again to get information about a widget when a window is 
  needed and the widget is not yet realized.

[GB.QT4]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Now windows not yet shown can be closed even if a modal window is 
  currently active.

[GB.QT4.EXT]
* NEW: Little changes in Editor margin drawing routine.


git-svn-id: svn://localhost/gambas/trunk@3111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 21:45:23 +00:00
Benoît Minisini
13c7314713 [GB.GTK]
* BUG: Correctly release Menu tags.


git-svn-id: svn://localhost/gambas/trunk@3109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 16:04:58 +00:00
Benoît Minisini
0fced172a7 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the code editor menu when the project is running.

[GB.FORM.MDI]
* NEW: The Workspace.ButtonPosition property has been removed.
* NEW: The Workspace tabstrip now uses embedded close buttons.

[GB.IMAGE]
* NEW: The Image.Gray() method has been renamed as Image.Desaturate().
* NEW: The Image.Transparent() method has been renamed as Image.Erase().

[GB.IMAGE.EFFECT]
* NEW: The Image.Gray() and Image.Desaturate() methods have been removed.


git-svn-id: svn://localhost/gambas/trunk@3105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 19:57:06 +00:00
Benoît Minisini
b3351fb0e0 [DEVELOPMENT ENVIRONMENT]
* NEW: A new option to use utility windows or normal windows for option
  dialog, search window and help browser.

[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.

[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.

[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.

[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.


git-svn-id: svn://localhost/gambas/trunk@3102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 10:43:37 +00:00
Benoît Minisini
055e187a6a [DEVELOPMENT ENVIRONMENT]
* NEW: In Gambas, javascript, HTML and CSS editor, a button to insert 
  a color definition, or a color already defined in the current source 
  code.
* NEW: Allow links with title ([<link>|<title>]) in help comment syntax.

[GB.FORM]
* BUG: In FileView, file sizes are really written with 1 Kib = 1024 bytes.
* BUG: MenuButton has an Action property again.
* BUG: MenuButton raise its basic events.

[GB.IMAGE]
* BUG: COlor.Darker() works correctly for black, white and gray colors now.

[GB.IMAGE.IO]
* BUG: Image.Save() quality is correctly handled. For PNG format, the 
  quality is actually the compression level, between 0 and 9.

[GB.QT4.WEBKIT]
* NEW: WebFrame.HTML is a new property that returns the HTML contents of a 
  specific frame.
* NEW: WebFrame.Text  is a new property that returns the text inside a 
  specific frame.

[GB.WEB]
* NEW: When the session is abandonned, the Session_Abandon() static public 
  method is called in the startup class.


git-svn-id: svn://localhost/gambas/trunk@3096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 11:49:57 +00:00
Laurent Carlier
e75d1e59cf [DEVELOPMENT ENVIRONMENT]
* BUG: Now archlinux packages are correctly generated.

Some features like extra files or libraries are not yet implemented


git-svn-id: svn://localhost/gambas/trunk@3095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-05 21:52:01 +00:00
Benoît Minisini
c6593fc839 [DEVELOPMENT ENVIRONMENT]
* NEW: A menu button in the project property dialog to quickly insert 
  the "GB_GUI" environmental variable.

[GB.FORM]
* NEW: Enhancements in ButtonBox and MenuButton controls.
* NEW: MenuButton.Border is a new property to set if the MenuButton has a
  border or not.
* NEW: If the MenuButto has no menu, it will raise its Click event if its
  arrow button is clicked.

[GB.GTK]
* NEW: ToolButton are "transparent" now.
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.

[GB.QT4]
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.


git-svn-id: svn://localhost/gambas/trunk@3093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 21:27:39 +00:00
Benoît Minisini
4b6b0a7a3e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the reopening of edited files after a project has been "save 
  as".


git-svn-id: svn://localhost/gambas/trunk@3085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-01 18:50:25 +00:00
Benoît Minisini
855acf8d4d [WIKI CGI SCRIPT]
* NEW: Display the list of all undocumented symbols.

[GB.FORM]
* BUG: Fix the behaviour of automatic expanding in the DirView control.
* NEW: Hide DatePicker and MessageLabel controls. They have many problems,
  and I want to see if someone use them.

[GB.GTK]
* BUG: Popup menus now work correctly on tray icons in all cases.
* NEW: TabStrip.Closable is a new property to display little close buttons 
  beside each tab label. When this button is clicked, a Close event is 
  raised, taking the tab index as argument.

[GB.QT4]
* NEW: TabStrip.Closable is a new property to display little close buttons 
  beside each tab label. When this button is clicked, a Close event is 
  raised, taking the tab index as argument.


git-svn-id: svn://localhost/gambas/trunk@3084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-01 00:09:06 +00:00
Benoît Minisini
2b98eb48ec [DEVELOPMENT ENVIRONMENT]
* BUG: Fix search when saving the file between two identical searches.
* NEW: Don't save the Url in the project file if it is equal to the default
  URL http://www.endoftheinternet.com

[GB.QT]
* BUG: Fix the behaviour of ComboBox when setting the List property, and 
  the order used for saving ComboBox properties in the *.form file.

[GB.GTK]
* BUG: Fix the behaviour of ComboBox when setting the List and the ReadOnly 
  property, and the order used for saving ComboBox properties in the *.form 
  file.



git-svn-id: svn://localhost/gambas/trunk@3082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-31 00:19:15 +00:00
Benoît Minisini
8871738fb6 [INTERPRETER]
* BUG: READ and WRITE now correctly handle Pointer datatype.
* BUG: Classes inheriting an array class now work correctly.

[GB.FORM]
* NEW: FileChooser and DirChooser have a new ShowButton property that shows 
  OK and Cancel buttons inside the control. Clicking on the Cancel button
  raises a new Cancel event.
* NEW: Bookmark management has been redesigned in file controls.
* NEW: MenuButton got an AutoResize property.

[GB.FORM.DIALOG]
* NEW: File dialogs now remember their geometry.

[GB.GTK]
* BUG: Fix duplicate Click event in CheckBox control.
* BUG: Correctly handle tristate Checkbox controls.


git-svn-id: svn://localhost/gambas/trunk@3076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-29 10:19:10 +00:00
Benoît Minisini
9824b4bfce [DEVELOPMENT ENVIRONMENT]
* BUG: Searching spaces now works in highlighted files.
* OPT: The result of grep has been cached, so that successive searches are 
  faster.

[GB.QT4.EXT]
* NEW: The Editor[].Purge() method replacing character can be passed as an 
  argument.



git-svn-id: svn://localhost/gambas/trunk@3069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-25 23:19:35 +00:00
Benoît Minisini
31229ff322 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix search of strings starting with a minus sign.


git-svn-id: svn://localhost/gambas/trunk@3068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-25 13:51:53 +00:00
Laurent Carlier
003e185a54 [DEVELOPMENT ENVIRONMENT]
* NEW: Add Archlinux package support (source and binary)

Port from gambas2 code, not yet finished


git-svn-id: svn://localhost/gambas/trunk@3065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-22 20:32:22 +00:00
Benoît Minisini
7f88b776ab [INTERPRETER]
* BUG: Do not crash anymore when a native function returns one of its 
  argument.
* NEW: New interpreter API to enumerate a collection.

[GB.DBUS]
* NEW: Collection are fully supported now.
* NEW: The org.freedesktop.DBus.properties.GetAll() method has been
  implemented.
* BUG: Correctly raise an error when calling a D-Bus method fails.
* BUG: Correctly release strings returned by D-Bus functions that must be
  released.


git-svn-id: svn://localhost/gambas/trunk@3058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-21 04:40:45 +00:00
Benoît Minisini
5826fdcf8c [DEVELOPMENT ENVIRONMENT]
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.

[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog 
  is displayed.
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.

[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.


git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-20 15:50:17 +00:00
Benoît Minisini
e509aab05f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix class header parsing in automatic completion.

[INTERPRETER]
* BUG: Class[].Signature has been implemented.
* BUG: Fix native method calling when some arguments must be converted.
* NEW: Two new interpreter APIs, GB.BorrowValue() and GB.ReleaseValue(), to
  correctly manage values returned by GB.ReadValue().

[GB.DBUS]
* NEW: Support for exporting properties and methods. The GetAll() DBus 
  method has not been implemented yet, because marshalling Collection is 
  not supported yet. Sending signals is not supported yet too.
* NEW: The previous DBusObject class has been renamed as DBusProxy.
* NEW: A new DBusObject class. Each Gambas object that inherits DBusObject
  is automatically exported through DBus.
* NEW: DBusSignal is a new class to catch DBus signals by giving its 
  interface name.


git-svn-id: svn://localhost/gambas/trunk@3047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-19 12:33:57 +00:00
Benoît Minisini
0bc1701225 [WIKI CGI SCRIPT]
* NEW: New look for version specific documentation.

[INTERPRETER]
* NEW: Assign() has been removed, and replaced by Eval() with an expression 
  beginning with the LET keyword.
* NEW: New routines to read a value stored at a memory address: BoolPtr(),
  BytePtr(), ShortPtr(), IntPtr(), LongPtr(), SinglePtr(), FloatPtr() and
  PointerPtr().

[COMPILER]
* NEW: The LET keyword can be used to write an assignment expression. Of
  course it is optional.

[GB.EVAL]
* NEW: The LET keyword can be used to evaluate an assignment.
* NEW: The Expression.Compile() method does not take any argument anymore.

git-svn-id: svn://localhost/gambas/trunk@3041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 16:33:29 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
5d6905a13e [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree popup menu now has the refresh action.

[GB.SIGNAL]
* NEW: New component to catch or ignore process signals.


git-svn-id: svn://localhost/gambas/trunk@3037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-12 23:09:57 +00:00
Benoît Minisini
6a680716a9 [DEVELOPMENT ENVIRONMENT]
* NEW: Store package name in the .project file.
* NEW: Take libraries into account in package dependencies.
* BUG: Fix autotools packages. Components are now stored beside the 
  "Component=" entry in the .project file. The "Library=" entry is for 
  libraries!

[ARCHIVER]
* NEW: Stores the .project file into executables.


git-svn-id: svn://localhost/gambas/trunk@3036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-11 23:13:11 +00:00
Benoît Minisini
4bf21cb273 [DEVELOPMENT ENVIRONMENT]
* BUG: Newly opened debug windows should now be entirely visible when there
  is a desktop panel on the top of the screen.


git-svn-id: svn://localhost/gambas/trunk@3034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-09 08:36:05 +00:00
Benoît Minisini
dcb90ff594 [DEVELOPMENT ENVIRONMENT]
* BUG: In form editor, fix arrangement icons handling in forms whose menu 
  is visible.


git-svn-id: svn://localhost/gambas/trunk@3032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-07 22:41:25 +00:00
Benoît Minisini
32f6172c89 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash is structure declaration analyze.

[INTERPRETER]
* NEW: Support for static array of structures. A static array of structure 
  'MyStruct' will create a temporary object whose class is '$MyStruct[]'. 
  That class does not inherit 'Array', and has only a few methods of the 
  Array class.
* NEW: Byte[].ToString() is a new method to convert a byte array to a 
  string. If no length is specified, ToString() assumes that the byte array
  is a zero-terminated string.
* NEW: Byte[].FromString() is a new method that fills a byte array with the
  contents of a string.

[COMPILER]
* NEW: Declaration of static arrays of structures is allowed.


git-svn-id: svn://localhost/gambas/trunk@3031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-07 22:06:05 +00:00
Benoît Minisini
4eee881fda [DEVELOPMENT ENVIRONMENT]
* NEW: Global search can be cancelled.
* NEW: The IDE does not try to open binary files anymore.
* NEW: Use the new TabStrip.TextFont property.
* NEW: The open project dialog has been redesigned.

[INTERPRETER]
* BUG: String.Left(), String.Mid() and String.Right() now return NULL on 
  truncated UTF-8 substrings.


git-svn-id: svn://localhost/gambas/trunk@3029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-05 22:17:49 +00:00
Benoît Minisini
fdf5a0f0f6 [DEVELOPMENT ENVIRONMENT]
* NEW: New code snippet to define a startup Main procedure.
* NEW: In the open project dialog, selecting a project directory now
  displays the project contents inside a treeview, like the IDE does.

[GB.QT4]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.
* BUG: When showing a form, the initial focus should be correctly set in 
  all cases now.


[GB.GTK]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.


git-svn-id: svn://localhost/gambas/trunk@3024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-27 22:04:25 +00:00
Benoît Minisini
7cd4bea00b [DEVELOPMENT ENVIRONMENT]
* NEW: In about dialog, fade the scrolling text, as in the Firefox about 
  dialog.
* NEW: Clicking on a project treeview item expands it after the mouse 
  button has been released.

[GB.FORM]
* NEW: Clicing on a DirView item expands it after the mouse button has been
  released.

[GB.QT4]
* NEW: A little fix in menu management.


git-svn-id: svn://localhost/gambas/trunk@3022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-26 23:55:58 +00:00
Benoît Minisini
6059d4dcb7 [GB.IMAGE]
* NEW: New API for marking an image as modified, and for synchronizing it 
  before reading it, when the temporary image owner needs it.


git-svn-id: svn://localhost/gambas/trunk@3016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-19 12:38:28 +00:00
Benoît Minisini
b2bba45700 [DEVELOPMENT ENVIRONMENT]
* BUG: Replacing does not ignore the current selected text aynmore when it
  matches.

git-svn-id: svn://localhost/gambas/trunk@3015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-18 22:51:15 +00:00
Benoît Minisini
3702526cf8 [DEVELOPMENT ENVIRONMENT]
* BUG: Searching inside the console does not crash anymore.
* NEW: A little redesign of the project property editor. The "print stack 
  backtrace" option has been removed, as now the stack backtrace is always
  printed.


git-svn-id: svn://localhost/gambas/trunk@3012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-18 00:05:36 +00:00
Benoît Minisini
be6bde730d [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly deals with unknown components in the project property 
  dialog.

[INTERPRETER]
* NEW: Error backtrace is now always printed.
* OPT: Some optimizations in mathematical routines.

[GB.IMAGE]
* NEW: Image.FillRect() is a new method that fills a rectangle with a 
  specified color.


git-svn-id: svn://localhost/gambas/trunk@3007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-15 06:54:38 +00:00
Laurent Carlier
4d008efb61 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a different color for unknown components.

I know the color is fluffy :-p


git-svn-id: svn://localhost/gambas/trunk@3006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-14 14:18:50 +00:00
Benoît Minisini
29e1b1ae70 [DEVELOPMENT ENVIRONMENT]
* BUG: Display unknown components again.

git-svn-id: svn://localhost/gambas/trunk@3001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-13 11:01:40 +00:00
Benoît Minisini
405f8f89fe [INTERPRETER]
* OPT: Some optimizations again in memory allocator, object releasing 
  routine, arithmetic operators, class variable reader, line-by-line stream
  reader, class symbol sort routine.
* BUG: Using constant strings inside variant, like database drivers, works
  correctly again and does not crash the interpreter anymore.


git-svn-id: svn://localhost/gambas/trunk@2996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-08 23:08:04 +00:00
Benoît Minisini
b3db598050 [DEVELOPMENT ENVIRONMENT]
* BUG: Breakpoints are correctly reset when opening a new project.

[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API 
  signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.

[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
  automatically converted to uppercase.


git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 23:48:53 +00:00
David Villalobos Cambronero
2e0c3db634 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 21:12:46 +00:00
David Villalobos Cambronero
5048852864 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 14:04:18 +00:00
Benoît Minisini
4351654665 [DEVELOPMENT ENVIRONMENT]
* BUG: Save report form coordinates as scaled.
* BUG: Correctly write scaled coordinates to form files again.


git-svn-id: svn://localhost/gambas/trunk@2978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-29 21:06:39 +00:00
Benoît Minisini
4fff317030 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle structures in automatic completion.

[INTERPRETER]
* BUG: Make the malloc cache returns 8-bytes aligned pointers on 64 bits 
  systems.

[COMPILER]
* OPT: Some optimizations again.
* OPT: Do not use -O3 for symbol table routines. Valgrind says that it is 
  slower than with -Os. Strange...


git-svn-id: svn://localhost/gambas/trunk@2977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-29 00:11:55 +00:00
Benoît Minisini
17a6f7ebed [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore incorrect paths when loading recent file list.

[INTERPRETER]
* OPT: Compute stack backtrace only when needed.


git-svn-id: svn://localhost/gambas/trunk@2975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-28 07:47:49 +00:00
Benoît Minisini
b727d17086 [INTERPRETER]
* OPT: Using object references is faster.
* BUG: Fix a misuse of GB.NewString() in the String class.

[COMPILER]
* BUG: Raise an error now when trying to create an array of structures.

[GB.QT4]
* OPT: Global widget event filter is faster.
* OPT: Do not internallt relayout TabStrip too often, because Qt takes a 
  lot of time to do that.



git-svn-id: svn://localhost/gambas/trunk@2974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-28 06:24:14 +00:00
Benoît Minisini
3412ce6442 [CONFIGURATION]
* NEW: Object file format has changed, so bytecode version has been 
  incremented, and all projects must be recompiled. Yes, again!

[INTERPRETER]
* OPT: Optimizations in comparison operators.
* OPT: Optimize symbol lookup tables.

[COMPILER]
* OPT: Optimize symbol lookup tables.

[GB.EVAL]
* BUG: Gambas source code is correctly highlighted again.
* NEW: Quoted identifiers (those between '{' and '}') are highlighted more 
  intelligently now.


git-svn-id: svn://localhost/gambas/trunk@2971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-27 13:51:09 +00:00
Benoît Minisini
b0a0c52af0 [INTERPRETER]
* NEW: More work on structure support.
* BUG: Fix optimization in error management.

[COMPILER]
* OPT: More optimizations. The Gambas 3 compiler is faster to compile the 
  Gambas 3 IDE than the Gambas 2 compiler to compile the Gambas 2 IDE, 
  which is smaller!
* NEW: Do not compute variable position and size, as it is done by the 
  interpreter anyway.

[GB.EVAL]
* NEW: Use the same optimizations as the compiler in the parser.

[GB.XML.RPC]
* BUG: The component compiles again.



git-svn-id: svn://localhost/gambas/trunk@2964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-25 11:19:00 +00:00
Benoît Minisini
2215ca1b08 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly reset the breakpoint list when opening a project.


git-svn-id: svn://localhost/gambas/trunk@2959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-23 18:57:25 +00:00
Benoît Minisini
117f2ac635 [INTERPRETER]
* NEW: New GB.NewZeroString() API to create a Gambas string from a 
  null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.

[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.


git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-22 18:02:34 +00:00
Benoît Minisini
8e1604e59d [CONFIGURATION]
* NEW: The bytecode version has been incremented, as the object file format 
  has changed.

[DEVELOPMENT ENVIRONMENT]
* BUG: Handle static arrays in automatic completion.

[INTERPRETER]
* BUG: Handle public static arrays correctly.

[COMPILER]
* NEW: Handle structures, and write them inside object files.
* NEW: Class options (EXPORT, CREATE...) can only be written at the 
  beginning of the source file now.
* BUG: Fix some use of uninitialized values.
* BUG: Correctly write public static arrays in *.info files.
* NEW: Do not support old OPEN syntax anymore.


git-svn-id: svn://localhost/gambas/trunk@2952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-20 23:23:39 +00:00
Benoît Minisini
a2850ebc91 [CONFIGURATION]
* BUG: Do not compile database manager anymore, it has been deprecated.
* BUG: Compile the gb.dbus component.

[INTERPRETER]
* NEW: Pointer is a real datatype now.
* NEW: Static arrays came back. They are now like real array classes, 
  except that they are not resizable.
* NEW: IsPointer() is a new function that tells if an expression is a 
  pointer.
* NEW: All XXXX?() function synonymous were removed. Use the IsXXXX() 
  version instead.
* NEW: Remove now useless source files.

[COMPILER]
* NEW: Static arrays came back, with actually the same syntax as before.

[EXAMPLES]
* BUG: Fix the examples according to the new array syntax.



git-svn-id: svn://localhost/gambas/trunk@2949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-19 12:43:57 +00:00
David Villalobos Cambronero
75758d32ca git-svn-id: svn://localhost/gambas/trunk@2947 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-05-17 21:54:24 +00:00
Benoît Minisini
ce64eaa189 [DEVELOPMENT ENVIRONMENT]
* BUG: The DrawingArea.Transparent property has been removed, do not use it 
  anymore!


git-svn-id: svn://localhost/gambas/trunk@2946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-17 11:52:53 +00:00
Benoît Minisini
a8efb8045f [INTERPRETER]
* NEW: Support for "static" arrays is finally removed.

[COMPILER]
* NEW: Support for "static" arrays is finally removed.



git-svn-id: svn://localhost/gambas/trunk@2945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:30:54 +00:00
Benoît Minisini
ca37913578 [DEVELOPMENT ENVIRONMENT]
* BUG: Search string is correctly highlighted in all cases now.

[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.

[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables 
  with dimensions. The IDE and component source code were modified 
  according to that change.

[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:17:04 +00:00
Benoît Minisini
a1c3fa1617 [INTERPRETER]
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking 
  mode, then Eof() will wait for the data before testing if something can 
  be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always 
  available.

[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
  with the PIPE instruction.

[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or 
  show the colormap.

[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.


git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 20:17:29 +00:00
Benoît Minisini
c61aa8d978 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for enumerations.
* BUG: Clearing project history works again.

[COMPILER]
* NEW: Support for enumerations.


git-svn-id: svn://localhost/gambas/trunk@2935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 20:58:55 +00:00
Benoît Minisini
1727304958 [DEVELOPMENT ENVIRONMENT]
* NEW: Shift+Enter disables automatic insertion of control structure 
  instructions.

[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel 
  and MenuButton controls, so that it works with gb.gtk.

[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling 
  algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.

[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.


git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 14:26:07 +00:00
Benoît Minisini
148b6fa965 [DEVELOPMENT ENVIRONMENT]
* NEW: Default snippets are now immutable.


git-svn-id: svn://localhost/gambas/trunk@2933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 22:56:52 +00:00
Benoît Minisini
ccf9bb3c50 [DEVELOPMENT ENVIRONMENT]
* NEW: Better code fragments.


git-svn-id: svn://localhost/gambas/trunk@2932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 22:15:00 +00:00
Benoît Minisini
24f12621eb [DEVELOPMENT ENVIRONMENT]
* NEW: Code snippet configuration in the option dialog.
* NEW: Automatic insertion of control structures.

[GB.SETTINGS]
* NEW: The Settings class can now load settings files located inside the 
  project.

[GB.QT4.EXT]
* BUG: Selected text is now correctly deleted in block mode in the Editor 
  class.


git-svn-id: svn://localhost/gambas/trunk@2931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 21:22:50 +00:00
Benoît Minisini
a010d693d3 [DEVELOPMENT ENVIRONMENT]
* NEW: Some fixes in code snippets.
* NEW: Raise the automatic completion of special methods only when three 
  characters were typed.


git-svn-id: svn://localhost/gambas/trunk@2930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 12:30:10 +00:00
Benoît Minisini
98c0d81aad [CONFIGURATION]
* BUG: Fix the creation of the gbw3 symbolic link.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an error in arrangement icon management.
* NEW: Merge all form editor toolbars.
* NEW: Support for code snippets. Type "fo" and TAB to see it. Not yet
  finished.

[INTERPRETER]
* NEW: Standard format for numbers now displays all the decimal digits.

[GB.QT4.EXT]
* BUG: Fix a possible crash in Editor selection management.


git-svn-id: svn://localhost/gambas/trunk@2929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 11:46:02 +00:00
Benoît Minisini
9bc6316917 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix display of arrangement icon again in the form editor.
* NEW: Two new toolbar buttons in the form editor to center selected 
  controls either horizontally or vertically.


git-svn-id: svn://localhost/gambas/trunk@2925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 16:42:17 +00:00
Benoît Minisini
d1873301d0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the display of arrangement icons.
* OPT: Keep a reference on the root control is the form editor.
* BUG: Loading recent files should never crash anymore now.
* BUG: Start fixing project creation.

[INTERPRETER]
* BUG: Don't load a component if its name is the same as the main project.

[GB.QT4]
* BUG: Mouse buttons properties work again during a MouseRelease event.


git-svn-id: svn://localhost/gambas/trunk@2924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 12:54:45 +00:00
Benoît Minisini
32a0c4f54e [GB.QT4]
* BUG: Hidden menubar is not visible anymore.


git-svn-id: svn://localhost/gambas/trunk@2922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 11:58:43 +00:00
Fabien Bodard
7c3cb5d029 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a little bug


git-svn-id: svn://localhost/gambas/trunk@2921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 06:51:30 +00:00
Benoît Minisini
cc6dfc0e33 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix and enhance Gambas 2 project conversion.

[GB.QT4]
* BUG: Allow control resizing whatever the arrangement of its container, 
  provided that its Ignore property is set.


git-svn-id: svn://localhost/gambas/trunk@2920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 00:17:12 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
David Villalobos Cambronero
09a7da93e2 git-svn-id: svn://localhost/gambas/trunk@2917 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-26 14:02:40 +00:00
Benoît Minisini
1c0a7fb168 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some icons.
* NEW: Do not define a name for components that should not be visible in 
  the project property dialog.

[GB.FORM]
* BUG: Fix loading of stock icons.
* BUG: Fix the mapping of some Gnome icons.


git-svn-id: svn://localhost/gambas/trunk@2916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 13:59:05 +00:00
Benoît Minisini
c4bba37392 [GB.FORM]
* NEW: Remove useless icons.

[GB.FORM.STOCK]
* NEW: This new components just store a default set of stock icons. It is
  loaded by gb.form only if needed.


git-svn-id: svn://localhost/gambas/trunk@2915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 12:29:49 +00:00
Benoît Minisini
e02caaf252 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not show a form in the treeview if no component implements its 
  family.

[INTERPRETER]
* NEW: Detect overridden classes, and automatically convert the return 
  datatype of Gambas and native functions using an overridden class.
* NEW: Convert overridden classes in the NEW instruction.


git-svn-id: svn://localhost/gambas/trunk@2912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 09:36:47 +00:00
Benoît Minisini
52ac0bdfee [DEVELOPMENT ENVIRONMENT]
* BUG: Do not trim pasted text when using special paste.

[INTERPRETER]
* NEW: Format() can format Float number with up to 16 digits now.

[GB.QT4.EXT]
* NEW: Support for an insert & block mode. This mode is toggled with the
  "Insert" key.


git-svn-id: svn://localhost/gambas/trunk@2911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 23:04:27 +00:00
Benoît Minisini
ba1788cd5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly hide the reload button in the form editor when it should 
  be hidden.
* NEW: Take libraries into account in the auto-completion.

[GB.QT4.EXT]
* BUG: Center the cursor when requested, even if the cursor does not move.


git-svn-id: svn://localhost/gambas/trunk@2910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 16:04:42 +00:00
Benoît Minisini
d49fe17d83 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove any use of Component.UserPath and any reference to "user 
  component".
* NEW: "libraries" management. Libraries are defined in a new tab of the
  projet property dialog. At the moment, libraries exported classes are not
  taken into account by the automatic completion.
* NEW: The ESC key now closes the help browser.
* BUG: Correctly translate compilation error messages.

[INTERPRETER]
* NEW: "libraries" management.
* NEW: The Component.UserPath property has been removed.
* BUG: Evaluating "Application.Path" or "Application.Name" on the command 
  line does not crash anymore.

[COMPILER]
* BUG: Enhance translation of some error messages.
* NEW: Take libraries into account for exported class declarations.

[ARCHIVER]
* NEW: new "-x" option to extract a file from an archive.

[GB.QT4.EXT]
* NEW: Be more clever when deciding if a line has been modified after 
  having its last character deleted.


git-svn-id: svn://localhost/gambas/trunk@2909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 10:46:57 +00:00
Benoît Minisini
2e8429a800 [GB.GTK]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.

[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.


git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-21 01:25:19 +00:00
David Villalobos Cambronero
143d920ea6 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:11:55 +00:00
David Villalobos Cambronero
d7daff1aaa [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:10:00 +00:00
Benoît Minisini
0d5bb25a55 [DEVELOPMENT ENVIRONMENT]
* BUG: Errors on immediate debugging expressions are correctly displayed 
  now.

[WEB SITE MAKER]
* BUG: "mailto:" links are correctly generated now.

[INTERPRETER]
* NEW: The 'u' and 'uu' date formats do not display a point anymore. The
  point must be specified explicitely in the format string.


git-svn-id: svn://localhost/gambas/trunk@2900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 13:28:40 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +00:00
Benoît Minisini
060e7b81aa [DEVELOPMENT ENVIRONMENT]
* BUG: The ESC key closes the search dialog in all cases now.
* BUG: Ignoring comments and/or strings now correctly work on every 
  highlighted project file.
* BUG: Correctly detect class private symbols when doing automatic 
  completion.
* BUG: Correctly scan exported classes that reimplement another class 
  located in a component.

[GB.QT4.EXT]
* NEW: Editor.Lines[].Purge() is new method to retrieve a line without 
  strings and/or comments.


git-svn-id: svn://localhost/gambas/trunk@2897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 22:25:55 +00:00
David Villalobos Cambronero
191d16daa3 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 14:11:27 +00:00
Benoît Minisini
c0f1fba1ef [DEVELOPMENT ENVIRONMENT]
* BUG: Activating the toolbar search combo does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 00:19:19 +00:00
Benoît Minisini
255cfb2ded [DEVELOPMENT ENVIRONMENT]
* NEW: Searching in all project files (except forms) has been implemented.
* BUG: Many fixes in normal search.

[GB.GTK]
* BUG: Key.Code is not lost anymore during a KeyPress event.


git-svn-id: svn://localhost/gambas/trunk@2893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 00:13:41 +00:00
David Villalobos Cambronero
5084d4f79e [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-13 21:31:15 +00:00
Benoît Minisini
b96500054a [WEB SITE MAKER]
* NEW: Remove the project located in /app/src. The project is now located
  in /app/other, so that it is not included in the source package.


git-svn-id: svn://localhost/gambas/trunk@2889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 15:52:21 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
e7b3507ca8 [WEB SITE MAKER]
* BUG: Fix a typo in the korean translation.

git-svn-id: svn://localhost/gambas/trunk@2882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 21:57:32 +00:00
Benoît Minisini
fe71ae129a [WEB SITE MAKER]
* NEW: Some french translations of news.

git-svn-id: svn://localhost/gambas/trunk@2881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 21:48:08 +00:00
Seo Hyun-Gwan
0321dec905 git-svn-id: svn://localhost/gambas/trunk@2879 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-10 14:22:49 +00:00
Seo Hyun-Gwan
9d4b8adba8 git-svn-id: svn://localhost/gambas/trunk@2878 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-10 14:16:19 +00:00
Seo Hyun-Gwan
11dd98e7ba QTK+ -> GTK+
git-svn-id: svn://localhost/gambas/trunk@2877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 13:19:34 +00:00
Benoît Minisini
bfa190efe5 [DEVELOPMENT ENVIRONMENT]
* BUG: Alignment buttons do not snap controls dimensions to grid anymore in
  form editor.


git-svn-id: svn://localhost/gambas/trunk@2868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-07 15:32:59 +00:00
Benoît Minisini
a8c6cd99a3 [INTERPRETER]
* BUG: Process stream correctly detects when something has been really read
  during a Read event.

[GB.NET.SMTP]
* NEW: SmtpClient._NoGreeting is a new property that tells not to read the 
  SMTP server greeting. This is needed, because with TLS authentication, 
  openssl does not print it.


git-svn-id: svn://localhost/gambas/trunk@2865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 18:03:37 +00:00
Benoît Minisini
1a905d7cab [INTERPRETER]
* NEW: The GB.Stream.Read API reads up to a defined number of bytes when 
  its length argument is negative (like the READ instruction).
* NEW: Reading a stream up to a defined number of bytes blocks for the 
  first byte to read.

[GB.NET.SMTP]
* BUG: The SmtpClient now works when it is piped with a stream coming from 
  the openssl command, either with TLS or SSL.
* BUG: All SMTP commands are sent in lower case, because uppercase can 
  confuse openssl.


git-svn-id: svn://localhost/gambas/trunk@2864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 17:00:25 +00:00
Benoît Minisini
2ab35d25e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Dropping a picture on a Report form inserts a ReportImage now.
* BUG: Some fixes in arrangement icon drawing.
* OPT: Don't hide the console at program's end, if the console must remain 
  visible.
* NEW: Support for symbolic links to source directories. Disabled at the 
  moment.
* BUG: Do not use gb.gtk.ext in project templates, it does not exist 
  anymore!

[INTERPRETER]
* BUG: RDir() with FollowLink argument set correctly search into symbolic 
  link to directories.

[GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height do not crash anymore if the 
  underlying desktop does not support standard freedesktop properties.


git-svn-id: svn://localhost/gambas/trunk@2852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-02 12:34:21 +00:00
Benoît Minisini
543f0aceb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in form editor little arrangement icon management.
* BUG: Reloading a form should not crash anymore.
* BUG: Automatic completion now works on non-GUI forms.

[GB.QT4.EXT]
* NEW: TextEdit was rewritten to use the Qt4 QTextEdit class.
* NEW: TextEdit.Format.Background is a new property to define the 
  background color of the selected text.


git-svn-id: svn://localhost/gambas/trunk@2818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-22 23:21:13 +00:00
Benoît Minisini
9bd1adcf36 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the management of little arrangement icons in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 12:13:20 +00:00
Benoît Minisini
002d3bdb65 [GB.FORM]
* BUG: FileChooser.Reload() method should work as expected.


git-svn-id: svn://localhost/gambas/trunk@2809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 02:15:45 +00:00
Benoît Minisini
6cd1d9d0d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The container arrangement is now displayed with a little icon on the
  top right corner, only when the mouse cursor is inside the container.

[INTERPRETER]
* BUG: Event handlers defined in inherited class are called correctly now,
  without crashing.


git-svn-id: svn://localhost/gambas/trunk@2806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 06:05:17 +00:00
Benoît Minisini
67cdcabaf1 [DEVELOPMENT ENVIRONMENT]
* OPT: Refresh the property sheet only for the active form.

[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.

[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
  Paint.ClipExtents.


git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-17 09:06:16 +00:00
Benoît Minisini
8f6bfa322d [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls coordinates are correctly stored in *.form files 
  again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating 
  *.deb packages. It does not work, and apparently dpkg-buildpackage has no 
  problem with them.

[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.

[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes 
  the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.

[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.


git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:27:51 +00:00
Benoît Minisini
8c53bab42d [CONFIGURATION]
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.

[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.

[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.

[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.


git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 21:51:36 +00:00
Benoît Minisini
c41cadb11f [DEVELOPMENT ENVIRONMENT]
* BUG: The packager should work correctly again.
* BUG: Use gambas3-runtime instead of gambas2-runtime as dependency in the 
  packager.


git-svn-id: svn://localhost/gambas/trunk@2783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 17:48:30 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00
Benoît Minisini
53d08a1c34 [WEB SITE MAKER]
* NEW: Put it in the /app/other directory.


git-svn-id: svn://localhost/gambas/trunk@2777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-09 05:22:36 +00:00
Benoît Minisini
5e8e704004 [DEVELOPMENT ENVIRONMENT]
* NEW: Dependencies on components is now on major and minor version.
* NEW: The procedure list font now follows the size defined in the option 
  dialog.

[WEB SITE MAKER]
* NEW: Remove web site maker project from the /app/src directory.


git-svn-id: svn://localhost/gambas/trunk@2775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-09 04:59:46 +00:00
Benoît Minisini
6fdfa6d845 [DEVELOPMENT ENVIRONMENT]
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.

[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and 
  unmaintained.

[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.

[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
  static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the 
  DrawingArea.Cached property is set. It allows to keep the drawing 
  routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.

[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.


git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 02:37:53 +00:00
Benoît Minisini
f48ff49433 [DEVELOPMENT ENVIRONMENT]
* BUG: Why was that backup file versioned?


git-svn-id: svn://localhost/gambas/trunk@2766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 18:37:26 +00:00
Benoît Minisini
6a8a316c00 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the option dialog again.
* NEW: A new "Copy at the same place" command in the form editor. It copies
  the selected controls by keeping their absolute position.


git-svn-id: svn://localhost/gambas/trunk@2765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 18:36:20 +00:00
Benoît Minisini
6abae433a9 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the similar control menu in the form editor.
* NEW: Do not take the Padding into account when drawing Report containers.
* BUG: Some fixes in the Report dimension selector.
* BUG: Do not import any translation if no translation file has been
  selected in the translation dialog.

[INTERPRETER]
* BUG: When converting a string into a number with Val(), only accept 
  thousand separators after three digits.

[GB.DEBUG]
* BUG: Lock the debugger pipe between reads, to avoid the callback to be
  called ever and ever.

[GB.GTK]
* NEW: Tried to implement a transparent drawing area, but failed!
* NEW: Allow non-native GDK windows. This is experimental, as it crashed 
  before.
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.

[GB.QT4]
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.
* BUG: Sort sorted ComboBoxes before accessing it, not just before showing
  the popup.


git-svn-id: svn://localhost/gambas/trunk@2762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:14:54 +00:00
Benoît Minisini
98ad2ba515 [DEVELOPMENT ENVIRONMENT]
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.

[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a 
  string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.

[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is 
  currently drawn.

[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].

[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 01:38:15 +00:00
Benoît Minisini
cf6697e52c [DEVELOPMENT ENVIRONMENT]
* NEW: The option dialog was redesigned.


git-svn-id: svn://localhost/gambas/trunk@2759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 15:54:54 +00:00
Benoît Minisini
4d8107e567 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw ReportImage controls.
* NEW: Handle new property kinds: ReportCoord, Image.

[INTERPRETER]
* BUG: Fix some misuse of signed char.

[GB.REPORT]
* BUG: Fix declarations of properties.
* NEW: Use the new ReportCoord property kind.
* NEW: Some little changes in the ReportBorder class.


git-svn-id: svn://localhost/gambas/trunk@2755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 03:17:47 +00:00
Benoît Minisini
38786e64af [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash in packager, that was using the old CComponent.Type 
  property.


git-svn-id: svn://localhost/gambas/trunk@2753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 17:56:00 +00:00
Benoît Minisini
21704dfb84 [CONFIGURATION]
* BUG: gcc on CygWin does not support the -fvisibilty flag.

[GB.FORM]
* NEW: DateChooser.SetDateColor method has been removed.
* NEW: DateChooser.Colors is a new read-only property that returns a 
  virtual object for managing the date colors. This object acts like an 
  array that associate colors to dates, and has a Clear() method to remove
  all defined colors.

[GB.FORM.MDI]
* BUG: Sorting worskpace tabs does not change the current tab anymore.


git-svn-id: svn://localhost/gambas/trunk@2746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 00:44:13 +00:00
Benoît Minisini
5bc6075e96 [DEVELOPMENT ENVIRONMENT]
* NEW: Use KDE 4.4 translation files to update translations.
* NEW: Keep project treeview item expanded when double-clicking on it.

[GB.DESKTOP]
* NEW: Use the current development version of xdg-utils scripts.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.5.

[GB.QT4]
* BUG: Don't translate the brush before raising the DrawingArea Draw event.



git-svn-id: svn://localhost/gambas/trunk@2745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-04 01:52:16 +00:00
Benoît Minisini
0b8dd6b4c6 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation import is done in a new tab in the translation dialog.
* NEW: It is now possible to import translation files recursively.


git-svn-id: svn://localhost/gambas/trunk@2732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 02:08:14 +00:00
Seo Hyun-Gwan
489ecc55a1 git-svn-id: svn://localhost/gambas/trunk@2731 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:41:37 +00:00
Seo Hyun-Gwan
e0e6326a91 git-svn-id: svn://localhost/gambas/trunk@2730 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:41:22 +00:00
Seo Hyun-Gwan
c5816b0151 git-svn-id: svn://localhost/gambas/trunk@2729 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:40:31 +00:00
Benoît Minisini
a5538964a2 [DEVELOPMENT ENVIRONMENT]
* BUG: The default value of the Text property is correctly managed again in 
  the form editor.

[WIKI CGI SCRIPT]
* NEW: Support for korean language.

[WEB SITE MAKER]
* NEW: Korean translation made by Hyun-Gwan Seo.


git-svn-id: svn://localhost/gambas/trunk@2728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 21:31:37 +00:00
Benoît Minisini
fffee54d40 [DEVELOPMENT ENVIRONMENT]
* NEW: Start to handle "Image" control properties.

[GB.DEBUG]
* OPT: The debugging callback is called again and again, even if there is 
  nothing sent by the debugger. So sleeping a little prevent from eating 
  the CPU.

[GB.REPORT]
* BUG: Use Float instead of Integer for coordinates arguments.
* NEW: Replace ReportImage.Path by ReportImage.Image.
* NEW: Clip the controls inside a dedicated procedure.


git-svn-id: svn://localhost/gambas/trunk@2726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 17:26:00 +00:00
Benoît Minisini
cd5bf4cc70 [INTERPRETER]
* OPT: The blocking state of streams is cached now, so that the fcntl() 
  system call is less used.

[GB.FORM]
* BUG: Stock icons work correctly again.

[GB.QT4]
* NEW: When drawing on a DrawingArea, Draw and Paint dimension properties 
  always return the size of the DrawingArea, even if it is cached.
* BUG: DrawingArea contents is not assume to be static anymore. Resizing 
  them always send a full repaint event.


git-svn-id: svn://localhost/gambas/trunk@2724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 22:08:04 +00:00
Benoît Minisini
f59cc30b80 [WEBSITE MAKER]
* NEW: Support for korean.


git-svn-id: svn://localhost/gambas/trunk@2722 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 00:50:23 +00:00
Benoît Minisini
358c5489a5 [DEVELOPMENT ENVIRONMENT]
* BUG: Copying works again in the form editor.

[GB.QT4]
* NEW: During a Draw DrawingArea event handler, clipping is now set to the 
  area that must be drawn, whatever the value of the Painted property.


git-svn-id: svn://localhost/gambas/trunk@2721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-26 14:44:35 +00:00
Benoît Minisini
dd82d9f874 [GB.REPORT]
* BUG: A little fix in properties declaration.


git-svn-id: svn://localhost/gambas/trunk@2719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 13:45:49 +00:00
Benoît Minisini
9d9deaa6f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Setting control position or size from the property sheet works 
  correctly again.

[GB.QT4]
* BUG: Non transparent DrawingAreas work again. Drawing in an intermediate
  pixmap instead seems to be faster than drawing directly on the internal 
  qt double-buffer. Why? I should see no difference!


git-svn-id: svn://localhost/gambas/trunk@2718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 12:04:34 +00:00
Benoît Minisini
dc168bd119 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for form family specific drawing routines.

[GB.REPORT]
* NEW: Enhance the definition of ReportLabel hidden properties.
* NEW: Create a optionally exported Align class.
* NEW: Add properties definitions to the ReportLine class.

[GB.QT4]
* NEW: DrawingArea.Transparent is a new property to make it transparent.
* BUG: TabStrip should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 03:27:10 +00:00
Benoît Minisini
c644455a2e [DEVELOPMENT ENVIRONMENT]
* NEW: Working on report form support. Report forms now can be created and 
  edited. Symbol auto-completion is not implemented.
* NEW: The toolbox is updated according to the current edited form family.
* BUG: Menu are correctly saved again.
* NEW: Component help is implemented in the project property dialog.

[GB.GTK]
* BUG: Menu are containers.

[GB.GUI]
* BUG: The *.component file has been fixed.

[GB.REPORT]
* BUG: Control public constants are almost correctly defined now, and 
  inheritance is used.

[GB.QT4]
* BUG: Menu are containers.
* BUG: The text of hidden TabStrip tabs is not lost anymore.



git-svn-id: svn://localhost/gambas/trunk@2713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 03:21:43 +00:00
Benoît Minisini
e227c68989 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for controls having no real position and dimensions.


git-svn-id: svn://localhost/gambas/trunk@2712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 20:56:53 +00:00
Benoît Minisini
92f9cd2940 [DEVELOPMENT ENVIRONMENT]
* NEW: Similar controls are now identified by the _Similar hidden property.
* NEW: The "Provides" tab has been removed from the project property 
  dialog, as everything is now defined by control hidden properties.

[GB.GTK]
* BUG: Fix control hidden properties.

[GB.FORM]
* NEW: Update the component to the new declaration scheme.

[GB.QT4]
* BUG: Fix control hidden properties.

[GB.QT4.EXT]
* NEW: Remove the Drawing class, and the Draw.Drawing() method.
* BUG: Fix control hidden properties.


git-svn-id: svn://localhost/gambas/trunk@2710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 02:33:47 +00:00
Benoît Minisini
9c39e31fb5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for report form continues. Controls declaration has moved 
  from *.component files to the following Control hidden properties: 
  _Family, _Group, _IsControl, _IsContainer, _IsMultiContainer, _IsVirtual, 
  _IsForm. And to the following Form hidden properties: _HiddenControls.
  The wiki control documentation will be updated soon.

[COMPILER]
* NEW: Do not print a warning for a missing self-referenced *.list file.
* NEW: The '-L' is a new command-line option to print the license. The '-h'
  now only prints help.

[INFORMER]
* BUG: Support for boolean public constants.

[GB.DB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.GTK]
* NEW: Update control declarations to the new scheme.

[GB.QT4]
* NEW: Update control declarations to the new scheme.


git-svn-id: svn://localhost/gambas/trunk@2708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 18:15:16 +00:00
Fabien Bodard
4e1c0acae2 [DEVELOPMENT ENVIRONMENT]
* OPT: Multiple changes in the gambas Help explorer to manage internal class and symbol browse.


git-svn-id: svn://localhost/gambas/trunk@2706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-20 13:05:19 +00:00
Benoît Minisini
67dbde9d7d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix packager for Debian and Ubuntu.

[GB.PDF]
* BUG: PDF indexes should be read correctly now.


git-svn-id: svn://localhost/gambas/trunk@2705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-17 23:14:28 +00:00
Benoît Minisini
eba1d9c405 [DEVELOPMENT ENVIRONMENT]
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components: 
  _IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.

[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.

[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.

[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.

[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.

[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-14 01:16:27 +00:00
Benoît Minisini
6bfa9b5fe2 [CONFIGURATION]
* NEW: Remove the gb.qt and gb.qt.kde components.

[DEVELOPMENT ENVIRONMENT]
* NEW: Work on report form support continues.
* BUG: Do not crash if there is a compilation error and the IDE cannot open 
  the source file.

[GB.DB]
* NEW: The Find() and Edit() methods of the Connection class now works 
  correctly if the ORDER BY clause is used alone in the request argument.

[GB.QT]
* NEW: This component has been removed.

[GB.QT.EXT]
* NEW: This component has been removed.

[GB.QT.OPENGL]
* NEW: This component has been removed.

[GB.QT.KDE]
* NEW: This component has been removed.

[GB.QT.KDE.HTML]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:58:50 +00:00
Fabien Bodard
8118a70517 [DEVELOPMENT ENVIRONMENT]
* NEW: The Main window remember if the menu is showed or not


git-svn-id: svn://localhost/gambas/trunk@2674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-09 16:29:12 +00:00
Benoît Minisini
a759a7817d [DEVELOPMENT ENVIRONMENT]
* NEW: Start working on report form support.
* BUG: Correctly refresh the hierarchy window when a form is reloaded.

[GB.IMAGE]
* BUG: The Color[].Saturation property now works correctly.

[GB.FORM.MDI]
* BUG: Fix the layout of toolbar without handle.


git-svn-id: svn://localhost/gambas/trunk@2673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-08 15:59:30 +00:00
Benoît Minisini
f306c0a5fb [DEVELOPMENT ENVIRONMENT]
* NEW: Sort project tree view with natural sort.
* NEW: Sort procedure combo-box with natural sort.

[GB.DB.FORM]
* BUG: Setting a "SELECT" request to the DataSource.Table property should 
  work in all cases now.

[GB.FORM.MDI]
* NEW: Vertical toolbar layout is more clever.

[GB.GTK]
* BUG: Modal windows are really modal.
* BUG: Try to prevent a possible crash in event management.

[GB.GTK.EXT]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 23:10:41 +00:00
David Villalobos Cambronero
9cda23bea6 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-04 16:54:56 +00:00
Benoît Minisini
ff0804b8b1 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog was redesigned.
* BUG: Do not use the main window to display an error message if it is not 
  opened.

[INTERPRETER]
* BUG: Fix command-line arguments parsing again.

[GB.QT4]
* BUG: Some text alignment flags were not correctly detected.
* BUG: Cached DrawingArea should work as expected again.


git-svn-id: svn://localhost/gambas/trunk@2662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-04 16:00:01 +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
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
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
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
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
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
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
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
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
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
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
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
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
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