Commit graph

2227 commits

Author SHA1 Message Date
Charlie Reinl
fab11f0653 [DEVELOPMENT ENVIRONMENT]
* BUG: Recent Projects use the saved sort order now
* NEW: SystemInfo can be make anonymous 
* ADD: Revision to Gambas Version (if found in gba3)



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

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

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

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

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

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

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

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


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

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

git-svn-id: svn://localhost/gambas/trunk@7225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-15 16:06:39 +00:00
Adrien Prokopowicz
cf2a16a845 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated error translations.
* NEW: Updated French translation.

git-svn-id: svn://localhost/gambas/trunk@7222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-13 13:29:03 +00:00
Benoît Minisini
6e3f844fe4 [INTERPRETER]
* BUG: Fix DateDiff() day comparison when comparing two dates with 
  different times.
* BUG: Timezone ten minutes validation now works.

git-svn-id: svn://localhost/gambas/trunk@7212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 16:13:26 +00:00
Benoît Minisini
2e31dfa5f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix componetn chooser dialog layout.


git-svn-id: svn://localhost/gambas/trunk@7209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 11:17:37 +00:00
Benoît Minisini
a0ee7de173 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project property dialog layout.

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


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

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

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


git-svn-id: svn://localhost/gambas/trunk@7207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 10:54:58 +00:00
Benoît Minisini
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
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
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
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
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
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
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
f799695113 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a close button to the debug panel.
* NEW: Don't show space dots in the console.
* NEW: Do automatic completion while typing strings.
* BUG: Don't erase component file if you open the project properties 
  dialog without selecting the information tab.


git-svn-id: svn://localhost/gambas/trunk@7042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-18 11:45:35 +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
Benoît Minisini
79a28bfc26 [WIKI CGI SCRIPT]
* BUG: Correctly handle class reimplementation thorugh different 
  components.
* BUG: Fix singature of '_new' methods.
* NEW: Add tooltips for all special methods.


git-svn-id: svn://localhost/gambas/trunk@7029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:41:38 +00:00
Benoît Minisini
68b44320b8 [DEVELOPMENT ENVIRONMENT]
* NEW: The output console now uses overwrite editor mode, and always 
  displays its cursor.


git-svn-id: svn://localhost/gambas/trunk@7028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:38:57 +00:00
Benoît Minisini
0f0f6ece42 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the help panel in automatic completion when we are not editing 
  source code.


git-svn-id: svn://localhost/gambas/trunk@7023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 22:15:24 +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
Benoît Minisini
6b5030a2f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace "run that ..." by "run this ...".


git-svn-id: svn://localhost/gambas/trunk@7015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 14:21:20 +00:00
Benoît Minisini
40983f5346 [DEVELOPMENT ENVIRONMENT]
* BUG: Software is always a singular word.


git-svn-id: svn://localhost/gambas/trunk@7014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 14:18:00 +00:00
Benoît Minisini
1b82ffd2b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Always center the farm client window.
* BUG: Removing a connection now removes the template file too.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 21:03:00 +00:00
Benoît Minisini
5e61920b65 [DEVELOPMENT ENVIRONMENT]
* NEW: Add an 'Installed softwares' button in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@6999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-24 15:45:36 +00:00
Benoît Minisini
94b7f54943 [DEVELOPMENT ENVIRONMENT]
* BUG: Create the example directory if it does not exist when installing a 
  non-example software having the 'example' tag.


git-svn-id: svn://localhost/gambas/trunk@6998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-24 15:26:01 +00:00
Benoît Minisini
9dad02d668 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add rectangle roundness option.
* BUG: Image editor: Text selection does not anchor to itself anymore.
* BUG: Image editor: Text is now really centered.
* NEW: Image editor: Hide options that are useless to the current tool.


git-svn-id: svn://localhost/gambas/trunk@6989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-15 15:16:52 +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
04c165250d [DEVELOPMENT ENVIRONMENT]
* BUG: Default IDE window size should be big enough now.


git-svn-id: svn://localhost/gambas/trunk@6983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-13 21:24:51 +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
f2277feba4 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the procedure list instead of
  drawing a frame. It's better.
  

git-svn-id: svn://localhost/gambas/trunk@6978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-11 21:13:29 +00:00
Benoît Minisini
76b0d73d92 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the current procedure more visible in the editor procedure 
  list.


git-svn-id: svn://localhost/gambas/trunk@6977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-11 21:10:29 +00:00
Benoît Minisini
62cea47128 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the IDE window maximized by default.
* NEW: Use the tawhid background in the about dialog.


git-svn-id: svn://localhost/gambas/trunk@6970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 13:28:43 +00:00
Benoît Minisini
97b2778fe1 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace "Click there" by "Click here" in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@6967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 12:08:18 +00:00
Fabien Bodard
acf8d418d0 [EXAMPLES]
* OPT: Update google map version on MapView


git-svn-id: svn://localhost/gambas/trunk@6962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 16:55:11 +00:00
Benoît Minisini
aee32b1d95 [DEVELOPMENT ENVIRONMENT]
* BUG: Use 'gambasfarm.org' as default farm server when nothing has been 
  configured instead of crashing.
  

git-svn-id: svn://localhost/gambas/trunk@6950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-06 11:24:04 +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
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
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
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
Benoît Minisini
1c42c95c29 [DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Disable the filter when the example or recent list 
  is void.
* OPT: Farm software dialog: Optimize the list filling when the "installed
  programs" filter is selected.


git-svn-id: svn://localhost/gambas/trunk@6926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 00:14:39 +00:00
Benoît Minisini
ddf912eb2c [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the "Break on error" debugging option. It is useless, and 
  leads to unexpected errors when it is forgotten.


git-svn-id: svn://localhost/gambas/trunk@6925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 20:29:56 +00:00
Benoît Minisini
52eb83ef06 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the contents of void example project lists. The explanation link 
  is now always visible.


git-svn-id: svn://localhost/gambas/trunk@6924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 19:14:39 +00:00
Benoît Minisini
bee12e072f [DEVELOPMENT ENVIRONMENT]
* NEW: Display en error message when trying to publish a software whose 
  version is "0.0".


git-svn-id: svn://localhost/gambas/trunk@6923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 01:22:27 +00:00
Benoît Minisini
2d264cd77a [FARM SERVER]
* BUG: Correctly abort software publishing if version number is not 
  correct.


git-svn-id: svn://localhost/gambas/trunk@6922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 01:17:09 +00:00
Benoît Minisini
10a8ff86e0 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm server: Fix a refresh bug when going back from the software 
  panel to the software list.
* NEW: Farm server: Little redesign of the software panel look.

[FARM SERVER]
* NEW: Project icon is now automatically stretched to a size smaller or 
  equal than 64x64 pixels.
* NEW: The maximum number of softwares returned by a search has been raised 
  up to 200.

[EXAMPLES]
* BUG: BeastScroll: Fix frame rate.


git-svn-id: svn://localhost/gambas/trunk@6921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 01:01:52 +00:00
Benoît Minisini
a833bc32a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the GUI of farm server authentication and registration.

[GB.QT4]
* BUG: Setting the Border property now correctly refreshes the viewport 
  size.


git-svn-id: svn://localhost/gambas/trunk@6920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-28 20:00:00 +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
1e96885550 [DEVELOPMENT ENVIRONMENT]
* BUG: If A picture is not on the given path then CFamilyreport crash.


git-svn-id: svn://localhost/gambas/trunk@6917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-27 09:35:16 +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
099c8fbe35 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu entry in debugger windows to print the value of the 
  current line on the console.


git-svn-id: svn://localhost/gambas/trunk@6914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 00:03:41 +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
9f0a20289a [DEVELOPMENT ENVIRONMENT]
* NEW: Add a popup menu on the debugger expression window that allows to
  edit or watch the selected value.


git-svn-id: svn://localhost/gambas/trunk@6901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-18 01:02:59 +00:00
Benoît Minisini
24a77b7e8a [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: When installing a software having the 'example' tag,
  a symbolic link is automatically create in the 'example' vendor directory
  so that the software appears in the example list. The symbolic link is
  automatically removed on uninstallation.


git-svn-id: svn://localhost/gambas/trunk@6900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-14 23:32:04 +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
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
Tobias Boege
be210132dc [DEVELOPMENT ENVIRONMENT]
* BUG: FPatch: Don't forget to decrease Application.Busy



git-svn-id: svn://localhost/gambas/trunk@6893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 21:39:03 +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
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
406bf1e58c [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now can handle Unix, Windows and MAC end-of-line 
  formats, through a new toolbar button and a menu.

[GB.QT4.EXT]
* NEW: Editor: When setting the Text property, the end-of-line format is
  automatically determined.


git-svn-id: svn://localhost/gambas/trunk@6883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 02:26:14 +00:00
Benoît Minisini
b1447607f2 [INTERPRETER]
* NEW: Add end-of-line format constants to the interpreter API.

[GB.QT4]
* BUG: If a control triggers the arrangement of its parent contents, the 
  delayed visibility is realized so that the control is taken into account 
  by the arrangement routine.

[GB.QT4.EXT]
* NEW: Editor.EndOfLine is a new property that defines which end-of-line 
  format (gb.Unix, gb.Windows or gb.Mac) is used when retrieving text from 
  the control.


git-svn-id: svn://localhost/gambas/trunk@6882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 23:45:41 +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
Benoît Minisini
af59788aec [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Forbid spaces in extra files for Debian systems, as they 
  are not supported: this is a many years old bug in the Debian packaging
  system that has never been fixed!


git-svn-id: svn://localhost/gambas/trunk@6878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-31 19:44:36 +00:00
Benoît Minisini
8d900ec367 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix the use of Shell$() in Debian packaging.


git-svn-id: svn://localhost/gambas/trunk@6877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-31 18:49:45 +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
93f896b316 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager wizard: Clean up system selection.
* NEW: New icon for autotools packages.


git-svn-id: svn://localhost/gambas/trunk@6871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-26 00:41:33 +00:00
Benoît Minisini
9d079ede5a [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Really use the same package name as displayed in the first 
  wizard step in all cases.


git-svn-id: svn://localhost/gambas/trunk@6869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 22:05:14 +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
Benoît Minisini
551d2067a9 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix interaction between pasting and transformation 
  tools (flip, rotate, scale).


git-svn-id: svn://localhost/gambas/trunk@6861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 02:01:48 +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
Benoît Minisini
254e1ccd8b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form control check by ignoring the action part of the form file.


git-svn-id: svn://localhost/gambas/trunk@6853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 01:31:06 +00:00
Benoît Minisini
5cfe375ff2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix function signature.
* NEW: New component status icons.


git-svn-id: svn://localhost/gambas/trunk@6852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 00:26:30 +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
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
5907b7c630 [EXAMPLES]
* BUG: ReportExample work again.


git-svn-id: svn://localhost/gambas/trunk@6841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-19 22:06:09 +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
0e5f9bb3e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not invert Blur and Spread


git-svn-id: svn://localhost/gambas/trunk@6837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-13 23:06:09 +00:00
Fabien Bodard
6acfc3bba3 [DEVELOPMENT ENVIRONMENT]
* OPT: End of the ReportBoxShadow editor implementation


git-svn-id: svn://localhost/gambas/trunk@6836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-13 22:59:53 +00:00
Fabien Bodard
9988118950 [DEVELOPMENT ENVIRONMENT]
* NEW: new property AllowNegative in coordbox to allow negative numbers on need.
* NEW: Now FamilyReport.ToPixel support negative numbers.
* NEW: Begin to design the ReportBoxShadowChooser dialog to manage the Report
  BoxShadow.
  


git-svn-id: svn://localhost/gambas/trunk@6835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-13 21:47:11 +00:00
Benoît Minisini
bf7e0659bd [WIKI]
* NEW: Take '*.help' help files into account.

[GB.DATA]
* NEW: Disable the help file generation from sources. It is useless for
  normal users.


git-svn-id: svn://localhost/gambas/trunk@6834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-13 20:01:40 +00:00
Fabien Bodard
e1aa9e8ce1 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for ReportMargin


git-svn-id: svn://localhost/gambas/trunk@6833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-12 22:43:37 +00:00
Benoît Minisini
d050bcab25 [CONFIGURATION]
* NEW: Modify the installation process so that it will be able to run the 
  'gbh3' tool to extract help from component source files. Not usable yet
  as long as 'gbh3' depends on 'gb.pcre'.

[HELP EXTRACTOR]
* NEW: Move 'gbh3' project from '/app/src' to '/main/tools'.
* NEW: Add new options that are needed by the installation process.


git-svn-id: svn://localhost/gambas/trunk@6829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 23:41:41 +00:00
Benoît Minisini
ffd4569d01 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't apply theme colors to the form property editor.


git-svn-id: svn://localhost/gambas/trunk@6824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 15:27:29 +00:00
Benoît Minisini
3989d4a005 [WIKI CGI SCRIPT]
* NEW: New class list design in component pages.
* NEW: Full description in component pages.

[GB.QT4]
* BUG: Fix Border properties description.


git-svn-id: svn://localhost/gambas/trunk@6822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 03:14:44 +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
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
05f19a7339 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project property dialog validation for component/library 
  projects.


git-svn-id: svn://localhost/gambas/trunk@6805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 11:55:15 +00:00
Benoît Minisini
e624fc7361 [DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Make component filters visible again.
* NEW: Project properties dialog: To get help on a component, you have to
  double-click on it now. It opens a embedded web browser on the help. The
  back button of the browser goes back to the component list.

[WIKI CGI SCRIPT]
* NEW: Always put the login panel at the bottom of the startup page.


git-svn-id: svn://localhost/gambas/trunk@6803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 21:52:17 +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
c5607572c9 [DEVELOPMENT ENVIRONMENT]
* NEW: Put the component/library properties into the project property 
  dialog.


git-svn-id: svn://localhost/gambas/trunk@6801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 14:54:56 +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
ace44916a2 [CONFIGURATION]
* NEW: When installing a component entirely written in Gambas, 
  automatically remove possible existing old shared library files.

[DEVELOPMENT ENVIRONMENT]
* NEW: Don't display an error message when a newly inserted file cannot be 
  automatically opened.


git-svn-id: svn://localhost/gambas/trunk@6794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 11:55:00 +00:00
Benoît Minisini
4edd14b3db [GB.SDL2.AUDIO]
* NEW: Explicitely initialize each sound format support, and print a 
  warning for each failure.
* NEW: 'gb.sdl2.audio' does not require 'gb.sdl2' anymore.


git-svn-id: svn://localhost/gambas/trunk@6793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 10:47:37 +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
3a0f4eaafd [DEVELOPMENT ENVIRONMENT]
* NEW: Publish dialog: Make screenshot options more verbose.


git-svn-id: svn://localhost/gambas/trunk@6790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 00:05:41 +00:00
Benoît Minisini
ab5719f199 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the screenshot tool.
* NEW: Publish software dialog: Now the software screenshot can be removed,
  taken from the clipboard or loaded from any file. It does not have to be
  stored inside the project anymore.


git-svn-id: svn://localhost/gambas/trunk@6789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 23:58:09 +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
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
Tobias Boege
8e1ca6210f [DEVELOPMENT ENVIRONMENT]
* OPT: FPatch: Make hunk (un)checking behave more intuitive.
* BUG: FMakePatch: Don't add a patch to the viewer multiple times.



git-svn-id: svn://localhost/gambas/trunk@6785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 18:26:47 +00:00
Benoît Minisini
9019886842 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm software: Fix software list refreshing and upgrade process. The
  upgrade process still not work flawlessly.


git-svn-id: svn://localhost/gambas/trunk@6783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 15:44:33 +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
Benoît Minisini
c93a798d9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix object control properties edition.


git-svn-id: svn://localhost/gambas/trunk@6761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 22:17:51 +00:00
Benoît Minisini
23179c7340 [DEVELOPMENT ENVIRONMENT]
* NEW: Softwares now can be installed or just downloaded. When they are 
  downloaded, only the source project is copied. It is not compiled, and no
  desktop file is installed.


git-svn-id: svn://localhost/gambas/trunk@6759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 18:06:18 +00:00
Tobias Boege
13c2084200 [GBH3]
* NEW: Moved c2help to a Gambas project, gbh3.
* NEW: Understand -h, --help, -V and --version options.
* OPT: Use the RegExp.Replace() fix from #6756.



git-svn-id: svn://localhost/gambas/trunk@6758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 16:42:46 +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
Tobias Boege
5971ad99d6 [C2HELP]
* NEW: Rewrite as a single standalone Gambas script.
* OPT: Move into app/src/c2help.



git-svn-id: svn://localhost/gambas/trunk@6753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 10:38:25 +00:00
Fabien Bodard
7bc6241e1f [EXAMPLES]
* OPT: Change the version number on the GG map


git-svn-id: svn://localhost/gambas/trunk@6750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 20:06:48 +00:00
Benoît Minisini
23ef7d6c8f [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Use language of project translations as tags when 
  publishing a software.


git-svn-id: svn://localhost/gambas/trunk@6748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 14:24:15 +00:00
Benoît Minisini
3c8efd56e9 [CONFIGURATION]
* NEW: Update chinese translations.

[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.

[INTERPRETER]
* NEW: Allow WAIT to raise errors.

[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry 
  of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry 
  of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a 
  screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
  geometry without the frame.

[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.


git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 22:15:59 +00:00
Benoît Minisini
79a200144c [DEVELOPMENT ENVIRONMENT]
* NEW: Update chinese translation.
* NEW: Add an "Examples" button in the welcome dialog that displays the 
  projects installed in '~/.local/share/gambas3/src/example'. Add an help 
  text is no example is installed yet.


git-svn-id: svn://localhost/gambas/trunk@6745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 20:43:44 +00:00
Benoît Minisini
b2ae3c9859 [OLD WIKI CGI SCRIPT]
* NEW: Remove the old wiki cgi script project.


git-svn-id: svn://localhost/gambas/trunk@6743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 11:01:56 +00:00
Benoît Minisini
3376150b95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix screenshot software publishing again.


git-svn-id: svn://localhost/gambas/trunk@6741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 20:04:18 +00:00
Benoît Minisini
66ea2cc75f [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix screenshot publishing.


git-svn-id: svn://localhost/gambas/trunk@6740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 18:49:20 +00:00
Benoît Minisini
ac1431d264 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't force the form hierarchy to be expanded.


git-svn-id: svn://localhost/gambas/trunk@6739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 13:38:29 +00:00
Benoît Minisini
e7be450ad9 [DEVELOPMENT ENVIRONMENT]
* BUG: Software publish dialog: Fix screenshot management.
* BUG: Software farm: Fix layout of software description.


git-svn-id: svn://localhost/gambas/trunk@6736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 03:31:43 +00:00
Benoît Minisini
c208b22109 [DEVELOPMENT ENVIRONMENT]
* BUG: The screenshot tool should always work now.


git-svn-id: svn://localhost/gambas/trunk@6735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 03:12:44 +00:00
Benoît Minisini
13634d4199 [DEVELOPMENT ENVIRONMENT]
* NEW: A tool to take a screenshot of the current active window. The 
  screenshot is stored in a 'screenshots' directory inside the 'Project'
  pseudo-folder.
* NEW: Software farm: The screenshot of the published project is now taken
  from the screenshots saved by the screenshot tool. The screenshot is
  automatically converted to the JPEG format before being sent.


git-svn-id: svn://localhost/gambas/trunk@6734 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 01:53:10 +00:00
Benoît Minisini
a1156a2387 [DEVELOPMENT ENVIRONMENT]
* BUG: Make Wizard.ActionText property translatable.
* NEW: Software farm: When publishing a software, we can now tell if a menu
  entry must be created or not. The project must use a GUI component or the
  SDL component for that.
* NEW: Software farm: The project components now automatically become 
  project tags. These kind of project tags are displayed with an orange
  background.
* NEW: Project version display routine is now centralized.


git-svn-id: svn://localhost/gambas/trunk@6732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 21:30:22 +00:00
Benoît Minisini
77a629984c [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly refresh the 'Recent' tab in the open project dialog.
* BUG: SoftwareFarm: Forgot to make two strings translatable.


git-svn-id: svn://localhost/gambas/trunk@6730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 13:26:59 +00:00
Benoît Minisini
c31c915f1d [DEVELOPMENT ENVIRONMENT]
* NEW: Animate wizards.
* NEW: Software farm: The software description is now selectable.
* NEW: Software farm: The software box text contents is now displayed 
  without waiting for the icon to be available.

[EXAMPLES]
* BUG: Fix the GNUBoxWorld icon.

[GB.FORM]
* NEW: Wizard.Animated is a new property that animate the wizard when 
  going to the next or previous step.


git-svn-id: svn://localhost/gambas/trunk@6728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 23:33:39 +00:00
Benoît Minisini
0ed95bb0d4 [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix installation and uninstallation.

[GB.FORM]
* BUG: FileChooser & DirChooser: The 'desktop' bookmark works correctly 
  now.


git-svn-id: svn://localhost/gambas/trunk@6727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 21:20:24 +00:00
Benoît Minisini
c6a9cd69c2 [EXAMPLES]
* NEW: Add examples again. I hope correctly this time.


git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:58:52 +00:00
Benoît Minisini
4cc373f047 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Remove the vendor filter. Use the tag filter instead.

[FARM SERVER]
* NEW: Automatically create a tag from the vendor name when publishing a 
  software.

[EXAMPLES]
* BUG: Remove all examples, they were not correctly added to their new 
  location.


git-svn-id: svn://localhost/gambas/trunk@6725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:30:18 +00:00
Benoît Minisini
21e325b27a [EXAMPLES]
* NEW: Put the old examples in '/trunk/app/examples'.


git-svn-id: svn://localhost/gambas/trunk@6724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:49:07 +00:00
Benoît Minisini
66bbed7535 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:43:14 +00:00
Benoît Minisini
74a14a6703 [CONFIGURATION]
* NEW: Examples are not installed anymore and were removed. They will be 
  stored in the Gambas farm server.

[DEVELOPMENT ENVIRONMENT]
* NEW: Remove the examples from the welcome dialog, the open project dialog 
  and the 'File' menu.


git-svn-id: svn://localhost/gambas/trunk@6721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:18:52 +00:00
Benoît Minisini
35fd3ef99c [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore comment lines when completing a control structure after the 
  RETURN key has been hit.


git-svn-id: svn://localhost/gambas/trunk@6719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 21:41:24 +00:00
Benoît Minisini
3dc8d48deb [DEVELOPMENT ENVIRONMENT]
* BUG: Help on virtual classes (like TreeView.Item) is correctly displayed 
  now.
* NEW: Software farm: Filter softwares by vendor name.

[FARM SERVER]
* NEW: Use X.Y.Z version number syntax inside requests arguments.
* NEW: Software can be stored in different X.Y versions.
* NEW: Request for computing software dependencies.
* NEW: Filter software search by vendor name.

[GB.FORM]
* NEW: ButtonBox: ClearButton is a new property that enabled a clear button
  besides the standard ButtonBox button. The 'Clear' event is raised when
  the clear button is clicked.

[GB.UTIL]
* NEW: File.FormatSize() formats a file size in bytes, KiB (1000 bytes),
  MiB (1 000 000 bytes), and GiB (10^9 bytes).


git-svn-id: svn://localhost/gambas/trunk@6717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:38:05 +00:00
Benoît Minisini
736e44b561 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Mageia package generation.


git-svn-id: svn://localhost/gambas/trunk@6716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:26:59 +00:00
Benoît Minisini
637e5141f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Publishing a software now requires a vendor name.
* NEW: Software installation state is now indicated by a little triangle on 
  the bottom right of the software box.
* NEW: No gradient for drawing project or software boxes, but a solid 
  background.

[FARM SERVER]
* NEW: Add 'vendor' and 'size' field in the software table.
* NEW: Vendor is required when publishing a software.
* NEW: One can search for software by package size.

[GB.DESKTOP]
* NEW: DesktopFile: GenericName and Comment are two new properties 
  corresponding to the *.desktop file fields.


git-svn-id: svn://localhost/gambas/trunk@6707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 07:38:09 +00:00
Benoît Minisini
b7fd41bd69 [DEVELOPMENT ENVIRONMENT]
* NEW: Design changes in the welcome dialog.
* NEW: Add a dark gray background.

[GB.FORM]
* NEW: DirChooser & FileChooser: Draw a little arrow instead of a big arrow
  in the top directory box.


git-svn-id: svn://localhost/gambas/trunk@6706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 19:51:00 +00:00
Benoît Minisini
ad31e91156 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the background list.


git-svn-id: svn://localhost/gambas/trunk@6704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 02:18:37 +00:00
Benoît Minisini
702c451804 [GB.MARKDOWN]
* BUG: Fix replacement of lines of dashes by '<hr/>' markup.

[GB.UTIL]
* NEW: Date.ToUnixTime() and Date.FromUnixTime() are two new methods to 
  convert between Date and Unix timestamp.


git-svn-id: svn://localhost/gambas/trunk@6703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 00:22:41 +00:00
Benoît Minisini
1c125c35d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The project open dialog has a bookmark that points at software 
  sources installed form the farm.
* NEW: Software farm: Software can be deleted from the farm, provided that
  you are the owner.

[FARM SERVER]
* NEW: A new request to remove a software from the farm.

[GB.FORM]
* BUG: FileChooser.Bookmarks and DirChooser.Bookmarks properties now have 
  the 'Collection[]' datatype.


git-svn-id: svn://localhost/gambas/trunk@6700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 22:38:49 +00:00
Benoît Minisini
a8f8239794 [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix request abortion.


git-svn-id: svn://localhost/gambas/trunk@6697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 14:11:32 +00:00
Benoît Minisini
0fb4390547 [DEVELOPMENT ENVIRONMENT]
* BUG: Publishing dialog: Take the description into account correctly.
* NEW: Software farm: Display the installed softwares.
* NEW: Software farm: Emit at most three requests simultaneously.
* BUG: Opening a web page in a browser now works if the BROWSER environment
  variable is not defined.
* NEW: Remove the white borders in the welcome dialog.

[GB.FORM]
* NEW: Wizard.ActionText and Wizard.ActionPicture are two new properties to
  define the contents of the final 'OK' wizard button.


git-svn-id: svn://localhost/gambas/trunk@6696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 13:56:06 +00:00
Benoît Minisini
1a2901e961 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: When installing a software, tags that are desktop 
  menu official categories are used for creating the '*.desktop' file. 
  Consequently, the menu entry shold go to an accurate location of the 
  desktop application menu.
* NEW: Software farm: Some little desgin fixes.
* NEW: Publishing dialog: Some little fixes.

[FARM SERVER]
* BUG: Fix two bugs in search software request.

[INTERPRETER]
* NEW: The data format 'u' displays all milliseconds digits as soon as 
  there is at least two 'u' characters, and not if there is exactly two 
  'u' characters only.

[GB.DESKTOP]
* NEW: DesktopFile.Categories is a new property to read or set the 
  categories of a desktop menu entry.


git-svn-id: svn://localhost/gambas/trunk@6692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 00:47:48 +00:00
Benoît Minisini
89d56eb88f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when trying to download the offline help if 'wget' is 
  not installed on the system.
* BUG: Software farm: Don't create a '*.desktop' file if the software is a
  library or a component.
* NEW: Redesign the publish dialog by using a wizard.
* NEW: Use freedesktop categories as possible software tags.

[FARM SERVER]
* NEW: Add a 'size' field in the 'software' table, and an index to be able 
  to sort sotfwares by size later.

[INTERPRETER]
* BUG: Read data ahead before raising a Read event (on Process, File, or 
  any stream). Use the result of that read to detect EOF, as using the 
  stream end-of-file detection routine is not reliable.

[GB.FORM]
* BUG: FileProperties: Fix the media preview.

[GB.MEDIA.FORM]
* BUG: MediaView: Don't crash if the internal media player is not yet 
  initialized.


git-svn-id: svn://localhost/gambas/trunk@6691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 22:41:41 +00:00
Benoît Minisini
c88e47ddb9 [DEVELOPMENT ENVIRONMENT]
* BUG: Project icons are correctly read again.


git-svn-id: svn://localhost/gambas/trunk@6690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 00:36:53 +00:00
Benoît Minisini
03cd222bb8 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Software now can be safely installed or removed. The
  source checksum is checked, as well as the required components. Libraries
  and dependencies on other software are not yet taken into account. A
  '*.desktop' file is automatically created on installation now.

[INTERPRETER]
* NEW: Split() has a new behaviour when its escape argument has two 
  characters, the second one being the first splitting character. It uses
  the first character to escape splitting characters. For example,
  Split("a;b~;c;d",";","~;") returns ["a","b;c","d"].
* NEW: String[].Join() method handle the new Split syntax. 
  ["a","b;c","d"].Join(";","~;") returns "a;b~;c;d". Moreover, in the
  traditional escape syntax, the joined string are not escaped anymore if 
  they are void.

[GB.DESKTOP]
* NEW: DesktopFile.MimeTypes is a new property corresponding to the 
  'MimeType' entry of the '*.desktop' file.
* NEW: DesktopFile now can be used for creating or modifying '*.desktop' 
  files.


git-svn-id: svn://localhost/gambas/trunk@6689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 00:30:32 +00:00
Benoît Minisini
5796ac4e56 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Now softwares can be installed or removed. 
  Installation is not finished yet. Checksum, components and libraries are
  not checked. Desktop file is not created.
* NEW: Software farm: Design changes in the GUI.
* BUG: Offline help: The help timestamp is now used for detecting updates.
  File modification time is not used anymore as it is a localized time.
* BUG: Source archive files now ignore files named 'core'.

[INTERPRETER]
* BUG: SHELL now correctly resets the interpreter to '/bin/sh' if the 
  System.Shell property is reset to a null string.

[GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now tries to find 'ifconfig' or 'ip' in 
  '/sbin' and '/usr/sbin' before relying on the PATH environment variable.


git-svn-id: svn://localhost/gambas/trunk@6685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-29 14:20:31 +00:00
Benoît Minisini
0ca90d8c7e [DEVELOPMENT ENVIRONMENT]
* BUG: Use the 'gb.markdown' component for converting help comments.
* NEW: The software farm window can now download software, but cannot 
  install them yet.

[GB.FORM]
* BUG: ImageView: Setting the Image property to NULL correctly resets the
  control.

[GB.MIME]
* BUG: MimePart.ContentType is actually a read-write property.

[GB.NET.CURL]
* NEW: HttpClient: Add a TargetFile property that allows to override the
  corresponding argument in Get(), Put() and Post() methods.


git-svn-id: svn://localhost/gambas/trunk@6680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-26 23:41:04 +00:00
Benoît Minisini
eb0b0ca3a3 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if the '.gambas' directory does not exist.


git-svn-id: svn://localhost/gambas/trunk@6679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 17:08:46 +00:00
Benoît Minisini
ca2bafe8fa [DEVELOPMENT ENVIRONMENT]
* BUG: Do not remove the '.gambas' directory when compiling everything. 
  Just remove its contents, and keep a possible '.svn' directory inside.


git-svn-id: svn://localhost/gambas/trunk@6678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 16:07:32 +00:00
Benoît Minisini
e4cd9bce1b [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in the software farm window.

[INTERPRETER]
* NEW: Remove the GB.UnrefKeep() interpreter API, as it is not used 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@6676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 12:43:57 +00:00
Benoît Minisini
caecfa5b75 [DEVELOPMENT ENVIRONMENT]
* OPT: Read a farm login password from the desktop wallet once.


git-svn-id: svn://localhost/gambas/trunk@6674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 02:28:16 +00:00
Benoît Minisini
ea4d04ae83 [DEVELOPMENT ENVIRONMENT]
* NEW: Move the farm servers configuration from the option dialog to its 
  own dialog.
* NEW: The farm servers configuration is accessible from the farm software
  window and from the publishing dialog.
* NEW: Once identified, you can now vote for a software, or remove your 
  vote, by clicking on the star button.
* OPT: Information on farm softwares is cached as much as possible.
* NEW: Add the 'blues' color theme made by Kevin Fishburne.

[FARM SERVER]
* NEW: A ping request.
* BUG: Voting for a software now correctly update the total vote count.

[GB.SETTINGS]
* BUG: Erasing a settings is correctly saved in all cases now.


git-svn-id: svn://localhost/gambas/trunk@6672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 02:10:00 +00:00
Benoît Minisini
60514b1675 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix crash when there is no farm configured.
* NEW: Add a menu entry for opening the farm window.
* NEW: The farm window saves its configuration now.
* NEW: Hitting space in the tag editor opens a list of all tags stored in 
  the farm.


git-svn-id: svn://localhost/gambas/trunk@6669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 10:39:19 +00:00
Benoît Minisini
258a9b213e [DEVELOPMENT ENVIRONMENT]
* BUG: French translation updated.


git-svn-id: svn://localhost/gambas/trunk@6666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:30:00 +00:00
Benoît Minisini
334c9d8beb [DEVELOPMENT ENVIRONMENT]
* NEW: Experimental "Gambas Software Farm" dialog. It allows to browse a 
  farm server, but voting and installing are not yet possible.
* NEW: Requests to the farm server are now displayed in a modal dialog with
  an optional progress bar.

[FARM SERVER]
* BUG: Fix many bugs.
* NEW: Search software by tags.

[GB.DB]
* BUG: Connections: Fix a not enough argument error.

[GB.FORM]
* NEW: URLLabel is a new control that displays a clickable URL. If the 
 'gb.desktop' component is loaded, then a browser is automatically opened 
  when clicking on the link.

[GB.GUI.BASE]
* NEW: ProgressBar now has a flat look. And a new Border property that
  allows to hide the border.

[GB.NET.CURL]
* NEW: HttpClient and FtpClient now raise a 'Cancel' event when their 
  Stop() method is called.
* BUG: Found a workaround for having accurate upload progress data.
* NEW: HttpClient.CopyFrom() is a new method that allows to fill an 
  HttpClient object with the configuration of another HttpClient object.

[GB.QT4]
* BUG: Do not use 'QEventLoop::DeferredDeletion' anymore, it is deprecated.
  Use qApp->sendPostedEvents() instead.


git-svn-id: svn://localhost/gambas/trunk@6665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:22:57 +00:00
Benoît Minisini
61cae601aa [WIKI SERVER]
* BUG: Some style fixes for lists.
* NEW: Automatically use the english page if the current page has not been 
  translated.
* NEW: Automatically use the parent class if possible when a symbol page 
  does not exist.

[GB.DB]
* BUG: Fix a 'not enough arguments' error in Connections.Create().

[GB.MARKDOWN]
* BUG: <hr> are now only generated from lines including only '*' or '-'. No
  space is allowed anymore.



git-svn-id: svn://localhost/gambas/trunk@6659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-19 20:02:43 +00:00
Benoît Minisini
b0bb9fa480 [DEVELOPMENT ENVIRONMENT]
* BUG: Expression analyze now works correctly when ME or SUPER is used.

[FARM SERVER]
* NEW: Use the new automatic database creation feature.

[WIKI SERVER]
* NEW: Support for babelmark markdown syntax comparison.

[GB.DB]
* BUG: Don't crash at connection opening when no database name is 
  specified.
* NEW: The Connection class has now a part written in Gambas, and the C 
  part has been put in a parent hidden class named '_Connection'.
* NEW: Connection.GetTemplate() is a new method that return the description
  of the database as a string template.
* NEW: Connection.ApplyTemplate() is a new method that takes the previous
  template to initialize the structure of the database. If a table included
  in the description already exists, it is silently ignored.
* NEW: Connections.Create() is a new static method that create a specific
  database from a named connection and its template as saved by the IDE
  in the current project.


git-svn-id: svn://localhost/gambas/trunk@6657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-19 18:45:18 +00:00
Benoît Minisini
32165457cf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix offline help of project classes. Events are visible now.
* NEW: Database editor: The database structure is now written to a 
  '*.template' file in the '.connection' directory.


git-svn-id: svn://localhost/gambas/trunk@6654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-18 09:53:42 +00:00
Benoît Minisini
dd41b47ef3 [DEVELOPMENT ENVIRONMENT]
* NEW: The structure of databases is now stored in the *.connection files.
  It will be used for an automatic database initialization feature.

[WEBSITE MAKER]
* NEW: Update for 3.6.2.

[WIKI CGI SCRIPT]
* BUG: Fix the display of page without headers.
* NEW: Indexes are now displayed on two or more columns.

[INTERPRETER]
* NEW: New GB.AllocZero() API for allocating memory and filling it with 
  zeros.

[GB.DB.MYSQL]
* OPT: Cache metadata queries during 30 secondes to speed up things.

[GB.FORM]
* NEW: MenuButton displays a focus rectangle now.

[GB.GUI.BASE]
* BUG: ProgressBar now raises native control events.


git-svn-id: svn://localhost/gambas/trunk@6652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-16 21:40:47 +00:00
Benoît Minisini
234100885c [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in offline help generation.
* NEW: The offline stylesheet file is now a symbolic link to the style 
  sheet file located in the wiki project.


git-svn-id: svn://localhost/gambas/trunk@6650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-13 18:49:58 +00:00
Benoît Minisini
fba895259e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the offline help stylesheet.

[WIKI CGI SCRIPT]
* NEW: The login panel is now displayed only in the main page.

[GB.MARKDOWN]
* NEW: Close the mismatched markup before displaying the error.


git-svn-id: svn://localhost/gambas/trunk@6641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 18:29:43 +00:00
Benoît Minisini
b887ad9b70 [CONFIGURATION]
* NEW: Update versions in Gambas projects.
* BUG: Remove some '.gambas' directories that must not be under version 
  control.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update the offline help to the new wiki look.
* NEW: Rename the CRecentFile class as CRecentProject.

[WIKI CGI SCRIPT]
* NEW: Some little changes in the look.

[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.

[GB.MARKDOWN]
* BUG: Remove the useless Markdown.Root property.


git-svn-id: svn://localhost/gambas/trunk@6638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 15:36:40 +00:00
Benoît Minisini
f6cca61ee8 [WIKI CGI SCRIPT]
* NEW: New look for the documentation wiki.


git-svn-id: svn://localhost/gambas/trunk@6632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:51:23 +00:00
Fabien Bodard
11d5d1a404 [SCRIPTER]
* NEW: New argument '-u' that allow to force the given components to be loaded.
  It is usefull in some case.
  gbs3  -u 'gb.scanner' -e 'dim s as string:for each s in scanners:print s:next'
* OPT: Update the usage files



git-svn-id: svn://localhost/gambas/trunk@6622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 10:13:44 +00:00
Benoît Minisini
f98642e44a [SCRIPTER]
* BUG: Be more intelligent when parsing arguments. Now all arguments after 
  the first non option argument are sent to the script process.

[INTERPRETER]
* OPT: Remove a previous optimization that made benchmarks slower, contrary 
  to what valgrind tells. No idea why exactly, maybe a valgrind cache
  simulation problem.

[BENCHMARKS]
* NEW: Do less in the polynom benchmark, so that it runs about as long as
  the other benchmarks.


git-svn-id: svn://localhost/gambas/trunk@6621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 22:06:07 +00:00
Benoît Minisini
0c2a60085c [WIKI CGI SCRIPT]
* NEW: Help comments of component classes and symbols are now automatically 
  used for creating non-existing documentation pages.
* NEW: Images are clickable in editing mode. They point at the image wiki 
  page.

[INTERPRETER]
* NEW: Url$() is a new function to encode an URL.
* NEW: FromUrl$() is a new function to decode an URL.
* NEW: FromBase64$() is now a synonymous for UnBase64$().

[GB.MEDIA]
* BUG: MediaPipeline.Pause() does nothing if the media is not playing. That
  avoid some GStreamer bad behaviour.

[GB.MEDIA.FORM]
* NEW: MediaView: Remove the ShowVideo property, it is useless.
* NEW: MediaView: The URL property can receive a true URL or a file path.
  The conversion is automatically done.
* BUG: MediaView: Do pause or stop the media file only if it has sense.
* NEW: MediaView: Hide the video part if the control height is too low.


git-svn-id: svn://localhost/gambas/trunk@6617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:25:46 +00:00
Benoît Minisini
654f938229 [DEVELOPMENT ENVIRONMENT]
* BUG: Control properties containing a database table name can be modified 
  again.


git-svn-id: svn://localhost/gambas/trunk@6616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:15:04 +00:00
Nigel Gerrard
3f02e55230 [DEVELOPMENT ENVIRONMENT]
* NEW: Improve Cygwin System Information awareness


git-svn-id: svn://localhost/gambas/trunk@6609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-04 13:02:57 +00:00
Benoît Minisini
4c1be18584 [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now can edit *.gbs Gambas scripts. But there is no automatic 
  completion.
* NEW: Use labels instead of buttons inside project items.

[WEBSITE MAKER]
* NEW: Update for 3.6.1 version.

[GB.EVAL]
* NEW: Lines beginning with '#!' are highlighted like comments. It's the
  'shebang' of Gambas scripts.


git-svn-id: svn://localhost/gambas/trunk@6608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-03 19:33:05 +00:00
Benoît Minisini
26d4540cde [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of event handlers if an object is declared 
  globally with an event name (Private MyObject As MyClass As "event").


git-svn-id: svn://localhost/gambas/trunk@6600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 22:21:28 +00:00
Benoît Minisini
7e28338f01 [SCRIPTER]
* BUG: The '-f' option now create a usable script.
* NEW: If the script crashes, a "Segmentation fault" message is printed.
  Not perfect, as the signal was not necessarily a segmentation fault...


git-svn-id: svn://localhost/gambas/trunk@6597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 16:40:19 +00:00
Benoît Minisini
8e8089bc91 [FARM SERVER]
* NEW: New database structure and new protocol: the versions are now stored
  as integer. It's up to the client to transfrom a "X.Y.Z" version number 
  into an integer that can then be compared directly.

[GB.NET.CURL]
* NEW: HttpForm.AddFile() now raises an error if the provided path is a 
  directory.


git-svn-id: svn://localhost/gambas/trunk@6592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:14:32 +00:00
Benoît Minisini
db01b7ced1 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a description field to the crash dialog box. This description is
  added to the mail.
* NEW: Use the new publishing protocol.
* NEW: Draw the project boxes with a darker border.


git-svn-id: svn://localhost/gambas/trunk@6590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:09:56 +00:00
Benoît Minisini
8be202cc7a [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Undo correctly resets the selection.


git-svn-id: svn://localhost/gambas/trunk@6584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-27 20:12:03 +00:00
Benoît Minisini
46835002c7 [FARM SERVER]
* NEW: Take the database connection properties from the configuration file.


git-svn-id: svn://localhost/gambas/trunk@6583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 22:58:57 +00:00
Benoît Minisini
44eb5d54a3 [DEVELOPMENT ENVIRONMENT]
* NEW: The publishing and registration process now correctly take the
  publishing server into account.
* NEW: Registering a user on a publishing server now blocks the option 
  dialog interface.

[FARM SERVER]
* NEW: The project has been renamed as 'gambas-farm-server'.
* NEW: Database can be initialized by running the server from the command-
  line with the '-init-db' argument.
* BUG: The server takes its SMTP configuration from its configuration file
  (~/.config/gambas3/gambas-farm-server.conf)
* NEW: Software dependencies are now stored in the database.


git-svn-id: svn://localhost/gambas/trunk@6582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 21:24:04 +00:00
Benoît Minisini
5bb0e3820c [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.

[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.

[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
  already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items 
  arrangement.

[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that 
  strange Qt bug.


git-svn-id: svn://localhost/gambas/trunk@6578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 00:50:59 +00:00
Tobias Boege
e00408a39b [DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation



git-svn-id: svn://localhost/gambas/trunk@6577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 21:39:11 +00:00
Benoît Minisini
c971d3e7ca [DEVELOPMENT ENVIRONMENT]
* NEW: Put the publishing configuration and registration in the option 
  dialog.

[GB.FORM]
* BUG: SwitchButton: Use a "disable" look for ON and OFF state when the
  Enabled property is FALSE.
* NEW: ListEditor is a new control that allows to edit the contents of a
  ListBox control.

[GB.GTK]
* BUG: Remove a debugging message.
* BUG: TextBox: Postpone the Change event so that replacing the selection 
  raises a unique Change event.

[GB.NET.SMTP]
* NEW: Add a Content-Disposition header to attachments.

[GB.WEB]
* NEW: The default response content type is now HTML with UTF-8 charset.


git-svn-id: svn://localhost/gambas/trunk@6574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 14:32:48 +00:00
Benoît Minisini
170b4c371d [DEVELOPMENT ENVIRONMENT]
* BUG: Workaround the behaviour of appmenu by setting the 
  'APPMENU_DISPLAY_BOTH' environment variable at startup if menus are 
  explicitely hidden.


git-svn-id: svn://localhost/gambas/trunk@6573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 12:11:09 +00:00
Benoît Minisini
77dd6cea1e [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when installing the Gambas font, if the 
  '~/.config/fontconfig' directory does not exist.


git-svn-id: svn://localhost/gambas/trunk@6572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 00:51:31 +00:00
Benoît Minisini
c8fdb28610 [CONFIGURATION]
* BUG: The gbw3 symbolic link is correctly uninstalled now.

[FARM SERVER]
* BUG: Fix registration confirmation message.


git-svn-id: svn://localhost/gambas/trunk@6571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 23:20:33 +00:00
Benoît Minisini
6734c6714a [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on the publish dialog box. Now tags and dependencies 
  can be edited, and a new user can be registered.

[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote 
  for it, and search the software database.

[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.

[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.


git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 20:06:18 +00:00
Benoît Minisini
29cfcad444 [DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: The component grid view now correctly keep 
  its state when filtering is applied, or if only the used components are 
  displayed.
* BUG: Project property dialog: The component hemp viewer now works 
  correctly in offline mode.


git-svn-id: svn://localhost/gambas/trunk@6568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:51:21 +00:00
Benoît Minisini
04fc7adb58 [CONFIGURATION]
* NEW: Update version to 3.6.90.

[DEVELOPMENT ENVIRONMENT]
* NEW: Initial version of project publishing dialog. Not useable at the 
  moment.

[FARM SERVER]
* NEW: Initial version of the Gambas farm server. Not finished.

[GB.FORM]
* BUG: DirChooser: Correctly update the toolbar according to the file view
  visibility.
* BUG: Setting Spinner.Enabled to FALSE correctly stops the animation now.
* NEW: New stock icon named "download".

[GB.FORM.STOCK]
* NEW: New default icons for "download" stock icon.


git-svn-id: svn://localhost/gambas/trunk@6566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:16:27 +00:00
Benoît Minisini
2fb483cde9 [DEVELOPMENT ENVIRONMENT]
* BUG: Run packaging commands through a virtual terminal.


git-svn-id: svn://localhost/gambas/trunk@6564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 13:37:51 +00:00
Benoît Minisini
d57578377c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't use "sTable" as field name for the metadata table, because 
  apparently "STABLE" is a reserved word in PostgreSQL. Upgrade an already
  existing metadata table automatically.
* BUG: Don't crash when starting a search from a image or connection 
  editor.

[WEBSITE MAKER]
* NEW: Update for 3.6.

[GB.DB]
* NEW: Add support for databases like PostgreSQL that are not fully case 
  insensitive.

[GB.DB.POSTGRESQL]
* BUG: Automatically convert field names to lowercase when creating a 
  table.

[GB.GUI.BASE]
* BUG: IconView item renaming don't crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:23:29 +00:00
Jesus Guardon
bd0ad61074 Missed changelog for r6551
[DEVELOPMENT ENVIRONMENT]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.ARGS]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.DB.FORM]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM.DIALOG]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM.MDI]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.NET.POP3]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.REPORT]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.



git-svn-id: svn://localhost/gambas/trunk@6552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 17:39:15 +00:00