Commit graph

1638 commits

Author SHA1 Message Date
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
Fabien Bodard
4b3d996d47 [GB.REPORT]
* BUG: Now if an element is the first listed after fixed ones and 
  if it's height is superior to the remaining space, it's height is 
  set to the remaining space and the content is clipped.
  So there is no more problem of infinite loop.


git-svn-id: svn://localhost/gambas/trunk@6840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-19 21:40:36 +00:00
Benoît Minisini
6d0511cded [COMPILER]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-17 23:33:38 +00:00
Benoît Minisini
2599961aca [DEVELOPMENT ENVIRONMENT]
* NEW: Get rid of the new warnings.
* NEW: Support for arguments without a datatype in function signatures.
* NEW: [ALT] + any brace character is a new editor shrotcut that add or 
  remove braces around the current word. Same thing for [ALT] + [<] or [>].
* NEW: Property editor: Add a clear button. Replace the MenuButton by a
  normal ComboBox.

[INTERPRETER]
* NEW: Support for the new '*.list' file format.

[COMPILER]
* NEW: New '*.list' file format that marks classes having static elements.
* NEW: A warning is emitted when a class having static elements is 
  overriden by a declaration. This is suspicious.
* NEW: A symbol in a local variable declaration, or a global variable or 
  property declaration can now be surrounded by braces to prevent a 
  possible warning.

[GB.FORM]
* NEW: Get rid of the new warnings.
* NEW: TabPanel[].Closable is a new property that defines if a specific tab
  has a close button.

[GB.FORM.MDI]
* NEW: Workspace: Try to minimize flickering during resizing. Not very
  successful.


git-svn-id: svn://localhost/gambas/trunk@6838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-16 00:31:59 +00:00
Fabien Bodard
66bc237053 [GB.FORM]
* BUG: Invert the mousewheel zoom way


git-svn-id: svn://localhost/gambas/trunk@6832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-12 22:00:49 +00:00
Benoît Minisini
296994df80 [GB.UTIL.WEB]
* BUG: Uncheck GUI components, they are not needed.


git-svn-id: svn://localhost/gambas/trunk@6830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-12 15:27:26 +00:00
Fabien Bodard
b875e4594f [GB.REPORT2]
* NEW: A new class ReportMargin that inherit ReportPadding
* BUG: Size parsing now support null value (set it internally to "0cm")
* OPT: Many code cleaning an reorganisation.
* NEW: ReportView is based on DocumentView now.
* NEW: ReportMargin and Spacing work together.
* OPT: A value without unit is a pixel value.
* NEW: Better support for shadows (css like)



git-svn-id: svn://localhost/gambas/trunk@6828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 22:00:04 +00:00
Fabien Bodard
65041158ca [GB.FORM]
* BUG: DocumentView,refreshing on count change work now.


git-svn-id: svn://localhost/gambas/trunk@6827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 21:54:17 +00:00
Fabien Bodard
6b38216ace [GB.FORM]
* BUG: In DocumentView the _Finished event is fired more accurately.


git-svn-id: svn://localhost/gambas/trunk@6826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 21:31:24 +00:00
Fabien Bodard
43afe0e35f [GB.FORM]
* BUG: Correction on the shadow display (more large and related to the spacing)
* OPT: Now the Padding and Spacing properties are setting to 10 by default.



git-svn-id: svn://localhost/gambas/trunk@6825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 17:51:42 +00:00
Fabien Bodard
ab01e18f22 [GB.FORM]
* NEW: DocumentView have a new event Finished that is raised when all
  the needed image are loaded.


git-svn-id: svn://localhost/gambas/trunk@6823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 10:02:25 +00:00
Benoît Minisini
7fabb4d99a [DEVELOPMENT ENVIRONMENT]
* NEW: Color selection dialog: Replace the deprecated ListContainer by a 
  GridView.
* NEW: The IDe background image can be colorized.

[GB.FORM]
* NEW: ColorPalette is a new control that allows to select a color among a 
  predefined list of colors.

[GB.FORM.MDI]
* NEW: Workspace.Picture property has been replaced by a Workspace.Image
  property that takes an Image instead of a Picture. The Workspace.Picture
  property has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@6821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-10 21:11:29 +00:00
Benoît Minisini
aebee6ce37 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Move tools to the property panel.

[GB.MEMCACHED]
* BUG: Fix compilation of the component.


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

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-09 08:53:49 +00:00
Fabien Bodard
2e36a53ed5 [GB.REPORT2]
* OPT: Continue Report component reconstruction


git-svn-id: svn://localhost/gambas/trunk@6818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-07 21:18:07 +00:00
Benoît Minisini
fea6d3c2dd [DEVELOPMENT ENVIRONMENT]
* NEW: Use row borders in project property component list. But still use 
  cell borders in component / library requirements!

[GB.GEOM]
* BUG: RectF: Fix the implementation of several methods and properties.

[GB.GUI.BASE]
* NEW: Redesign the Border methods signature. They take a RectF instead of
  X, Y, Width, Height arguments.
* NEW: Border.GetRect() is a new method that returns the available border 
  inside as an integer rectangle.
* NEW: Border(...) now create a new Border object, like the constructor.
* NEW: Border.IsVoid() returns if the Border object will actually draw a
  border. The slash and backslash strokes are not taken into account.
* NEW: GridView.Collapse has been removed. Margin are always collapsed for
  row borders, and never collapsed for cell borders.
* BUG: GridView borders now work as expected.


git-svn-id: svn://localhost/gambas/trunk@6817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-07 18:17:01 +00:00
Benoît Minisini
589dacb39d [GB.GUI.BASE]
* NEW: Border: The Paint and Clip methods now take neighbourg borders as 
  optional arguments. When a neighbourg is specified, their opposite 
  margins are collapsed.
* NEW: GridView.Collapse is a new property to tell if custom border margins
  will be collapsed.
* NEW: GridView.Rows[].Border is a new property to define the border of an
  entire row.
* NEW: GridView.Rows.Border is a new property to define the default row
  border.


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

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 22:44:35 +00:00
Benoît Minisini
1f3f46a0f9 [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance the fram software design. Add an initial global category 
  search.

[GB.FORM]
* NEW: Three new stock icons: "development", "multimedia" & "office".
* NEW: Wizard.ShowButton is a new property that allows to hide the wizard 
  buttons.

[GB.FORM.STOCK]
* NEW: New stock icons.


git-svn-id: svn://localhost/gambas/trunk@6813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-05 23:34:17 +00:00
Benoît Minisini
0d9032c2a2 [DEVELOPMENT ENVIRONMENT]
* NEW: Description of the gb.util.web component.
* NEW: A component/library project now can define if its information should 
  include the information of other components. This is useful if your 
  component includes another component at runtime that is hidden, or that 
  it does not depend on.

[INFORMER]
* NEW: Support for information include of components written in Gambas.

[GB.GUI.BASE]
* OPT: Border: Use Single instead of Float for properties. It saves some 
  memory space.
* NEW: Border: Properties for diaognal strikes.
* BUG: Border: Fix style syntax analyze.

[GB.UTIL.WEB]
* NEW: A new component that provides useful routines for web applications.
  They were located in gb.web before.

[GB.WEB]
* NEW: 'gb.util.web' is now automatically loaded, to provide 
  backward-compatibility with Gambas 3.6 applications using 'gb.web'.


git-svn-id: svn://localhost/gambas/trunk@6812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-05 20:51:21 +00:00
Benoît Minisini
2e7ee7f8b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new GridView cell Border property to draw the component tab 
  of the project property dialog differently.

[GB.GUI.BASE]
* NEW: Border has margin properties now.
* NEW: Fix Border painting algorithm.
* NEW: Border.Clip() is a new method to clip to the border inside.
* NEW: The Border constructor can take an optional style argument. That
  style follows a CSS-like syntax.
* NEW: Border.Copy() is a new method that returns a copy of a Border 
  object.
* NEW: GridView: cells now have a Border property. If it points at a Border
  object, that border will be drawn in the cell.


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

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


git-svn-id: svn://localhost/gambas/trunk@6806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 16:01:14 +00:00
Benoît Minisini
9d5cb6dd37 [GB.FORM]
* NEW: IconPanel tabs can be individually hidden, by using their Visible 
  property.


git-svn-id: svn://localhost/gambas/trunk@6802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 14:56:33 +00:00
Benoît Minisini
63e7d1a92b [GB.DB.FORM]
* NEW: The DataSource BeforeSave event can be stopped. That cancels the 
  current record save then.


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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 14:31:23 +00:00
Benoît Minisini
a5f2cb1575 [FARM SERVER]
* NEW: Software screenshot can be deleted by the client.

[INTERPRETER]
* NEW: The little interpreter sleep is now done inside the watch file 
  descriptor read callback only. So no need to implement it in each
  component event loop.

[GB.SDL2]
* BUG: The SDL event loop now calls the interpreter event loop so that 
  timers and watched file descriptor are correctly handled.


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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
9482afcd01 [GB.SCANNER]
* BUG: Fix component project version.


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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Benoît Minisini
b144324801 [GB.SETTINGS]
* BUG: Settings.Clear() now works correctly.
* BUG: Settings.Keys does not return a key slot if it is void.


git-svn-id: svn://localhost/gambas/trunk@6781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 02:04:10 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Sebastian Kulesz
f1fcf4f59f [GB.LOGGING]
* OPT: Make it backwards compatible with the previous implementation of 
  gb.logging


git-svn-id: svn://localhost/gambas/trunk@6777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 22:44:26 +00:00
Sebastian Kulesz
98e8d98eae [GB.LOGGING]
* OPT: Allow anonymous ussage of the Logger class.


git-svn-id: svn://localhost/gambas/trunk@6775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 04:13:38 +00:00
Sebastian Kulesz
af26132b65 [GB.LOGGING]
* NEW: Use handlers so that each logger can output to multiple
  locations, and several loggers can share a handler.


git-svn-id: svn://localhost/gambas/trunk@6774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 03:38:46 +00:00
Fabien Bodard
95637f985f [GB.SCANNER]
* BUG: Do not set type on model.


git-svn-id: svn://localhost/gambas/trunk@6768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:57:04 +00:00
Fabien Bodard
b8b7e09fcc [GB.SCANNER]
* BUG: Test if the scanner exist just on an option call.



git-svn-id: svn://localhost/gambas/trunk@6767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:15:02 +00:00
Fabien Bodard
be0dc2ea33 [GB.SCANNER]
* BUG: Test if the scanner exist just on an option call.


git-svn-id: svn://localhost/gambas/trunk@6766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:11:05 +00:00
Fabien Bodard
027c1b60f1 [GB.REPORT]
* BUG: The parsing of options now work as expected




git-svn-id: svn://localhost/gambas/trunk@6765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 20:49:08 +00:00
Fabien Bodard
8b1dbfdd6f [GB.SCANNER]
* BUG: The parsing of options now work as expected.


git-svn-id: svn://localhost/gambas/trunk@6764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 20:45:31 +00:00
Fabien Bodard
97465d098a [GB.SCANNER]
* BUG: All parameters sended to scanimage are quoted now, if they are text.


git-svn-id: svn://localhost/gambas/trunk@6760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 21:26:04 +00:00
Fabien Bodard
2fddcee443 [GB.SCANNER]
* BUG: Do not crash if the temporary image is not loaded.
* NEW: The options are now more verbose and try to correct 
  automatically theire values. For example a MinMax value is
  automagicaly set to the near limit value. An d for list value 
  a search is done in the list and the value is set to the first 
  occurence.


git-svn-id: svn://localhost/gambas/trunk@6757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 16:34:55 +00:00
Fabien Bodard
d5ef3c0e92 [GB.REPORT2]
* OPT: Move to gb.report2


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

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Fabien Bodard
09aa29fb9b [GB.MAP]
* OPT: Upgrade the gb.map status to Not Terminated but stable.
* NEW: New property ClearCache(Optional Days) that remove files from cache
  according to the distance time in day. Or all files if they're is no days given
  in parameters.



git-svn-id: svn://localhost/gambas/trunk@6751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-18 16:21:40 +00:00
Fabien Bodard
71ac6a9362 [GB.REPORTS2]
* New: This is the beginning of the full rewritting of gb.report



git-svn-id: svn://localhost/gambas/trunk@6749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 16:43:37 +00:00
Benoît Minisini
7fc2536f8f [GB.FORM]
* BUG: Remove a WAIT inside the Balloon.Hide method.


git-svn-id: svn://localhost/gambas/trunk@6747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 11:11:37 +00:00