Commit graph

1606 commits

Author SHA1 Message Date
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