Commit graph

5195 commits

Author SHA1 Message Date
Benoît Minisini
74f4993c5d [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Fix text pasting.

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

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

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

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

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

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

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


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


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

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

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

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

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


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

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


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

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

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

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

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


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

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


git-svn-id: svn://localhost/gambas/trunk@7091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-20 20:03:49 +00:00
Benoît Minisini
4e1c2ed6f0 [DEVELOPMENT ENVIRONMENT]
* BUG: Project creation dialog now uses the new TextEditor and works again.


git-svn-id: svn://localhost/gambas/trunk@7090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-20 01:22:34 +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
79a0071de2 [INTERPRETER]
* BUG: Sometimes String.Left(), String.Mid$() or String.Right() methods 
  could go past the end of their strings.


git-svn-id: svn://localhost/gambas/trunk@7088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-18 16:03:54 +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
7d88ebf7f6 [INTERPRETER]
* BUG: Prevent a possible infinite recursion when detaching objects.
* BUG: Don't crash if a standard stream has been freed. Raise an error 
  instead.


git-svn-id: svn://localhost/gambas/trunk@7085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-15 13:17:18 +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
bec95180a1 [GB.GTK]
* OPT: Cache Pango layout in each painter so that it is not recreated at 
  each text drawing.
* BUG: Copying a control font now should works as expected.
* OPT: Paint.TextSize does not compute text size twice anymore.


git-svn-id: svn://localhost/gambas/trunk@7083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-14 21:32:48 +00:00
Adrien Prokopowicz
3f22948435 [GB.MEDIA]
* NEW: Added the MediaMessage class to process GStreamer messages.
* NEW: Added the MediaPipeline_Event event to catch generic GStreamer
  pipeline events, in the form of a MediaMessage object.

git-svn-id: svn://localhost/gambas/trunk@7082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-14 14:51:20 +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
431e3ea866 [GB.QT5]
* NEW: Now depends on Qt 5.3 only.

[GB.QT5.OPENGL]
* NEW: Use the old OpenGL widget if QT version if 5.3 or lower, and the new 
  one if QT version is 5.4 or greater.

[GB.QT5.WEBKIT]
* BUG: Fix a missing space in Makefile.am file.

git-svn-id: svn://localhost/gambas/trunk@7079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 21:36:09 +00:00
Benoît Minisini
0f1dba9289 [GB.QT4]
* BUG: Get fully rid of QT3 support library.

[GB.QT4.OPENGL]
* NEW: Get rid of QT3 support library.

[GB.QT4.WEBKIT]
* BUG: Fix a missing space in Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 21:33:53 +00:00
Benoît Minisini
dc9445770d [GB.QT5.OPENGL]
* NEW: Delete symbolic links to gb.qt4 source files.


git-svn-id: svn://localhost/gambas/trunk@7077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 21:13:57 +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
3da405a8a2 [GB.QT5.OPENGL]
* NEW: Remove the symbolic links of the GLArea source files.


git-svn-id: svn://localhost/gambas/trunk@7075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 01:41:16 +00:00
Benoît Minisini
914508d2ce [INTERPRETER]
* NEW: Don't panic if a received signal cannot be written to the signal 
  pipe. Just print a warning.


git-svn-id: svn://localhost/gambas/trunk@7074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 13:18:00 +00:00
Benoît Minisini
b8bf9b0f14 [GB.QT5.WEBKIT]
* NEW: New webkit component for Qt5.


git-svn-id: svn://localhost/gambas/trunk@7073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 13:14:04 +00:00
Benoît Minisini
bd382ab066 [GB.QT4]
* BUG: Fix Qt5 support.

[GB.QT4.WEBKIT]
* BUG: Fix Qt5 support.


git-svn-id: svn://localhost/gambas/trunk@7072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 13:13:34 +00:00
Benoît Minisini
eedf43024b [DEVELOPMENT ENVIRONMENT]
* NEW: Replace "Every software" by "All software", which is better english.


git-svn-id: svn://localhost/gambas/trunk@7071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:52:09 +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
c88939b765 [DEVELOPMENT ENVIRONMENT]
* NEW: Use MenuButton instead of ToolButton in some places, because Breeze
  logically always centers the contents even when there is an icon.
* NEW: Force the background of some scrollbars to be the text background 
  color.


git-svn-id: svn://localhost/gambas/trunk@7068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:47:04 +00:00
Benoît Minisini
302e6b446a [GB.JIT]
* BUG: Fix a warning message when configuration fails.


git-svn-id: svn://localhost/gambas/trunk@7067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:43:28 +00:00
Benoît Minisini
cb3c488454 [INTERPRETER]
* NEW: New error constant in API header.


git-svn-id: svn://localhost/gambas/trunk@7066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 10:42:24 +00:00
Benoît Minisini
50f44f20e8 [GB.QT4]
* NEW: Remove the now useless XEmbed tray icon implementation.


git-svn-id: svn://localhost/gambas/trunk@7065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 00:33:59 +00:00
Benoît Minisini
6d128b96ca [GB.QT5]
* NEW: Support for the new TrayIcon implementation.


git-svn-id: svn://localhost/gambas/trunk@7064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 00:33:08 +00:00
Benoît Minisini
ac95e5ba9d [GB.QT4]
* NEW: Get rid of Qt3 support library.
* NEW: The TrayIcon is now based on the QSystemTrayIcon class. 
  Consequently, as soon as the 'sni-qt' library is installed on your 
  system, the tray icon will become an indicator visible in the Plasma new
  system tray, and normally in the Gnome / Unity indicator bar. Beware that
  This new TrayIcon does not raise any standard Control events, it is 
  entirely managed by the system tray.
* NEW: Some hacks for the Breeze Qt4 style.


git-svn-id: svn://localhost/gambas/trunk@7063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 00:32:42 +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
Benoît Minisini
2564046c47 [GB.QT4]
* BUG: Support for nul bytes inside QT strings.


git-svn-id: svn://localhost/gambas/trunk@7061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-08 06:33:25 +00:00
Willy Raets
bf6573d803 [DEVELOPMENT ENVIRONMENT]
* NEW: Improved some strings for Dutch translation



git-svn-id: svn://localhost/gambas/trunk@7060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 22:22:04 +00:00
Henrique
8253ffb393 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@7059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 17:09:05 +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
Willy Raets
36510ee024 [WIKI CGI SCRIPT]
* NEW: Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 14:30:08 +00:00
Willy Raets
ccc80ab143 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-05 13:54:30 +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
212173697b [DEVELOPMENT ENVIRONMENT]
* NEW: Translation editor: Use editor font for editing translations.
* BUG: Translation editor: Use unquoted translation strings.


git-svn-id: svn://localhost/gambas/trunk@7050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-02 15:18:32 +00:00
Benoît Minisini
b605f8eacf [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Use larger selection dash pattern, it is easier to 
  see.
* BUG: Image editor: When selecting a rectangle, a line or an ellipse, the
  width and height displayed in the top right information label are now 
  accurate.
* BUG: Translation editor: Correclty quote and unquote translations.


git-svn-id: svn://localhost/gambas/trunk@7049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-02 13:20:18 +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