Commit graph

429 commits

Author SHA1 Message Date
Benoît Minisini
e291d41edc [GB.GTK]
* BUG: The inner container of a UserContainer is now automatically its 
  proxy control.


git-svn-id: svn://localhost/gambas/trunk@4472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 16:37:55 +00:00
Benoît Minisini
fba595872f [GB.GTK]
* BUG: The TreeView/ListView/ColumnView Click event now should behave the
  same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 15:08:50 +00:00
Benoît Minisini
72dbfb089a [GB.GTK]
* BUG: Fix Dialog.ShowHidden.


git-svn-id: svn://localhost/gambas/trunk@4440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 10:34:24 +00:00
Benoît Minisini
8449b0b9b3 [GB.GTK]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files. It
  does not work on GTK+ at the moment. Is it a GTK+ bug?

[GB.QT4]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files.



git-svn-id: svn://localhost/gambas/trunk@4439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 10:25:32 +00:00
Benoît Minisini
f7690d1afd [GB.GTK]
* BUG: Dialog.SelectDirectory() now correctly takes into account 
  Dialog.Path.


git-svn-id: svn://localhost/gambas/trunk@4438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 09:18:41 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
96c50f1600 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some crash in database manager when removing fields or index.
* BUG: Fix position history.
* NEW: Add a history popup menu.

[INTERPRETER]
* NEW: The Html$() function now converts unicode non-breaking space (code 
  160) in a " " entity.

[GB.GTK]
* BUG: Now raise an error when using text-box methods on read-only 
  combo-boxes.
* NEW: GTK+ 2.16 is now required.


git-svn-id: svn://localhost/gambas/trunk@4415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-22 13:13:25 +00:00
Benoît Minisini
3415d05b28 [GB.GTK+]
* BUG: Try to be compatible with GTK+ <= 2.16.


git-svn-id: svn://localhost/gambas/trunk@4412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 23:21:52 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
67f024a12d [GB.GTK]
* BUG: Make gb.gtk compile with GTK+ versions older than 2.18.


git-svn-id: svn://localhost/gambas/trunk@4410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 00:00:15 +00:00
Benoît Minisini
270fa89e4f [GB.GTK]
* BUG: Fix Cached DrawingArea having a border.


git-svn-id: svn://localhost/gambas/trunk@4402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-17 22:22:37 +00:00
Benoît Minisini
4e3a714642 [INTERPRETER]
* BUG: Terminal emulation now does not automatically convert NL to CR+NL.
* BUG: Fix the declaration of custom array classes.

[GB.GTK]
* BUG: Stopping a file descriptor watch now correctly check if the event 
  loop must be exited.


git-svn-id: svn://localhost/gambas/trunk@4398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-13 08:04:11 +00:00
Benoît Minisini
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
ec5182bec1 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the X or Y property of a form does nothing visually.

[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
  children.


git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:27:55 +00:00
Benoît Minisini
546bc7a4f4 [INTERPRETER]
* BUG: Calling native methods on an anonymous reference now correctly casts 
  the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.

[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints 
  are not overrided.

[GB.SETTINGS]
* BUG: Fix the use of Array class.


git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 21:47:41 +00:00
Benoît Minisini
023f457a34 [GB.FORM]
* BUG: The DirView root picture is correctly initialized.

[GB.GTK]
* BUG: Really find a workaround for an oxygen-gtk bug^W feature on TreeView 
  controls.


git-svn-id: svn://localhost/gambas/trunk@4356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 00:51:50 +00:00
Benoît Minisini
0c32986d4a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet error message position.

[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
  way it draws nicely with gb.gtk, that does not have transparent controls 
  yet.
* BUG: Fix a crash when decreasing the Count property.

[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
  the border of TreeView controls without being asked.


git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:11:53 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
4a54ecbc8e [GB.QT4]
* BUG: Cached DrawingArea Background color now works correctly.

[GB.GTK]
* BUG: Cached DrawingArea Background color now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:09:08 +00:00
Benoît Minisini
e8d70a02da [GB.GTK]
* BUG: Settings the width and height of a top-level window indepently now
  works as expected.


git-svn-id: svn://localhost/gambas/trunk@4337 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 16:10:00 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Benoît Minisini
4cd4b4a766 [GB.GTK]
* BUG: Fix Printer paper and orientation management.
* BUG: Paint.Reset() now resets the matrix to its initial value, that is 
  not necessarily the identity when painting on a Printer!


git-svn-id: svn://localhost/gambas/trunk@4319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 22:54:10 +00:00
Benoît Minisini
0d008e8f29 [GB.GTK]
* BUG: Fix Printer.Print() when printing to a PS or SVG file.
* BUG: Paint text routines now use the printer specific Pango routines when
  painting to a printer.

[GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to 
  page" mode.


git-svn-id: svn://localhost/gambas/trunk@4313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 13:14:08 +00:00
Benoît Minisini
c1f20cb4fe [GB.DB]
* NEW: Connection.Timeout is a new property that defines the connection 
  timeout in seconds. The value is 20 seconds by default.


git-svn-id: svn://localhost/gambas/trunk@4309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 00:31:57 +00:00
Benoît Minisini
6ac8e5dc34 [GB.GTK]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@4303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 01:41:33 +00:00
Benoît Minisini
5ab541a142 [GB.GTK]
* BUG: Fix dnd and clipboard management.

[GB.QT4]
* BUG: Fix dnd and clipboard management.


git-svn-id: svn://localhost/gambas/trunk@4297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 15:47:14 +00:00
Benoît Minisini
b00f7b99c8 [GB.GTK]
* BUG: Printer.PaperWidth and Printer.PaperHeight now take the orientation 
  into account.


git-svn-id: svn://localhost/gambas/trunk@4291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:34:16 +00:00
Benoît Minisini
3d934b455c [DEVELOPMENT ENVIRONMENT]
* OPT: The project file creation dialog initalizes its file browser later.

[INTERPRETER]
* BUG: Use sigsetjmp() instead of setjmp() as expected by the memory check 
  functions.

[GB.FORM.MDI]
* BUG: Do not use symbolic links, but real image files for action icons.

[GB.SIGNAL]
* BUG: Fix some warnings on BSD.


git-svn-id: svn://localhost/gambas/trunk@4284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:03:07 +00:00
Benoît Minisini
80c47bbf9f [GB.GTK]
* OPT: Don't call GTK+ gtk_widget_modify_xxx() functions if not really 
  necessary, they are slow, and slower as the number of created controls 
  grows!


git-svn-id: svn://localhost/gambas/trunk@4278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-15 04:48:08 +00:00
Benoît Minisini
b0cd087e65 [GB.GTK]
* BUG: Fix a warning in range control initialization (Slider, ScrollBar).
* BUG: Paint.Save() and Paint.Restore() now take the font settings into 
  account.


git-svn-id: svn://localhost/gambas/trunk@4275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-12 10:17:45 +00:00
Benoît Minisini
200a429afc [DEVELOPMENT ENVIRONMENT]
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly 
  selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now 
  correctly imports the class file.

[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.

[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
  string are both one character length strings.

[COMPILER]
* NEW: The string escape character '\v' was added.

[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not 
  specified.

[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.

[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account 
  now.

[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
  backup.

[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified 
  property.


git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 19:14:04 +00:00
Benoît Minisini
296ae062ba [INTERPRETER]
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned 
  value is a Variant, as now the interpreter does not do the conversion
  automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
  everywhere it is needed.


git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 01:06:51 +00:00
Benoît Minisini
a8cc9afec1 [GB.GTK]
* BUG: Make gb.gtk compile with old versions of GTK+.


git-svn-id: svn://localhost/gambas/trunk@4247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 00:28:52 +00:00
Benoît Minisini
877e447860 [GB.FORM]
* BUG: Popup menu is now disabled in MaskBox control.

[GB.GTK]
* BUG: Stop Event correctly cancels Menu events.


git-svn-id: svn://localhost/gambas/trunk@4245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 22:22:22 +00:00
Benoît Minisini
259a2f8906 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix binary file detection.
* BUG: Fix control icon installation in components installed through an 
  autotools package.

[GB.DBUS]
* BUG: Fix signal catching managemnt.
* NEW: DBusSignal constructor takes a new optional argument that allows to
  catch signals sent to any application.

[GB.GTK]
* BUG: Fix Key.BackTab constant.


git-svn-id: svn://localhost/gambas/trunk@4242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 16:21:45 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
868fa6cda9 [CONFIGURATION]
* NEW: Switch version to 2.99.6.

[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore labels in code editor's control structure automatic 
  completion.

[GB.GTK]
* BUG: Fix popup management for some widget styles.


git-svn-id: svn://localhost/gambas/trunk@4225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-30 17:47:29 +00:00
Benoît Minisini
478e998a6a [GB.GTK]
* BUG: Try to workaround stupid GTK+ popup management.


git-svn-id: svn://localhost/gambas/trunk@4222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-26 00:32:22 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
0ac7fc7c2d [GB.GTK]
* BUG: Fix the MoveLast() method in TreeView, ListView and ColumnView 
  controls.
* BUG: The ColumnView.Columns[].Width now returns the column width 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@4207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-21 23:54:17 +00:00
Benoît Minisini
2514d47146 [GB.GTK]
* BUG: Container.Children.Clear() should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@4205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-17 20:18:56 +00:00
Benoît Minisini
e531a4e05f [CONFIGURATION]
* BUG: Fix many gcc 4.6.1 warnings.
* NEW: Update the depcomp sript with a more recent version.

[GB.DB.POSTGRESQL]
* BUG: Fix primary index retrieving for tables inside a schema.


git-svn-id: svn://localhost/gambas/trunk@4203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-16 19:24:01 +00:00
Benoît Minisini
7e704c0ba7 [GB.GTK]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.

[GB.QT4]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.


git-svn-id: svn://localhost/gambas/trunk@4189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 20:27:10 +00:00
Benoît Minisini
f1e042543d [INTERPRETER]
* BUG: Try to not lose the value of 'errno' if the select() system call 
  fails inside the event loop.

[GB.GTK]
* BUG: Fix arrangement when there is no place for expanded controls.

[GB.QT4]
* BUG: Fix arrangement when there is no place for expanded controls.


git-svn-id: svn://localhost/gambas/trunk@4182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 02:05:07 +00:00
Benoît Minisini
a3709f2654 [GB.GTK]
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf 
  RGB images rowstride is rounded up to a four bytes multiple. The gb.image 
  component does not support that yet!

[GB.IMAGE.IO]
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf 
  RGB images rowstride is rounded up to a four bytes multiple. The gb.image 
  component does not support that yet!


git-svn-id: svn://localhost/gambas/trunk@4176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-07 09:35:29 +00:00
Benoît Minisini
7466e544db [DEVELOPMENT ENVIRONMENT]
* NEW: Use Key.Escape instead of Key.Esc. Key.Esc will be removed sooner 
  or later.
* NEW: In the form editor, a control being created now has its handles.
* NEW: The form editor selection frame is transparent now.

[EXAMPLE]
* BUG: Fix Puzzle1To8 example key handling.

[GB.FORM]
* NEW: Use Key.Escape instead of Key.Esc.

[GB.GTK]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.

[GB.QT4]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.


git-svn-id: svn://localhost/gambas/trunk@4169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 14:09:39 +00:00
Benoît Minisini
da47fb0f0c [GB.GTK]
* BUG: Fix an infinite resizing loop in GridView scrollbar layouting.


git-svn-id: svn://localhost/gambas/trunk@4166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-01 15:49:35 +00:00
Benoît Minisini
5ba145d20e [GB.FORM.MDI]
* BUG: Fix the shortcut editor dialog.

[GB.GTK]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.

[GB.QT4]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.


git-svn-id: svn://localhost/gambas/trunk@4139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:37:51 +00:00