Commit graph

2020 commits

Author SHA1 Message Date
Benoît Minisini
ce3be2a1ab [DEVELOPMENT ENVIRONMENT]
* NEW: Fix many dialog layouts.

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

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


git-svn-id: svn://localhost/gambas/trunk@7207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 10:54:58 +00:00
Benoît Minisini
916a241ad9 [DEVELOPMENT ENVIRONMENT]
* BUG: Open project dialog: Don't draw the dialog buttons on top of the 
  project view.


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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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

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

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

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


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

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

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


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


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

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

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

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


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

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

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


git-svn-id: svn://localhost/gambas/trunk@7172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-04 21:26:20 +00:00
Benoît Minisini
348a105769 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.gui.trayicon' description.


git-svn-id: svn://localhost/gambas/trunk@7171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-03 22:51:03 +00:00
Adrien Prokopowicz
88e1b5b6c5 [DEVELOPMENT ENVIRONMENT]
* BUG: The connection properties dialog now correctly uses the
  provided password to list the available databases.

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

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

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 14:26:10 +00:00
Tobias Boege
f2a163beb0 [DEVELOPMENT ENVIRONMENT]
* BUG: Update Patch dialogs to new TextEditor highlighting.



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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@7145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-25 23:09:39 +00:00
Benoît Minisini
46e7b95477 [DEVELOPMENT ENVIRONMNET]
* NEW: The "Show spaces at end of line with dots" option came back.


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


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

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

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

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

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


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

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


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

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

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

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


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

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

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


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

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

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

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


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

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


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

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

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

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


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

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

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


git-svn-id: svn://localhost/gambas/trunk@7123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-08 15:52:18 +00:00
Benoît Minisini
700680c4f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix completion popup position.

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


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

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


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

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


git-svn-id: svn://localhost/gambas/trunk@7117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-06 22:45:41 +00:00
Benoît Minisini
438a841356 [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-06 14:20:04 +00:00
Benoît Minisini
644582e455 [DEVELOPMENT ENVIRONMENT]
* NEW: A new button to toggle wrap word mode in code editor and text 
  editor.
* NEW: An option to define if wrap word mode is enabled by default.


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


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

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

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


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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@7110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-04 17:16:07 +00:00
Benoît Minisini
8db832ff4c [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting Escape while editing a variable does not hide the debugger 
  panel anymore.

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

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


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

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

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

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

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

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


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

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

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

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

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

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

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



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

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

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

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

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

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


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

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

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

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

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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@7097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-24 14:24:14 +00:00
Benoît Minisini
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
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
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