Commit graph

1995 commits

Author SHA1 Message Date
Benoît Minisini
b978b34f12 [GB.WEB.FORM]
* NEW: WebScrollView: Add ScrollX and ScrollY properties.
* BUG: WebTable: Correctly initialize the Display property to 100 rows.


git-svn-id: svn://localhost/gambas/trunk@7562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 22:32:20 +00:00
Benoît Minisini
421fdaa2cd [GB.WEB.FORM]
* BUG: WebTable: Don't display progress animation if there is no rows to load.


git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 02:00:05 +00:00
Benoît Minisini
7d4bd2ed1b [GB.WEB.FORM]
* BUG: WebTabPanel: Fix syntax error is generated HTML.


git-svn-id: svn://localhost/gambas/trunk@7560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 00:20:09 +00:00
Benoît Minisini
56a60ed7c8 [GB.WEB.FORM]
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.


git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 23:53:12 +00:00
Benoît Minisini
0d7923c836 [GB.WEB.FORM]
* NEW: WebTable: Clear() is a new method that sets the row count and the scrolling position to zero.
* NEW: WebTable: If a scrolling request fails, send back to the server the scrolling position.


git-svn-id: svn://localhost/gambas/trunk@7557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:45:35 +00:00
Benoît Minisini
00b494d313 [GB.WEB.FORM]
* NEW: WebTable: Add a little animation when the table loads its contents.
* BUG: WebTable: Settings the Count property resets scrolling.
* BUG: WebTable: Remove scrolling debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:24:51 +00:00
Benoît Minisini
0b12686804 [GB.WEB.FORM]
* NEW: WebTable: ScrollX and ScrollY are two new properties that store the scrolling state of the table.
* NEW: WebTable: Scrolling is preserved between refresh.
* NEW: WebTable: Missing rows are now automatically added when the scrolling bar reaches the end of the table.


git-svn-id: svn://localhost/gambas/trunk@7553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 03:36:21 +00:00
Benoît Minisini
ab5628b57d [GB.WEB.FORM]
* BUG: WebTable: Cell foreground color is correctly taken into account.


git-svn-id: svn://localhost/gambas/trunk@7552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 01:29:13 +00:00
Benoît Minisini
8dd59f2717 [GB.WEB.FORM]
* BUG: WebForm: Set the window container Ignore property.
* BUG: WebContainer: Correctly take the Ignore property into account.


git-svn-id: svn://localhost/gambas/trunk@7551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:30:48 +00:00
Benoît Minisini
747f1219a2 [GB.WEB.FORM]
* OPT: Compress style sheet and javascript library.
* OPT: Put popup windows inside an intermediate container, so that refreshing a window does not refresh the entire page.


git-svn-id: svn://localhost/gambas/trunk@7550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:14:03 +00:00
Benoît Minisini
60d2c8c697 [GB.WEB.FORM]
* NEW: WebForm: Width and Height properties now act as minimal dimensions if the form is used as a resizable dialog.
* BUG: WebWindow: Remove the mozilla specific style sheet of window close button.


git-svn-id: svn://localhost/gambas/trunk@7549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 18:19:43 +00:00
Benoît Minisini
4b8d0d97e9 [GB.WEB.FORM]
* NEW: WebTable: New default style.


git-svn-id: svn://localhost/gambas/trunk@7548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 01:29:32 +00:00
Benoît Minisini
c0894c291f [GB.WEB.FORM]
* BUG: WebButton: Remove all padding for buttons with no border.


git-svn-id: svn://localhost/gambas/trunk@7547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-03 18:24:13 +00:00
Benoît Minisini
d336e8ec9d [GB.WEB.FORM]
* BUG: Try to fix WebLabel style behaviour.


git-svn-id: svn://localhost/gambas/trunk@7544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 17:17:07 +00:00
Benoît Minisini
f5b820db71 [GB.WEB.FORM]
* NEW: WebControl: If Expand is FALSE, then prevent the control from shrinking.
* NEW: WebTable: Columns now have a Width property, which defines its minimum width.
* NEW: WebLabel: Allow wrapping, but align vertically to the baseline and hides overflowing text. Not perfect yet... :-(


git-svn-id: svn://localhost/gambas/trunk@7543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 15:24:06 +00:00
Benoît Minisini
a6f458e05c [INTERPRETER]
* NEW: _ready() is new special method that is called when an object construction is completly finished.

[COMPILER]
* NEW: Remove the call to _load() method in form constructors.

[GB.WEB.FORM]
* BUG: WebExpander: Remove a debugging message.
* NEW: WebForm.Debug is a new static property that, if set, dumps all exchanges between the server and the client in the browser console.
* NEW: Use the new _ready special method.
* NEW: WebLabel: Add the Border property.
* NEW: WebLabel: Alignment is a new property that defines the label horizontal alignment.
* NEW: A few changes in default style sheet.


git-svn-id: svn://localhost/gambas/trunk@7541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:11:01 +00:00
Fabien Bodard
c255863403 [GB.REPORT2]
* BUG: Remove unneeded variable initialization.


git-svn-id: svn://localhost/gambas/trunk@7538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 13:58:23 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?

[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.

[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.

[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.

[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.

[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.

[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.

[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
  The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
  the 'Selection' property.
* BUG: Many fixes in the default stylesheet.


git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-27 18:16:32 +00:00
Fabien Bodard
c2fb96c345 [GB.REPORT2]
* BUG: Finally , after 10 years, I managed to solve the numbering problem of cloned elements.
  This will allow to manage data groups.
* NEW: Two new variable are supported in the expression evaluator
  Page for the page number, and Index for the cloned element index.
  ex: =Page
  


git-svn-id: svn://localhost/gambas/trunk@7533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-17 20:51:10 +00:00
Fabien Bodard
a2290a6d79 [GB.REPORT]
* BUG: Adding a forgotten file.


git-svn-id: svn://localhost/gambas/trunk@7532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:20:34 +00:00
Fabien Bodard
7b3b2ee0c7 [GB.REPORT]
NEW: Start to implement an external formula evaluator. This will allow to manage data and format more easily 
     and at a widget level.
     


git-svn-id: svn://localhost/gambas/trunk@7531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:17:56 +00:00
Fabien Bodard
23058fcc2d [GB.REPORT2]
* NEW: A new class ReportSizeParser to replace TSizeParse. 
  TSizeParse is maintained but deprecated.
* NEW: The ReportViewer is updated when the report layout is finished.



git-svn-id: svn://localhost/gambas/trunk@7509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 14:35:51 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
da9e37f4c0 [GB.DESKTOP]
* NEW: Update xdg-utils scripts to the last version (1.1.1).


git-svn-id: svn://localhost/gambas/trunk@7502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 01:04:40 +00:00
Benoît Minisini
145edbfec5 [GB.REPORT2]
* BUG: ReportView: Initialize the temporary image buffer contents when
  grayscale is enabled. Otherwise uninitialized pixels are painted.


git-svn-id: svn://localhost/gambas/trunk@7501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 00:46:12 +00:00
Benoît Minisini
1e32bb79dd [GB.DESKTOP.X11]
* BUG: Do not crash when some desktop properties are not defined by the
  window manager.

[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.

[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.


git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 19:57:17 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
  arrangement support. But still far from perfect for row and  column
  arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
  forms.

[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".


git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-02 19:36:46 +00:00
Benoît Minisini
e854439f50 [GB.NET.SMTP]
* NEW: Support for PLAIN and CRAM-MD5 authentications.


git-svn-id: svn://localhost/gambas/trunk@7495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-30 02:18:18 +00:00
Benoît Minisini
17a4a7bf5f [GB.GUI.BASE]
* NEW: FridView: Increase the size of the invisible row and column resize
  handles.


git-svn-id: svn://localhost/gambas/trunk@7491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-24 03:43:42 +00:00
Benoît Minisini
8b9f351c62 [DEVELOPMENT ENVIRONMENT]
* NEW: Centralize family-specific sources in dedicated folders.
* NEW: Form editor: Top and left handles of controls layed out by automatic
  arrangement are inactive now.

[GB.WEB.FORM]
* NEW: Implement the Border property for many controls.
* NEW: WebControl.Class is a new property that allows to define a custom
  CSS class for any control.


git-svn-id: svn://localhost/gambas/trunk@7490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 23:52:00 +00:00
Benoît Minisini
f927974b19 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
  for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
  controls. This representation is a GUI control class named
  "<family><control>". For example, WebformWebMenu is the IDE control class
  that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.

[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.


git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 19:56:52 +00:00
Benoît Minisini
c8499d454f [DEVELOPMENT ENVIRONMENT]
* NEW: Web form: Support for WebMenuItem drawing.

[GB.WEB.FORM]
* NEW: WebMenu.Image is a new property that allows to define the image of
  a menu.
* NEW: WebMenu can be imbricated to make sub-menus.
* NEW: WebMenuItem is usable now.


git-svn-id: svn://localhost/gambas/trunk@7488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 20:23:20 +00:00
Benoît Minisini
9268df987c [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS keywords.

[GB.WEB.FORM]
* NEW: WebMenu is a new control that implements a popup menu.
* NEW: WebSeparator is a new control that implements a separator.
* NEW: Message boxes now raise a 'Message' event in their forms when they
  are closed.
* NEW: Add Message.Info(), Message.Error() and Message.Question() message
  boxes.
* BUG: Fix container arrangement.
* BUG: Deleting a control correctly removes its custom session data.
* NEW: WebMenuItem is a new control supposed to implement a menu item. Not
  yet usable.


git-svn-id: svn://localhost/gambas/trunk@7487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 05:00:57 +00:00
Benoît Minisini
5a36c89169 [GB.FORM.EDITOR]
* BUG: Don't crash while deleting selection.


git-svn-id: svn://localhost/gambas/trunk@7483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-20 23:28:19 +00:00
Benoît Minisini
8d24b22411 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the function that detects if a control needs a parent.
* BUG: When adding every new file to the subversion repository, the
  '.gambas' directory is now correctly ignored.

[COMPILER]
* NEW: The _load() special method is now called just after the initial form
  creation is finished.

[GB.WEB.FORM]
* NEW: Message is a new class for displaying message boxes.
* BUG: Fix management of control names.
* NEW: Implement the WebContainer.Delete() method and WebWindow.Delete()
  methods. Child controls are now automatically deleted if their parent is
  also deleted.
* NEW: WebControl.Show() and WebControl.Hide() are two new methods that are
  synonymous of the Visible property.
* NEW: WebControl acts now like an collection-like array, so that you can
  store user data associated with a control in the session.
* NEW: WebControl.Reset() is a new method to reset the control user data.
* NEW: WebForm.ShowModal() shows a form as a modal window.
* NEW: WebForm.Show() does not take an optional parent anymore. Windows are
  always shown in the current form.
* NEW: Windows with no initial size are centered.
* NEW: WebImage is a new control that displays an image.
* NEW: WebLabel is a new control that displays a one-line vertically
  centered label.
* NEW: WebTextArea is a new control that implements a multi-line text area.


git-svn-id: svn://localhost/gambas/trunk@7482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-18 01:29:28 +00:00
Benoît Minisini
794122fe66 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for WebHBox and WebVBox.

[WIKI CGI SCRIPT]
* NEW: Style for news date with a white background.

[GB.WEB.FORM]
* NEW: WebForm.Resizable is a new property that tells if a form is
  resizable when displayed as a window.
* NEW: Declare the '_Similar' properties.
* NEW: Replace the WebForm.Open method by a Show() method that acts on the
  from to be opened as a window. Mimic the syntax of GUI components.
* NEW: WebSpinBox is a new control that implements a spin box.
* NEW: WebSlider is a new control that implements a slider.
* BUG: WebTimer.Enabled property now works correctly.
* NEW: WebHBox is a new container that arrange its children horizontally.
* NEW: WebVBox is a new container that arrange its children vertically.
* NEW: Windows now have a blue title bar when they are on top, and a gray
  one if they are behind.
* OPT: Don't use elements with absolute positioning in window frames, it
  slows down Firefox.

[GB.UTIL.WEB]
* NEW: JS() now can convert any Gambas native value, array, or collection
  to a Javascript expression.


git-svn-id: svn://localhost/gambas/trunk@7481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-17 00:57:06 +00:00
Benoît Minisini
2ccdb3336c [GB.WEB.FORM]
* NEW: WebControl.Raise() is a new method to raise a control in its parent
  hierarchy.
* NEW: WebControl.Lower() is a new method to lower a control in its parent
  hierarchy.
* NEW: WebControl.Delete() deletes a control.
* NEW: Support for reisable windows.
* NEW: WebForm.Open() is a new method to open a child form as a window
  inside the current form.


git-svn-id: svn://localhost/gambas/trunk@7479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-16 06:07:06 +00:00
Benoît Minisini
be68b85700 [CONFIGURATION]
* BUG: Add gb.web.form to the list of components to compile.


git-svn-id: svn://localhost/gambas/trunk@7478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-15 03:13:14 +00:00
Benoît Minisini
25cdbaa492 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Decide that a control has a parent according to its
  constructor, not to its Virtual state.
* BUG: Form editor: Correctly handle color properties with an alpha value.
* NEW: The '_HiddenControls' property of form controls now can hide
  controls from any other components.

[BENCHMARKS]
* NEW: Do less repeats in the 'string 'benchmark.
* NEW: Update the Gambas version of 'mandelbrot' and 'polynom' benchmarks.

[GB.WEB.FORM]
* NEW: A small Color class.
* BUG: WebButton now uses the 'gw-button' CSS class.
* BUG: Fix WebCheckBox rendering.
* NEW: WebRadioButton is a new control that implements a radio button.
* NEW: WebTimer is a new virtual control that implements a timer on the
  browser client side.
* NEW: Implement read-write WebComboBox.
* NEW: WebControl now has Background and Foreground properties.
* BUG: Hidden controls do not refresh. A control is hidden if it is not
  visible or if one of its parent is not visible.
* NEW: Controls can render JavaScript code.
* NEW: WebTextBox now uses the 'gw-textbox' CSS class.


git-svn-id: svn://localhost/gambas/trunk@7477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-14 23:22:10 +00:00
Benoît Minisini
90c8b0df40 [GB.FORM]
* BUG: Stock: Fix breeze icon theme support.


git-svn-id: svn://localhost/gambas/trunk@7475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-13 14:18:27 +00:00
Benoît Minisini
20a827d9d2 [GB.WEB.FORM]
* NEW: Enabled is now a property of the WebControl class.
* NEW: Hidden controls are not rendered anymore.
* NEW: WebCheckBox is a new control that implements a check box.
* NEW: WebComboBox is a new control that implements a combo-box. It is
  only read-only at the moment.


git-svn-id: svn://localhost/gambas/trunk@7474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 19:27:04 +00:00
Benoît Minisini
badd6fd945 [GB.FORM]
* BUG: Stock: Fix how theme-specific icons are handled. They are now tried
  on every possible size and other non theme-specific icons are ignored.


git-svn-id: svn://localhost/gambas/trunk@7472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 19:21:35 +00:00
Benoît Minisini
619a92e8f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Components can now use proxy controls to be displayed in the form
  editor even if they don't depend on a GUI component.
* BUG: Component containers arrangement is now based on the symbol names of
  the Arrange class, not on the symbol values.

[WIKI CGI SCRIPT]
* NEW: Automatic generation of IDE dependencies.

[GB.DESKTOP]
* BUG: Remove a debugging stop.

[GB.WEB.FORM]
* NEW: WebTabPanel is a new TabStrip-like container.
* NEW: Support for multi-containers.
* NEW: WebControl.Ignore is a new property that makes a control use CSS
  absolute position.
* NEW: Emit refresh code before event javascript reply.


git-svn-id: svn://localhost/gambas/trunk@7470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 02:27:09 +00:00
Benoît Minisini
5489dc01ee [GB.UTIL]
* BUG: Class.Stat() can now be used several times correctly.


git-svn-id: svn://localhost/gambas/trunk@7466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 01:21:10 +00:00
Benoît Minisini
046e1873f6 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if the VERSION file is incorrect. Display an error
  message instead.

[GB.FORM]
* NEW: MessageView: Ignore a message if its contents is the same as the
  currently displayed message.


git-svn-id: svn://localhost/gambas/trunk@7465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 01:06:35 +00:00
Benoît Minisini
3ec3e2b9b5 [GB.WEB.FORM]
* NEW: Button.Enabled is a new property that allows to disable a button.
* BUG: Fix container style generation.
* NEW: WebControl have a Width and Height properties now, which are
  synoymous for their style property counterparts.
* OPT: WebControl do not send events if there are no event handler inside
  the server code.
* NEW: WebTextBox is a new control that implements a text box.
* NEW: New 'update' message from the client to update a control property in
  the server.
* NEW: WebForm.Close() is a new method that resets the form state, and try
  to close it. Note that the browser prevent windows to be closed by a
  script if they haven't been opened by a script.
* NEW: Control refresh in the browser tries to preserve the current active
  element and its selection.


git-svn-id: svn://localhost/gambas/trunk@7464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 00:45:49 +00:00
Benoît Minisini
5e9a9a2d10 [GB.WEB.FORM]
* BUG: Application state is now stored correctly and support different
  forms at the same time.


git-svn-id: svn://localhost/gambas/trunk@7462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-10 04:27:36 +00:00
Benoît Minisini
fe1aaed25d [DEVELOPMENT ENVIRONMENT]
* BUG: Don't raise an error while filling the editor procedure combo-box.
  Just fill it with nothing.
* BUG: Use the true family name as class name for the root control of a
  form.

[GB.HTTPD]
* NEW: The standard error output of CGI scripts is not redirected to the
  HTTP client anymore, so that the IDE catch debugging messages printed by
  the DEBUG instruction.

[GB.UTIL.WEB]
* NEW: JS is a new class that quotes a string for javascript when used as a
  static function.

[GB.WEB.FORM]
* NEW: Control can raise events from the browser to the application.
* NEW: Control properties changed during an event are stored in the session
  to make them permanent.
* NEW: Refreshing a control during an event sends the updated HTML to them
  browser.


git-svn-id: svn://localhost/gambas/trunk@7461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-10 03:57:44 +00:00
Benoît Minisini
bd73d5ddcf [GB.FORM.EDITOR]
* OPT: TextEditor: Try to detect if the desktop is remote, and disable all
  optimizations based on image caches in that case.


git-svn-id: svn://localhost/gambas/trunk@7460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 23:40:47 +00:00
Benoît Minisini
e719e777b4 [DEVELOPMENT ENVIRONMENT]
* NEW: Image selection dialog has now more options, and can choose image
  inside the ".public" directory.
* NEW: Image selection now depends on form family.

[INTERPRETER]
* NEW: Timer.Restart() is a new method that stops and starts again a timer.

[GB.FORM.EDITOR]
* NEW: TextEditor: Image line cache is now limited by the visible height.
* BUG: TextEditor: Don't use image line cache for lines too high.

[GB.WEB]
* BUG: WebPage.ToString() now works correctly.

[GB.WEB.FORM]
* NEW: Generate webform style sheet recursively.
* NEW: WebButton can have an icon with the Image property.
* NEW: WebHtml control is now usable.
* NEW: WebContainer Arrangement, Margin and Spacing properties.
* NEW: WebControl Expand property.
* NEW: WebContainer boolean Border property is there just for debugging.
* NEW: WebForm.Title property.


git-svn-id: svn://localhost/gambas/trunk@7459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 01:41:20 +00:00
Benoît Minisini
ce6b2c35b3 [GB.UTIL]
* NEW: Class.Stat() is a new static method that returns information about
  a project class without loading it. At the moment you only get the parent
  class name and if the class is exported.

[GB.WEB.FORM]
* NEW: A new embryo component that aims at providing web application GUI
  controls, web application automatic user management (login & register),
  and many other features not yet decided.


git-svn-id: svn://localhost/gambas/trunk@7457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-08 03:11:47 +00:00
Benoît Minisini
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
2cec42ba01 [GB.FORM.EDITOR]
* OPT: Refresh only the concerned lines when the selection changes.


git-svn-id: svn://localhost/gambas/trunk@7455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-05 22:51:19 +00:00
Benoît Minisini
5ab0ae6858 [GB.FORM]
* BUG: Fix stock icon templates.
* NEW: Print each loaded stock icon when Stock.Debug is set.


git-svn-id: svn://localhost/gambas/trunk@7446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 09:15:51 +00:00
Benoît Minisini
bd3dfd4fa4 [GB.FORM]
* NEW: MaskBox.Filter is a new property that takes a LIKE regular 
  expression describing the allowed characters. By default all characters
  are allowed.
* NEW: MaskBox now raises the Filter event with a character as argument. If
  this event is stopped, then the character is not allowed. By default all
  characters are allowed.

[GB.WEB]
* NEW: Request.Referer is a new property that returns the request referer.
* NEW: Request.UserAgent is a new property that returns the request user 
  agent.


git-svn-id: svn://localhost/gambas/trunk@7432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-24 21:09:13 +00:00
Benoît Minisini
d3c0c9db6b [GB.FORM.EDITOR]
* BUG: CTRL+ENTER does not crash anymore if there is nothing to fold or 
  unfold.


git-svn-id: svn://localhost/gambas/trunk@7416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:10:54 +00:00
Benoît Minisini
bc6493120e [INTERPRETER]
* NEW: File.IsHidden() is a new static method that returns if a path is 
  hidden, i.e. if its filename or one of its directory components starts 
  with a dot.

[GB.FORM]
* NEW: Setting an hidden path to a DirChooser or FileChooser automatically 
  toggles the ShowHidden property if needed.


git-svn-id: svn://localhost/gambas/trunk@7414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 01:59:12 +00:00
Benoît Minisini
0c9a9bc08c [GB.FORM]
* BUG: Fix "linux" stock icon.


git-svn-id: svn://localhost/gambas/trunk@7408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 22:59:51 +00:00
Benoît Minisini
01a2b34270 [DEVELOPMENT ENVIRONMENT]
* NEW: Project exported control icons are thiner.

[INTERPRETER]
* NEW: Release classes having an array class if that array class has no 
  instance.

[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
  "quit" hook. At the moment it releases Drag.Icon picture and voids the 
  Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:02:12 +00:00
Benoît Minisini
8db3ee2deb [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Buttons for line cap style, line join style and fill 
  rule.
* BUG: Image editor: Fix drawing of ghost line tool.

[GB.FORM.EDITOR]
* BUG: TextEditor: SHIFT + PGUP or PGDOWN keys now works as expected.

[GB.FORM.MDI]
* NEW: Workspace: Always shows the global close button, even if there is 
  only one tab.


git-svn-id: svn://localhost/gambas/trunk@7396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 01:20:37 +00:00
Benoît Minisini
f073b22eae [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly catch errors when reloading a file.

[INTERPRETER]
* BUG: Fix a possible crash when removing an element from an enumerated 
  collection.


git-svn-id: svn://localhost/gambas/trunk@7392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 23:29:35 +00:00
Tobias Boege
06893f0942 [GB.FORM]
* NEW: Wizard: Add Update() method to redraw the Wizard



git-svn-id: svn://localhost/gambas/trunk@7388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 21:33:59 +00:00
Benoît Minisini
2e22d8c24c [GB.FORM]
* BUG: File bookmark editor: Correctly save current bookmark when using
  "Up" or "Down" button.


git-svn-id: svn://localhost/gambas/trunk@7384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 12:58:40 +00:00
Benoît Minisini
64e95ed8e1 [GB.FORM.MDI]
* NEW: Use more granular sizes for stock icons, so that they are not too 
  small for some font sizes.

[GB.QT4]
* BUG: Desktop.Scale is now updated before window Font events are sent.
  
[GB.QT5]
* BUG: Desktop.Scale is now updated before window Font events are sent.


git-svn-id: svn://localhost/gambas/trunk@7380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:57:14 +00:00
Benoît Minisini
fa54b1e89b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a large toolbox icon size, for HighDPI screens.
* BUG: Image editor: Fix mouse wheel behaviour when zooming.
* BUG: Image editor: Clip pasted image.

[GB.REPORT2]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@7379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:11:15 +00:00
Benoît Minisini
5ef2192a49 [GB.FORM]
* NEW: Stock: Support for Trinity desktop.
* BUG: Stock: Correctly detect KDE5 icon theme.


git-svn-id: svn://localhost/gambas/trunk@7376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-02 22:09:12 +00:00
Benoît Minisini
e115c34a66 [DEVELOPMENT ENVIRONMENT]
* NEW: List property dialog: Invert button.
* BUG: Image editor: Many bug fixes in draw, erase, and line tool.
* NEW: New icons for networking controls.

[GB.DB.FORM]
* NEW: New icon for DataSource control.

[GB.QT4]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.

[GB.QT5]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.


git-svn-id: svn://localhost/gambas/trunk@7375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-01 20:55:19 +00:00
Benoît Minisini
bd337bdda4 [GB.FORM.DIALOG]
* NEW: Dialog.Key is a new property that allows to define the sub-key used 
  for storing dialog settings.
  
[GB.SETTINGS]
* NEW: Settings.Read and Settings.Write can take an absolute key as 
  argument.


git-svn-id: svn://localhost/gambas/trunk@7374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-30 15:06:41 +00:00
Benoît Minisini
beeabd049f [DEVELOPMENT ENVIRONMENT]
* NEW: Put the WebView icon in the IDE.

[GB.FORM.EDITOR]
* OPT: Don't raise Cursor event if we are between calls to Begin / End or 
  during an undo or redo process.

[GB.GUI.QT.WEBKIT]
* NEW: No need to put the WebView icon there.


git-svn-id: svn://localhost/gambas/trunk@7367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 15:03:16 +00:00
Benoît Minisini
afd98e3f55 [CONFIGURATION]
* NEW: Redraw many control icons.


git-svn-id: svn://localhost/gambas/trunk@7366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 12:53:38 +00:00
Benoît Minisini
446ce4d406 [GB.GUI.BASE]
* NEW: GridView: Don't draw the background if the Background property is 
  set to Color.Transparent.
  
[GB.FORM.EDITOR]
* BUG: TextEditor: Load() method now always move the cursor to the 
  beginning, to avoid a possible crash.


git-svn-id: svn://localhost/gambas/trunk@7359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 17:25:10 +00:00
Benoît Minisini
0feacc4358 [GB.DBUS]
* BUG: Fix some memory leaks when using DBusObject and DBusVariant in a 
  method call or a reply.
* BUG: The message observer of a DBusObject may disappear while processing
  a message. Take that into account.


git-svn-id: svn://localhost/gambas/trunk@7352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 02:39:16 +00:00
Benoît Minisini
6c6dfae9a8 [GB.FORM.MDI]
* BUG: Correctly read the action pictures in the archive they are declared.

[GB.GUI.BASE]
* BUG: Fix icon path to internal key generation in the Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-26 08:50:14 +00:00
Benoît Minisini
0a9262a2d8 [GB.FORM]
* NEW: Use Desktop.Type to get the current desktop.

[GB.GTK]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.GTK3]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT4]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT5]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.


git-svn-id: svn://localhost/gambas/trunk@7345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-25 22:47:37 +00:00
Benoît Minisini
faca7d2408 [CONFIGURATION]
* BUG: Uninstall correctly remove templates and XML appdata file.
* NEW: New Gambas icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: New class CDocumentation that allows to handle distinct sets of 
  component metadata. That way, offline documentation does not interact 
  with automatic completion and method signature popups anymore.
* NEW: Project property dialog: Add two more environment variable 
  definitions.
* NEW: New Gambas icons.
* NEW: Remove now useless icons of the old project creation dialog.

[WIKI CGI SCRIPT]
* BUG: Fix and enhance automatic generation of Gambas application package 
  dependencies.


git-svn-id: svn://localhost/gambas/trunk@7336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-24 23:52:22 +00:00
Benoît Minisini
adae12a790 [GB.FORM.EDITOR]
* BUG: TextEditor: Deleting one collapsed line correctly expands it and 
  does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 19:37:16 +00:00
Benoît Minisini
fb6e7383d6 [GB.FORM]
* BUG: ValueBox: Setting the Type property does not hide the control 
  contents anymore.


git-svn-id: svn://localhost/gambas/trunk@7331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 18:49:45 +00:00
Fabien Bodard
5a3c15f5e4 [GB.REPORT2]
* BUG: ReportImage: Remove an old size convertion and replace it by the Report Class One.
* BUG: ReportImage: Change the Matrix manipulation by the Print.DrawImage Function.
  It resolve resolution problem on printing.


git-svn-id: svn://localhost/gambas/trunk@7330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 08:32:12 +00:00
Jesus Guardon
aefa52591d [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation



git-svn-id: svn://localhost/gambas/trunk@7327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-20 18:10:00 +00:00
Benoît Minisini
0a2fc05ba5 [GB.FORM.DIALOG]
* BUG: Dialog.SelectFont() now takes Dialog.Title into account.


git-svn-id: svn://localhost/gambas/trunk@7325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-19 18:47:40 +00:00
Benoît Minisini
abf1ba8cbf [DEVELOPMENT ENVIRONMENT]
* NEW: New project creation dialog based on template projects located in
  '/usr/share/gambas3/template' and in '~/.local/share/gambas3/template'.
  These are default directories, they may change according to your gambas
  installation prefix and home directory configuration.

[TEMPLATES]
* NEW: Project templates. There are only two at the moment, others will
  come.

git-svn-id: svn://localhost/gambas/trunk@7321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 00:41:43 +00:00
Benoît Minisini
8665f8766d [DEVELOPMENT ENVIRONMENT]
* NEW: More dark theme icons.
* NEW: Fabien's version of the new logo.
* BUG: Image editor: Pasted images are not one pixel too big anymore.

[GB.DBUS.TRAYICON]
* BUG: Toggle menus triggered from the trayicon menu correctly raise the
  Click event
  
[GB.FORM]
* NEW: TabPanel: Clicking with the middle mouse button on a tab button now 
  closes it.


git-svn-id: svn://localhost/gambas/trunk@7317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 21:37:04 +00:00
Benoît Minisini
07657caec9 [GB.FORM]
* NEW: ButtonBox: Dark theme version of default select icon.


git-svn-id: svn://localhost/gambas/trunk@7311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:30:18 +00:00
Benoît Minisini
0ae08d5271 [CONFIGURATION]
* BUG: Fix gambas server page mimetype file.
* NEW: New breeze-like icons for mimetypes.

[GB.GUI.BASE]
* NEW: Picture: Use Color[].Luminance on default background color to detect 
  dark themes.

[GB.DBUS.TRAYICON]
* NEW: New breeze default tray icon.


git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:22:28 +00:00
Benoît Minisini
991f685a3c [INTERPRETER]
* NEW: Component.FindFromPath() is a new method that returns the name of 
  the component a relative path belongs to.
* BUG: Fix the internal method that returns the component a relative path 
  belongs to.

[ARCHIVER]
* NEW: Better verbose mode.

[GB.GUI.BASE]
* NEW: Use the new Component.FindFromPath() method.

[GB.IMAGE]
* NEW: Color[].Luminance returns the luminance information of a color.


git-svn-id: svn://localhost/gambas/trunk@7309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 10:53:02 +00:00
Benoît Minisini
5edc798e2f [DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to invert an editor theme so that it is usable with a 
  GUI dark theme.
* NEW: Fix some default themes so that it is more usable inverted.

[GB.FORM.MDI]
* BUG: Don't load 'gb.form.mdi' action files. What for?


git-svn-id: svn://localhost/gambas/trunk@7306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-13 18:43:10 +00:00
Benoît Minisini
bdd864f41a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix windows using icons not existing anymore.
* NEW: Add dark theme versions of some icons.

[INTERPRETER]
* NEW: "../xxx" now refers to a file located in the parent archive, not
  necessarily the main project archive. "../../xxx" refers to the 
  grand-parent archive, and so on. A component written in Gambas that 
  receives a relative path is supposed to prefix it with "../" if he wants 
  to access it. Please report any incompatibility!
* NEW: File.IsRelative() is a new method that returns if a file is 
  relative, i.e. if it does not starts with '/' or '~'.
  
[GB.FORM]
* NEW: The Stock class does not use the Picture cache anymore. It is 
  useless as normally the Stock class is accessed from the Picture[]
  method.

[GB.FORM.MDI]
* BUG: When browsing actions, do not try to load an icon for actions that
  do not have one.

[GB.GTK]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GTK3]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GUI.BASE]
* NEW: The Picture[] array accessor and the Picture.Flush() method are now 
  implemented in that component.
* NEW: Remove support for theme specific icons.
* NEW: Add support for right-to-left specific icons. For example, if an
  icon is named 'abc-ltr.png', then it will be considered as a 
  'left-to-right' icon, and the 'abc-rtl.png' icon will be used if the 
  current langauge is right-to-left written.
* NEW: Add support for dark theme specific icons. An icon named 
  'abc-dark.png' will be the dark theme version of the 'abc.png' icon.

[GB.QT4]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.
  
[GB.QT5]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 23:21:44 +00:00
Benoît Minisini
4c26b8485c [GB.FORM.EDITOR]
* BUG: TextEditor: Reset the cursor position before actually setting the 
  Text property, to avoid a possible crash.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Ignore Style.ScrollBarSpacing when layouting scrollbars.


git-svn-id: svn://localhost/gambas/trunk@7301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 17:37:31 +00:00
Benoît Minisini
57b1daf05d [GB.FORM.EDITOR]
* NEW: TextEditor: Some ANSI codes are taken into account by the Print() 
  method.
* OPT: TextEditor: Print() modifications are not put in the undo buffer.

[GB.QT4]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.

[GB.QT5]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.


git-svn-id: svn://localhost/gambas/trunk@7299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 15:57:55 +00:00
Benoît Minisini
99c8a1a7c7 [DEVELOPMENT ENVIRONMENT]
* BUG: Code formating when saving does not prevent modification flag to 
  work anymore.
* NEW: Option dialog: Change the order of panels.
  
[GB.FORM.EDITOR]
* NEW: TextEditor: The Save() and Reset() methods now cancel any pending
  Change event.


git-svn-id: svn://localhost/gambas/trunk@7297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-11 03:02:58 +00:00
Benoît Minisini
d8527fbfbf [GB.DBUS]
* NEW: DBus.IsRegistered() is a new method that returns if a specific 
  DBusObject has been registered to a bus.

[GB.DBUS.TRAYICON]
* BUG: Correctly export menus that are not visible.


git-svn-id: svn://localhost/gambas/trunk@7295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-10 21:38:52 +00:00
Benoît Minisini
9d941c56d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Let the MessageView control use its default colors.

[GB.FORM]
* NEW: MessageView default colors are now default text background and 
  foreground.


git-svn-id: svn://localhost/gambas/trunk@7294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 23:54:00 +00:00
Benoît Minisini
d47c1c4ccf [GB.FORM.EDITOR]
* NEW: TextEditor: SHIFT key + mouse click now selects text.


git-svn-id: svn://localhost/gambas/trunk@7287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 10:41:15 +00:00
Benoît Minisini
0704ce8f70 [DEVELOPMENT ENVIRONMENT]
* OPT: Code formatting is faster now by working on a temporary line buffer.

[WEBSITE MAKER]
* NEW: Update to 3.8.1 version.

[GB.GTK]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.GTK3]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.


git-svn-id: svn://localhost/gambas/trunk@7281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 15:12:38 +00:00
Benoît Minisini
ea1fa9704e [GB.REPORT2]
* BUG: Preview: Fix the printer combo initial value.


git-svn-id: svn://localhost/gambas/trunk@7257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 14:38:23 +00:00
Fabien Bodard
e845dc1e3b [GB.REPORT2]
* BUG: Now the printer resolution is always 1200 dpi.
* NEW: The report preview dialog layout is changed to be more readable
  with less info. Feel free to tell me your opinions.
  


git-svn-id: svn://localhost/gambas/trunk@7254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 12:10:41 +00:00
Benoît Minisini
e909d1ea5a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix behaviour of shortcut text properties having ampersands inside.

[GB.GUI.BASE]
* BUG: Fix behaviour of shortcut text properties having ampersands inside.


git-svn-id: svn://localhost/gambas/trunk@7253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 02:02:20 +00:00
Benoît Minisini
f9cfb6884e [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix pen and eraser tool drawing.
* NEW: Image editor: Information is now displayed on top of the image.
* NEW: Image editor: The property panel got a close button.

[WEBSITE MAKER]
* NEW: Link to the new bugtracker.

[GB.FORM]
* BUG: MessageView: Custom background color is now taken into account.


git-svn-id: svn://localhost/gambas/trunk@7246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 13:24:06 +00:00
Benoît Minisini
e6efb33ffa [GB.NET.SMTP]
* NEW: SmtpClient.MessageId is a new property that allows to define the 
  'Message-ID' header of the mail.
* NEW: SmtpClient.InReplyTo is a new property that allows to define the 
  'In-Reply-To' header of the mail. It defines the 'References' header as
  well with the same value.
* NEW: SmtpClient.AddHeader() is a new method to add a custom specific
  header to the mail.


git-svn-id: svn://localhost/gambas/trunk@7239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 16:44:39 +00:00
Benoît Minisini
e37683ccf5 [CONFIGURATION]
* NEW: Switch to 3.8.90 version.


git-svn-id: svn://localhost/gambas/trunk@7238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 13:24:08 +00:00
Benoît Minisini
dfcb60106e [DEVELOPMENT ENVIRONMENT]
* BUG: Some HiDPI fixes.

[GB.FORM]
* NEW: Stock icon default sizes ("small", "medium"...) are now proportional
  to Desktop.Scale by steps of 8 pixels. This is for HiDPI support.
* NEW: Wizard BeforeChange event can be cancelled now.

[GB.FORM.MDI]
* NEW: Toolbar tries to update the size of its icons when the font changes.

[GB.GTK]
* NEW: Window now raises a Font event when its font changes.

[GB.GTK3]
* NEW: Window now raises a Font event when its font changes.

[GB.GUI.BASE]
* NEW: TreeView items height padding is now proportional to Desktop.Scale.

[GB.QT4]
* NEW: Window now raises a Font event when its font changes.

[GB.QT5]
* NEW: Window now raises a Font event when its font changes.


git-svn-id: svn://localhost/gambas/trunk@7228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-18 15:19:22 +00:00
Adrien Prokopowicz
ffc6e254c2 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Do not mark a file as unsaved when refactoring is triggered
  by saving this same file.

[GB.FORM.EDITOR]
* BUG: TextEditor: Only change the contents of a line if the provided new
  content is different from the current one.

git-svn-id: svn://localhost/gambas/trunk@7225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-15 16:06:39 +00:00
Adrien Prokopowicz
67a1a73817 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix tab ('\t') character printing.

git-svn-id: svn://localhost/gambas/trunk@7220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-13 10:35:31 +00:00
Adrien Prokopowicz
7001f424cb [GB.DB.FORM]
* BUG: The application busy state is now correctly reset when an 
  SQL error occurs.
* BUG: Fix the queries requesting the data after the 256th entry.

git-svn-id: svn://localhost/gambas/trunk@7219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-04 19:13:48 +00:00
Adrien Prokopowicz
3ca6267a3c [GB.GUI.BASE]
* BUG: IconView: Fix item drawing when in horizontal orientation.

git-svn-id: svn://localhost/gambas/trunk@7218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-03 23:48:28 +00:00
Benoît Minisini
a0ee7de173 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project property dialog layout.

[GB.GUI.BASE]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 11:12:22 +00:00
Benoît Minisini
ce3be2a1ab [DEVELOPMENT ENVIRONMENT]
* NEW: Fix many dialog layouts.

[GB.FORM]
* BUG: FileChooser does not display an error message anymore if the 
  selected path does not exist. Only if the parent directory is not found.
* NEW: IconPanel.Border property behaviour has changed. When set now, the
  only the left panel gains a border, and a space to its right. When not 
  set, the old behaviour is maintained, i.e. no border but a separator
  between the left panel and the contents.
* NEW: Fix file properties dialog layout.

[GB.FORM.MDI]
* NEW: Fix shortcut configuration dialog layout.
  
[GB.GUI.BASE]
* BUG: GridView: The contents is not shifted anymore when the Border 
  property is set.
* BUG: GridView: Take the Design property into account.


git-svn-id: svn://localhost/gambas/trunk@7207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 10:54:58 +00:00
Benoît Minisini
08c0e1037e [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Always draw software icon to the left.

[GB.DB.MYSQL]
* NEW: Use the a void database name by default, instead of explicitly 
  connecting to the "mysql" database.

[GB.GTK]
* BUG: Window.NoTakeFocus works correctly now.

[GB.GTK3]
* BUG: Window.NoTakeFocus works correctly now.

[GB.QT4]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Default window title is correctly initialized now.

[GB.QT5]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Window.NoTakeFocus should work in all cases now.
* BUG: Default window title is correctly initialized now.


git-svn-id: svn://localhost/gambas/trunk@7205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 09:13:03 +00:00
Benoît Minisini
0649088547 [GB.QT5.OPENGL]
* BUG: Fix Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 23:34:00 +00:00
Benoît Minisini
1b420fbf43 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Cleaner way of drawing software information.
* BUG: Farm client: Software URL works correctly now.

[WIKI CGI SCRIPT]
* NEW: Remove custom font in style sheet.

[GB.FORM]
* NEW: ImageView.Alignment is a new property that allows to define how the
  image is aligned when it is smaller than the view.
* NEW: UrlLabel: Display the link URL if the Text property is not set.

[GB.GTK]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.GTK3]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT4]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT5]
* NEW: Font.H is now a synonymous of Font.Height.


git-svn-id: svn://localhost/gambas/trunk@7196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 03:00:41 +00:00
Fabien Bodard
240071902a [GB.REPORT]
* NEW: Now the resolution can be set on printing and on file generation.
* BUG: All the classes are exported. So now shadows can work.


git-svn-id: svn://localhost/gambas/trunk@7195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 20:49:54 +00:00
Benoît Minisini
b4c575b6ed [GB.DB.FORM]
* NEW: DataComboView: Draw current selected record with the same layout as
  the popup DataView uses.


git-svn-id: svn://localhost/gambas/trunk@7193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 03:14:06 +00:00
Benoît Minisini
bc0a813092 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the edition of DataComboView.Columns property and any other "
  field" property that takes its table in another property of the same 
  object.

[WIKI CGI SCRIPT]
* NEW: Update wiki style sheet.

[GB.FORM]
* BUG: Balloon won't crash anymore if the control it is associated with 
  becomes invalid.

[GB.DB.FORM]
* BUG: Fix blob editor current byte highlighting.


git-svn-id: svn://localhost/gambas/trunk@7192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 02:54:47 +00:00
Benoît Minisini
9d6820dd88 [DEVELOPMENT ENVIRONMENT]
* NEW: The system colors of the color choose dialog are now dynamically 
  filled from the Color class information. Consequently, you can add new 
  colors by extending and adding new color constants or properties to the 
  Color class in your project.
* BUG: Prevent a possible crash in the farm client request manager.

[GB.GTK]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.GTK3]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.QT4]
* BUG: The color properties of the Color class are now correctly read-only.

[GB.QT5]
* BUG: The color properties of the Color class are now correctly read-only.


git-svn-id: svn://localhost/gambas/trunk@7189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 12:59:14 +00:00
Benoît Minisini
5ecb973af4 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Don't load the image twice.
* NEW: Do not open the welcome dialog if a project directory has been 
  specified in program arguments.
* NEW: Farm client: Paint the software names the same way everywhere.
* BUG: If the workspace was filled before
  the main window is visible, then the QT5 backing store starts displaying
  garbage. The workaround was to always show the main window before trying 
  to load any file.
* NEW: Add the environment variables to the system information.

[WIKI CGI SCRIPT]
* BUG: Fix some HTML syntax errors.

[INTERPRETER]
* BUG: Add the Rand() syntax description.

[GB.DB.POSTGRESQL]
* BUG: If PostgreSQL version is greater than 9.0, then force the bytea 
  output format to 'escape', as it was before.

[GB.EVAL.HIGHLIGHT]
* NEW: The TextHighlighter.ToHtml() method now takes the 'Alternate' style
  flag into account, and the generated HTML is less verbose.
* BUG: The WebPage highlighting has been fixed.

[GB.FORM]
* BUG: Completion: Fix a possible crash.
* BUG: TabPanel: Fix a possible crash.

[GB.SDL2]
* NEW: Window.Handle is a new property that returns the window handle.


git-svn-id: svn://localhost/gambas/trunk@7188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-27 03:54:57 +00:00
Benoît Minisini
cadb97d06a [GB.FORM.EDITOR]
* BUG: TextEditor: Correctly update line heights in all cases when a line 
  is inserted or removed.


git-svn-id: svn://localhost/gambas/trunk@7187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-27 03:45:21 +00:00
Benoît Minisini
6b5790f7f9 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager wizard: When creating a package from a component project,
  warn the user if the project name is not prefixed by a vendor name and
  a dot, and stop the process.

[GB.GUI.BASE]
* NEW: IconView: Draw is a new event that is raised when just after a 
  specific IconView item has been drawn.
* NEW: IconView: Draw the hovered item differently.
* BUG: IconView: Fix bad detection of hovered item.
* NEW: IconView: Take the icon shape into account when doing a rectangle
  selection.

[GB.DRAW]
* NEW: Paint.Zoom now draws its grid with a dashed line using the specified 
  grid color and its inverse.


git-svn-id: svn://localhost/gambas/trunk@7186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-15 02:09:42 +00:00
Benoît Minisini
e4ecf99c28 [GB.UTIL]
* NEW: String.Distance() is a new method that returns the Damerau-
  Levensthein distance between two UTF-8 strings. It's the minimum number 
  of operations needed to transform one string into the other, where an 
  operation is defined as an insertion, deletion, or substitution of a 
  single character, or a transposition of two adjacent characters.


git-svn-id: svn://localhost/gambas/trunk@7185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-13 13:20:42 +00:00
Adrien Prokopowicz
3d6e91a1ca [GB.FORM]
* BUG: Balloon now works correctly across screens.

git-svn-id: svn://localhost/gambas/trunk@7184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-13 10:58:07 +00:00
Fabien Bodard
401b05bfa9 [GB.FORM.TERMINAL]
* NEW: Adding some new classes, now I can begin the developement
  of the screen part.


git-svn-id: svn://localhost/gambas/trunk@7182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-12 20:19:19 +00:00
Fabien Bodard
84b7875611 [GB.FORM.TERMINAL]
* NEW: First commit, nothing usable for now, I just started to write the emulator,
  which already represents a large number of lines of code, but the most complex work 
  was to understand how the entire virtual terminal. Thank you to all available sources,
  Xterm, Rxvt, Konsole. I hope to arrive at the end to implement all the functions of VT102.


git-svn-id: svn://localhost/gambas/trunk@7178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-11 20:59:45 +00:00
Benoît Minisini
cb679e9505 [GB.FORM.EDITOR]
* NEW: TextEditor: Disable highlighting between Begin() and End(), and do 
  it later, just after the last End() has been called. That makes the IDE 
  "replace all" tool work correctly!


git-svn-id: svn://localhost/gambas/trunk@7177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-10 22:38:35 +00:00
Benoît Minisini
1a804d1e45 [DEVELOPMENT ENVIRONMENT]
* NEW: The "Show search window" button in the search list does not reset
  the searching context to the current procedure anymore. It keeps the
  current context unchanged instead.

[GB.DRAW]
* NEW: Paint.ZoomImage used dash pattern to draw the zoom grid.

[GB.FORM]
* NEW: ImageView uses #808080 as grid color.

[GB.FORM.EDITOR]
* BUG: TextEditor: Don't reset an editor getting the focus. Do it only if 
  needed.


git-svn-id: svn://localhost/gambas/trunk@7175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-07 20:51:57 +00:00
Fabien Bodard
15b5ed13ef [GB.FORM.EDITOR]
* BUG: TextEditor: Do not toggle to overwrite mode when inserting a line.


git-svn-id: svn://localhost/gambas/trunk@7173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-05 13:52:48 +00:00
Benoît Minisini
d4146dfcd0 [DEVELOPMENT ENVIRONMENT]
* NEW: Add compression driver components descriptions.
* BUG: The packager now generates packages for QT5 and GTK+3 for project 
  using gb.gui.
* NEW: The button to show deprecated components is now embedded into the 
  component chooser.

[EXAMPLES]
* BUG: WebBrowser: Fix a bug in text search.

[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting lines effectively insert lines in overwrite 
  mode.


git-svn-id: svn://localhost/gambas/trunk@7172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-04 21:26:20 +00:00
Benoît Minisini
417bfb8685 [INTERPRETER]
* NEW: GB.GetReturnValue() is a new interpreter API that returns a pointer
  to the internal GB_VALUE slot where GB.ReturnXXX() functions store the
  return value.
* NEW: Allow a component to declare a GB_AFTER_INIT() exported method that
  is called just after all the components declared in the project are 
  completely loaded.
  
[GB.DBUS]
* NEW: DBus._HasSystemTray() is a new method that returns if the DBus 
  system tray is present. That method is used by the 'gb.gui.trayicon'
  component to know if 'gb.dbus.trayicon' must be loaded.
* BUG: Fix xml introspection analysis.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.
* BUG: TrayIcon icon data is sent correctly now.

[GB.GUI.TRAYICON]
* NEW: New component that you must check if you want to have system tray
  icons. It loads 'gb.dbus', use DBus._HasSystemTray() to know if it can
  load 'gb.dbus.trayicon'. Otherwise it tells the current GUI component to
  declare the old system tray implementation classes.

[GB.GTK]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.GTK3]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT4]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT5]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.


git-svn-id: svn://localhost/gambas/trunk@7170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-03 22:18:58 +00:00
Benoît Minisini
eb2b172425 [GB.DBUS.TRAYICON]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT4]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT5]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK3]
* NEW: Add TrayIcon MiddleClick event.


git-svn-id: svn://localhost/gambas/trunk@7169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:05:52 +00:00
Benoît Minisini
27cf0ca10a [GB.DBUS.TRAYICON]
* BUG: Setting the Picture of an hidden "Unity" TrayIcon keeps it hidden.

[GB.GTK]
* NEW: Remove TrayIcon Menu event.

[GB.GTK3]
* NEW: Remove TrayIcon Menu event.

[GB.QT4]
* NEW: Remove TrayIcon Menu event.

[GB.QT5]
* NEW: Remove TrayIcon Menu event.


git-svn-id: svn://localhost/gambas/trunk@7168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:00:46 +00:00
Benoît Minisini
47fd153ba0 [GB.DBUS]
* NEW: A class inheriting DBusVariant can be used a DBus method return 
  value.
* BUG: unregistering an object correctly removes it from the children list
  of its parent.
* NEW: DBus.SplitSignature has been renamed as DBus._SplitSignature.

[GB.DBUS.TRAYICON]
* BUG: Correctly unregister KDE-style trayicons.


git-svn-id: svn://localhost/gambas/trunk@7167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 22:26:05 +00:00
Benoît Minisini
7403b03a0b [GB.DBUS]
* BUG: DBus methods that return nothing now send a void reply, otherwise 
  the caller waits for nothing.

[GB.DBUS.TRAYICON]
* NEW: Update DBusMenu protocol documentation file.
* BUG: Make the menu export work with Unity.



git-svn-id: svn://localhost/gambas/trunk@7166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 21:20:08 +00:00
Benoît Minisini
005c733d8d [INTERPRETER]
* BUG: Fix Object.Raise() method.

[DEVELOPMENT ENVIRONMENT]
* BUG: Replace a possible error while filling the toolbox by a warning 
  message.

[GB.DBUS]
* NEW: DBusValues is a new class that must be used when a DBus method canonical
  return several values. It works like DBusVariant.
* NEW: DBus.SplitSignature is new method that allows to split a DBus signature.
* NEW: DBusNull class is renamed as _DBusNull.
  
[GB.DBUS.TRAYICON]
* NEW: TrayIcon popup menu is now exported through the DBusMenu protocol,
  so that it becomes usable on Unity. Consequently, the Menu event will be
  removed.

[GB.DESKTOP]
* NEW: Remove the Desktop.Type property.
* NEW: Add support for Unity.

[GB.GTK]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.GTK3]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT5]
* NEW: Desktop.Type is now implemented in the GUI components.


git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 14:26:10 +00:00
Benoît Minisini
5203e45ff0 [GB.DBUS]
* BUG: Fix org.freedesktop.DBus.Introspectable interface declaration.

[GB.DBUS.TRAYICON]
* NEW: The KDE protocol works again.
* BUG: The default icon works again.

[GB.DESKTOP]
* NEW: Desktop.Type returns "UNITY" now on Unity.


git-svn-id: svn://localhost/gambas/trunk@7162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-01 01:28:52 +00:00
Benoît Minisini
a4f196f644 [GB.DBUS]
* BUG: Null arguments of DBusObserver are correctly interpreted now.
* BUG: The org.freedesktop.Properties GetAll() method now effectively send
  all properties, even those being null.
* NEW: More debugging messages if DBus.Debug is set to TRUE.
* NEW: The DBusObject is now marshalled to a DBus object path.

[GB.DBUS.TRAYICON]
* NEW: Support of the Unity appindicator protocol. The icon is visible, but
  that's all. No popup menu, and the only event that Unity sends is the
  middle click. Reverse-engeneering when the sun is hot is a pleasure, so
  thanks again to Ubuntu guys for not documenting their custom protocol 
  anywhere!



git-svn-id: svn://localhost/gambas/trunk@7161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-01 01:01:04 +00:00
Benoît Minisini
d6f0143e9a [CONFIGURATION]
* BUG: Fix compilation of gb.dbus.trayicon.


git-svn-id: svn://localhost/gambas/trunk@7160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-30 00:28:12 +00:00
Benoît Minisini
f590155cab [GB.DBUS.TRAYICON]
* NEW: TrayIcon: Implement the tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 21:12:29 +00:00
Benoît Minisini
3fda289f8c [GB.FORM.EDITOR]
* NEW: TextEditor: Ctrl+Delete now deletes the word right to the cursor.


git-svn-id: svn://localhost/gambas/trunk@7158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 19:24:19 +00:00
Benoît Minisini
aff968ac00 [GB.DBUS.TRAYICON]
* NEW: Hide the component.

[GB.GTK]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.GTK3]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.QT4]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.

[GB.QT5]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.


git-svn-id: svn://localhost/gambas/trunk@7155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 02:26:23 +00:00
Benoît Minisini
930c7549d1 [INTERPRETER]
* NEW: Add a new GB.Component.Declare() API, that allows a component to
  dynamically register a class description.

[INFORMER]
* NEW: A component now can declare classes through a GB_OPTIONAL_CLASSES 
  public symbol. Theses classes are included into the information file,
  but are not automatically loaded as the ones defined through the 
  GB_CLASSES symbol.

[GB.FORM.STATUSICON]
* NEW: This component has been removed and replaced by gb.dbus.trayicon.
* NEW: This component now provide TrayIcon and TrayIcons classes that have
  exactly the same interface as the old ones.

[GB.DBUS]
* NEW: Remove the now useless DBusConnection.Raise(). The DBusConnection
  Register() and Unregister() are kept for backward-compatibility reason.
* NEW: Add DBus.Raise() and DBus[].Raise() to raise signals. At the moment,
  there is no difference between the two methods, as there no mean to
  indicate the sender raising a signal. I don't know yet how DBus decides
  which service sends a signal!

[GB.DBUS.TRAYICON]
* NEW: This component implements the tray icon DBus protocol. It is 
  automatically loaded by the GUI components.

[GB.GTK]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.GTK3]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the component name in deprecation warning messages.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.QT4]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.

[GB.QT5]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.


git-svn-id: svn://localhost/gambas/trunk@7154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 01:46:51 +00:00
Benoît Minisini
6683d62420 [GB.DBUS]
* NEW: DBus.Register() and DBus.Unregister() are now the two methods to 
  register and unregister a DBusObject under the DBus.Name service.
* NEW: DBus[service].Register() and DBus[service].Unregister() are two new 
  methods to register and unregister a DBusObject under a specific service
  name.
* BUG: Remove support for calling methods and properties directly from the
  DBusApplication class. Why did I do that?

[GB.FORM.STATUSICON]
* NEW: Use the new registering methods.


git-svn-id: svn://localhost/gambas/trunk@7153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-28 01:23:57 +00:00
Benoît Minisini
cbfcaa569c [GB.DBUS]
* NEW: DBus.Session.Register() now can register an object under a specific
  service name. If the object path does not start with a slash, then its 
  first element is assumed to  be that service name.

[GB.FORM.STATUSICON]
* NEW: Hide the exported _DBusStatusIconPixmap class.
* BUG: An application can have more than one StatusIcon now.


git-svn-id: svn://localhost/gambas/trunk@7152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-28 00:49:04 +00:00
Benoît Minisini
90b40fc6b9 [CONFIGURATION]
* BUG: Forgot to add gb.form.statusicon to the list of components written 
  in Gambas.


git-svn-id: svn://localhost/gambas/trunk@7151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 21:27:31 +00:00
Benoît Minisini
29fe0bc6a6 [INTERPRETER]
* NEW: GB.GetProperty() API now returns the property value as a GB_VALUE 
  pointer, or NULL if the property could not be read.

[GB.DB.POSTGRESQL]
* BUG: Fix a compilation warning.

[GB.DBUS]
* NEW: DBusVariant.Signature is now a constant, not a property anymore.
* NEW: DBusVariant() static method has been removed.
* NEW: DBusVariant.Value is now writable.
* NEW: DBusVariant now can be inherited. Use the value of the Signature 
  constant for introspection of methods and properties using a child class
  of DBusVariant.
* BUG: Show the org.freedesktop.DBus.Peer interface in introspection.
* BUG: The org.freedesktop.DBus.Properties.GetAll method now works 
  correctly.
* BUG: Correctly handle array datatypes.
* BUG: Correctly marshall DBus structures and arrays.
* BUG: Correctly handle NULL values.

[GB.FORM.EDITOR]
* BUG: TextEditor: Better detect cursor position when clicking in the 
  editor with the mouse.

[GB.FORM.STATUSICON]
* NEW: New component that provides a StatusIcon that is a TrayIcon using 
  the Status Notifier DBus specification (i.e. the new protocol). It should
  only works with KDE at the moment.

[GB.IMAGE]
* NEW: Implement all possible image format conversions.


git-svn-id: svn://localhost/gambas/trunk@7150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 21:26:32 +00:00
Benoît Minisini
f2f3401926 [DEVELOPMENT ENVIRONMENT]
* BUG: Code prettyfier should not move the cursor anymore.

[GB.DBUS]
* NEW: Support for sending signals.

[GB.QT4]
* NEW: Detect system tray with the Qt routine.

[GB.QT5]
* NEW: Detect system tray with the Qt routine.

[GB.GTK]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.

[GB.GTK3]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.


git-svn-id: svn://localhost/gambas/trunk@7145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-25 23:09:39 +00:00
Benoît Minisini
4121439611 [COMPILER]
* BUG: Allow string constants longer than 255 characters when generating 
  *.info files.

[GB.FORM.EDITOR]
* NEW: TextEditor: Draw line ending spaces with dots.
* NEW: TextEditor.ShowSpaces is a new property that toggles the drawing of 
  spaces at the end of line.
* BUG: TextEditor: Don't crash anymore when calling the Clear method 
  (again).


git-svn-id: svn://localhost/gambas/trunk@7142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 07:10:05 +00:00
Benoît Minisini
fcd2e45007 [GB.FORM]
* NEW: SidePanel.MinSize is a new property to define the minimum size of a 
  SidePanel before it hides. This property may be removed soon, don't use 
  it yet.
  
[GB.FORM.EDITOR]
* BUG: TextEditor: Clicking past the end of a line having a single 
  character correctly moves the cursor to the end of line.


git-svn-id: svn://localhost/gambas/trunk@7141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 00:06:46 +00:00
Benoît Minisini
fd60cd1bec [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: The import CSV dialog is now a wizard.

[GB.DB]
* BUG: Fix a crash when creating twice the same table with the same
  connection.

[GB.FORM]
* NEW: Spinner: Display the label below the rotating spinner.
* NEW: Spinner.Wait() is a new method that calls the event loop, and 
  ensures that it is not called more than every 200 milliseconds.
* BUG: Wizard: Animation is correct now when the Border property is set.

[GB.QT4]
* BUG: Showing a window now automatically raises it.

[GB.QT5]
* BUG: Showing a window now automatically raises it.


git-svn-id: svn://localhost/gambas/trunk@7138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-17 21:25:02 +00:00
Benoît Minisini
00e83980de [GB.FORM.EDITOR]
* BUG: TextEditor: Correctly draw the margin background when scrolling.


git-svn-id: svn://localhost/gambas/trunk@7137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 23:35:19 +00:00
Benoît Minisini
624c8ab205 [GB.FORM.EDITOR]
* BUG: Fix a crash when moving or clicking on a void line.


git-svn-id: svn://localhost/gambas/trunk@7136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 11:58:42 +00:00
Benoît Minisini
cde4a1168f [WIKI CGI SCRIPT]
* BUG: Ignore gb.gui.qt and gb.gui.qt.webkit when generating the TODO page.

[GB.FORM.EDITOR]
* BUG: TextEditor: Moving up and down with the arrow keys now work 
  correctly in wrap mode.
* OPT: TextEditor: Don't update line widths until the first Draw event.


git-svn-id: svn://localhost/gambas/trunk@7135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 11:55:11 +00:00
Benoît Minisini
ed2a0c978a [WIKI CGI SCRIPT]
* NEW: Command for generating the package dependencies table.

[GB.COMPRESS.BZLIB2]
* NEW: Make that compress driver an explicit component.

[GB.COMPRESS.ZLIB]
* NEW: Make that compress driver an explicit component.

[GB.FORM.EDITOR]
* BUG: TextEditor: The right mouse button now has no effect to allow the
  popup menu to act on the current selection or cursor position.


git-svn-id: svn://localhost/gambas/trunk@7134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 22:10:16 +00:00
Benoît Minisini
1246bb63cb [GB.FORM.EDITOR]
* NEW: TextEditor: CTRL+BACKSPACE deletes the word on the left of the 
  cursor.


git-svn-id: svn://localhost/gambas/trunk@7133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 17:41:49 +00:00
Benoît Minisini
ebc02e7a2d [GB.FORM]
* BUG: TabPanel: Fix a temporary debugging feature that sometimes could 
  lead to a crash.


git-svn-id: svn://localhost/gambas/trunk@7132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 15:45:53 +00:00
Benoît Minisini
0838c2a193 [GB.FORM.EDITOR]
* BUG: TextEditor: The Clear() method should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 15:42:07 +00:00
Benoît Minisini
db4d4afce6 [GB.FORM.EDITOR]
* NEW: TextEditor: Any selected text now goes to the selection clipboard
  automatically.
* NEW: TextEditor: The middle mouse button now pastes the selection 
  clipboard.

[GB.GTK]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GTK3]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Draw the border around the scrollbars now.

[GB.QT4]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.QT5]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.


git-svn-id: svn://localhost/gambas/trunk@7130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-13 08:14:40 +00:00
Benoît Minisini
b52fe807b9 [DEVELOPMENT ENVIRONMENT]
* BUG: Current highlighting theme is now part of the configuration.
* NEW: Use the new CloseButton property of the TabPanel control.

[GB.FORM]
* NEW: TabPanel.CloseButton is a new property that displays a global close
  button inside the tab bar. That button raises the CloseAll event.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised when the user clicks inside the 
  margin, not when it clicks twice.

[GB.FORM.MDI]
* NEW: Workspace.CloseAll() is new method that closes all workspace 
  windows.
* NEW: Workspace has now a global close button.
* BUG: Workspace: fix layout routine when the Border property is set.


git-svn-id: svn://localhost/gambas/trunk@7129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-11 23:53:52 +00:00
Benoît Minisini
acc5dfb4ba [GB.GUI.BASE]
* BUG: ScrollArea: The corner widget is now correctly hidden in all cases.
* BUG: GridView: Picture alignment inside cells is now correct.

git-svn-id: svn://localhost/gambas/trunk@7128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-11 21:22:57 +00:00
Benoît Minisini
ad1a19d35a [GB.FORM.EDITOR]
* BUG: Changing a style now correctly refreshes the editor.
* NEW: Highlight the margin.

[GB.GUI.BASE]
* BUG: ScrollArea is now correctly selectable in the IDE.


git-svn-id: svn://localhost/gambas/trunk@7127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 21:17:03 +00:00
Benoît Minisini
8d2e4c5262 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial cursor position at file loading.

[GB.FORM.EDITOR]
* BUG: Wrapping is correctly updated now when the margin width changes.
* NEW: The line indent is used for drawing all the wrapped lines of a text 
  line.
* NEW: The HOME and END keys take the wrapping into accoutn now.

[GB.GTK]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.

[GB.GTK3]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.


git-svn-id: svn://localhost/gambas/trunk@7124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 11:27:13 +00:00
Benoît Minisini
5bd7b96a66 [DEVELOPMENT ENVIRONMENT]
* NEW: Profiler window: Add a new column for the average self time.

[INTERPRETER]
* OPT: Make faster implementations of the Find() and Exist() methods of the
  native array classes. Only Date[] and Variant[] use the old implementations.

[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting and removing lines now work correctly when 
  wrap mode is enabled.
* OPT: TextEditor: Drawing and layouting optimizations.


git-svn-id: svn://localhost/gambas/trunk@7123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-08 15:52:18 +00:00
Benoît Minisini
68bf3f77cf [GB.FORM.EDITOR]
* BUG: TextEditor: Don't use bold fonts, the text width computation routine 
  does not handle them.


git-svn-id: svn://localhost/gambas/trunk@7121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 11:42:57 +00:00
Benoît Minisini
700680c4f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix completion popup position.

[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly clear position cache when wrap mode is 
  changed.
* NEW: TextEditor: Changing wrap mode and relayouting lines now try to keep
  the current line visually at the same position.


git-svn-id: svn://localhost/gambas/trunk@7120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 02:43:57 +00:00
Benoît Minisini
3fdaac43df [GB.EVAL.HIGHLIGHT]
* BUG: Fix highlighting of patterns longer than 255 characters.


git-svn-id: svn://localhost/gambas/trunk@7119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 02:04:30 +00:00
Benoît Minisini
3a4a5f7e5e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix completion and signature popup position when editor is in wrap 
  word mode.

[GB.FORM.EDITOR]
* NEW: TextEditor[].Height is a new property that returns the height of a
  specific line.
* BUG: TextEditor: Correctly update cursor position when wrap mode is 
  changed.
* BUG: TextEditor: Ensure that the current line is visible after wrap mode
  has been changed.


git-svn-id: svn://localhost/gambas/trunk@7118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 01:53:24 +00:00
Benoît Minisini
f081fa302f [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Don't crash when drawing text if a specific character 
  returns no outline. Just draw nothing.
* NEW: Redraw some icons.

[GB.FORM.EDITOR]
* OPT: TextEditor: Add a cache for line lengths.
* BUG: Clicking past the end of file send the cursor to the last line in 
  all cases now.


git-svn-id: svn://localhost/gambas/trunk@7117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-06 22:45:41 +00:00
Benoît Minisini
dfafd0cfd6 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix row position cache poisoning.


git-svn-id: svn://localhost/gambas/trunk@7116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-06 15:39:51 +00:00
Benoît Minisini
fec60face9 [GB.FORM.EDITOR]
* NEW: TextEditor: Wrapping mode now works with collapse mode.


git-svn-id: svn://localhost/gambas/trunk@7113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-06 13:18:33 +00:00
Benoît Minisini
c87973b30f [GB.FORM.EDITOR]
* NEW: TextEditor: Initial implementation of line wrap mode.
* NEW: TextEditor.Wrap is a new property that enable wrap mode.


git-svn-id: svn://localhost/gambas/trunk@7112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-05 15:24:00 +00:00
Benoît Minisini
571ad3d439 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile window: Don't enable procedure collapse.
* BUG: Form property sheet: Don't use theme color for highlighting.
* BUG: Make offline help downloader more robust.
* BUG: Projet properties dialog: Unchecking a component does not uncheck
  dependencies that were explicitely checked anymore.

[GB.GUI.BASE]
* BUG: ScrollArea: Apply foreground color to scrollbars.
* BUG: ScrollArea: Correctly draw the corner background between scrollbars.
* NEW: GridView: Try to not draw the last grid lines if not needed.

[GB.MARKDOWN]
* BUG: Correctly reinitialize the markup routines when an HTML comment has 
  not been closed.


git-svn-id: svn://localhost/gambas/trunk@7111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-04 20:30:04 +00:00
Benoît Minisini
9261e84858 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the "next" icon for the buttons that switch between the class 
  file and the form file.
* BUG: Fix all WebView font sizes.
* BUG: Open project dialog: Fix buttons layout.
* NEW: Take the gb.gui.qt.* components into account in the help system.
* NEW: Component chooser: New look. Don't use the round borders anymore.
* BUG: Project properties dialog: Do not display the libraries in the 
  component list anymore.
* BUG: Component chooser: Correctly uncheck component dependencies.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix detection of some monospace fonts.
* NEW: TextEditor: Draw a minus/plus sign for expanded/collapsed 
  procedures. Do not use Style.PaintArrow() anymore, it does not work 
  correctly with gb.gtk.
* BUG: TextEditor: Update cursor position when collapsing a function.

[GB.GTK]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: Font.ToString() now uses the point as font size decimal separator.

[GB.GTK3]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: TextBox.Mouse property works correctly again with GTK >= 3.14.
* BUG: Font.ToString() now uses the point as font size decimal separator.

[GB.GUI.BASE]
* NEW: GridView: Don't draw the last grid lines.
* NEW: GridView: The cursor is more visible.
* NEW: GridView: The scrollbars use the same background as the view.

[GB.QT4]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the 
  font to its initial value taken at Paint.Begin.
  
[GB.QT5]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the 
  font to its initial value taken at Paint.Begin.
* NEW: Closing a popup does not replay the mouse click anymore.


git-svn-id: svn://localhost/gambas/trunk@7110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-04 17:16:07 +00:00
Benoît Minisini
2021f8cf72 [GB.FORM.EDITOR]
* NEW: TextEditor: Implement ALT+UP and ALT+DOWN shortcuts.
* NEW: TextEditor: Draw line numbers with parent font, not with the editor 
  font.
* BUG: TextEditor: Fix interaction between highlighting and Undo/Redo
  process.
* BUG: TextEditor: Undo/Redo should correctly restore selection now.


git-svn-id: svn://localhost/gambas/trunk@7108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-31 13:26:23 +00:00
Benoît Minisini
fb824c9261 [GB.FORM]
* NEW: SliderBox: The slider has always a space for the possible minus sign.

[GB.GUI.QT]
* NEW: Print a warning message if GB_GUI contains an unsupported component.

[GB.QT5]
* NEW: Desktop.Screenshot does not use the deprecated API anymore.


git-svn-id: svn://localhost/gambas/trunk@7107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-30 18:03:29 +00:00
Benoît Minisini
8db832ff4c [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting Escape while editing a variable does not hide the debugger 
  panel anymore.

[GB.EVAL.HIGHLIGHT]
* NEW: The component is not deprecated anymore.
* NEW: Move the new TextHighlighter class from 'gb.form.editor' to 
  'gb.eval.highlight'.
* NEW: TextHighlighter[] returns a specific highlighter from its name.
* NEW: TextHighlighter.ToHTML() is a new method that converts a text into 
  highligted HTML.

[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() routine that trimmed badly is some cases.


git-svn-id: svn://localhost/gambas/trunk@7105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-30 12:08:00 +00:00
Benoît Minisini
a6cd2a6505 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't use the 'gb.eval.highlight' component anymore. Highlighting is 
  inside 'gb.form.editor' now. This may change in the future.

[GB.EVAL.HIGHLIGHT]
* NEW: Mark the component as deprecated.

[GB.GTK]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.GTK3]
* BUG: Right-to-left languages are taken into account by the arrangement
  routine correctly now.
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.QT4]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.QT5]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.


git-svn-id: svn://localhost/gambas/trunk@7103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-29 00:43:16 +00:00
Benoît Minisini
b688648728 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new QT4/QT5 switcher components.
* NEW: Support for QT5 component.

[GB.FORM]
* NEW: New syntaxes in 'icon.map' file that allows to specify different 
  icons for small or big sizes.
* NEW: New 'user' and 'group' icons.

[GB.FORM.STOCK]
* NEW: New 'user' and 'group' icons.

[GB.GUI.QT]
* NEW: New QT4/QT5 switcher component.

[GB.GUI.QT.WEBKIT]
* NEW: New QT4/QT5 WebKit switcher component.

[GB.QT4]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal 
  dialog.

[GB.QT5]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal 
  dialog.



git-svn-id: svn://localhost/gambas/trunk@7101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-28 10:08:13 +00:00
Benoît Minisini
4c38879e22 [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Compression correctly marks the file as modified.
* NEW: Take gb.qt5 into account in the help system.

[WIKI CGI SCRIPT]
* NEW: Take gb.qt5 into account.

[INTERPRETER]
* NEW: GB.Component.IsLoaded() is new interpreter API that returns if a
  specific component has been loaded.
* BUG: Running executables from an absolute path works again.

[GB.DESKTOP]
* BUG: DesktopWatcher: Use Desktop.Windows.FromHandle() instead of 
  Desktop.Windows[].

[GB.DESKTOP.X11]
* NEW: Support for gb.qt5.
  
[GB.FORM.EDITOR]
* BUG: TextEditor.Save() highlights the current line before saving.

[GB.QT5]
* NEW: Support for X11 event filter by translating xcb event into xlib 
  events.
* BUG: Cached DrawingArea works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-27 01:00:39 +00:00
Benoît Minisini
74f4993c5d [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Fix text pasting.

[GB.FORM]
* BUG: Completion: The completion popup now can be clicked without being 
  closed, thanks to the new Window.Activate() method that gives the focus
  back to the completed text box.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix braces highlighting.
* BUG: TextEditor: Correctly disable procedure folding when the ShowExpand 
  property is FALSE.

[GB.FORM.MDI]
* NEW: Workspace: Rename an internal method that was in conflict with the 
  new Window.Activate() method.

[GB.GTK]
* NEW: Window.Activate is a new method that activates a window.

[GB.GTK3]
* NEW: Window.Activate is a new method that activates a window.

[GB.QT4]
* NEW: Window.Activate is a new method that activates a window.

[GB.QT5]
* NEW: Window.Activate is a new method that activates a window.
* BUG: Window.TakeFocus should work now.
* NEW: Add a new X11 helper function that allows to set the 
  _NEW_WM_USER_TIME property of a window, so that Window.TakeFocus can be
  implemented.


git-svn-id: svn://localhost/gambas/trunk@7097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-24 14:24:14 +00:00
Benoît Minisini
21920c88f6 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix layout routine when lines are inserted or removed.
* OPT: TextEditor: Check that the font is monospaced, so that line widths 
  can be computed faster.


git-svn-id: svn://localhost/gambas/trunk@7096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-23 13:39:40 +00:00
Benoît Minisini
f2b05e2220 [DEVELOPMENT ENVIRONMENT]
* NEW: The old Editor has been entirely replaced by the new TextEditor 
  control.
* BUG: Fix the cursor positions restore at project startup.
* BUG: Farm client: The software description is not incorrectly clipped 
  anymore.
  

git-svn-id: svn://localhost/gambas/trunk@7095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-23 10:42:16 +00:00
Benoît Minisini
7da01afb07 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix output window.
* BUG: Workaround the stupid automatic shortcut feature of Qt5.
* BUG: Packager: Fix RPM package generation.
* BUG: Output console: Debug output highlighted links came back.

[GB.FORM.EDITOR]
* NEW: TextEditor: Highlighting provides the current line to the 
  highlighter.
* BUG: TextEditor: Refreshing a line now triggers the highlighter.

[GB.QT4]
* BUG: Window: Redesign the X11 window manager properties management so
  that everything works the same in gb.qt4 and gb.qt5.

[GB.QT5]
* BUG: Window: Redesign the X11 window manager properties management so
  that everything works the same in gb.qt4 and gb.qt5.


git-svn-id: svn://localhost/gambas/trunk@7094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-22 23:30:50 +00:00
Benoît Minisini
370722005f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix code snippet insertion with the new editor.
* NEW: Procedure folding comes back.

[GB.FORM.EDITOR]
* NEW: TextEditor: Procedure folding has been implemented.


git-svn-id: svn://localhost/gambas/trunk@7093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-22 01:36:25 +00:00
Benoît Minisini
b55f5f427f [DEVELOPMENT ENVIRONMENT]
* NEW: The string constants are now quoted in *.info files. Take that into 
  account.
* BUG: Disable code that uses the old Editor procedure floding feature.
* NEW: Make the option dialog smaller.

[WIKI CGI SCRIPT]
* NEW: The string constants are now quoted in *.info files. Take that into 
  account.
  
[COMPILER]
* BUG: The string constants are now quoted in *.info files.

[GB.FORM.MDI]
* BUG: Workspace: Disable some unused code.

[GB.QT4]
* OPT: Minimize X11 window properties changes.

[GB.QT5]
* BUG: Window SKipTaskbar, Stacking, Border... properties (all that rely on 
  Xlib calls) now work correctly.
* OPT: Minimize X11 window properties changes.


git-svn-id: svn://localhost/gambas/trunk@7092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-21 15:39:20 +00:00
Benoît Minisini
7506779798 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix completion with language keywords.

[GB.FORM.EDITOR]
* BUG: TextEditor.FindNextString() is now case unsensentive, which fixes
  IDE automatic completion.
* BUG: TextEditor: Fix word selection.
* BUG: TextEditor: Fix cursor column normalization (when it is past the 
  end of line).


git-svn-id: svn://localhost/gambas/trunk@7091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-20 20:03:49 +00:00
Benoît Minisini
b56f1804e5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new TextEditor instead of the old Editor control. 
  Consequently, the 'gb.qt4.ext' component is not needed by the IDE 
  anymore.
* NEW: Option dialog: Put the fonts options in their own panel.
* NEW: Farm client: Add new categories.

[GB.FORM]
* NEW: Fix some breeze icons.

[GB.FORM.EDITOR]
* NEW: TextEditor: Development continues...

[GB.GTK]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe 
  it is useless now.

[GB.GTK3]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe 
  it is useless now.

[GB.GUI.BASE]
* BUG: GridView: Use the new Font.Modified property so that the initial 
  font of a cell is always the font of the GridView, even if it changed 
  after the cell has been filled.

[GB.QT4]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".

[GB.QT5]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".


git-svn-id: svn://localhost/gambas/trunk@7089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-19 22:21:22 +00:00
Benoît Minisini
26a35eed0a [GB.FORM.EDITOR]
* NEW: TextEditor: Work continue and bugs are fixed...
* NEW: TextEditor: Saved modified lines are displayed with a green mark.
* NEW: TextEditor: Overwrite mode implemented.


git-svn-id: svn://localhost/gambas/trunk@7087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-17 17:27:02 +00:00
Benoît Minisini
ed3ca4f31f [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new TextEditor control in the file properties dialog.

[GB.FORM]
* BUG: Fix the 'recent' stock icon for the Breeze themes.

[GB.FORM.EDITOR]
* BUG: TextEditor: Many bug fixes.
* NEW: TextEditor: Implement the View property that allows multiple 
  TextEditor controls to share the same document.
* NEW: TextEditor: TextEditor[] returns a virtual object representing a
  specific line, like Editor.Lines[].
* NEW: TextEditor: Implement TextEditor.Styles property. Styles cannot use
  italic anymore. Only bold and underline.


git-svn-id: svn://localhost/gambas/trunk@7086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-15 13:22:08 +00:00
Benoît Minisini
8fe2662184 [DEVELOPMENT ENVIRONMENT]
* NEW: Define the name of the new components.
* NEW: Newly opened profiler windows should have their columns correctly 
  adjusted now.
* NEW: Redraw some control icons.

[GB.FORM.EDITOR]
* NEW: Work continues... No procedure folding yet, but almost all other 
  features of the Editor control are now implemented.
* OPT: TextEditor does not use an internal GridView anymore, but directly
  a ScrollArea.
* OPT: Line width computation cache.
* NEW: Support for syntax highlighting. All highlighters from 
  gb.eval.highlight are now included in this component.


git-svn-id: svn://localhost/gambas/trunk@7084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-14 21:40:32 +00:00
Benoît Minisini
86d1fc656d [CONFIGURATION]
* BUG: Add gb.form.editor to the list of components written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@7081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-12 22:47:42 +00:00
Benoît Minisini
9fea78936a [DEVELOPMENT ENVIRONMENT]
* NEW: Use IDE breakpoint icon for displaying breakpoints in editor.
* NEW: Use a bigger icon for the packager wizard.
* NEW: Put some red inside the breakpoint icon.

[GB.FORM.EDITOR]
* NEW: This new component will provide a text editor with syntax 
  highlighting entirely written in Gambas. A bit slower than the old one, 
  but it will work with any toolkit!
  
[GB.GUI.BASE]
* OPT: GridView.Rows[].Refresh now only refreshes the specified row, and 
  not the entire view.
* NEW: GridView default cell padding is now zero.
* BUG: GridView columns now can have any width.


git-svn-id: svn://localhost/gambas/trunk@7080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-12 22:46:39 +00:00
Benoît Minisini
245ab1870d [DEVELOPMENT ENVIRONMENT]
* NEW: System information: Search for QT5 core library.

[EXAMPLES]
* BUG: Fix Browser example.

[GB.FORM]
* BUG: Fix stock icon map for breeze icon theme.

[GB.GUI]
* NEW: Use gb.qt5 if the current desktop is KDE5.

[GB.GUI.OPENGL]
* NEW: Support for gb.qt5.opengl.

[GB.QT4]
* BUG: Fix component name in warning messages.

[GB.QT5]
* NEW: Qt 5.4 is now required, because of gb.qt5.opengl.
* BUG: Fix component name in warning messages.

[GB.QT5.OPENGL]
* NEW: QT5 OpenGL support component.


git-svn-id: svn://localhost/gambas/trunk@7076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 01:46:36 +00:00
Benoît Minisini
5439c54a58 [GB.FORM]
* NEW: Support for Breeze and Breeze-dark icon themes.


git-svn-id: svn://localhost/gambas/trunk@7070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:48:59 +00:00
Benoît Minisini
145f4c1442 [GB.DESKTOP]
* NEW: Start supporting KDE5.


git-svn-id: svn://localhost/gambas/trunk@7069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:48:09 +00:00
Benoît Minisini
43f26cd8ff [CONFIGURATION]
* NEW: gb.qt5 component.

[EXAMPLES]
* BUG: Fix WebBrowser example.

[INTERPRETER]
* NEW: Fix compilation of EXEC and SHELL for older bytecode versions.

[GB.DB.FORM]
* NEW: Display the busy mouse cursor while loading SQL data.

[GB.QT4]
* NEW: Support for QT5.

[GB.QT5]
* NEW: Initial version of the QT5 component. Not everything is working. 
  There is no Embedder and TrayIcon controls.


git-svn-id: svn://localhost/gambas/trunk@7062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-08 17:40:28 +00:00
Willy Raets
bd569829a0 [GB.DB.FORM]
* NEW: Updated Dutch translations
 


git-svn-id: svn://localhost/gambas/trunk@7058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 15:04:08 +00:00
Willy Raets
fe253b2dc7 [GB.FORM]
* NEW: Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 15:01:52 +00:00
Willy Raets
a6be6e4012 [GB.FORM.DIALOG]
* NEW: Updated Dutch translations
 


git-svn-id: svn://localhost/gambas/trunk@7056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 14:55:22 +00:00
Willy Raets
f02c9b958d [GB.FORM.MDI]
* NEW: Updated Dutch translations
  


git-svn-id: svn://localhost/gambas/trunk@7055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 14:53:01 +00:00
Willy Raets
b2a36a10ab [GB.REPORT2]
* NEW: Dutch translations
 


git-svn-id: svn://localhost/gambas/trunk@7054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 14:46:29 +00:00
Fabien Bodard
30e7120644 [GB.FORM]
* NEW: New widget SpinBar. It's a Gimp style widget that allow
  to visualize and modify a value. Unlike spinbox it support 
  float values. It display its definition label in itself.
  A double click on the value allow to edit manually the value.
  A click and slide on the upper of the bar set the value according
  to the cursor position.
  A click and slide on the mid down of the bar allow to finely set 
  the value by progressing of 1 of the minimal decimal by pixel.
  The mouse wheel interact with the value too.
  The number of showed decimals is the greater from MaxValue, MinValue
  or Step.
  


git-svn-id: svn://localhost/gambas/trunk@7051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-03 19:21:53 +00:00
Benoît Minisini
fa75899fe1 [GB.REPORT2]
* BUG: Fix component dependencies.


git-svn-id: svn://localhost/gambas/trunk@7048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-30 14:04:58 +00:00
Benoît Minisini
59d837177c [GB.REPORT]
* BUG: Fix component dependencies.


git-svn-id: svn://localhost/gambas/trunk@7047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-30 14:03:25 +00:00
Benoît Minisini
2e103b2b28 [GB.FORM]
* BUG: TabPanel: Take object locking recursitivity into account.


git-svn-id: svn://localhost/gambas/trunk@7046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-19 15:18:02 +00:00
Benoît Minisini
96c45d1d5c [GB.EVAL.HIGHLIGHT]
* BUG: SQL: Fix string highlighting.


git-svn-id: svn://localhost/gambas/trunk@7043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-18 11:51:51 +00:00
Benoît Minisini
075eb91ce8 [GB.FORM]
* BUG: Fix component requirements that were misteriously removed in the 
  last commit.


git-svn-id: svn://localhost/gambas/trunk@7041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-18 09:26:50 +00:00
Benoît Minisini
3164e3010c [GB.FORM]
* BUG: DateBox now works correctly with countries using the same separator 
  for date and time, like Finnish.


git-svn-id: svn://localhost/gambas/trunk@7040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-17 22:08:31 +00:00
Benoît Minisini
5005639874 [GB.FORM]
* BUG: ValueBox: The Change event is now raised correctly for numeric type.
* NEW: Balloon: Do not take focus when being shown.
* BUG: IconPanel: When the Count property is increased, new tabs are 
  correctly visible.


git-svn-id: svn://localhost/gambas/trunk@7038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-15 17:06:45 +00:00
Benoît Minisini
69bce4459d [GB.GUI.BASE]
* BUG: Action: Support for CheckBox controls.
* BUG: GridView: Prevent a possible crash while drawing.


git-svn-id: svn://localhost/gambas/trunk@7037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-15 05:24:24 +00:00
Benoît Minisini
3f408736c7 [GB.FORM]
* NEW: Some little changes in DateChooser look.


git-svn-id: svn://localhost/gambas/trunk@7035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:36:36 +00:00
Benoît Minisini
cdb66560d8 [GB.UTIL]
* BUG: Fix the signature of public methods.
* NEW: Shell.RmDir() now prevents the deletion of the home and any top-
  level directories. A new 'Force' optional argument allows to bypass that 
  security.


git-svn-id: svn://localhost/gambas/trunk@7030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:43:43 +00:00
Fabien Bodard
59d844ef5e [GB.REPORT2]
* BUG: Add gb.gui.base in the requirement. And remove gb.gui


git-svn-id: svn://localhost/gambas/trunk@7025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-08 17:47:23 +00:00
Fabien Bodard
c76a3d7b48 [GB.REPORT2]
* BUG: Correct the bug on Align.none alignment mode.



git-svn-id: svn://localhost/gambas/trunk@7022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 21:53:19 +00:00
Benoît Minisini
f1f3ae71c5 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "Remember database structure" checkbox in the connection 
  properties dialog. The IDE will dump the database structure into a 
  template file only if this checkbox is checked. It won't do that all the
  time anymore.

[WIKI CGI SCRIPT]
* NEW: Add tooltips on class symbols list.

[GB.FORM]
* BUG: ButtonBox: Setting the Button property now correctly refreshes the
  control.


git-svn-id: svn://localhost/gambas/trunk@7021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 18:36:39 +00:00
Benoît Minisini
706648c7c8 [WEBSITE MAKER]
* NEW: Upgrade to 3.7.1 version.

[GB.DB]
* NEW: Connection.SQL is a new property that returns a new SQLRequest 
  object that can be used for forging a SQL request whose syntax is adapted
  to the target connection.
* NEW: SQLRequest is a new class that helps to build a SQL request whose 
  syntax is adapted to a specific connection. The name of table fields are 
  always quoted so that they can include reserved characters.

[GB.DB.FORM]
* NEW: Use the new SQL property of the Connection object to build request.
* BUG: Fields with special characters in their name are now correctly
  quoted, thanks to the new SQL forgin mechanism.

[GB.DB]
* BUG: Don't crash when a SQLite database is not found and if the hostname 
  is null.
* NEW: GB_DB_DEBUG is a new environmental variable that allows to 
  externally set the DB.Debug property.
  
[GB.EVAL.HIGHLIGHT]
* NEW: SQL higlighting: the '`' quote character is taken into account now.


git-svn-id: svn://localhost/gambas/trunk@7020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-03 21:11:18 +00:00
Fabien Bodard
1684557643 [GB.FORM]
* NEW: Add support for RightToLeft mode in DocumentView.



git-svn-id: svn://localhost/gambas/trunk@7019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-03 08:25:13 +00:00
Fabien Bodard
9bf81abae2 [GB.REPORT2]
* NEW: Setup component requirement.


git-svn-id: svn://localhost/gambas/trunk@7010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 11:29:59 +00:00
Benoît Minisini
85329c4663 [GB.REPORT2]
* BUG: Refresh the print button icon correctly.


git-svn-id: svn://localhost/gambas/trunk@7008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 21:00:40 +00:00
Fabien Bodard
a9652ac90f [GB.REPORT2]
* BUG: Change Image.Gray() deprecated for Image.Desaturate()


git-svn-id: svn://localhost/gambas/trunk@7002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-26 21:49:27 +00:00
Fabien Bodard
e7894e5795 [GB.REPORT2]
* BUG: Restore the report scaling after drawing in the DocumentView. 


git-svn-id: svn://localhost/gambas/trunk@7001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-26 21:33:57 +00:00
Fabien Bodard
7423a6908f [GB.REPORT2]
* BUG: Remove a bug on drawing grayscale preview in ReportView.


git-svn-id: svn://localhost/gambas/trunk@6996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-21 17:19:12 +00:00
Benoît Minisini
c81e550df2 [CONFIGURATION]
* BUG: Do not use the AC_LIBLTDL_CONVENIENCE macro. It is deprecated and
  now useless.

[DEVELOPMENT ENVIRONMENT]
* OPT: Farm client: Load the SoftwareBox information only when it is 
  actually displayed.
  
[WEBSITE MAKER]
* NEW: Switch to 3.7.0 version.

[GB.FORM]
* NEW: Completion: The poup list now follows its top-level window when it 
  moves.


git-svn-id: svn://localhost/gambas/trunk@6987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-14 20:10:05 +00:00
Benoît Minisini
6325d9a766 [GB.FORM]
* BUG: MaskBox: Setting the Mask property now clears the text only if it 
  does not match the new mask. That allows the IDE to define the initial
  value of the Text property.
* NEW: MaskBox: The Clear() method now takes the focus into account.

git-svn-id: svn://localhost/gambas/trunk@6984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-13 23:59:04 +00:00
Benoît Minisini
59f1c91db0 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't show the name of the control in buttons if a 
  picture is defined.
* BUG: Correctly refresh the icons everywhere when the startup class is 
  changed.


git-svn-id: svn://localhost/gambas/trunk@6981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 08:47:57 +00:00
Benoît Minisini
f56439725e [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When inserting a control, show the name of the control 
  without setting the Text property.
* BUG: Form editor: Undo is not broken anymore by the popup menu capturing 
  the MouseUp event.
* BUG: Form editor: when dropping a control from the toolbox, the position
  of the mouse cursor now gives the center of the control, not its top-left
  corner. It prevents the drop to be ignored when it occurs on the gray
  d&d frame!
* BUG: Don't maximize the IDE window by default anymore.


git-svn-id: svn://localhost/gambas/trunk@6980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 07:32:32 +00:00
Benoît Minisini
9a8c4e961a [GB.FORM.STOCK]
* BUG: Fix 'development.svg' that had unknown SVG urls, and consequently 
  the "Could not resolve property" warnings displayed by the IDE.


git-svn-id: svn://localhost/gambas/trunk@6974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 14:48:32 +00:00
Benoît Minisini
e4ca1fe27c [GB.REPORT2]
* BUG: Fabien, stop deleting the '.component' file!


git-svn-id: svn://localhost/gambas/trunk@6972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 13:58:08 +00:00
Benoît Minisini
789deb8b65 [CONFIGURATION]
* BUG: Forgot to package 'main/lib/gb.component' file.


git-svn-id: svn://localhost/gambas/trunk@6968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 12:27:08 +00:00
Benoît Minisini
6f513a2dac [GB.FORM]
* BUG: Completion: Don't crash when no row is selected in the completion 
  list.


git-svn-id: svn://localhost/gambas/trunk@6966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 10:38:08 +00:00
Fabien Bodard
ba4807828b [GB.REPORT2]
* OPT: Reduce the pages spacing


git-svn-id: svn://localhost/gambas/trunk@6965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 08:55:03 +00:00
Benoît Minisini
7d514ba286 [GB.FORM]
* NEW: ValueBox now raises a Change event when its content changes.
* OPT: DocumentView: Don't scale the document image before drawing it! It 
  is slow with gb.qt4, and slow as hell with gb.gtk. Use the scaling 
  feature of Paint.DrawImage().
* NEW: DocumentView: Use a lighter page shadow.

[GB.GTK3]
* BUG: SpinBox: Use a larger minimum width.


git-svn-id: svn://localhost/gambas/trunk@6963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 18:50:40 +00:00
Fabien Bodard
c4527ed63f [GB.SCANNER]
* NEW: In SCanners class the Search procedure replace the refresh and the 
  initscannerlist one.  It take an optional argument to wait or not the 
  search end. In ascyncronous mode the class raise a "Found Event" at the 
  end of the search. 
  


git-svn-id: svn://localhost/gambas/trunk@6960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 21:12:44 +00:00
Benoît Minisini
c32912ff0e [GB.REPORT2]
* NEW: A few design changes in the preview dialog.


git-svn-id: svn://localhost/gambas/trunk@6959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 17:01:36 +00:00
Fabien Bodard
35b34b7347 [GB.SCANNER]
* NEW: New function InitDeviceList to query explicitely a background
  initialisation.


git-svn-id: svn://localhost/gambas/trunk@6958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 16:47:09 +00:00
Benoît Minisini
8982618e88 [GB.GUI.BASE]
* BUG: Remove debugging message in GridView selection management.

[GB.REPORT2]
* NEW: Make the preview right panel closable.


git-svn-id: svn://localhost/gambas/trunk@6957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 16:15:40 +00:00
Benoît Minisini
c814a2fd33 [GB.GUI.BASE]
* BUG: ListBox now correctly maintains its selection when items are removed 
  or added.
* NEW: ListBox.Remove() now takes a new optional Length argument.


git-svn-id: svn://localhost/gambas/trunk@6955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 14:48:33 +00:00
Fabien Bodard
dfce67c378 [gb.scanner]
* BUG: Remove _Init sub from the Static Scanners class. Ready for 3.7.


git-svn-id: svn://localhost/gambas/trunk@6953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-06 14:10:32 +00:00
Fabien Bodard
9e848e0b3b [GB.REPORT2]
* NEW: Now gb.report2 use inch as internal unit. And is ready for 3.7.


git-svn-id: svn://localhost/gambas/trunk@6952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-06 13:40:47 +00:00
Benoît Minisini
885d980225 [CONFIGURATION]
* NEW: Switch to 3.7 version.

[DEVELOPMENT ENVIRONMENT]
* NEW: Draw the version number the same size as the application title in 
  the welcome and about dialogs.


git-svn-id: svn://localhost/gambas/trunk@6949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-05 21:01:33 +00:00
Fabien Bodard
bacf4a5fce [GB.REPORT2]
* OPT: this commit show a bug on Paint.Begin
* OPT: Trying to find the good api for passing layout 
  on ReportDrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-05 20:15:26 +00:00
Benoît Minisini
6b01c35c6d [DEVELOPMENT ENVIRONMENT]
* NEW: Allow to mark component as deprecated.

[GB.REPORT]
* NEW: Mark component as deprecated.


git-svn-id: svn://localhost/gambas/trunk@6946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 01:37:08 +00:00
Benoît Minisini
14fa866856 [GB.REPORT2]
* NEW: Redraw some icons.


git-svn-id: svn://localhost/gambas/trunk@6944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 00:38:05 +00:00
Benoît Minisini
f8925a2ebb [DEVELOPMENT ENVIRONMENT]
* BUG: The ".component" file is now automatically versioned.

[GB.REPORT2]
* BUG: Add the ".component" file to the repository.


git-svn-id: svn://localhost/gambas/trunk@6943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 00:27:20 +00:00
Benoît Minisini
92ec7b7956 [DEVELOPMENT ENVIRONMENT]
* NEW: Redraw PictureBox icon.

[GB.FORM]
* NEW: Redraw ImageView icon.


git-svn-id: svn://localhost/gambas/trunk@6942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 23:53:51 +00:00
Benoît Minisini
3c3b1b44a2 [GB.FORM]
* NEW: The Completion class now uses a top-level popup window and the new 
  TakeFocus property.
* BUG: Remove some unused variables and symbols.

[GB.GTK]
* BUG: Closing a window now should not lose FocusOut events anymore.
* BUG: Fix the Window.TakeFocus property.
  
[GB.GTK3]
* BUG: Fix the Window.TakeFocus property.


git-svn-id: svn://localhost/gambas/trunk@6941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 22:27: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
9ac436e874 [GB.REPORT2]
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@6934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 17:15:29 +00:00
Benoît Minisini
b6bd5519d0 [GB.REPORT2]
* NEW: Preview: Add two buttons to zoom in and zoom out to "standard" 
  zooms, i.e. powers of Sqr(2).


git-svn-id: svn://localhost/gambas/trunk@6933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 17:15:06 +00:00
Benoît Minisini
8ce9a97795 [GB.FORM]
* NEW: DocumentView: Allow zoom up to 400%.

[GB.REPORT2]
* BUG: Preview: Fix custom zoom again.


git-svn-id: svn://localhost/gambas/trunk@6932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:49:32 +00:00
Fabien Bodard
044980b01b [GB.REPORT2]
* BUG: Allow user interaction on zoom


git-svn-id: svn://localhost/gambas/trunk@6931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:37:44 +00:00
Fabien Bodard
fc48aa7274 [GB.FORM]
* BUG: The DocumentView Arrange.Fill mode now resize the more large than Height
  Documents.


git-svn-id: svn://localhost/gambas/trunk@6930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:30:27 +00:00
Benoît Minisini
8390acc4cf [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Always display the arrangement icon of all parents and 
  grand-parents of the hovered control.
 
[GB.REPORT2]
* NEW: Redesign the preview window.
* NEW: Redraw some icons.
* NEW: Make the component translatable.
* NEW: French translation.
* BUG: Preview: Fix print to file behaviour.
* BUG: Preview: Fix initial zoom state.
* BUG: Preview: Fix view background color.


git-svn-id: svn://localhost/gambas/trunk@6929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 15:58:50 +00:00
Fabien Bodard
4929e96dfd [GB.REPORT2]
* NEW: New widget ReportDrawingArea that allow free drawing in a designed area. It raise
  A GetSizeHint event and a Draw event and give at this time the Width, height.
  During the GetSizeHint Event you can return the wanted size by the SizeHint property
  of ReportDrawingArea.
  example : DrawingArea1.SIzeHint = ReportSizeHint(3,3) the size is in cm for the time,
  this can evoluate to become inch or string.
* NEW: ReportSizeHint is Exported now and have a new call function.



git-svn-id: svn://localhost/gambas/trunk@6928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 14:49:21 +00:00
Benoît Minisini
4623599a9a [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Selected controls do not display a frame when they are
  hovered. It is useless.
* NEW: Form editor: The hover frame is now updated when a control is 
  resized.
* NEW: Form editor: Panels with no child and that have their Expand 
  property set now display red hatch lines whose orientation depends on 
  their arrangement of its parent container.
* NEW: The default farm server is now gambasfarm.org.
* NEW: Form editor: Arrangement icons have been redesigned.

[GB.GUI.BASE]
* NEW: ScrollArea shadows are smaller now.

[GB.PCRE]
* BUG: MATCH operator: A void string now only matches a void string.


git-svn-id: svn://localhost/gambas/trunk@6919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-28 15:04:48 +00:00
Fabien Bodard
e65a9dcf09 [GB.REPORT2]
* BUG: Some Range errors


git-svn-id: svn://localhost/gambas/trunk@6918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-27 16:14:57 +00:00
Benoît Minisini
d89262600b [INTERPRETER]
* BUG: Force the interpreter to link with the system thread library, 
  whatever the global linker configuration is.


git-svn-id: svn://localhost/gambas/trunk@6916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 22:44:20 +00:00
Benoît Minisini
a3a513fe02 [GB.DESKTOP]
* NEW: Desktop.GetDesktopDirectory() is a new method that return the 
  specific desktop directory specified in its argument, that can be one of
  the following values: "DESKTOP", "DOCUMENTS", "DOWNLOAD", "MUSIC", 
  "PICTURES", "TEMPLATES", "VIDEOS".


git-svn-id: svn://localhost/gambas/trunk@6915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 00:14:43 +00:00
Benoît Minisini
77563de5cb [DEVELOPMENT ENVIRONMENT]
* NEW: Update support list.

[GB.GTK]
* BUG: Fix a possible crash in input method management.

[GB.GTK3]
* BUG: Fix a possible crash in input method management.
* BUG: TextArea now has a minimum size, as GTK+3 crashes when they are too 
  small.


git-svn-id: svn://localhost/gambas/trunk@6913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 21:23:14 +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
Fabien Bodard
0601bfdb9b [GB.FORM]
* NEW: Allow click and drag on DocumentView


git-svn-id: svn://localhost/gambas/trunk@6909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 13:06:17 +00:00
Fabien Bodard
a72cd1b63c [GB.REPORT2]
* NEW: Add the ReportTextLabel widget. It use the draw class drawing method
  so we are able to use all drawing feature allowed from qt/gtk in theire
  html4 interpretor.


git-svn-id: svn://localhost/gambas/trunk@6908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 10:53:41 +00:00
Benoît Minisini
be3411f211 [GB.PAINT]
* BUG: The PathExtents.Merge() method does not crash anymore.

[GB.V4L]
* BUG: Fix type in error messages.


git-svn-id: svn://localhost/gambas/trunk@6903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-20 19:59:09 +00:00
Fabien Bodard
02181685a2 [GB.REPORT2]
* NEW: Now font are inherited from the container by default. If the container is 
  a report and if the report.font is not initialized then it try to une one of the
  following fonts : "DejaVu Serif", "Liberation Serif", "Bitstream Vera Serif", "Serif", "Arial" with the size at 12 pt. If no one of these fonts are found then
  it use the current paint.font. By enforcing the font, i try to limit the random
  in report rendering between each Desktop Environnement. Moreover i think users
  must define a report.font too for more security.
  


git-svn-id: svn://localhost/gambas/trunk@6902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-20 09:13:16 +00:00
Brian G
6a4bd2fe7c [gb.logging]
* BUG: Added Missing EXPORT

git-svn-id: svn://localhost/gambas/trunk@6899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-12 01:19:37 +00:00
Benoît Minisini
240beb1c51 [DEVELOPMENT ENVIRONMENT]
* NEW: Update PictureBox icon.

[WIKI CGI SCRIPT]
* BUG: Take the new ".info" file format into account.

[GB.FORM]
* NEW: Update ImageView icon.


git-svn-id: svn://localhost/gambas/trunk@6898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-12 00:47:46 +00:00
Benoît Minisini
baa12d3eaf [GB.FORM]
* NEW: New icon for ImageView control.

[GB.GUI.BASE]
* NEW: ScrollArea now raises a Font event when its font has changed.
* BUG: GridView default row height now correctly follows font changes.
* BUG: ListBox row height and column width now correctly follow font 
  changes.


git-svn-id: svn://localhost/gambas/trunk@6897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 15:26:20 +00:00
Fabien Bodard
8ed54a4402 [GB.REPORT2]
* OPT: Layout does not take account of BoxShadows margins.


git-svn-id: svn://localhost/gambas/trunk@6896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 07:04:54 +00:00
Fabien Bodard
8156cb4a0d [GB.REPORT2]
* BUG: Force FullPage on ReportPreview


git-svn-id: svn://localhost/gambas/trunk@6895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 06:58:11 +00:00
Benoît Minisini
acff76a0c9 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix a possible crash when pasting an image.
* NEW: Project property dialog: Merge the list of required and excluded 
  components.
* NEW: Redraw some icons.

[GB.REPORT2]
* NEW: Redraw some icons.


git-svn-id: svn://localhost/gambas/trunk@6894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 02:05:34 +00:00
Benoît Minisini
50fba09151 [CONFIGURATION]
* NEW: Compile and install gb.report2 component.

[DEVELOPMENT ENVIRONMENT]
* NEW: Add support for gb.report2 and gb.scanner.
* BUG: Correctly reset Application.Busy when opening a connection fails.
* BUG: Project property dialog: Fix management of required components.
* NEW: Project property dialog: Add management of excluded components.

[GB.DB]
* NEW: More detailed error message for SQLite connections.

[GB.DB.SQLITE3]
* NEW: More detailed error message for SQLite connections.


git-svn-id: svn://localhost/gambas/trunk@6892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 20:34:44 +00:00
Fabien Bodard
5a20bb6465 [GB.REPORT2]
* BUG: Again


git-svn-id: svn://localhost/gambas/trunk@6891 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:32:50 +00:00
Fabien Bodard
81ce1abafa [GB.REPORT2]
BUG: ReportLine can compile without error


git-svn-id: svn://localhost/gambas/trunk@6890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:21:52 +00:00
Fabien Bodard
5dd46a1b85 [GB.REPORT]
* OPT: Add gb.report2 to the compiled components.


git-svn-id: svn://localhost/gambas/trunk@6889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:11:44 +00:00
Fabien Bodard
1771de939a [GB.REPORT2]
* NEW: Add the ReportLine class
* NEW: Add the ReportPanel class
* BUG: Margin computing improvement... again. Seem that report2 will not be backward compatible.


git-svn-id: svn://localhost/gambas/trunk@6888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:04:12 +00:00
Benoît Minisini
e6071fb449 [CONFIGURATION]
* BUG: Remove '.settings' project files that must not be versioned.


git-svn-id: svn://localhost/gambas/trunk@6887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 00:43:54 +00:00
Fabien Bodard
d9ae32a6fd [GB.DESKTOP]
* BUG: Change the Mime loading code so it not fail on the first readed glob2 file
  and read all the available files.


git-svn-id: svn://localhost/gambas/trunk@6885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 21:50:23 +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
ccc9af006a [DEVELOPMENT ENVIRONMENT]
* NEW: Files including a '\r' character are not considered as binary files 
  anymore.

[GB.FORM]
* BUG: ColorPalette: Default background is now transparent.

[GB.DB.SQLITE3]
* BUG: Use the official standard quoting character.


git-svn-id: svn://localhost/gambas/trunk@6881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 19:56:46 +00:00
Benoît Minisini
4262bbeb98 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix search inside output console.
* BUG: Image editor: Don't crash when starting drawing outside of the 
  image.
* BUG: Image editor: Fix color palette.
* NEW: Remove some icons that are not used anymore.

[GB.FORM]
* NEW: ColorPalette.Exist() is a new method that returns if a specific
  color exists in the palette.


git-svn-id: svn://localhost/gambas/trunk@6880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 03:53:49 +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
Fabien Bodard
64943a9bcb [GB.FORM]
* OPT: Support for desktop selection in stock on kde5 (Plasma 5.2)


git-svn-id: svn://localhost/gambas/trunk@6876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-30 22:08:26 +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
Fabien Bodard
60cdfd90c3 [GB.REPORT2]
* BUG: Force image clipping


git-svn-id: svn://localhost/gambas/trunk@6868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 22:04:58 +00:00
Fabien Bodard
bc751a0a50 [GB.REPORT2]
* BUG: Full rewriting of the VBox layout procedure to really take care of
  margins
* BUG: Now Indexs are accurate
* BUG: ReportImage autoresize are based on a 96 dpi resolution for internal 
  conversion.
* BUG: ReportImage tale care of the proportional mode for autoresizing.



git-svn-id: svn://localhost/gambas/trunk@6867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 21:44:20 +00:00
Fabien Bodard
a3b0ae9e82 [GB.REPORT]
* BUG: Correct some error on layout page count.


git-svn-id: svn://localhost/gambas/trunk@6866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 10:41:22 +00:00
Benoît Minisini
a68fcafd91 [GB.FORM]
* NEW: Redraw some control icons.
* BUG: ButtonBox.FilterNow always raises the Filter event now.


git-svn-id: svn://localhost/gambas/trunk@6865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 23:40:08 +00:00
Benoît Minisini
bf7afd213b [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Use a ListEditor to edit mimetypes.
* NEW: Packager: A checkbox now allows to enable or disable package
  signature. Works only for *.deb package, and only if you have correctly
  configured 'gpg'.
* NEW: The '.component' file is removed if the project type is switched 
  back to "normal".

[GB.FORM]
* NEW: ColorPalette: Click event now has no argument.
* BUG: Wizard: The final OK button size is now correctly refreshed 
  according to the ActionText and ActionPicture property in all cases.


git-svn-id: svn://localhost/gambas/trunk@6864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 22:04:47 +00:00
Benoît Minisini
2851827611 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove two ugly backgrounds.
* BUG: Don't crash if the selected background is not available anymore.

[GB.FORM]
* NEW: ColorPalette.ReadOnly is a new property to prevent the palette 
  contents to be modified.
* NEW: ColorPalette.AddFirst() is a new method that adds a color to the 
  beginning of the palette.
* NEW: ColorPalette now has a popup menu to remove or sort colors.
* NEW: ColorPalette.Index is a new property to define or get the index of
  the current color. The current color is drawn with a big black border.
* NEW: ColorPalette.Current is a new property to define or set the current
  color.
* NEW: ColorChooser now uses a ColorPalette.


git-svn-id: svn://localhost/gambas/trunk@6863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 20:31:16 +00:00
Fabien Bodard
dd92c9ed27 [GB.REPORT]
* BUG: The reportImage take now care of strech mode
  for computing the needed size
* NEW: The default autoresize size of an image is based on a standart
  resolution of 96 dpi.
* BUG: The ReporView now show all the report pages.


git-svn-id: svn://localhost/gambas/trunk@6862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 13:52:34 +00:00
Benoît Minisini
1dcd553c19 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "run that class" button in the class editor.
* NEW: Add a "run that class" entry in the project tree popup menu.
* BUG: Don't apply theme background to the hierarchy window.

[GB.FORM]
* BUG: FileView: When setting the Current property, the current item is
  made visible later.
* BUG: Remove the Mode property from the DocumentView description, as it 
  has no Mode property.


git-svn-id: svn://localhost/gambas/trunk@6860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 00:04:38 +00:00
Fabien Bodard
678e1ddd95 [GB.FORM]
* OPT: Remove some unused variables


git-svn-id: svn://localhost/gambas/trunk@6859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-23 21:34:45 +00:00
Benoît Minisini
91c05679d3 [GB.FORM.MDI]
* NEW: Support for "huge" toolbar icons.

[GB.GUI.BASE]
* NEW: ScrollArea.UseMouse is a new property. When set to FALSE, the
  mouse wheel will not automatically scroll the ScrollArea contents.


git-svn-id: svn://localhost/gambas/trunk@6855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 19:58:51 +00:00
Fabien Bodard
96c789f1d6 [GB.FORM.MDI]
* NEW: Add support for Huge size icons on TooBar.


git-svn-id: svn://localhost/gambas/trunk@6854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 08:26:29 +00:00
Benoît Minisini
4690cf06c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Opening a form using an unknown control now displays an error 
  message and the form is not opened.
* BUG: Pasting an unknown control from another project now displays an 
  error message and nothing is pasted.


git-svn-id: svn://localhost/gambas/trunk@6851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 23:53:48 +00:00
Fabien Bodard
41f9de9a1a [GB.FORM]
* OPT: Many code cleaning.


git-svn-id: svn://localhost/gambas/trunk@6849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 16:43:29 +00:00
Fabien Bodard
a46bc4b473 [GB.REPORT2]
* NEW: Now Preview use DocumentView


git-svn-id: svn://localhost/gambas/trunk@6848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 16:42:38 +00:00
Fabien Bodard
232461ff81 [GB.FORM]
* NEW: DocumentView Goto now work for arrange.fill


git-svn-id: svn://localhost/gambas/trunk@6846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 21:02:58 +00:00
Fabien Bodard
5f79c2f8b6 [GB.FORM]
* BUG: DocumentView, Do not lock the column value before knowing the page count.


git-svn-id: svn://localhost/gambas/trunk@6845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 20:33:57 +00:00
Fabien Bodard
0836091546 [GB.FORM]
* NEW: DocumentView have a new property Column (alias Row) that have effect on 
  Columnn, Row, Fill modes and lock the number of page showed and force automatic zoom
* NEW: Fill mode is implemented, you can change page by wheeling mouse 
  (TODO: Code for changing page)
* NEW: AutoCenter property. Currently affect only Fill mode to center horizontally




git-svn-id: svn://localhost/gambas/trunk@6844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 15:56:09 +00:00
Fabien Bodard
afd7379607 [GB.REPORT2]
* BUG: The ReportControl font property now make a copy of the font given in argument.
* BUG: Now a too big children element is clipped if it is the first one listed
  after the fixed ones (no more infinite loop)
* NEW: ReportUnit module is merged with Report class. All functions for convertion
  are now available as static functions in Report. The two internal functions scale and
  internal width are now public function of report instance.
* NEW: Return of the ReportImage and ReportSvgImage with no change for now.
* NEW: Continue to improve the ReportGridView widget ... really not ready for use.
* NEW: Restore the UseField property in ReportLabel so for now the component is
  backward compatible.
  


git-svn-id: svn://localhost/gambas/trunk@6843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 11:07:21 +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