Commit graph

800 commits

Author SHA1 Message Date
Benoît Minisini
2564046c47 [GB.QT4]
* BUG: Support for nul bytes inside QT strings.


git-svn-id: svn://localhost/gambas/trunk@7061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-08 06:33:25 +00:00
Benoît Minisini
f98653e2ab [GB.QT4.WEBKIT]
* BUG: Do not crash when starting a download.


git-svn-id: svn://localhost/gambas/trunk@7045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-19 14:08:32 +00:00
Benoît Minisini
334e22f829 [GB.QT4]
* BUG: ComboBox background and foreground are now correctly taken into 
  account both in read-only and editable modes.


git-svn-id: svn://localhost/gambas/trunk@7034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:35:10 +00:00
Benoît Minisini
49d73625d5 [GB.QT4.EXT]
* NEW: Fixes and enhancements in the ANSI escape sequences management of 
  the Editor.Print() method.


git-svn-id: svn://localhost/gambas/trunk@7033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:33:42 +00:00
Benoît Minisini
cb940b1879 [GB.QT4.EXT]
* NEW: Editor.Print() now supports some ANSI escape sequences.
* NEW: Editor.Overwrite is a new property that defines the editor insertion 
  mode.


git-svn-id: svn://localhost/gambas/trunk@7026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:35:35 +00:00
Benoît Minisini
589cf52211 [GB.QT4]
* BUG: Newlines characters are not ignored anymore in message boxes when 
  rich text is used. The behaviour is now the same as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 15:23:42 +00:00
Benoît Minisini
3814eea878 [GB.GTK]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.GTK3]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.QT4]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  

git-svn-id: svn://localhost/gambas/trunk@6937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 20:14:35 +00:00
Benoît Minisini
a07a02c086 [GB.DRAW]
* BUG: The optional painting area is correclty reset after a call to 
  Paint.Reset().
 

git-svn-id: svn://localhost/gambas/trunk@6936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 18:20:56 +00:00
Benoît Minisini
debf98c637 [GB.QT4.EXT]
* BUG: Changing the Editor.KeywordsUseUpperCase property does not break 
  syntax highlighting anymore.


git-svn-id: svn://localhost/gambas/trunk@6927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 00:55:29 +00:00
Benoît Minisini
10a8ff86e0 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm server: Fix a refresh bug when going back from the software 
  panel to the software list.
* NEW: Farm server: Little redesign of the software panel look.

[FARM SERVER]
* NEW: Project icon is now automatically stretched to a size smaller or 
  equal than 64x64 pixels.
* NEW: The maximum number of softwares returned by a search has been raised 
  up to 200.

[EXAMPLES]
* BUG: BeastScroll: Fix frame rate.


git-svn-id: svn://localhost/gambas/trunk@6921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 01:01:52 +00:00
Benoît Minisini
a833bc32a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the GUI of farm server authentication and registration.

[GB.QT4]
* BUG: Setting the Border property now correctly refreshes the viewport 
  size.


git-svn-id: svn://localhost/gambas/trunk@6920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-28 20:00:00 +00:00
Benoît Minisini
7d2c75dcda [GB.GTK]
* BUG: Fix arrangement of ScrollView control.

[GB.GTK3]
* BUG: Fix arrangement of ScrollView control.


git-svn-id: svn://localhost/gambas/trunk@6910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 02:35:51 +00:00
Benoît Minisini
42791d1c51 [GB.QT4]
* NEW: When creating a Control, a Printer or displaying a MessageBox, check
  that the GUI has been initialized, and raise an error if not, instead of
  letting Qt abort the application.


git-svn-id: svn://localhost/gambas/trunk@6886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 00:25:29 +00:00
Benoît Minisini
a3d82e51eb [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update end-of-line menu and button visibility.
* BUG: Project property dialog: Resetting or removing a library works 
  correctly again.

[GB.DESKTOP]
* NEW: More detailed error message when the mime database cannot be read.

[GB.FORM]
* NEW: Completion.Icons is a new property that allows to associate an icon 
  to each completion item.
* NEW: FileCompletion now displays an icon for files and another icon for
  directories.

[GB.QT4]
* BUG: Update initial control visibility when the Expand property changes,
  but not when the Ignore property changes.


git-svn-id: svn://localhost/gambas/trunk@6884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 19:43:08 +00:00
Benoît Minisini
406bf1e58c [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now can handle Unix, Windows and MAC end-of-line 
  formats, through a new toolbar button and a menu.

[GB.QT4.EXT]
* NEW: Editor: When setting the Text property, the end-of-line format is
  automatically determined.


git-svn-id: svn://localhost/gambas/trunk@6883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 02:26:14 +00:00
Benoît Minisini
b1447607f2 [INTERPRETER]
* NEW: Add end-of-line format constants to the interpreter API.

[GB.QT4]
* BUG: If a control triggers the arrangement of its parent contents, the 
  delayed visibility is realized so that the control is taken into account 
  by the arrangement routine.

[GB.QT4.EXT]
* NEW: Editor.EndOfLine is a new property that defines which end-of-line 
  format (gb.Unix, gb.Windows or gb.Mac) is used when retrieving text from 
  the control.


git-svn-id: svn://localhost/gambas/trunk@6882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 23:45:41 +00:00
Benoît Minisini
9c7d9a6a1e [DEVELOPMENT ENVIRONMENT]
* NEW: Use specific gray icons for the debugging panel.
* BUG: Loading a new project correctly updates the desktop component 
  toolbar button.
* NEW: Balloon message have been replaced by the new MessageView control.

[GB.FORM]
* NEW: MessageView is a new control that implements an embedded 
  notification panel that is automatically hidden and shown if there is a 
  message to display.
* BUG: MenuButton: Draw the focus state correctly.

[GB.GTK]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.

[GB.QT4]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-02 20:08:18 +00:00
Benoît Minisini
800e7797cb [DEVELOPMENT ENVIRONMENT]
* NEW: Implement the new wiki component description and class list for the
  offline help.
* BUG: Several fixes in the editor position history.
* BUG: Workaround some spurious Qt4 webkit warnings.
* NEW: The argument editor of the project property dialog now has an 
  automatic file completion.

[GB.FORM]
* NEW: The Completion class has been redesigned to allow completion on a 
  part of the edited string.
* NEW: FileCompletion is a new class that implements automatic file name
  completion.
* BUG: FileView: Fix a possible crash when the current item disappears 
  before begin made visible.

[GB.QT4]
* NEW: A newly created control becomes visible the first time it is resized 
  now, and not immediately. The goal is having almost the same behaviour as
  gb.gtk, even if it not 100% backward-compatible in a few cases.

[GB.QT4.WEBKIT]
* BUG: WebView: Don't raise the Error event if the webview has been 
  explicitly stopped by the Stop() method.


git-svn-id: svn://localhost/gambas/trunk@6875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-30 01:53:19 +00:00
Benoît Minisini
a850bffe12 [GB.DESKTOP]
* NEW: Support for the 'secret-tool' utility. If it is installed on the 
  system, it is used instead of the 'gb.desktop.gnome.keyring' component.
* BUG: Desktop.Passwords.Enabled works correctly now on Gnome-like systems.
* BUG: Fix compilation warnings.


git-svn-id: svn://localhost/gambas/trunk@6874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-27 00:49:14 +00:00
Benoît Minisini
f0822e71d1 [GB.FORM]
* BUG: TabPanel[].Closable works as expected now.

[GB.GTK]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GTK3]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GUI.BASE]
* NEW: The GridView automatic column resizing now uses Application.Busy and
  cannot run longer than five seconds.

[GB.QT4]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.


git-svn-id: svn://localhost/gambas/trunk@6842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-19 23:04:41 +00:00
Benoît Minisini
3989d4a005 [WIKI CGI SCRIPT]
* NEW: New class list design in component pages.
* NEW: Full description in component pages.

[GB.QT4]
* BUG: Fix Border properties description.


git-svn-id: svn://localhost/gambas/trunk@6822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 03:14:44 +00:00
Benoît Minisini
240b416dd8 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new filter feature of the ButtonBox control.
* NEW: Use the internal ComponentChooser control to replace the previous
  component selection in the project property dialog.

[GB.FORM]
* NEW: ButtonBox.Filter is a new property to make it act like a filter box.
  The new Filter event is raised when filtering must be triggered.
* NEW: ButtonBox.FilterMenu is a new property that allows to define the
  popup menu associated with the filter icon.

[GB.GTK]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.

[GB.GTK3]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.

[GB.GUI.BASE]
* BUG: GridView: Remove "Collapse" from the property list.

[GB.MEMCACHED]
* BUG: Fix a typo in a Memcached constant name.

[GB.QT4]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.


git-svn-id: svn://localhost/gambas/trunk@6819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-09 08:53:49 +00:00
Benoît Minisini
6b10bb831d [DEVELOPMENT ENVIRONMENT]
* NEW: Component/Library dependencies now are chosen from a new component 
  selection dialog.
* BUG: Database editor: Support for requests beginning with "WITH" or 
  "PRAGMA".

[WIKI CGI SCRIPT]
* NEW: New login panel.
* BUG: Fix creatable class detection.

[GB.FORM]
* BUG: IconPanel: The mouse wheel cannot select hidden tabs anymore.
* BUG: Wizard: Remove default padding for wizards having a border.

[GB.GUI.BASE]
* BUG: Border: Rewrite the painting routine. Simplify the clipping to help
  workaround Qt4 bugs.

[GB.DB.SQLITE]
* NEW: Mark the component as deprecated.

[GB.DB.SQLITE3]
* BUG: Support for PRAGMA requests. Start cleaning up the horrible C++ 
  classes.

[GB.QT4]
* BUG: Simplify the clipping management, because the old one was based on 
  the QPainterPath::intersected() Qt method that is buggy. Clipping mixed 
  with world transform matrix has still to be checked.


git-svn-id: svn://localhost/gambas/trunk@6815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 22:44:35 +00:00
Benoît Minisini
e6a92c4fef [GB.QT4]
* BUG: Fix compilation with Qt <= 4.6.


git-svn-id: svn://localhost/gambas/trunk@6814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 15:06:39 +00:00
Benoît Minisini
9e1a26ccbd [GB.GUI.BASE]
* NEW: The Border class is now creatable.
* NEW: Border.Paint() draws a border object according to the value of its 
  properties: Style, Width, Radius, Color...

[GB.QT4]
* BUG: Paint.Dash now understands zero widths like gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 16:01:14 +00:00
Benoît Minisini
0e6e531d72 [GB.QT4]
* BUG: Do delete open windows later when the event loop is finished. 
  This is supported by QT, provided that you explicitly ask him to send the
  deferred deletion events.


git-svn-id: svn://localhost/gambas/trunk@6798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 15:17:53 +00:00
Benoît Minisini
5e92876cad [EXAMPLES]
* NEW: LCDLabel now uses gb.sdl2.audio.

[GB.FORM]
* BUG: The ToolPanel buttons now takes Style.FrameWidth into account.

[GB.GTK]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do not delete open windows later when the event loop is finished. 
  This is not supported by QT.


git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 14:31:23 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
ef0eae0250 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add an option to replace existing translations 
  when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error 
  anymore.

[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.

[GB.GTK]
* BUG: Implement the Invert property in vertical containers.

[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.

[GB.QT4]
* BUG: Implement the Invert property in vertical containers.


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the 
  farm server yet.

[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then 
  1583.

[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Benoît Minisini
4faa9876bf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial focus of welcome dialog.

[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to 
  avoid an incorrect "circular reference" message.

[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.

[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Benoît Minisini
3c8efd56e9 [CONFIGURATION]
* NEW: Update chinese translations.

[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.

[INTERPRETER]
* NEW: Allow WAIT to raise errors.

[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry 
  of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry 
  of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a 
  screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
  geometry without the frame.

[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.


git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 22:15:59 +00:00
Benoît Minisini
7fccfc0241 [GB.QT4.EXT]
* BUG: Editor: Don't draw line numbers if the margin is hidden.


git-svn-id: svn://localhost/gambas/trunk@6714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-09 18:45:33 +00:00
Benoît Minisini
2138336e8f [GB.QT4]
* BUG: Don't fill the menu bar background. Let it be transparent.


git-svn-id: svn://localhost/gambas/trunk@6710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-04 01:29:44 +00:00
Benoît Minisini
64ac98d336 [GB.QT4]
* BUG: ScrollView: Layout is now correct if the ScrollBar property is set 
  to Scroll.None.


git-svn-id: svn://localhost/gambas/trunk@6695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 13:06:09 +00:00
Benoît Minisini
334c9d8beb [DEVELOPMENT ENVIRONMENT]
* NEW: Experimental "Gambas Software Farm" dialog. It allows to browse a 
  farm server, but voting and installing are not yet possible.
* NEW: Requests to the farm server are now displayed in a modal dialog with
  an optional progress bar.

[FARM SERVER]
* BUG: Fix many bugs.
* NEW: Search software by tags.

[GB.DB]
* BUG: Connections: Fix a not enough argument error.

[GB.FORM]
* NEW: URLLabel is a new control that displays a clickable URL. If the 
 'gb.desktop' component is loaded, then a browser is automatically opened 
  when clicking on the link.

[GB.GUI.BASE]
* NEW: ProgressBar now has a flat look. And a new Border property that
  allows to hide the border.

[GB.NET.CURL]
* NEW: HttpClient and FtpClient now raise a 'Cancel' event when their 
  Stop() method is called.
* BUG: Found a workaround for having accurate upload progress data.
* NEW: HttpClient.CopyFrom() is a new method that allows to fill an 
  HttpClient object with the configuration of another HttpClient object.

[GB.QT4]
* BUG: Do not use 'QEventLoop::DeferredDeletion' anymore, it is deprecated.
  Use qApp->sendPostedEvents() instead.


git-svn-id: svn://localhost/gambas/trunk@6665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:22:57 +00:00
Benoît Minisini
6ea0fc1d75 [GB.QT4]
* BUG: Message boxes now uses the current modal dialog as parent if there 
  is no active window.


git-svn-id: svn://localhost/gambas/trunk@6663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-22 23:37:52 +00:00
Benoît Minisini
8de4573bc3 [GB.QT4]
* BUG: ScrollView layout algorithm now takes the margin into account 
  correctly.
* BUG: Don't crash when a modal dialog is destroyed while visible.
* BUG: Close the main window explicitly during the QUIT instruction.

git-svn-id: svn://localhost/gambas/trunk@6661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-21 20:36:37 +00:00
Benoît Minisini
7542886d8b [GB.QT4]
* BUG: Fix a compilation warning.


git-svn-id: svn://localhost/gambas/trunk@6628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:44:05 +00:00
Benoît Minisini
de1ec2d2db [GB.QT4]
* BUG: TextBox: Workaround a Qt4 weird behaviour that sometimes lose the 
  selection. Same workaround for editable ComboBox.


git-svn-id: svn://localhost/gambas/trunk@6613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-06 23:03:21 +00:00
Benoît Minisini
d567669ae1 [GB.QT4]
* BUG: The Menu.Checked property now returns the correct value for
  non-radio menu items.


git-svn-id: svn://localhost/gambas/trunk@6604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-02 17:37:40 +00:00
Benoît Minisini
3969699f20 [GB.QT4]
* BUG: Fix Clipboard.Paste() when there are both a text and a qt image in 
  the clipboard.


git-svn-id: svn://localhost/gambas/trunk@6587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-29 21:49:45 +00:00
Benoît Minisini
5bb0e3820c [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.

[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.

[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
  already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items 
  arrangement.

[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that 
  strange Qt bug.


git-svn-id: svn://localhost/gambas/trunk@6578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 00:50:59 +00:00
Benoît Minisini
6734c6714a [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on the publish dialog box. Now tags and dependencies 
  can be edited, and a new user can be registered.

[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote 
  for it, and search the software database.

[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.

[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.


git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 20:06:18 +00:00
Benoît Minisini
d57578377c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't use "sTable" as field name for the metadata table, because 
  apparently "STABLE" is a reserved word in PostgreSQL. Upgrade an already
  existing metadata table automatically.
* BUG: Don't crash when starting a search from a image or connection 
  editor.

[WEBSITE MAKER]
* NEW: Update for 3.6.

[GB.DB]
* NEW: Add support for databases like PostgreSQL that are not fully case 
  insensitive.

[GB.DB.POSTGRESQL]
* BUG: Automatically convert field names to lowercase when creating a 
  table.

[GB.GUI.BASE]
* BUG: IconView item renaming don't crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:23:29 +00:00
Benoît Minisini
26f3daa0c5 [GB.FORM]
* NEW: FontChooser.ShowRelative is a new property that set if relative 
  sizes are allowed or not. They are allowed by default.

[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will 
  show fixed fonts only.

[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-10 19:23:44 +00:00
Benoît Minisini
05f20c33e4 [GB.GTK]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.GTK3]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.QT4]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.


git-svn-id: svn://localhost/gambas/trunk@6519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-04 12:56:02 +00:00
Benoît Minisini
87377fdb56 [DEVELOPMENT ENVIRONMENT]
* NEW: The default shortcut for deleting is the DELETE key alone again.
* NEW: When renaming an item in the project treeview, the file extension 
  is not selected.
* BUG: Activating the form editor property sheet now disable the form 
  editor poup menu. Consequently, the delete shortcut is not triggered
  unexpectedly anymore.

[GB.GUI.BASE]
* BUG: TreeView: A column resize does not automatically cancel the current 
  renaming.


git-svn-id: svn://localhost/gambas/trunk@6513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-27 21:44:36 +00:00
Benoît Minisini
7fa6cd0569 [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for the new Collation field property.

[EXAMPLES]
* BUG: PdfViewer: Some little fixes.

[GB.DB]
* NEW: Table.Fields.Add() method takes a new optional argument to define
  the field collation.
* NEW: Connection.Collations is a new property that returns the list of
  available collations as a String array.
* NEW: Field.Collation is a new property that returns the collation of a
  specific table field.

[GB.DB.MYSQL]
* NEW: Support for field collations.

[GB.DB.ODBC]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.POSTGRESQL]
* NEW: Support for field collations.

[GB.DB.SQLITE2]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.SQLITE3]
* NEW: Support for field collations.

[GB.QT4]
* BUG: ComboBox.Border property can be set even if it is in read-only mode.


git-svn-id: svn://localhost/gambas/trunk@6494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 02:52:05 +00:00
Benoît Minisini
3067da6c5d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Menu.Radio property.

[GB.DB]
* BUG: Add an explicit warning message when a connection password must be 
  retrieved and the 'gb.desktop' component is not loaded.

[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.


git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:28:41 +00:00