Commit graph

1331 commits

Author SHA1 Message Date
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
9b7aa9c650 [INTERPRETER]
* BUG: Fix an unitialized structure field in extern functions management.


git-svn-id: svn://localhost/gambas/trunk@3119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 14:47:18 +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
9152169c0b [EXAMPLES]
* BUG: The MoviePlayer example works again.

[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@3116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:02:11 +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
3b263fce5b [GB.QT4]
* BUG: Fix ScrollView arrangement routine.


git-svn-id: svn://localhost/gambas/trunk@3112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 23:59:35 +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
abffa75889 [INTERPRETER]
* BUG: Fix many array methods that crashed when taking abnormal 'start' or 
  'length' arguments. Now they raise errors.


git-svn-id: svn://localhost/gambas/trunk@3110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 20:51:42 +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
c5b0b38771 [GB.GTK]
* BUG: Correctly display menubars again.


git-svn-id: svn://localhost/gambas/trunk@3108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:59:51 +00:00
Benoît Minisini
4f574b001e [INTERPRETER]
* BUG: The debugger does not crash anymore when activated at startup.

[GB.FORM]
* BUG: The MenuButton now only reacts to the left mouse button.

[GB.GTK]
* BUG: Remove some debugging messages from ColumnView.Settings property.
* BUG: Do not try to get informations about a widget when a window is 
  needed and the widget is not yet realized.
* BUG: Fix the Control.Cursor property.
* BUG: Control.Hovered now returns FALSE when the control is not visible.
* BUG: Creating the menubar does not make all window children visible 
  anymore.

[GB.QT4]
* BUG: Control.Hovered now returns FALSE when the control is not visible.


git-svn-id: svn://localhost/gambas/trunk@3107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:28:27 +00:00
Benoît Minisini
25fd457dc8 [GB.FORM]
* NEW: MenuButton has been redesigned to use a DrawingArea only.

[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container 
  children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.

[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.


git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 11:29:44 +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
0ec66f23e6 [GB.QT4]
* BUG: Button with AutoResize set correctly expand with their text.


git-svn-id: svn://localhost/gambas/trunk@3104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 19:19:10 +00:00
Benoît Minisini
9b08741c29 [GB.GTK]
* BUG: Draw.Style() now respects clipping.


git-svn-id: svn://localhost/gambas/trunk@3103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 11:30:01 +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
93e19ca274 [GB.IMAGE]
* NEW: Image.DrawAlpha() is a new method that replace the alpha components 
  of an image by the alpha components of another image, where the other 
  image is more transparent.


git-svn-id: svn://localhost/gambas/trunk@3101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-12 19:13:44 +00:00
Benoît Minisini
3965ebc8a8 [GB.QT4]
* BUG: Draw.Style.Separator correctly honors verticality.


git-svn-id: svn://localhost/gambas/trunk@3100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-11 09:24:04 +00:00
Benoît Minisini
989e4da2dc [GB.GTK]
* BUG: The Control.Tracking property should work on all controls now.


git-svn-id: svn://localhost/gambas/trunk@3099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-10 19:06:52 +00:00
Fabien Bodard
30628c1222 [GB.DB.FORM]
* Bug: replace the removed function Font.Width by the new one Font.TextWidth


git-svn-id: svn://localhost/gambas/trunk@3098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-08 17:21:22 +00:00
Benoît Minisini
d9cae60bbe [GB.DRAW]
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the 
  focus, and Draw.Hover for widgets flied over by the mouse.


git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 14:36:45 +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
ae26406cbd [GB.FORM]
* BUG: DirChooser correctly initializes the bookmark button when reading 
  its state from a settings file.
* BUG: ValueBox raises basic events now.


git-svn-id: svn://localhost/gambas/trunk@3094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 22:30:00 +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
c6c3a38eb2 [GB.EVAL]
* BUG: Do not incorrectly use interpreter gb_error.h header file, it crashes!


git-svn-id: svn://localhost/gambas/trunk@3092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 16:09:06 +00:00
Benoît Minisini
60ea7ae855 [INTERPRETER]
* BUG: Fix some crashes in error management. Maybe...
* BUG: Sorting with natural string comparison understands gb.Descent 
  correctly now.

[GB.WEB]
* BUG: CGI.Error() method should be more reliable now.


git-svn-id: svn://localhost/gambas/trunk@3091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 11:00:42 +00:00
Benoît Minisini
9411b8785f [GB.QT4]
* BUG: Always activate a window 50 ms after it has been shown, to trap any
  focus stealing prevention mechanism.


git-svn-id: svn://localhost/gambas/trunk@3090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 20:48:04 +00:00
Benoît Minisini
67b9603177 [GB.QT4]
* BUG: Make the component compile correctly.
* BUG: Does not crash anymore when closing a window during the _new() 
  method, or inside the Open event handler.


git-svn-id: svn://localhost/gambas/trunk@3089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 20:39:28 +00:00
Benoît Minisini
68e1ec7d00 [GB.FORM]
* NEW: DateBox is a new control that can edit a date with a calendar popup.
  It aims at replacing the DatePicker, and the ValueBox with date type.
* NEW: DateChooser layout is better with small sizes.
* NEW: DateChooser raises a Cancel event when you hit the Escape key.

[GB.GTK]
* BUG: Better management of window grabs.
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
  It takes an optional X,Y screen position as arguments. If not specified, 
  the window is shown at the current cursor position.
* BUG: Now all controls catch basic events.
* BUG: Fix a crash when destroying controls.

[GB.QT4]
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
  It takes an optional X,Y screen position as arguments. If not specified, 
  the window is shown at the current cursor position.
* NEW: TrayIcon got a PopupMenu property, like the Control class. But it 
  works only if the TrayIcon observer is a Window. The property has bot
  been implemented in gb.gtk yet.


git-svn-id: svn://localhost/gambas/trunk@3088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 19:36:37 +00:00
Fabien Bodard
4046ebdd50 [GB.REPORT]
* BUG: Now the list are correctly drawed on the wished page.
* OPT: the resize function of FPreview is renamed to ResizeMe




git-svn-id: svn://localhost/gambas/trunk@3087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-01 19:36:08 +00:00
Benoît Minisini
1698496a46 [GB.GTK]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@3086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-01 18:50:59 +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
433daef01e [GB.QT4]
* BUG: Make showing windows behave like in gb.gtk.
* BUG: GridView draw spanning cells correctly now.


git-svn-id: svn://localhost/gambas/trunk@3077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-30 17:19:19 +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
74ff902c2a [GB.WEB]
* BUG: Do not write log message if the session is not saved.

git-svn-id: svn://localhost/gambas/trunk@3075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-27 16:58:25 +00:00
Benoît Minisini
5bc772bd2e [GB.WEB]
* NEW: Enable session debugging messages if the file '/tmp/session.debug' 
  exists. The debugging messages are logged into the file 
  '/tmp/session.log'.
* OPT: Do not update session timestamp if the difference is less than one
  second.

git-svn-id: svn://localhost/gambas/trunk@3074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-27 16:52:00 +00:00
Benoît Minisini
c994a602df [INTERPRETER]
* BUG: The interpreter compiles now when extern functions are disabled.


git-svn-id: svn://localhost/gambas/trunk@3072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-26 18:10:51 +00:00
Benoît Minisini
08d3f92581 [GB.NET]
* NEW: ServerSocket.Interface is a new property to define the interface the 
  socket will listen to. It uses a Linux-specific socket option, and I'm
  not sure that it really works.


git-svn-id: svn://localhost/gambas/trunk@3071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-26 16:18:51 +00:00
Benoît Minisini
dbf5d2237a [INTERPRETER]
* BUG: Fix the Pi() function when it takes an argument.


git-svn-id: svn://localhost/gambas/trunk@3070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-26 00:07:47 +00:00