Commit graph

1822 commits

Author SHA1 Message Date
Benoît Minisini
9a8c4e961a [GB.FORM.STOCK]
* BUG: Fix 'development.svg' that had unknown SVG urls, and consequently 
  the "Could not resolve property" warnings displayed by the IDE.


git-svn-id: svn://localhost/gambas/trunk@6974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 14:48:32 +00:00
Benoît Minisini
e4ca1fe27c [GB.REPORT2]
* BUG: Fabien, stop deleting the '.component' file!


git-svn-id: svn://localhost/gambas/trunk@6972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 13:58:08 +00:00
Benoît Minisini
789deb8b65 [CONFIGURATION]
* BUG: Forgot to package 'main/lib/gb.component' file.


git-svn-id: svn://localhost/gambas/trunk@6968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 12:27:08 +00:00
Benoît Minisini
6f513a2dac [GB.FORM]
* BUG: Completion: Don't crash when no row is selected in the completion 
  list.


git-svn-id: svn://localhost/gambas/trunk@6966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 10:38:08 +00:00
Fabien Bodard
ba4807828b [GB.REPORT2]
* OPT: Reduce the pages spacing


git-svn-id: svn://localhost/gambas/trunk@6965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 08:55:03 +00:00
Benoît Minisini
7d514ba286 [GB.FORM]
* NEW: ValueBox now raises a Change event when its content changes.
* OPT: DocumentView: Don't scale the document image before drawing it! It 
  is slow with gb.qt4, and slow as hell with gb.gtk. Use the scaling 
  feature of Paint.DrawImage().
* NEW: DocumentView: Use a lighter page shadow.

[GB.GTK3]
* BUG: SpinBox: Use a larger minimum width.


git-svn-id: svn://localhost/gambas/trunk@6963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 18:50:40 +00:00
Fabien Bodard
c4527ed63f [GB.SCANNER]
* NEW: In SCanners class the Search procedure replace the refresh and the 
  initscannerlist one.  It take an optional argument to wait or not the 
  search end. In ascyncronous mode the class raise a "Found Event" at the 
  end of the search. 
  


git-svn-id: svn://localhost/gambas/trunk@6960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 21:12:44 +00:00
Benoît Minisini
c32912ff0e [GB.REPORT2]
* NEW: A few design changes in the preview dialog.


git-svn-id: svn://localhost/gambas/trunk@6959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 17:01:36 +00:00
Fabien Bodard
35b34b7347 [GB.SCANNER]
* NEW: New function InitDeviceList to query explicitely a background
  initialisation.


git-svn-id: svn://localhost/gambas/trunk@6958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 16:47:09 +00:00
Benoît Minisini
8982618e88 [GB.GUI.BASE]
* BUG: Remove debugging message in GridView selection management.

[GB.REPORT2]
* NEW: Make the preview right panel closable.


git-svn-id: svn://localhost/gambas/trunk@6957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 16:15:40 +00:00
Benoît Minisini
c814a2fd33 [GB.GUI.BASE]
* BUG: ListBox now correctly maintains its selection when items are removed 
  or added.
* NEW: ListBox.Remove() now takes a new optional Length argument.


git-svn-id: svn://localhost/gambas/trunk@6955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 14:48:33 +00:00
Fabien Bodard
dfce67c378 [gb.scanner]
* BUG: Remove _Init sub from the Static Scanners class. Ready for 3.7.


git-svn-id: svn://localhost/gambas/trunk@6953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-06 14:10:32 +00:00
Fabien Bodard
9e848e0b3b [GB.REPORT2]
* NEW: Now gb.report2 use inch as internal unit. And is ready for 3.7.


git-svn-id: svn://localhost/gambas/trunk@6952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-06 13:40:47 +00:00
Benoît Minisini
885d980225 [CONFIGURATION]
* NEW: Switch to 3.7 version.

[DEVELOPMENT ENVIRONMENT]
* NEW: Draw the version number the same size as the application title in 
  the welcome and about dialogs.


git-svn-id: svn://localhost/gambas/trunk@6949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-05 21:01:33 +00:00
Fabien Bodard
bacf4a5fce [GB.REPORT2]
* OPT: this commit show a bug on Paint.Begin
* OPT: Trying to find the good api for passing layout 
  on ReportDrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-05 20:15:26 +00:00
Benoît Minisini
6b01c35c6d [DEVELOPMENT ENVIRONMENT]
* NEW: Allow to mark component as deprecated.

[GB.REPORT]
* NEW: Mark component as deprecated.


git-svn-id: svn://localhost/gambas/trunk@6946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 01:37:08 +00:00
Benoît Minisini
14fa866856 [GB.REPORT2]
* NEW: Redraw some icons.


git-svn-id: svn://localhost/gambas/trunk@6944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 00:38:05 +00:00
Benoît Minisini
f8925a2ebb [DEVELOPMENT ENVIRONMENT]
* BUG: The ".component" file is now automatically versioned.

[GB.REPORT2]
* BUG: Add the ".component" file to the repository.


git-svn-id: svn://localhost/gambas/trunk@6943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-03 00:27:20 +00:00
Benoît Minisini
92ec7b7956 [DEVELOPMENT ENVIRONMENT]
* NEW: Redraw PictureBox icon.

[GB.FORM]
* NEW: Redraw ImageView icon.


git-svn-id: svn://localhost/gambas/trunk@6942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 23:53:51 +00:00
Benoît Minisini
3c3b1b44a2 [GB.FORM]
* NEW: The Completion class now uses a top-level popup window and the new 
  TakeFocus property.
* BUG: Remove some unused variables and symbols.

[GB.GTK]
* BUG: Closing a window now should not lose FocusOut events anymore.
* BUG: Fix the Window.TakeFocus property.
  
[GB.GTK3]
* BUG: Fix the Window.TakeFocus property.


git-svn-id: svn://localhost/gambas/trunk@6941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 22:27:42 +00:00
Benoît Minisini
3814eea878 [GB.GTK]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.GTK3]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.QT4]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  

git-svn-id: svn://localhost/gambas/trunk@6937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 20:14:35 +00:00
Benoît Minisini
9ac436e874 [GB.REPORT2]
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@6934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 17:15:29 +00:00
Benoît Minisini
b6bd5519d0 [GB.REPORT2]
* NEW: Preview: Add two buttons to zoom in and zoom out to "standard" 
  zooms, i.e. powers of Sqr(2).


git-svn-id: svn://localhost/gambas/trunk@6933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 17:15:06 +00:00
Benoît Minisini
8ce9a97795 [GB.FORM]
* NEW: DocumentView: Allow zoom up to 400%.

[GB.REPORT2]
* BUG: Preview: Fix custom zoom again.


git-svn-id: svn://localhost/gambas/trunk@6932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:49:32 +00:00
Fabien Bodard
044980b01b [GB.REPORT2]
* BUG: Allow user interaction on zoom


git-svn-id: svn://localhost/gambas/trunk@6931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:37:44 +00:00
Fabien Bodard
fc48aa7274 [GB.FORM]
* BUG: The DocumentView Arrange.Fill mode now resize the more large than Height
  Documents.


git-svn-id: svn://localhost/gambas/trunk@6930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 16:30:27 +00:00
Benoît Minisini
8390acc4cf [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Always display the arrangement icon of all parents and 
  grand-parents of the hovered control.
 
[GB.REPORT2]
* NEW: Redesign the preview window.
* NEW: Redraw some icons.
* NEW: Make the component translatable.
* NEW: French translation.
* BUG: Preview: Fix print to file behaviour.
* BUG: Preview: Fix initial zoom state.
* BUG: Preview: Fix view background color.


git-svn-id: svn://localhost/gambas/trunk@6929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 15:58:50 +00:00
Fabien Bodard
4929e96dfd [GB.REPORT2]
* NEW: New widget ReportDrawingArea that allow free drawing in a designed area. It raise
  A GetSizeHint event and a Draw event and give at this time the Width, height.
  During the GetSizeHint Event you can return the wanted size by the SizeHint property
  of ReportDrawingArea.
  example : DrawingArea1.SIzeHint = ReportSizeHint(3,3) the size is in cm for the time,
  this can evoluate to become inch or string.
* NEW: ReportSizeHint is Exported now and have a new call function.



git-svn-id: svn://localhost/gambas/trunk@6928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 14:49:21 +00:00
Benoît Minisini
4623599a9a [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Selected controls do not display a frame when they are
  hovered. It is useless.
* NEW: Form editor: The hover frame is now updated when a control is 
  resized.
* NEW: Form editor: Panels with no child and that have their Expand 
  property set now display red hatch lines whose orientation depends on 
  their arrangement of its parent container.
* NEW: The default farm server is now gambasfarm.org.
* NEW: Form editor: Arrangement icons have been redesigned.

[GB.GUI.BASE]
* NEW: ScrollArea shadows are smaller now.

[GB.PCRE]
* BUG: MATCH operator: A void string now only matches a void string.


git-svn-id: svn://localhost/gambas/trunk@6919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-28 15:04:48 +00:00
Fabien Bodard
e65a9dcf09 [GB.REPORT2]
* BUG: Some Range errors


git-svn-id: svn://localhost/gambas/trunk@6918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-27 16:14:57 +00:00
Benoît Minisini
d89262600b [INTERPRETER]
* BUG: Force the interpreter to link with the system thread library, 
  whatever the global linker configuration is.


git-svn-id: svn://localhost/gambas/trunk@6916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 22:44:20 +00:00
Benoît Minisini
a3a513fe02 [GB.DESKTOP]
* NEW: Desktop.GetDesktopDirectory() is a new method that return the 
  specific desktop directory specified in its argument, that can be one of
  the following values: "DESKTOP", "DOCUMENTS", "DOWNLOAD", "MUSIC", 
  "PICTURES", "TEMPLATES", "VIDEOS".


git-svn-id: svn://localhost/gambas/trunk@6915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 00:14:43 +00:00
Benoît Minisini
77563de5cb [DEVELOPMENT ENVIRONMENT]
* NEW: Update support list.

[GB.GTK]
* BUG: Fix a possible crash in input method management.

[GB.GTK3]
* BUG: Fix a possible crash in input method management.
* BUG: TextArea now has a minimum size, as GTK+3 crashes when they are too 
  small.


git-svn-id: svn://localhost/gambas/trunk@6913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 21:23:14 +00:00
Benoît Minisini
7d2c75dcda [GB.GTK]
* BUG: Fix arrangement of ScrollView control.

[GB.GTK3]
* BUG: Fix arrangement of ScrollView control.


git-svn-id: svn://localhost/gambas/trunk@6910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 02:35:51 +00:00
Fabien Bodard
0601bfdb9b [GB.FORM]
* NEW: Allow click and drag on DocumentView


git-svn-id: svn://localhost/gambas/trunk@6909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 13:06:17 +00:00
Fabien Bodard
a72cd1b63c [GB.REPORT2]
* NEW: Add the ReportTextLabel widget. It use the draw class drawing method
  so we are able to use all drawing feature allowed from qt/gtk in theire
  html4 interpretor.


git-svn-id: svn://localhost/gambas/trunk@6908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 10:53:41 +00:00
Benoît Minisini
be3411f211 [GB.PAINT]
* BUG: The PathExtents.Merge() method does not crash anymore.

[GB.V4L]
* BUG: Fix type in error messages.


git-svn-id: svn://localhost/gambas/trunk@6903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-20 19:59:09 +00:00
Fabien Bodard
02181685a2 [GB.REPORT2]
* NEW: Now font are inherited from the container by default. If the container is 
  a report and if the report.font is not initialized then it try to une one of the
  following fonts : "DejaVu Serif", "Liberation Serif", "Bitstream Vera Serif", "Serif", "Arial" with the size at 12 pt. If no one of these fonts are found then
  it use the current paint.font. By enforcing the font, i try to limit the random
  in report rendering between each Desktop Environnement. Moreover i think users
  must define a report.font too for more security.
  


git-svn-id: svn://localhost/gambas/trunk@6902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-20 09:13:16 +00:00
Brian G
6a4bd2fe7c [gb.logging]
* BUG: Added Missing EXPORT

git-svn-id: svn://localhost/gambas/trunk@6899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-12 01:19:37 +00:00
Benoît Minisini
240beb1c51 [DEVELOPMENT ENVIRONMENT]
* NEW: Update PictureBox icon.

[WIKI CGI SCRIPT]
* BUG: Take the new ".info" file format into account.

[GB.FORM]
* NEW: Update ImageView icon.


git-svn-id: svn://localhost/gambas/trunk@6898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-12 00:47:46 +00:00
Benoît Minisini
baa12d3eaf [GB.FORM]
* NEW: New icon for ImageView control.

[GB.GUI.BASE]
* NEW: ScrollArea now raises a Font event when its font has changed.
* BUG: GridView default row height now correctly follows font changes.
* BUG: ListBox row height and column width now correctly follow font 
  changes.


git-svn-id: svn://localhost/gambas/trunk@6897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 15:26:20 +00:00
Fabien Bodard
8ed54a4402 [GB.REPORT2]
* OPT: Layout does not take account of BoxShadows margins.


git-svn-id: svn://localhost/gambas/trunk@6896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 07:04:54 +00:00
Fabien Bodard
8156cb4a0d [GB.REPORT2]
* BUG: Force FullPage on ReportPreview


git-svn-id: svn://localhost/gambas/trunk@6895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 06:58:11 +00:00
Benoît Minisini
acff76a0c9 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix a possible crash when pasting an image.
* NEW: Project property dialog: Merge the list of required and excluded 
  components.
* NEW: Redraw some icons.

[GB.REPORT2]
* NEW: Redraw some icons.


git-svn-id: svn://localhost/gambas/trunk@6894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-07 02:05:34 +00:00
Benoît Minisini
50fba09151 [CONFIGURATION]
* NEW: Compile and install gb.report2 component.

[DEVELOPMENT ENVIRONMENT]
* NEW: Add support for gb.report2 and gb.scanner.
* BUG: Correctly reset Application.Busy when opening a connection fails.
* BUG: Project property dialog: Fix management of required components.
* NEW: Project property dialog: Add management of excluded components.

[GB.DB]
* NEW: More detailed error message for SQLite connections.

[GB.DB.SQLITE3]
* NEW: More detailed error message for SQLite connections.


git-svn-id: svn://localhost/gambas/trunk@6892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 20:34:44 +00:00
Fabien Bodard
5a20bb6465 [GB.REPORT2]
* BUG: Again


git-svn-id: svn://localhost/gambas/trunk@6891 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:32:50 +00:00
Fabien Bodard
81ce1abafa [GB.REPORT2]
BUG: ReportLine can compile without error


git-svn-id: svn://localhost/gambas/trunk@6890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:21:52 +00:00
Fabien Bodard
5dd46a1b85 [GB.REPORT]
* OPT: Add gb.report2 to the compiled components.


git-svn-id: svn://localhost/gambas/trunk@6889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:11:44 +00:00
Fabien Bodard
1771de939a [GB.REPORT2]
* NEW: Add the ReportLine class
* NEW: Add the ReportPanel class
* BUG: Margin computing improvement... again. Seem that report2 will not be backward compatible.


git-svn-id: svn://localhost/gambas/trunk@6888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 15:04:12 +00:00
Benoît Minisini
e6071fb449 [CONFIGURATION]
* BUG: Remove '.settings' project files that must not be versioned.


git-svn-id: svn://localhost/gambas/trunk@6887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 00:43:54 +00:00
Fabien Bodard
d9ae32a6fd [GB.DESKTOP]
* BUG: Change the Mime loading code so it not fail on the first readed glob2 file
  and read all the available files.


git-svn-id: svn://localhost/gambas/trunk@6885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 21:50:23 +00:00
Benoît Minisini
a3d82e51eb [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update end-of-line menu and button visibility.
* BUG: Project property dialog: Resetting or removing a library works 
  correctly again.

[GB.DESKTOP]
* NEW: More detailed error message when the mime database cannot be read.

[GB.FORM]
* NEW: Completion.Icons is a new property that allows to associate an icon 
  to each completion item.
* NEW: FileCompletion now displays an icon for files and another icon for
  directories.

[GB.QT4]
* BUG: Update initial control visibility when the Expand property changes,
  but not when the Ignore property changes.


git-svn-id: svn://localhost/gambas/trunk@6884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 19:43:08 +00:00
Benoît Minisini
ccc9af006a [DEVELOPMENT ENVIRONMENT]
* NEW: Files including a '\r' character are not considered as binary files 
  anymore.

[GB.FORM]
* BUG: ColorPalette: Default background is now transparent.

[GB.DB.SQLITE3]
* BUG: Use the official standard quoting character.


git-svn-id: svn://localhost/gambas/trunk@6881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 19:56:46 +00:00
Benoît Minisini
4262bbeb98 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix search inside output console.
* BUG: Image editor: Don't crash when starting drawing outside of the 
  image.
* BUG: Image editor: Fix color palette.
* NEW: Remove some icons that are not used anymore.

[GB.FORM]
* NEW: ColorPalette.Exist() is a new method that returns if a specific
  color exists in the palette.


git-svn-id: svn://localhost/gambas/trunk@6880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 03:53:49 +00:00
Benoît Minisini
9c7d9a6a1e [DEVELOPMENT ENVIRONMENT]
* NEW: Use specific gray icons for the debugging panel.
* BUG: Loading a new project correctly updates the desktop component 
  toolbar button.
* NEW: Balloon message have been replaced by the new MessageView control.

[GB.FORM]
* NEW: MessageView is a new control that implements an embedded 
  notification panel that is automatically hidden and shown if there is a 
  message to display.
* BUG: MenuButton: Draw the focus state correctly.

[GB.GTK]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.

[GB.QT4]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-02 20:08:18 +00:00
Fabien Bodard
64943a9bcb [GB.FORM]
* OPT: Support for desktop selection in stock on kde5 (Plasma 5.2)


git-svn-id: svn://localhost/gambas/trunk@6876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-30 22:08:26 +00:00
Benoît Minisini
800e7797cb [DEVELOPMENT ENVIRONMENT]
* NEW: Implement the new wiki component description and class list for the
  offline help.
* BUG: Several fixes in the editor position history.
* BUG: Workaround some spurious Qt4 webkit warnings.
* NEW: The argument editor of the project property dialog now has an 
  automatic file completion.

[GB.FORM]
* NEW: The Completion class has been redesigned to allow completion on a 
  part of the edited string.
* NEW: FileCompletion is a new class that implements automatic file name
  completion.
* BUG: FileView: Fix a possible crash when the current item disappears 
  before begin made visible.

[GB.QT4]
* NEW: A newly created control becomes visible the first time it is resized 
  now, and not immediately. The goal is having almost the same behaviour as
  gb.gtk, even if it not 100% backward-compatible in a few cases.

[GB.QT4.WEBKIT]
* BUG: WebView: Don't raise the Error event if the webview has been 
  explicitly stopped by the Stop() method.


git-svn-id: svn://localhost/gambas/trunk@6875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-30 01:53:19 +00:00
Benoît Minisini
a850bffe12 [GB.DESKTOP]
* NEW: Support for the 'secret-tool' utility. If it is installed on the 
  system, it is used instead of the 'gb.desktop.gnome.keyring' component.
* BUG: Desktop.Passwords.Enabled works correctly now on Gnome-like systems.
* BUG: Fix compilation warnings.


git-svn-id: svn://localhost/gambas/trunk@6874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-27 00:49:14 +00:00
Fabien Bodard
60cdfd90c3 [GB.REPORT2]
* BUG: Force image clipping


git-svn-id: svn://localhost/gambas/trunk@6868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 22:04:58 +00:00
Fabien Bodard
bc751a0a50 [GB.REPORT2]
* BUG: Full rewriting of the VBox layout procedure to really take care of
  margins
* BUG: Now Indexs are accurate
* BUG: ReportImage autoresize are based on a 96 dpi resolution for internal 
  conversion.
* BUG: ReportImage tale care of the proportional mode for autoresizing.



git-svn-id: svn://localhost/gambas/trunk@6867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 21:44:20 +00:00
Fabien Bodard
a3b0ae9e82 [GB.REPORT]
* BUG: Correct some error on layout page count.


git-svn-id: svn://localhost/gambas/trunk@6866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-25 10:41:22 +00:00
Benoît Minisini
a68fcafd91 [GB.FORM]
* NEW: Redraw some control icons.
* BUG: ButtonBox.FilterNow always raises the Filter event now.


git-svn-id: svn://localhost/gambas/trunk@6865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 23:40:08 +00:00
Benoît Minisini
bf7afd213b [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Use a ListEditor to edit mimetypes.
* NEW: Packager: A checkbox now allows to enable or disable package
  signature. Works only for *.deb package, and only if you have correctly
  configured 'gpg'.
* NEW: The '.component' file is removed if the project type is switched 
  back to "normal".

[GB.FORM]
* NEW: ColorPalette: Click event now has no argument.
* BUG: Wizard: The final OK button size is now correctly refreshed 
  according to the ActionText and ActionPicture property in all cases.


git-svn-id: svn://localhost/gambas/trunk@6864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 22:04:47 +00:00
Benoît Minisini
2851827611 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove two ugly backgrounds.
* BUG: Don't crash if the selected background is not available anymore.

[GB.FORM]
* NEW: ColorPalette.ReadOnly is a new property to prevent the palette 
  contents to be modified.
* NEW: ColorPalette.AddFirst() is a new method that adds a color to the 
  beginning of the palette.
* NEW: ColorPalette now has a popup menu to remove or sort colors.
* NEW: ColorPalette.Index is a new property to define or get the index of
  the current color. The current color is drawn with a big black border.
* NEW: ColorPalette.Current is a new property to define or set the current
  color.
* NEW: ColorChooser now uses a ColorPalette.


git-svn-id: svn://localhost/gambas/trunk@6863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 20:31:16 +00:00
Fabien Bodard
dd92c9ed27 [GB.REPORT]
* BUG: The reportImage take now care of strech mode
  for computing the needed size
* NEW: The default autoresize size of an image is based on a standart
  resolution of 96 dpi.
* BUG: The ReporView now show all the report pages.


git-svn-id: svn://localhost/gambas/trunk@6862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 13:52:34 +00:00
Benoît Minisini
1dcd553c19 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "run that class" button in the class editor.
* NEW: Add a "run that class" entry in the project tree popup menu.
* BUG: Don't apply theme background to the hierarchy window.

[GB.FORM]
* BUG: FileView: When setting the Current property, the current item is
  made visible later.
* BUG: Remove the Mode property from the DocumentView description, as it 
  has no Mode property.


git-svn-id: svn://localhost/gambas/trunk@6860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 00:04:38 +00:00
Fabien Bodard
678e1ddd95 [GB.FORM]
* OPT: Remove some unused variables


git-svn-id: svn://localhost/gambas/trunk@6859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-23 21:34:45 +00:00
Benoît Minisini
91c05679d3 [GB.FORM.MDI]
* NEW: Support for "huge" toolbar icons.

[GB.GUI.BASE]
* NEW: ScrollArea.UseMouse is a new property. When set to FALSE, the
  mouse wheel will not automatically scroll the ScrollArea contents.


git-svn-id: svn://localhost/gambas/trunk@6855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 19:58:51 +00:00
Fabien Bodard
96c789f1d6 [GB.FORM.MDI]
* NEW: Add support for Huge size icons on TooBar.


git-svn-id: svn://localhost/gambas/trunk@6854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-22 08:26:29 +00:00
Benoît Minisini
4690cf06c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Opening a form using an unknown control now displays an error 
  message and the form is not opened.
* BUG: Pasting an unknown control from another project now displays an 
  error message and nothing is pasted.


git-svn-id: svn://localhost/gambas/trunk@6851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 23:53:48 +00:00
Fabien Bodard
41f9de9a1a [GB.FORM]
* OPT: Many code cleaning.


git-svn-id: svn://localhost/gambas/trunk@6849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 16:43:29 +00:00
Fabien Bodard
a46bc4b473 [GB.REPORT2]
* NEW: Now Preview use DocumentView


git-svn-id: svn://localhost/gambas/trunk@6848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 16:42:38 +00:00
Fabien Bodard
232461ff81 [GB.FORM]
* NEW: DocumentView Goto now work for arrange.fill


git-svn-id: svn://localhost/gambas/trunk@6846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 21:02:58 +00:00
Fabien Bodard
5f79c2f8b6 [GB.FORM]
* BUG: DocumentView, Do not lock the column value before knowing the page count.


git-svn-id: svn://localhost/gambas/trunk@6845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 20:33:57 +00:00
Fabien Bodard
0836091546 [GB.FORM]
* NEW: DocumentView have a new property Column (alias Row) that have effect on 
  Columnn, Row, Fill modes and lock the number of page showed and force automatic zoom
* NEW: Fill mode is implemented, you can change page by wheeling mouse 
  (TODO: Code for changing page)
* NEW: AutoCenter property. Currently affect only Fill mode to center horizontally




git-svn-id: svn://localhost/gambas/trunk@6844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 15:56:09 +00:00
Fabien Bodard
afd7379607 [GB.REPORT2]
* BUG: The ReportControl font property now make a copy of the font given in argument.
* BUG: Now a too big children element is clipped if it is the first one listed
  after the fixed ones (no more infinite loop)
* NEW: ReportUnit module is merged with Report class. All functions for convertion
  are now available as static functions in Report. The two internal functions scale and
  internal width are now public function of report instance.
* NEW: Return of the ReportImage and ReportSvgImage with no change for now.
* NEW: Continue to improve the ReportGridView widget ... really not ready for use.
* NEW: Restore the UseField property in ReportLabel so for now the component is
  backward compatible.
  


git-svn-id: svn://localhost/gambas/trunk@6843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-20 11:07:21 +00:00
Benoît Minisini
f0822e71d1 [GB.FORM]
* BUG: TabPanel[].Closable works as expected now.

[GB.GTK]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GTK3]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GUI.BASE]
* NEW: The GridView automatic column resizing now uses Application.Busy and
  cannot run longer than five seconds.

[GB.QT4]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.


git-svn-id: svn://localhost/gambas/trunk@6842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-19 23:04:41 +00:00
Fabien Bodard
4b3d996d47 [GB.REPORT]
* BUG: Now if an element is the first listed after fixed ones and 
  if it's height is superior to the remaining space, it's height is 
  set to the remaining space and the content is clipped.
  So there is no more problem of infinite loop.


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


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

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

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

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

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


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


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


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



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


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


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



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


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

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

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


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

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


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

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

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

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

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

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

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


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


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

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

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


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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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


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

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


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

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


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


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


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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 14:31:23 +00:00
Benoît Minisini
f386b7a50e [CONFIGURATION]
* BUG: Fix 'components written in Gambas' installation Makefile.am.


git-svn-id: svn://localhost/gambas/trunk@6796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 13:53:47 +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
a5f2cb1575 [FARM SERVER]
* NEW: Software screenshot can be deleted by the client.

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

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


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

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

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

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


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


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

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

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

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

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


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


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

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

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

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

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

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

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


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


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


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


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


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



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


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




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


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


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


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


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

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

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

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

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

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

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


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



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



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


git-svn-id: svn://localhost/gambas/trunk@6747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 11:11:37 +00:00
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
Fabien Bodard
a91e31ceba [GB.REPORT]
* BUG: Now you can choose a non existing file in the openbox for saving as pdf.


git-svn-id: svn://localhost/gambas/trunk@6744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 20:16:38 +00:00
Fabien Bodard
9e945cdea6 [GB.MAP]
* BUG: Now the proj class take and return MapPoints convertion in the good way
* BUG: The WMS is really working now and _maptile layer is now able to tile and
  cache a BBoxed wms rendered map.
* NEW: and external httpserver can be instanciate to load layer maps. This is usefull
  when the server queries a specific way to access to the wms permissions.
  


git-svn-id: svn://localhost/gambas/trunk@6733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 22:51:48 +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
5468b4c704 [GB.FORM]
* NEW: Format files sizes with two decimals.

[GB.UTIL]
* BUG: File.FormatSize() now takes an optional argument that allows to 
  format the size in binary format (1K = 1024) instead of decimal format 
  (1K = 1000).


git-svn-id: svn://localhost/gambas/trunk@6718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:59:02 +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
Fabien Bodard
204a1b168c [GB.MAP]
* New: Interface to implement WMS support
* New: Proj class is a frontend to cs2cs to make projection
  transformation.


git-svn-id: svn://localhost/gambas/trunk@6715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-10 21:04:18 +00:00
Fabien Bodard
2a94a43be6 [GB.FORM]
* BUG: Resolve a bug on recursive call of Layout procedure.



git-svn-id: svn://localhost/gambas/trunk@6713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-07 10:01:37 +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
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
b85a3631b3 [GB.UTIL]
* NEW: New interpreter utility routines component.


git-svn-id: svn://localhost/gambas/trunk@6702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 22:40:50 +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
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
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
6bdd82c183 [GB.NET.SMTP]
* BUG: SmtpClient: Correctly detect when connection fails in SSL or TLS 
  mode. Raise an error instead of eating the CPU in an infinite loop.


git-svn-id: svn://localhost/gambas/trunk@6682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-28 00:50:07 +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
365f1161fe [GB.SETTINGS]
* BUG: Fix settings saving routine.


git-svn-id: svn://localhost/gambas/trunk@6673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 02:17:22 +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
1aa11548d1 [GB.DESKTOP]
* BUG: Patch 'xdg-open' so that 'kde-open' uses its '-noninteracitve' flag.
  That way, the return value seems to be accurate in case of failure.


git-svn-id: svn://localhost/gambas/trunk@6670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 13:02:55 +00:00
Benoît Minisini
30949597c1 [GB.FORM]
* BUG: ValueBox: The Value property is not visible to the IDE anymore.
* BUG: ValueBox.Text can understand a void string for all ValueBox types 
  now.


git-svn-id: svn://localhost/gambas/trunk@6668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 10:14:30 +00:00
Benoît Minisini
e49858d554 [GB.FORM]
* BUG: Remove testing dependencies on 'gb.desktop'.
* NEW: Completion.Open() is a new method that explicitly opens the 
  completion list.
* NEW: Completion.Open() is automatically called when pressing the space
  key on a void editor.


git-svn-id: svn://localhost/gambas/trunk@6667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 09:50:54 +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
75c8e82937 [GB.GUI.BASE]
* BUG: GridView.Select() with one argument now only selects one row, as 
  stated by the documentation.


git-svn-id: svn://localhost/gambas/trunk@6662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-22 22:27:17 +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
c268af2ccc [GB.MARKDOWN]
* BUG: The list syntax works correctly again.


git-svn-id: svn://localhost/gambas/trunk@6658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-19 19:50:53 +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
9a89ed795c [GB.MARKDOWN]
* NEW: Support for "standard" markdown ordered list syntax.


git-svn-id: svn://localhost/gambas/trunk@6656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-19 09:38:48 +00:00
Benoît Minisini
348a30d013 [GB.MARKDOWN]
* BUG: Don't forget to close the last paragraph.


git-svn-id: svn://localhost/gambas/trunk@6655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-19 08:59:54 +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
Fabien Bodard
cda2eda390 [GB.FORM]
* NEW: DOcumentView have now a property .Arrangement that allow
  to use the ARrange class to select the way that the documents are diplayed.
* NEW: DocumentView have a property goto to force the Viewer to slide to the
  wanted page.
* NEW: DocumentView have a property ShowShadow to display or not the doc shadows.
* NEW: The properties Spacing and Padding allowto define space between and around
  the docs. The size is given in pixel at zoom = 1.


git-svn-id: svn://localhost/gambas/trunk@6651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-14 18:16:46 +00:00
Fabien Bodard
07811a939f [GB.FORM]
* BUG: Hidden upper doc cache are correctly removed


git-svn-id: svn://localhost/gambas/trunk@6647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-12 10:53:34 +00:00
Fabien Bodard
b3d26eb6a2 [GB.FORM]
* NEW: DocumentView have a new property Layout that allow to setup special
  document size by a Layout property.
* NEW: DocumentView have a new property draw. It provide the page number 
  and document scaled size. Just do a Draw.Image(..) at the good size here
* NEW: DocumentView have a new property Zoom/Scale. it set the zoom level
  between 0 and 1


git-svn-id: svn://localhost/gambas/trunk@6646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-12 08:06:57 +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
Fabien Bodard
912bb54a7c [GB.FORM]
* NEW: Working demo of DocumentView, for the time you can do nothing... 
  just changing zoom or document count


git-svn-id: svn://localhost/gambas/trunk@6637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 15:19:22 +00:00
Benoît Minisini
1a9d866033 [GB.FORM]
* NEW: SwitchButton: Handle the keyboard and take the focus into account.


git-svn-id: svn://localhost/gambas/trunk@6635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 11:29:54 +00:00
Sebastian Kulesz
520410e4b7 [INTERPRETER]
* BUG: Add the gb.scanner component to the build list.



git-svn-id: svn://localhost/gambas/trunk@6634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 03:08:24 +00:00
Benoît Minisini
6c4b5dc2fe [GB.SETTINGS]
* BUG: The new save optimization now works correctly if the 
  Settings.Clear() method has been used.


git-svn-id: svn://localhost/gambas/trunk@6633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:56:57 +00:00
Benoît Minisini
3c6e96d0c4 [GB.FORM]
* NEW: The SliderBox is now in the same change group as Slider.


git-svn-id: svn://localhost/gambas/trunk@6630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:49:15 +00:00
Fabien Bodard
ea567aa6dd [GB.FORM]
* NEW: DocumentView is the begin for a new widget that allow to display documents
  such as pdf, printing preview, pictures... etc. It allow zooming, and will have 
  differents options for arrange the pages. Each page can have it's own size and orientation
  property. It's not finished yet and really buggy... 
  


git-svn-id: svn://localhost/gambas/trunk@6625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 15:00:20 +00:00
Fabien Bodard
98b3931b38 [GB.SCANNER]
* BUG: Remove the need for gb.image.io


git-svn-id: svn://localhost/gambas/trunk@6624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 14:17:25 +00:00
Fabien Bodard
cd08333b12 [GB.SCANNER]
* NEW: New component that provide classes to manage scanners devices via gambas code.
  It is a frontend to scanimage binary provided by the SANE toolkit.
  


git-svn-id: svn://localhost/gambas/trunk@6623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 12:23:08 +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
dbc53be50a [GB.DESKTOP]
* BUG: The component didn't compile anymore because of the new Url$() 
  function.


git-svn-id: svn://localhost/gambas/trunk@6619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 21:37:35 +00:00
Benoît Minisini
7d3fe8172b [GB.MARKDOWN]
* BUG: The component didn't compile anymore because of the new Url$() 
  function.


git-svn-id: svn://localhost/gambas/trunk@6618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 21:35:46 +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
eceeb61ada [GB.FORM]
* BUG: Remove unneeded dependency on gb.media.form and gb.media. They were 
  just for testing.


git-svn-id: svn://localhost/gambas/trunk@6612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-05 22:24:52 +00:00
Benoît Minisini
3bc7e8b863 [GB.FORM]
* NEW: DirChooser & FileChooser: The popup menu is available when clicking 
  on the bookmark button representing the top-level directory.
* NEW: DirChooser & FileChooser: The root button now goes to the current
  root when bookmarks are hidden.
* NEW: FileProperties: Preview of audio files, provided that the gb.media
  component has been loaded.
* NEW: New 'muted' stock icon.

[GB.FORM.STOCK]
* NEW: New 'muted' stock icon.

[GB.GUI.AREA]
* BUG: TreeView renaming works now if the renamed item is not visible.

[GB.MEDIA.FORM]
* BUG: MediaView: The Control property has been renamed as ShowControl.
* NEW: MediaView: ShowVideo is a new property that allows to hide the video 
  part when playing audio files.
* NEW: MediaView: New methods: Play, Pause, Stop.

[GB.SETTINGS]
* NEW: Settings.Save() now does not save all the keys anymore, but only the
  modified one.
* BUG: Settings.Clear() now really clears the entire settings.


git-svn-id: svn://localhost/gambas/trunk@6611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-05 09:38:15 +00:00
Benoît Minisini
bd3484bcf0 [GB.EVAL.HIGHLIGHT]
* BUG: The '.startup' file must not be versioned.


git-svn-id: svn://localhost/gambas/trunk@6594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 22:42:02 +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
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
d38ffe619c [GB.DB.FORM]
* BUG: Setting DataView.Editable property to FALSE and then to TRUE works 
  correctly now.


git-svn-id: svn://localhost/gambas/trunk@6581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 15:02:18 +00:00
Benoît Minisini
abe847d087 [GB.FORM]
* BUG: Don't use Style.FontOf(), it has been removed.


git-svn-id: svn://localhost/gambas/trunk@6580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 12:46:13 +00:00
Fabien Bodard
1ed0016645 [GB.FORM]
* BUG: Remove a call to Style.FontOf temporary. This symbole is not 
  yet implemented or just removed ... 



git-svn-id: svn://localhost/gambas/trunk@6579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 10:14:50 +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
8f931ae914 [GB.FORM]
* NEW: Update German translation



git-svn-id: svn://localhost/gambas/trunk@6576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 20:11:04 +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
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
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
892fa0be41 [GB.FORM]
* NEW: Add a copy menu entry to the FileChooser and DirChooser controls.

[GB.GTK]
* BUG: Clipboard.Copy() now works for all text formats.

[GB.GTK3]
* BUG: Clipboard.Copy() now works for all text formats.


git-svn-id: svn://localhost/gambas/trunk@6562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 20:04:22 +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
Benoît Minisini
d20ad59bd7 [GB.NET.SMTP]
* BUG: Support multi-line greetings and mulit-line answer at authentication 
  pass.


git-svn-id: svn://localhost/gambas/trunk@6556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-16 07:51:43 +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
Jesus Guardon
b34c29b484 git-svn-id: svn://localhost/gambas/trunk@6551 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2014-10-13 17:01:00 +00:00
Benoît Minisini
bd693ee0da [CONFIGURATION]
* NEW: Update version in project files.


git-svn-id: svn://localhost/gambas/trunk@6546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:52:12 +00:00
Benoît Minisini
739f02cd40 [DEVELOPMENT ENVIRONMENT]
* BUG: Make editor message tooltip more readable, espacially with drak 
  themes.

[WIKI CGI SCRIPT]
* BUG: Fix detection of creatable classes.
* NEW: Automatically add function arguments in the initial text when 
  creating a new symbol documentation page.

[GB.JIT]
* BUG: Fix support of LLVM_CONFIG environment variable that defines the 
  absolute path of the 'llvm-config' program.


git-svn-id: svn://localhost/gambas/trunk@6544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:03:06 +00:00
Benoît Minisini
26f3daa0c5 [GB.FORM]
* NEW: FontChooser.ShowRelative is a new property that set if relative 
  sizes are allowed or not. They are allowed by default.

[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will 
  show fixed fonts only.

[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-10 19:23:44 +00:00
Benoît Minisini
c6d37cf4b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the FontBox control in the option dialog.

[WIKI CGI SCRIPT]
* NEW: Add a preview button in editing mode.

[GB.DB]
* NEW: Database driver now have a flag to tell if they support collation or 
  not.

[GB.DB.POSTGRESQL]
* BUG: Use collation only if database version is greater or equal than 9.1.

[GB.FORM]
* NEW: Little design changes in the FontChooser control.
* BUG: Fix the FontBox control.
* NEW: FontBox.Default is a new property that defines which text is 
  displayed in the control when no font is set. By default, the application 
  default font name is used.

[GB.FORM.DIALOG]
* NEW: Add a custom font chooser dialog for Dialog.SelectFont().


git-svn-id: svn://localhost/gambas/trunk@6520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-07 00:01:13 +00:00
Benoît Minisini
97913aa329 [CONFIGURATION]
* NEW: Switch to version 3.6.0.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly reset position buttons when a project is loaded.
* BUG: Text editor: Fix word delimiter characters for automatic completion.

[GB.GUI.BASE]
* BUG: ScrollArea: Prevent a possible crash.

[GB.NET.SMTP]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-02 21:38:50 +00:00
Benoît Minisini
35834a61ce [GB.FORM]
* NEW: TabPanel: Use text shadow for highlighting tab captions.

[GB.GUI.BASE]
* NEW: Default text shadow radius is now proportional to the font height.


git-svn-id: svn://localhost/gambas/trunk@6514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-28 12:49:07 +00:00
Benoît Minisini
87377fdb56 [DEVELOPMENT ENVIRONMENT]
* NEW: The default shortcut for deleting is the DELETE key alone again.
* NEW: When renaming an item in the project treeview, the file extension 
  is not selected.
* BUG: Activating the form editor property sheet now disable the form 
  editor poup menu. Consequently, the delete shortcut is not triggered
  unexpectedly anymore.

[GB.GUI.BASE]
* BUG: TreeView: A column resize does not automatically cancel the current 
  renaming.


git-svn-id: svn://localhost/gambas/trunk@6513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-27 21:44:36 +00:00
Benoît Minisini
065e2c48b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Clicking on the paste button correctly set the focus back to the 
  editor.

[WEBSITE MAKER]
* BUG: Fix pages not located in the wiki.

[EXAMPLES]
* BUG: PhotoTouch: Fix the example.

[COMPILER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.

[INTERPRETER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.
* BUG: Displaying a Result object in the debugger does not crash anymore.
* NEW: The GB.Realloc() API now calls GB.Alloc() if the pointer to 
  reallocate is null.

[GB.FORM]
* NEW: DateChooser: Make the time font size a little bit smaller.


git-svn-id: svn://localhost/gambas/trunk@6512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-26 21:52:42 +00:00
Benoît Minisini
2f871f3a02 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a typo in an offline help message.
* NEW: The option dialog was reorganized so that user identity information 
  has itw own panel.
* NEW: The user identity is now written inside translation files.

[COMPILER]
* NEW: Write meaningful information in generated translation files.

[GB.FORM]
* BUG: Wizard: Fix the layout of wizard step titles.
* NEW: Add a new icon named 'identity'.

[GB.FORM.STOCK]
* NEW: Add a new icon named 'identity'.

[GB.WEB]
* BUG: The deprecated URL.Encode() and URL.Decode() functions now correctly 
  call URL.Quote() and URL.Unquote().


git-svn-id: svn://localhost/gambas/trunk@6503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 00:27:31 +00:00
Willy Raets
7b6b6c4f06 [GB.NET.POP3]
* NEW: Dutch translations corrected and updated
[GB.REPORT]
* NEW: Dutch translations corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 22:48:49 +00:00
Willy Raets
faa9fc72e1 [GB.ARGS]
* NEW: Dutch translations corrected and updated
[GB.DB.FORM]
* NEW: Dutch translations corrected and updated
[GB.FORM]
* NEW: Dutch translations corrected and updated
[GB.FORM.DIALOG]
* NEW: Dutch translations corrected and updated
[GB.FORM.MDI]
* NEW: Dutch translations corrected and updated
[GB.NET.POP3]
* NEW: Dutch translations corrected and updated
[GB.REPORT]
* NEW: Dutch translations corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 22:46:31 +00:00
Benoît Minisini
af991b1e8d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix ArchLinux package creation when a vendor prefix is used.
* BUG: Fix Slackware package creation too.
* NEW: Use SHIFT+DEL as project file remove shortcut.

[OLD WIKI CGI SCRIPT]
* NEW: Add a deprecation message in all wiki pages.

[GB.FORM]
* BUG: Balloon: Don't save the balloon image in the home directory anymore.
  This was for debugging purpose.
* NEW: TableView editor background is used by its container now.

[GB.FORM.MDI]
* NEW: Shortcut editor: Use the standard background for the shortcut 
  TableView editor.


git-svn-id: svn://localhost/gambas/trunk@6487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 15:14:25 +00:00
Benoît Minisini
fe8cbc3d0b [GB.FORM]
* BUG: FileProperties: Try again to really prevent it from crashing when 
  no mimetype is available.


git-svn-id: svn://localhost/gambas/trunk@6484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 13:26:48 +00:00
Benoît Minisini
fdb7b01003 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message when downloading the documentation.
* BUG: Fix the layout of the new project dialog.
* BUG: The component description file is now correctly updated when the 
  project properties change.
* BUG: Create an initial component description file when needed.

[GB.FORM]
* BUG: FileProperties: Do not crash if file mime type is not available.


git-svn-id: svn://localhost/gambas/trunk@6483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 13:08:22 +00:00
Benoît Minisini
db2cb04d55 [DEVELOPMENT ENVIRONMENT]
* BUG: Use System.Exist() to check that 'wget' is installed before trying 
  to download the documentation.

[INTERPRETER]
* NEW: System.Exist() is a new method that returns if a specific program 
  can be found in the PATH environment variable.
* NEW: System.Find() is a new method that returns the absolute path of a 
  specific program according to the PATH environment variable.

[GB.GUI.BASE]
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() default radius 
  is now Desktop.Scale divided by three.
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now take a new
  default argument to define the shadow opacity. The default value is 50%.


git-svn-id: svn://localhost/gambas/trunk@6479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 20:05:43 +00:00
Benoît Minisini
3067da6c5d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Menu.Radio property.

[GB.DB]
* BUG: Add an explicit warning message when a connection password must be 
  retrieved and the 'gb.desktop' component is not loaded.

[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.


git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:28:41 +00:00
Benoît Minisini
7f5f591f89 [DEVELOPMENT ENVIRONMENT]
* NEW: Recent file list is now stored in the following file:
  '~/.local/config/gambas3/gambas3.recent.conf'
* BUG: Fix the CC mail address of the crash report.

[WIKI CGI SCRIPT]
* BUG: Correctly read information files of components having a class 
  defined both in the C/C++ part and in the Gambas part.

[GB.FORM]
* BUG: Fix the balloon drawing routine. It should never be transparent 
  anymore.

[GB.GTK]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.

[GB.GTK3]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.


git-svn-id: svn://localhost/gambas/trunk@6474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 14:35:56 +00:00
Fabien Bodard
0e5b7bc2d8 [GB.REPORT]
* NEW: Negative numbers are allowed on string size properties. It allow to use
  negative value on XOffset or YOffset for shadows.
  
* BUG: Resolve the bug on clear (Even if i don't remember for what i've done this property)




git-svn-id: svn://localhost/gambas/trunk@6473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 08:18:26 +00:00
Benoît Minisini
6deb7f5ce6 [GB.DB.FORM]
* BUG: DataControl and DataView now automatically disable editing if their 
  DataSource is read-only.
* BUG: Fix a possible infinite recursion when updating the current record 
  and refreshing controls.
* BUG: DataView: The current row now should be correctly selected in all 
  situations.

[GB.GUI.BASE]
* BUG: GridView: Changing the Mode property now correctly refreshes the 
  control.


git-svn-id: svn://localhost/gambas/trunk@6467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-12 00:27:18 +00:00
Benoît Minisini
37fc199475 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in the new procedure list.
* NEW: Add the executable size in the project statistics.

[GB.FORM]
* NEW: Bookmark editor: Now you can edit the name of the bookmark by just 
  clicking inside the table.

[GB.GUI.BASE]
* NEW: The height argument of Paint.TrimText() and Paint.TrimRichText() is 
  now optional. It takes the font height if omitted.
* BUG: ScrollArea does not override the current clipping anymore. It fixed
  the TableView edit cell drawing artifacts with GTK+2. In other words,
  never assign Draw.ClipRect while drawing with GTK+2!
* NEW: ScrollArea border is now a plain border, and not a sunken one 
  anymore. I find it nicer.

[GB.GTK]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.

[GB.GTK3]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.
* BUG: Borderless TextBox has now always a flat background, whatever the 
  widget style.


git-svn-id: svn://localhost/gambas/trunk@6466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-11 14:19:14 +00:00
Benoît Minisini
c798adc484 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project list filter when hitting RETURN.
* NEW: The project list filter now searches in the project description too.

[GB.FORM]
* BUG: Be more robust when scanning icon theme inheritance.
* BUG: Use the same color between hidden files in FileView and
  hidden directories in DirView.


git-svn-id: svn://localhost/gambas/trunk@6465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-10 17:21:26 +00:00
Benoît Minisini
3b32652f00 [GB.DB.FORM]
* NEW: DataSource: Raise a new BeforeDelete event just before trying to 
  delete a record. Cancel that event to cancel the deletion.
* BUG: DataView: The new record mark is correctly managed now.

[GB.GUI.BASE]
* BUG: GridView: correctly reset the row titles when the row count changes.
* NEW: Make row header a little bit larger by default.


git-svn-id: svn://localhost/gambas/trunk@6463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 15:21:08 +00:00
Benoît Minisini
ebaf84261d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix background color of code editor tooltip messages.

[GB.FORM]
* NEW: MenuButton now uses the new DrawingArea Font event.
* BUG: Fix FileChoose/DirChooser directory buttons layout.

[GB.GUI.BASE]
* NEW: Paint.TrimRichText() is a new method that trims some rich text to a
  specific size, adding ellipsis if needed.
* NEW: Use smaller arrows in TreeView and GridView headers.
* BUG: TreeView now should keep the selection correctly while an item is
  expanded or collapsed.

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

[GB.GTK3]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Style.PaintArrow() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@6462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 13:54:42 +00:00
Benoît Minisini
7e0011226b [INTERPRETER]
* NEW: System.Log() is a new method that send a message to the system log.
  Useful if you write a daemon.

[GB.FORM]
* NEW: New design of FileChooser and DirChooser.

[GB.GUI.BASE]
* BUG: Fix the automatic scrolling behaviour of GridView and all its 
  children classes.
* BUG: Fix new ligheter selection color of IconView.
* BUG: Fix automatic scrolling of newly expanded item in TreeView and 
  ColumnView.

[GB.GTK]
* BUG: Fix Style.ForegroundOf() method.

[GB.GTK3]
* BUG: Fix Style.BackgroundOf() method.

[GB.QT4]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Controls now take the alpha component of foreground and background 
  colors into account.


git-svn-id: svn://localhost/gambas/trunk@6461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 06:59:03 +00:00
Benoît Minisini
d67d170b61 [DEVELOPMENT ENVIRONMENT]
* BUG: Convert to uppercase or lowercase now works as expected in the code 
  editor.
* BUG: Fix the offline 'To Do' and 'Last Changes' page.

[INTERPRETER]
* NEW: Add GB_DECLARE_STATIC() macro to declare native classes, and use it 
  in many class declarations.

[GB.FORM]
* NEW: Add an history in the FileChooser and DirChooser controls.
* NEW: Add a 'link' stock icon.

[GB.GUI.BASE]
* BUG: IconView: Fix mouse handling during rubberband selection.
* NEW: IconView: Use a lighter selection colour.
* BUG: ScrollArea: Shadows are now correctly drawn whatever is done during 
  the Draw event it raises.


git-svn-id: svn://localhost/gambas/trunk@6458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-07 21:21:14 +00:00
Benoît Minisini
57ef95d9e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize ProjectChooser control.

[GB.FORM]
* NEW: DirView.HideRoot is a new property that hides the root row of the 
  DirView.
* NEW: Some design changes in the FileChooser and DirChooser controls.

[GB.GUI.BASE]
* BUG: IconView rubberband is now only active if the left moust button is 
  pressed.


git-svn-id: svn://localhost/gambas/trunk@6453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 13:19:12 +00:00
Benoît Minisini
7962dad8e5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new WebSettings.Cache.Clear() method.
* BUG: Fix project lists layout when they are filtered.

[WIKI CGI SCRIPT]
* BUG: Workaround the thttpd cgi interface bug.

[INTERPRETER]
* NEW: A new API for browsing a directory recursively.
* NEW: Js$() is a new function that quotes javascript strings.

[GB.FORM]
* BUG: ColorChooser: Don't memorize custom colors spuriously.

[GB.GUI.BASE]
* BUG: GridView: Don't take hidden columns into account when layouting 
  expanded columns.


git-svn-id: svn://localhost/gambas/trunk@6447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 14:33:18 +00:00
Benoît Minisini
eeddb4a9e7 [GB.WEB]
* BUG: Workaround a thttpd bug that does not set the SCRIPT_NAME correctly 
  when the URL ends with a slash.


git-svn-id: svn://localhost/gambas/trunk@6441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-01 21:46:24 +00:00
Benoît Minisini
4c264fad52 [GB.GUI.BASE]
* BUG: Correctly draw GridView headers, especially when right alignment is 
  used.


git-svn-id: svn://localhost/gambas/trunk@6434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 09:44:53 +00:00
Benoît Minisini
ec396db53d [GB.GUI.BASE]
* BUG: Fix Paint.DrawRichTextShadow().
* BUG: GridView: Automatic scroll now should work as expected.
* BUG: ListBox: Selection is correctly drawn in multiple selection mode.


git-svn-id: svn://localhost/gambas/trunk@6433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 00:41:56 +00:00
Benoît Minisini
63cba1003e [DEVELOPMENT ENVIRONMENT]
* NEW: Use text shadow to draw project titles.

[GB.GUI.AREA]
* BUG: IconView: Clicking inside the selection now keeps it unchanged.
* BUG: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now work as 
  expected in all cases.

[GB.DRAW]
* BUG: Setting Paint.Background now resets Paint.Brush to NULL.


git-svn-id: svn://localhost/gambas/trunk@6432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 00:16:06 +00:00
Benoît Minisini
07a4e58a86 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.media.form' to the list of components.
* NEW: Support for the new GridView.Padding property.
* NEW: Change the way GridView and TableView are represented in the form 
  editor.

[GB.GUI.BASE]
* NEW: GridView.Padding is a new property that defines the default cell 
  padding. Its default value is 2 pixels.
* NEW: Paint.DrawTextShadow() is a new method that draws the shadow of a 
  text. Note that you must call Paint.DrawText() to draw the real text 
  below the shadow.
* NEW: Paint.DrawRichTextShadow() is a new method that draws the shadow of 
  a piece of rich text. Note that you must call Paint.DrawRichText() to 
  draw the real text below the shadow.

[GB.IMAGE]
* NEW: Allows a component that supports the Image class to have a 
  premultiplied default image format. Beware that some images methods do 
  not support premultiplied formats yet.
* NEW: Color.Transparent now is &HFF000000& and not &HFFFFFFFF anymore.

[GB.QT4]
* NEW: Use a premultiplied RGBA default format for images. 


git-svn-id: svn://localhost/gambas/trunk@6428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 10:46:10 +00:00
Benoît Minisini
e5e9e513ed [DEVELOPMENT ENVIRONMENT]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.
* NEW: Use the new Paint.TrimText() method.

[INFORMER]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.

[GB.GUI.BASE]
* NEW: Paint.TrimText() is a new API that trim a text according to a 
  specified rectangle, adding an ellipsis character at the end if needed.

[GB.NET.SMTP]
* BUG: Fix a circular reference when using a normal SMTP TCP session.

[GB.QT4]
* OPT: A little optimization when drawing rich text.


git-svn-id: svn://localhost/gambas/trunk@6427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-24 22:38:58 +00:00
Benoît Minisini
2e1e13e036 [GB.GUI.BASE]
* BUG: TreeView, ColumnView and ListView now correctly manage the selection 
  when items are removed, or when the view is cleared.
* BUG: GridView: Setting the width of a column now should work in all 
  cases.


git-svn-id: svn://localhost/gambas/trunk@6422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 20:07:31 +00:00
Benoît Minisini
3aa9d07edd [GB.FORM]
* BUG: TableView now hides its editor when it is resized.
* BUG: FileChooser: Do not display a spurious error message when saving a 
  file.


git-svn-id: svn://localhost/gambas/trunk@6417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-20 20:45:27 +00:00
Benoît Minisini
1a1f6047e3 [DEVELOPMENT ENVIRONMENT]
* BUG: The offline wiki routines do not override the symbol information on 
  events anymore.
* NEW: New design of recent projects and examples choosers in the welcome
  dialog and the project open dialog.

[GB.FORM]
* NEW: ListContainer has been deprecated. It has design problems.

[GB.NET.SMTP]
* BUG: No circular references anymore when using SSL or TLS.

[GB.QT4]
* OPT: Do not arrange a container while destroying its children.
* BUG: Style.PaintBox now works correctly with QtCurve.
* BUG: Style.PaintBox now works better with QGtk.


git-svn-id: svn://localhost/gambas/trunk@6414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 22:50:08 +00:00
Benoît Minisini
ca0c1db682 [GB.NET.SMTP]
* BUG: Fix test mail.


git-svn-id: svn://localhost/gambas/trunk@6411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 14:08:10 +00:00
Benoît Minisini
278e18a698 [GB.NET.SMTP]
* BUG: Wait for openssl process death after disconnecting from the SMTP 
  server.


git-svn-id: svn://localhost/gambas/trunk@6410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:56:58 +00:00
Benoît Minisini
00ed123d18 [GB.NET.SMTP]
* BUG: Fix the badly overriden class error.


git-svn-id: svn://localhost/gambas/trunk@6409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:08:15 +00:00
Benoît Minisini
73b2d0dd75 [GB.FORM]
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path 
  with an unknown file.

[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player 
  widget with controls.

[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.


git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 01:37:56 +00:00
Benoît Minisini
1c98e81c6e [GB.NET.SMTP]
* BUG: Explicitely load the 'gb.net' component to be backward compatible 
  with the old gb.net.smtp that didn't require it.
* NEW: Fix error messages.
* NEW: Add a 10 seconds timeout to the TCP socket.


git-svn-id: svn://localhost/gambas/trunk@6405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 12:26:39 +00:00
Benoît Minisini
6b89a4fb69 [CONFIGURATION]
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.

[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.

[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
  `class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
  again. I don't remember what prevented that to work, so I want to see.

[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.

[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.

[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the 
  control.

[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.

[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
  new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.

[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE 
  control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 05:35:58 +00:00
Benoît Minisini
55f76b9209 [GB.FORM]
* BUG: Stock.Themes property does not crash anymore if an 'index.theme' 
  file is not readable.


git-svn-id: svn://localhost/gambas/trunk@6395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-22 18:56:52 +00:00
Benoît Minisini
86c06592c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the offline help on component symbols should be displayed 
  correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.

[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line 
  arguments as a string array. Not definitive: it may be removed in the
  future.

[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager. Beware that it has
  no effect at the moment!

[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
  at the moment.
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager.



git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 14:41:54 +00:00
Benoît Minisini
29d06fb0d1 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree view popup menu now has an entry for opening 
  recently closed files.
* NEW: Now comment automatic insertion is triggered only if SHIFT+RETURN 
  is pressed. Not if just RETURN is pressed.

[GB.FORM.MDI]
* NEW: Workspace.Exist() is a new method that tells if a specific window is 
  embedded inside the Workspace.


git-svn-id: svn://localhost/gambas/trunk@6384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 18:51:21 +00:00
Benoît Minisini
d20c313560 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when opening the help browser after the F2 key has been 
  hit.

[INTERPRETER]
* BUG: Fix a crash when running the Application_Error global error handler.

[GB.FORM]
* NEW: DirBox is a new control that allows to choose a directory from a 
  ButtonBox.
* NEW: DirBox, FontBox and DateBox are now put in the "Chooser" tab of the
  IDE control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 17:23:05 +00:00
Benoît Minisini
950a5fefce [DEVELOPMENT ENVIRONMENT]
* NEW: Update translations by using the gambas.wiki project translations.
* NEW: Centralize the help browser in a custom control.
* NEW: Automatic completion and signature help browsers now support the 
  offline documentation.


git-svn-id: svn://localhost/gambas/trunk@6379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 02:43:26 +00:00
Benoît Minisini
010d44402b [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now tries to use the 'ip' command if 
 'ifconfig' is not available.


git-svn-id: svn://localhost/gambas/trunk@6378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 21:31:14 +00:00
Benoît Minisini
3e701eafdb [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now works with another 'ifconfig' output 
  syntax.


git-svn-id: svn://localhost/gambas/trunk@6377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:51:38 +00:00
Benoît Minisini
fa907cb38a [DEVELOPMENT ENVIRONMENT]
* NEW: Initial support for offline documentation!
* BUG: Correctly hide compress & uncompress actions.

[WIKI]
* BUG: Fix a typo.
* NEW: Use the '<%/%>' syntax wherever possible.

[GB.DESKTOP]
* NEW: Desktop.NetworkAvailable is a new property that returns if the 
  network is available. It just use 'ifconfig' to search for a network 
  interface having an IP address different from '127.0.0.1'

[GB.GUI.BASE]
* BUG: If Actoni_Activate() does not return a value as expected, ignore it 
  instead of crashing.

[GB.MARKDOWN]
* NEW: MarkdownLink now has a CheckURL() method to check URL inside <img> 
  and <a> markups.
* NEW: MarkdownLink has a new 'Blank' property. You now have to set this 
  property to TRUE if you want the link to be opened in a new window.


git-svn-id: svn://localhost/gambas/trunk@6374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 17:33:16 +00:00
Fabien Bodard
fe6a711f48 [GB.REPORT]
* BUG: Try to resolve the setting problem in report preview box.
* NEW: Begin shadow implementation, it is partially scaled on css3 one.



git-svn-id: svn://localhost/gambas/trunk@6373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 15:40:52 +00:00
Benoît Minisini
3d38df43bd [GB.SETTINGS]
* BUG: Enumerating `Settings.Keys[Slot]` (the keys of a specific slot) does 
  not break anymore the enumeration of `Settings.Key` (the slot names).


git-svn-id: svn://localhost/gambas/trunk@6365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 15:40:16 +00:00
Benoît Minisini
058bf169c8 [DEVELOPMENT ENVIRONMENT]
* NEW: When adding new project files, now you can insert several existing 
  files in one shot.

[GB.FORM]
* BUG: FileChooser: Multiple file selection works correctly again.


git-svn-id: svn://localhost/gambas/trunk@6364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 12:36:24 +00:00
Benoît Minisini
7992fbab91 [WIKI]
* NEW: Use explicit black on white colors.

[GB.GUI.BASE]
* BUG: The GridView, TreeView (and all its cousins) background correctly
  reacts to system color theme changes.

[GB.QT4.WEBKIT]
* NEW: WebView: Try to interpret the control background and foreground 
  colors as default web page colors.


git-svn-id: svn://localhost/gambas/trunk@6363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 02:38:46 +00:00
Benoît Minisini
fb088ab291 [DEVELOPMENT ENVIRONMENT]
* BUG: The close menu now works for all editors in single file mode.

[GB.FORM.MDI]
* BUG: Workspace: Fix the new Remove() method and the old Add() method.


git-svn-id: svn://localhost/gambas/trunk@6362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 00:07:52 +00:00
Benoît Minisini
fee4e6cbaf [GB.FORM.MDI]
* NEW: Workspace.Remove() is a new method for removing a window from the 
  workspace.
* NEW: Workspace.Add() automatically calls Workspace.Remove() to remove the 
  window from its previous workspace if needed.
* NEW: Workspace now raises the Attach and Detach events when a window is
  respectively attached or detached.


git-svn-id: svn://localhost/gambas/trunk@6361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-04 13:04:25 +00:00
Benoît Minisini
949dcbd6aa [GB.FORM]
* NEW: The FileChooser Change event is now raised when the file is 
  unselected.


git-svn-id: svn://localhost/gambas/trunk@6360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-04 12:46:30 +00:00
Benoît Minisini
433b9fa9ac [GB.DESKTOP]
* NEW: Automatically load the 'gb.desktop.x11' component the first time the
  Desktop class is used, to be backward-compatible.


git-svn-id: svn://localhost/gambas/trunk@6357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-01 17:37:04 +00:00
Willy Raets
c534102932 [DOC.CGI]
* NEW: Dutch translations updated

[GB.WIKI]
* NEW: Dutch translations updated

[GB.FORM]
* NEW: Dutch translations updated

[GB.FORM.MDI]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@6348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-29 19:23:00 +00:00
Benoît Minisini
cd3fd2c98d [GB.FORM]
* BUG: SwitchButton: Do not react to mouse events when disabled.


git-svn-id: svn://localhost/gambas/trunk@6345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-27 00:43:16 +00:00
Benoît Minisini
dc5875f9d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when highlighting source code positions in the 
  output window.
* BUG: Hitting ENTER key in the project tree filter now works correctly, 
  and open the first matching file if none is selected.

[GB.DESKTOP]
* BUG: Requires gb.desktop.x11 explicitely now.

[GB.GTK]
* BUG: System tray icons deletion is delayed now. It prevents spurious GTK+
  warnings that appear if you hide an icon during inside an event handler.

[GB.IMAGE]
* BUG: Rewrite the ImageStat class source code because the PHP licence is 
  not compatible with the GPL.

[GB.QT4]
* BUG: System tray icons deletion is delayed now, to avoid a crash if you
  hide an icon during inside an event handler.


git-svn-id: svn://localhost/gambas/trunk@6344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-26 20:00:13 +00:00
Benoît Minisini
1481162a4f [GB.FORM]
* NEW: FileChooser: Typing a file name automatically selects it.
* BUG: DirView does not raise its Click event twice anymore.
* NEW: FileView: Selection property is now writable.
* BUG: FileView: Delayed refresh is now forced when needed.

[GB.JIT]
* NEW: A little cosmetic change in the autoconf message about LLVM version 
  checking.


git-svn-id: svn://localhost/gambas/trunk@6340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-23 00:15:12 +00:00
Benoît Minisini
76195761c9 [GB.GTK]
* BUG: The Foreground property of RadioButton and CheckBox now works correctly.

[GB.GTK3]
* BUG: Get rid of some warnings.

[GB.WEB]
* BUG: URL.UnsetQuery() now works correctly on void request queries.


git-svn-id: svn://localhost/gambas/trunk@6333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-22 14:05:27 +00:00
Benoît Minisini
53f66734b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for choosing LinkForeground and VisitedForeground system 
  colors.
* NEW: An option to toggle the display of current file name in the IDE 
  window title.

[GB.GTK]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.

[GB.GTK3]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.
* BUG: Get rid of some warnings.

[GB.QT4]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links.


git-svn-id: svn://localhost/gambas/trunk@6331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-20 13:44:08 +00:00
Benoît Minisini
4fed42ea7e [DEVELOPMENT ENVIRONMENT]
* BUG: Catch erros again when loading a profile file fails.
* BUG: Single-file mode: The file top-level menu works correctly now.
* NEW: Single-file mode: Closing the last tab automatically quits.
* NEW: Single-file mode: Closing a tab directly closes the file, and warns
  the user if the file has been modified.

[GB.FORM]
* BUG: TabPanel: Moving a tab when one of them has been detached does not
  lead to a stack overflow anymore.

[GB.FORM.MDI]
* NEW: Workspace: Closing a tab now raises the Close event, with the 
  closing window as argument. Stopping that event cancels the close.


git-svn-id: svn://localhost/gambas/trunk@6328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-18 14:25:38 +00:00
Benoît Minisini
bdf175aee1 [GB.FORM]
* BUG: TableView.Clear now hides the current edited cell.


git-svn-id: svn://localhost/gambas/trunk@6327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-18 00:39:36 +00:00
Benoît Minisini
74a4817501 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix GUI for single-file mode.
* NEW: Normalize the IDE window title.

[GB.FORM.MDI]
* NEW: Workspace.Count is a new property that returns the number of 
  windows embedded in the workspace.
* BUG: Workspace: Popup menu now correctly displays the title of windows 
  having a RichText property. Note that this is not officially documented.


git-svn-id: svn://localhost/gambas/trunk@6325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-17 21:37:46 +00:00
Benoît Minisini
38e6cb900d [GB.FORM]
* BUG: FileView & DirView: Symbolic link to directories are now followed 
  like before.


git-svn-id: svn://localhost/gambas/trunk@6316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 23:03:35 +00:00
Benoît Minisini
b8f182841f [GB.SETTINGS]
* BUG: Automatic saving of settings file at exit works again.


git-svn-id: svn://localhost/gambas/trunk@6314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 07:27:02 +00:00
Benoît Minisini
a498bb8664 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new ColorChooser.ShowCustom property.

[GB.FORM]
* NEW: ColorChooser.ShowCustom is a new property that allows the color 
  chooser to remember the last chosen colors.

[GB.SETTINGS]
* BUG: Always mark the settings as modified if an object reference is set
  as settings value.


git-svn-id: svn://localhost/gambas/trunk@6312 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 22:51:11 +00:00
Benoît Minisini
ecce638c01 [GB.GUI.BASE]
* BUG: Correctly clip GridView column and row headers again.


git-svn-id: svn://localhost/gambas/trunk@6311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 15:40:20 +00:00
Benoît Minisini
db7eb2282c [GB.FORM.MDI]
* BUG: Workspace: Fix the behaviour when some tabs are detached.


git-svn-id: svn://localhost/gambas/trunk@6310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 13:08:12 +00:00
Benoît Minisini
5155796342 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the custom browser support.
* NEW: Add Chromimum to the list of browsers.

[INTERPRETER]
* NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they
  have raised an error. FALSE is everything was ok.

[GB.FORM.MDI]
* NEW: Redesign the shortcuts configuration dialog.
* NEW: Shortcuts now can be exported and imported.

[GB.GTK]
* BUG: DrawingArea: Clipping is correctly established now before raising
  the Draw event.
* BUG: Keyboard events have been fixed. Key array accessor and Key.Code now
  behave the same way as in gb.qt4.
* BUG: The Key.Meta property works correctly now.
* BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround
  for that new weird behaviour.
* BUG: Automatic window minimum size now works correctly.
* BUG: Windows can take focus as in gb.qt4.

[GB.GUI.BASE]
* BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw 
  event. Otherwise you get drawing artifacts with gb.gtk.
* BUG: GridView: Setting the column width to -1 is taken into account by 
  the layout routine.


git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-08 11:54:07 +00:00
Benoît Minisini
2d784e0305 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove Firebird from the database drivers list.

[GB.FORM.MDI]
* NEW: The Workspace popup menu has been redesigned.
* NEW: A menu entry to close all tabs.
* NEW: A menu entry to close tabs to the right.

[GB.GTK]
* BUG: Invisible startup forms are not opened at startup anymore.

[GB.NET.POP3]
* NEW: Pop3Client.Open() now raises an error if authentication fails, and
  correctly aborts the connection.

[GB.QT4.EXT]
* BUG: Editor: Delete at the end of line and backspace at the beginning of
  line now work as expected when override mode is enabled.
* NEW: CTRL+D now deletes the current line or selection.


git-svn-id: svn://localhost/gambas/trunk@6304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-07 01:24:05 +00:00
Benoît Minisini
90e7f54bcd [DEVELOPMENT ENVIRONMENT]
* NEW: Shrink the welcome window a bit if the window is too small.

[EXAMPLES]
* NEW: SystemTray is a new example that shows how to use the system tray 
  support of the gb.desktop.x11 component.

[GB.DESKTOP.X11]
* BUG: A lot of clean up in the system tray support.
* NEW: X11SystrayIcon.Handle is a new property that returns the X11 window 
  id of a systray icon.

[GB.GUI.BASE]
* BUG: Draw: Use Paint.LineJoinRound by default.

[GB.QT4]
* NEW: TrayIcon: Provide the icon size to the system tray.

[GB.GTK]
* NEW: TrayIcon: Try to provide the icon size to the system tray, but it is
  apparently overriden by the GTK+ library with the default small size.


git-svn-id: svn://localhost/gambas/trunk@6301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-03 21:02:01 +00:00
Benoît Minisini
54606f9072 [GB.GUI.BASE]
* BUG: Fix Draw class drawing accuracy.


git-svn-id: svn://localhost/gambas/trunk@6298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-01 10:21:59 +00:00
Benoît Minisini
90891f2cd6 [GB.FORM]
* BUG: Update directory cache just before locking it, so that its contents 
  is valid during the lock.
* NEW: FileChooser: Uncompressing a file automatically selects the 
  uncompressed directory if appropriate.


git-svn-id: svn://localhost/gambas/trunk@6297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-31 20:16:40 +00:00
Benoît Minisini
dc8b1aeaf3 [WIKI]
* NEW: Allows last changes to be displayed for everyone.
* NEW: Display last changes as a table with links.

[GB.FORM]
* BUG: Draw.Line() correctly takes into account the LineStyle property in
  all cases now.
* BUG: Fix the dash patterns used for implementing the Draw.LineStyle 
  property.


git-svn-id: svn://localhost/gambas/trunk@6296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-31 19:47:06 +00:00
Benoît Minisini
de770c86b6 [GB.WEB]
* BUG: Make Session._exit() error prone.


git-svn-id: svn://localhost/gambas/trunk@6294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-30 12:22:18 +00:00
Benoît Minisini
fba9826d6e [INTERPRETER]
* NEW: Raising an error during the program exiting is possible now.
* NEW: Raise an error if an _exit method loads a new class. This is now 
  forbidden!

[GB.SETTINGS]
* OPT: Settings.Clear() does not mark the settings file to be saved if
  there is nothing to clear.


git-svn-id: svn://localhost/gambas/trunk@6293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-30 01:25:46 +00:00
Benoît Minisini
50870e93cb [DEVELOPMENT ENVIRONMENT]
* BUG: Making executable works again.

[INTERPRETER]
* BUG: Don't use vfork() if a process has a custom environment, use a 
  terminal or is run through a shell.

[GB.FORM]
* BUG: ValueBox.ReadOnly works as expected now.



git-svn-id: svn://localhost/gambas/trunk@6292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-29 16:01:16 +00:00
Benoît Minisini
bdbf3ac7d5 [INTERPRETER]
* OPT: Define the TZ environment variable at startup if it not defined to
  prevent the glibc to stat the '/etc/localtime' file again and again.
* OPT: Cache the last value of System.TimeZone during at most 10 minutes.

[GB.FORM]
* OPT: Implement a directory cache to minimize the number of calls to the
  Stat() function.

[GB.SETTINGS]
* BUG: Do not mark the settings file as modified if the stored value is not
  really changed.


git-svn-id: svn://localhost/gambas/trunk@6290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-26 23:03:06 +00:00
Benoît Minisini
e1d3f1294e [DEVELOPMENT ENVIRONMENT]
* BUG: Make the IDE depends explicitely on gb.desktop.x11


git-svn-id: svn://localhost/gambas/trunk@6286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 11:59:50 +00:00
Benoît Minisini
7abbd5e799 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't check conflict on project configuration file if that files 
  does not exist.

[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.

[INFORMER]
* BUG: Remove unneeded parenthesis on a test.

[GB.CLIPPER]
* BUG: Remove an unused variable.

[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.

[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it 
  behaves exactly like a TextBox.

[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach 
  current tab" menu entry is disabled when needed.

[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the 
  documentation.


git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 11:52:04 +00:00
Benoît Minisini
ff0b3750dc [GB.FORM.MDI]
* NEW: Workspace: Windows now can be detached and attached back.


git-svn-id: svn://localhost/gambas/trunk@6279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 14:06:02 +00:00
Benoît Minisini
3253cf2ced [GB.DESKTOP]
* NEW: Update with the new gb.desktop.x11 syntax.

[GB.DESKTOP.X11]
* NEW: X11.SetProperty and X11.GetProperty window argument is now first, 
  and is not optional anymore. You have to specify X11.RootWindow 
  explicitely.
* NEW: The global X11 event handler 'Desktop_Change' is now named 
  'X11_PropertyNotify'.
* NEW: The global X11 event handler 'Desktop_Window' is now named 
  'X11_ConfigureNotify'.

[GB.QT4]
* NEW: The Frame container now has all arrangement properties.

[GB.GTK]
* NEW: The Frame container now has all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@6269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 23:43:36 +00:00
Benoît Minisini
eb9e30e1ac [GB.DESKTOP]
* NEW: 'gb.desktop' is now a pure Gambas component that relies on 
  'gb.desktop.x11' and 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.X11]
* NEW: This new component offers a bunch of helper functions that allows to
  deal with the low-level X11 library.

[GB.DESKTOP.GNOME]
* NEW: This component has been renamed as 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.GNOME.KEYRING]
* NEW: This component was named 'gb.desktop.gnome' before. It allows to 
  store and retrieve passwords from the GNOME 2 keyring.

[GB.FORM]
* OPT: A little optimization in the DirChooser control.


git-svn-id: svn://localhost/gambas/trunk@6260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-12 23:38:46 +00:00
Benoît Minisini
59f2816c45 [GB.GUI.BASE]
* NEW: TreeView and ColumnView item got a new Reparent() method that allows 
  to move an item and all its children from one parent to another parent.


git-svn-id: svn://localhost/gambas/trunk@6250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-26 14:31:36 +00:00
Benoît Minisini
65158cb4e6 [CONFIGURATION]
* NEW: The GB_FIND macro now searches files one directory deeper.

[DEVELOPMENT ENVIRONMENT]
* BUG: Reset correctly the Application.Busy property after a program has 
  crashed.

[WEBSITE]
* NEW: Update for 3.5.3.

[GB.DB.FORM]
* NEW: Raise the maximum size of a DataView text column to 65536 characters 
  instead of 1024.

[GB.JIT]
* BUG: Explicitely search for the 'llvm-c/Core.h' include file.


git-svn-id: svn://localhost/gambas/trunk@6246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-23 22:31:28 +00:00
Benoît Minisini
9995913a2f [GB.FORM]
* NEW: TabPanel.Moveable is a new property that makes tab button moveable 
  if set.

[GB.FORM.MDI]
* NEW: Workspace tab buttons are now moveable.


git-svn-id: svn://localhost/gambas/trunk@6239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-08 22:59:21 +00:00
Benoît Minisini
8e13fc76ea [GB.GUI.BASE]
* BUG: If the Layout property of HSplit or VSplit controls does not receive 
  one size for each child control, then child controls without size are 
  hidden (i.e. their size is assumed to be zero).


git-svn-id: svn://localhost/gambas/trunk@6232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-06 14:27:19 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
17229584f7 [GB.FORM]
* BUG: Balloon: Fix position on desktop having top and/or left panels.
* BUG: Balloon: Use Tooltip.Foreground color as expected.
* BUG: Balloon: Fix arrow drawing.


git-svn-id: svn://localhost/gambas/trunk@6226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 15:30:25 +00:00
Benoît Minisini
ea30c3ba1b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a echo button in the output console, that echoes the entered 
  command.

[WIKI]
* NEW: Add a HTTP server requests graph.

[INTERPRETER]
* BUG: The debugger does not change the Key property of collections when
  displaying them.
* NEW: Collection.Key is writable now.

[GB.FORM]
* NEW: FontChooser: Always reset sample text at first use.
* BUG: FontChooser: Fix the behaviour when size changes.


git-svn-id: svn://localhost/gambas/trunk@6222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 00:28:41 +00:00
Benoît Minisini
ac49913592 [GB.MARKDOWN]
* BUG: Forbid the use of <iframe> markup.


git-svn-id: svn://localhost/gambas/trunk@6221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-01 02:25:22 +00:00
Benoît Minisini
91fd576e30 [GB.MARKDOWN]
* BUG: Forbid the use of <script> markup.


git-svn-id: svn://localhost/gambas/trunk@6220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-01 02:08:58 +00:00
Benoît Minisini
68da9ade04 [GB.FORM]
* NEW: Expander.Border is a new property that defines if the Expander must 
  display a border around its contents.


git-svn-id: svn://localhost/gambas/trunk@6217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-31 00:46:22 +00:00
Benoît Minisini
78440de68d [DEVELOPMENT ENVIRONMENT]
* NEW: Add an "add everything to repository" menu entry.
* BUG: The user font config file is "~/config/fonts.conf", not 
  "~/config/.fonts.conf".

[GB.FORM]
* NEW: The Balloon background color is now the system tooltip background 
  color.

[GB.GTK]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.

[GB.OPENGL]
* BUG: Fix the missing "gl" prefix on two OepnGL calls.

[GB.QT4]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.



git-svn-id: svn://localhost/gambas/trunk@6209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 18:21:56 +00:00
Benoît Minisini
29883d6239 [GB.WEB]
* BUG: JSON.Decode() now convert numbers to Integer, Long and Float. Not 
  just Float.
* NEW: Session.Keys is a new property that returns all keys used by the 
  Session collection.


git-svn-id: svn://localhost/gambas/trunk@6208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 16:30:54 +00:00
Benoît Minisini
f3438a8da9 [WEBSITE]
* NEW: Use the new wiki now.

[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.

[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.

[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the 
  'OUTPUT TO' instruction).

[GB.FORM]
* NEW: Some new icons.

[GB.FORM.STOCK]
* BUG: Fix all missing icons.

[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.

[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.

[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.

[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and 
  returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and 
  being older than 24 hours are automatically removed from disk.


git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:25:48 +00:00
Benoît Minisini
a87b561dd7 [GB.MARKDOWN]
* BUG: Void lines inside lists are correctly interpreted now.
* NEW: Don't raise an exception if there is a syntax error, but prints the
  error inside the generated HTML instead.


git-svn-id: svn://localhost/gambas/trunk@6196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-11 03:39:05 +00:00
Benoît Minisini
2dc2c9e6b6 [GB.FORM]
* BUG: ButtonBox: Setting the ReadOnly property to TRUE must not disable 
  the button!


git-svn-id: svn://localhost/gambas/trunk@6193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-05 15:22:25 +00:00
Fabien Bodard
834560dc5b [GB.REPORT]
* BUG: Remove bug on setting


git-svn-id: svn://localhost/gambas/trunk@6188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-25 16:00:24 +00:00
Fabien Bodard
959e775ef7 [GB.REPORT]
* NEW: The report Preview form now save it's preferences.


git-svn-id: svn://localhost/gambas/trunk@6187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-25 15:00:14 +00:00
Fabien Bodard
16c4eb96a8 [GB.REPORT]
* BUG: ReportVBox is fully rewritten (some bugs will follow
  be carefull)


git-svn-id: svn://localhost/gambas/trunk@6182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 15:08:57 +00:00
Fabien Bodard
2c2077a50f [GB.REPORT]
* NEW: Now report have a new default event _Open that allow
  to initialize all the report data and structure.
* NEW: Begin to implement the ReportGridView Widget
* OPT: some cleanning in the code arrangement.


git-svn-id: svn://localhost/gambas/trunk@6178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-23 11:01:47 +00:00
Benoît Minisini
9c15e92a17 [WIKI]
* NEW: Add translations from the old wiki.
* BUG: Fix error table css.
* BUG: Add some space between columns in symbol table.
* BUG: Fix class automatic description.
* BUG: Some fixes in old wiki conversion.

[GB.MARKDOWN]
* NEW: To print a single backquote between two backquotes, write it twice.


git-svn-id: svn://localhost/gambas/trunk@6177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 23:19:28 +00:00
Benoît Minisini
38bfca59c9 [GB.MARKDOWN]
* BUG: Fix markup mismatch detection again. Now markup mismatch does not 
  raise an error anymore. It prints it inside the page.


git-svn-id: svn://localhost/gambas/trunk@6174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 01:23:18 +00:00
Benoît Minisini
88762a4e47 [GB.MARKDOWN]
* BUG: Fix markup mismatch detection again.


git-svn-id: svn://localhost/gambas/trunk@6173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:50:35 +00:00
Benoît Minisini
83d7271afc [GB.MARKDOWN]
* BUG: Fix markup mismatch detection.


git-svn-id: svn://localhost/gambas/trunk@6172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:42:03 +00:00
Benoît Minisini
c802ae2ba8 [WIKI]
* BUG: Fix the special methods syntax.
* BUG: Fix the class symbols table.

[GB.MARKDOWN]
* NEW: <img>, <br> and <hr> markups don't need to be closed anymore.


git-svn-id: svn://localhost/gambas/trunk@6171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:33:46 +00:00
Benoît Minisini
960ddb4c14 [WIKI]
* NEW: Some cosmetic fixes.
* NEW: Implement the read-only view mode.
* BUG: Correctly handle current language in links.

[GB.MARKDOWN]
* NEW: The [[ ... ]] syntax now uses the "table" class by default for the 
  <table> markup.


git-svn-id: svn://localhost/gambas/trunk@6170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-21 23:33:07 +00:00
Benoît Minisini
5caf76d001 [WIKI]
* BUG: Tuning of the old wiki conversion.
* NEW: Change the wiki structure. The Gambas information files and 
  component files are put in the 'info' sub-directory.

[EXAMPLES]
* NEW: LCDLabel: New example.

[GB.FORM]
* BUG: ButtonBox button is correctly disabled when the Enabled property is 
  cleared.

[GB.MARKDOWN]
* NEW: Two new callbacks : one called when entering a table, one when 
  exiting.


git-svn-id: svn://localhost/gambas/trunk@6169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-21 22:17:25 +00:00
Fabien Bodard
6ded35d4c1 [GB.REPORT]
* OPT: ReportView drawing not use Svgimage, this avoid 
  qt4 svg rendering bugs.


git-svn-id: svn://localhost/gambas/trunk@6168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-20 20:25:46 +00:00
Fabien Bodard
b6916025e1 [GB.REPORT]
* BUG: The report engine have a new scaling routne based
  on the document size and not on the device resolution.
* NEW: ReportLabel now use Angle in degree ... be carfull 
  if you are alread using this property it will affect
* BUG: Remove gb.map use


git-svn-id: svn://localhost/gambas/trunk@6167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-19 21:11:59 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Fabien Bodard
06803f31e1 [GB.REPORT]
BUG: Now Duplex modes are correctly setting in ReportPreview
BUG: ReportFrame set clipping inside the borders



git-svn-id: svn://localhost/gambas/trunk@6152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 17:34:27 +00:00
Fabien Bodard
b1078f7ae8 [GB.REPORT]
* OPT: BE CAREFFULL, Now if ReportObject Width and Height are not
  set, then the ReportObject si autoResized. This will help
  a lot new users to understand the report layout.
* BUG: Some bugs corrected on the reportPreview.
* NEW: Begin to implement a Shadow for ReportFrame Objects.
  It have the same way to work than the CSS3 box shadow.
  XOffset, YOffset, Spread, Color. Actually only the class 
  have been implemented... I need to say to the engine how to use
  it :-)
  


git-svn-id: svn://localhost/gambas/trunk@6148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 14:09:24 +00:00
Benoît Minisini
5a61180b86 [CONFIGURATION]
* NEW: Dutch translation updated in many places.

[DEVELOPMENT ENVIRONMENT]
* NEW: New option to run a program inside a true virtual terminal, but its 
  standard error output is redirected to the IDE console.

[WIKI]
* NEW: New Gambas wiki CGI script. It aims at replacing the current wiki. 
  Currently in development...

[INTERPRETER]
* NEW: A new '-t' hidden command-line argument to support redirecting the
  standard error output to a named pipe.

[GB.IMAGE]
* BUG: Link with the mathematic library as the pow() function is used for
  the image gamma filter.

[GB.MARKDOWN]
* NEW: Markdown.Line is a new property that returns the current line if an 
  error occurs while converting markdown syntax to HTML.
* NEW: Support for custom commands "{@...}".
* NEW: The quote characters has the same effect as the backquote character, 
  except that markdown is allowed inside.

[GB.QT4]
* BUG: Clipboard.Paste() now returns the image when there is both image and 
  text inside the clipboard.



git-svn-id: svn://localhost/gambas/trunk@6146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 16:00:13 +00:00
Benoît Minisini
69b70827b5 [GB.WEB]
* BUG: Fix the JSON.Decode() method signature.
* BUG: JSON.Null is now a read-only property.

git-svn-id: svn://localhost/gambas/trunk@6145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 10:55:26 +00:00
Fabien Bodard
18d2bb3f5f [GB.REPORT]
OPT: Add icons for ReportDrawingArea and ReportViewer widget


git-svn-id: svn://localhost/gambas/trunk@6144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 08:28:35 +00:00
Fabien Bodard
f376a6909c [GB.REPORT]
* BUG: The custom panel is now enabled when report.paper
  is custom.


git-svn-id: svn://localhost/gambas/trunk@6143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 08:05:57 +00:00
Fabien Bodard
0d97cd6716 [GB.REPORT]
* NEW: A new widget ReportDrawingArea allow to draw freely on
  the report page. It have an event draw that provide the size of 
  the drawing (depending on the paint device resolution too.
  Sometime you  can use ReportUnits.DesktopScale ratio to fix 
  the size). 
  A cached property, allow to call the event only when the device
  resolution change, it is usefull when a draw need a lot of
  computing.
* NEW: MTool and Units have been merged to create a new shared 
  module: ReportUnits. It provide functions for unit convertions
 depended on paint resolution (for pixel convertion use it in a
 paint session)
 A property DesktopScale provide a ratio between Desktop pixel
 size and printer size.
* BUG: Add again forgotten files.



git-svn-id: svn://localhost/gambas/trunk@6142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 07:21:49 +00:00
Fabien Bodard
db51ba6c2d [GB.REPORT]
BUG: Remove an accidentaly forgotten debug line.


git-svn-id: svn://localhost/gambas/trunk@6141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 06:20:06 +00:00
Fabien Bodard
67f41e9b3c [GB.REPORT]
BUG: Add missing files


git-svn-id: svn://localhost/gambas/trunk@6137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 20:35:45 +00:00
Fabien Bodard
d7ae458ba6 [GB.REPORT]
* NEW: A new widget ReportView (Need polish for external use)
* NEW: A new report preview windows. It embedd all the printing tools
  and can reflect all the printing options in real time 
  Page size, Gray scale and a range property like in the known text 
  editors (1;3;8-9)
* OPT: many other improvement like the possibility now to a 
  report to be initialised with an or more arguments.
* BUG: the report custom size bug is solved.
* OPT: I need more and more user to debug and share ideas on this component.



git-svn-id: svn://localhost/gambas/trunk@6136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 14:21:05 +00:00
Benoît Minisini
ba56007672 [CONFIGURATION]
* BUG: Add gb.markdown to the 'order' file that lists all components 
  written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 14:14:02 +00:00
Benoît Minisini
193cbdca1d [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.markdown component.

[EXAMPLES]
* NEW: SmallWiki: Add support for images.
* BUG: SmallWiki: Many bug fixes and better style sheet.
* NEW: SmallWiki: Use the new gb.markdown component.

[GB.MARKDOWN]
* NEW: This is a new component that implements the Gambas Markdown markup 
  syntax.

[GB.WEB]
* NEW: Response.GetContentTypeFrom() is a new method that returns a MIME 
  type from a path.


git-svn-id: svn://localhost/gambas/trunk@6122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 03:43:57 +00:00
Benoît Minisini
2d11aab2db [DEVELOPMENT ENVIRONMENT]
* BUG: Fix word separators in text editor automatic completion.

[EXAMPLES]
* NEW: Start a new Web application example.

[GB.FORM]
* NEW: DateChooser.MinValue is a new property that allows to define the 
  minimum date that can be selected.
* NEW: DateChooser.MaxValue is a new property that allows to define the 
  maximum date that can be selected.
* NEW: DateChooser: The mouse wheel allows to scroll months and days now.
* NEW: LCDLabel: Add support for some new characters.

[GB.GUI.BASE]
* BUG: Draw.End() now resets antialiasing to TRUE.


git-svn-id: svn://localhost/gambas/trunk@6118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-01 14:25:26 +00:00
Benoît Minisini
b596527086 [GB.GUI.BASE]
* BUG: GridView: Dnd now works as expected even in multiple selection mode.


git-svn-id: svn://localhost/gambas/trunk@6106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:24:21 +00:00
Benoît Minisini
e4dc284c55 [GB.GUI.BASE]
* NEW: ProgressBar: Add a Pulse property, that makes the control display a 
  pulsing frame instead of the normal progress bar.


git-svn-id: svn://localhost/gambas/trunk@6102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-25 02:58:12 +00:00
Fabien Bodard
8bfa98f865 [GB.REPORT]
* BUG: The ReportBrush.Color function really return a ReportBrush class.


git-svn-id: svn://localhost/gambas/trunk@6099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-23 10:32:48 +00:00
Benoît Minisini
1a8485e3a6 [GB.GTK]
* NEW: TextArea: Remove extra margin around text.
* BUG: TextArea: Border is drawn as expected now.

[GB.GTK3]
* BUG: Style.FrameWidth is correctly computed now.
* BUG: Borderless TextBox are drawn as expected now.
* BUG: TextArea: Border is drawn as expected now.


git-svn-id: svn://localhost/gambas/trunk@6093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-21 01:58:49 +00:00
Sebastian Kulesz
a760506fa0 [GB.LOGGING]
* BUG: Fix out-of-bounds error when using the formatter.


git-svn-id: svn://localhost/gambas/trunk@6092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:55:06 +00:00
Benoît Minisini
1b018f7bf1 [GB.FORM]
* NEW: TabPanel: Using the mouse wheel on the tab buttons does not steal 
  the focus anymore.

[GB.GTK]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.GTK3]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.QT4]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.


git-svn-id: svn://localhost/gambas/trunk@6091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:32:24 +00:00
Fabien Bodard
5dfef252d5 [GB.REPORT]
* NEW: A New widget ReportPageBreak allow to break a page when you need
* NEW: Report.Print take now an optional argument Printer that allow
  to give an externally initialised printer. In tis case the dialog is not
  shown.
* BUG: Now ReportLabel rotation work fine and the angle is given in Rad
* BUG: You can now add an argument to the _New sub. Be carrefull the _New 
  event is called one time only at the report loading.
* BUG: The custom size work but there is some bugs with the printer.configure
  that setup the page size to A4 :-/



git-svn-id: svn://localhost/gambas/trunk@6089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-19 21:44:48 +00:00
Benoît Minisini
35062bb200 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix background of CoordBox controls.
* BUG: Image editor: Fix text tool.
* NEW: Image editor: Text alignment.
* BUG: Image editor: Scaling selection is done from the top left corner by 
  default, and from the selection center only if you press the SHIFT key.
* NEW: Image editor: The mouse wheel now zooms the image.
* BUG: Project property dialog: Fix component list layout.
* NEW: Some new backgrounds.

[GB.FORM]
* NEW: TabPanel: Now there are a left and a right arrow to navigate through 
  the tabs.


git-svn-id: svn://localhost/gambas/trunk@6088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-19 20:25:16 +00:00
Benoît Minisini
27694b5925 [GB.FORM]
* BUG: gb.form should compile correctly again

[GB.FORM.MDI]
* OPT: Workspace: Make the background flickering less.


git-svn-id: svn://localhost/gambas/trunk@6082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-14 19:54:49 +00:00
Benoît Minisini
8c6cf71838 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work 
  as expected.

[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.

[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a 
  single space.

[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text 
  field.
* NEW: The FontChooser control now adapts its interface if its height is 
  too small.

[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.

[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.


git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-12 01:59:49 +00:00
Fabien Bodard
cf7da09a46 [GB.REPORT]
* BUG: The fixed elements at the end of the page are now computing correctly
  theire size.
* BUG: ReportLabel now use Paint.TextSize instead of Paint.TextExtend to get
  the text size.


git-svn-id: svn://localhost/gambas/trunk@6076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 21:17:44 +00:00
Fabien Bodard
7c5aecff77 [GB.REPORT]
* BUG: Now ReportLabel take multiline text into account
  for it height computing.


git-svn-id: svn://localhost/gambas/trunk@6075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 20:52:23 +00:00
Benoît Minisini
a7afee1bb8 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When double-clicking on a control, don't crash if a 
  there is a mistake in its default event declaration. Just display a 
  warning message on the standard error output.
* NEW: Option dialog: Use SwitchButton instead of ComboBox.
* NEW: Some new backgrounds.

[GB.FORM]
* BUG: SwitchButton now raises its Click event.


git-svn-id: svn://localhost/gambas/trunk@6060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 09:22:11 +00:00
Benoît Minisini
9da017f719 [GB.FORM]
* NEW: SwitchButton is a new control that displays an ON/OFF button.

[GB.GTK]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.GTK3]
* NEW: GTK3+ support continues! By te way, GTK3+ theming support is a 
  fucking nightmare.

[GB.QT4]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.WEB]
* NEW: Session.Exist() is a new method that returns if a specific key is 
  stored in the session.


git-svn-id: svn://localhost/gambas/trunk@6058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 00:08:06 +00:00
Benoît Minisini
1dcb5a3ddc [GB.GUI.AREA]
* BUG: ProgressBar: Correctly draws the right part of the label.


git-svn-id: svn://localhost/gambas/trunk@6054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 12:57:29 +00:00
Benoît Minisini
55d7b00615 [GB.FORM]
* NEW: Add Spinner control icon.
* NEW: Spinner.Label is a new property that tell if the spinner must 
  display a label.
* NEW: Spinner.Value is the percentage value to display as a label, between 
  0 and 1.

[GB.GUI.AREA]
* NEW: ProgressBar: Take the Enabled state into account when drawing the 
  control.

git-svn-id: svn://localhost/gambas/trunk@6053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 12:53:40 +00:00
Benoît Minisini
e298d6a927 [GB.FORM]
* BUG: DateChooser: Remove a debugging message.
* NEW: Spinner is a new control that displays a rotating spinner.


git-svn-id: svn://localhost/gambas/trunk@6052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 10:38:51 +00:00
Benoît Minisini
24a62cff83 [INTERPRETER]
* NEW: When a void string is sent to an extern function argument expecting 
  a string, it is converted to a zero-length string instead of a null 
  pointer.

[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.

[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 09:31:32 +00:00
Benoît Minisini
36d1a8a70c [DEVELOPMENT ENVIRONMENT]
* NEW: Check the current GUI component in its popup menu.
* BUG: Use '/etc/os-release' to know the SuSE version, instead of 
  '/etc/SuSE-release' which is deprecated.

[GB.FORM]
* BUG: ButtonBox: Some drawing fixes for other themes than Oxygen.

[GB.QT4]
* BUG: The control borders are drawn the same way everywhere.


git-svn-id: svn://localhost/gambas/trunk@6043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 16:09:53 +00:00
Benoît Minisini
547636a68b [GB.GUI.BASE]
* BUG: Clicking on GridView/ColumnView headers now should work correctly 
  again.


git-svn-id: svn://localhost/gambas/trunk@6034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 23:10:59 +00:00
Benoît Minisini
493f651f20 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Update component list.
* NEW: Add a toolbar button to define the GB_GUI environment variable in 
  one click. This button is visible only if the project uses the gb.gui
  component (and if it has been added to the toolbar of course!).
* BUG: Use the same icon for the option dialog and its corresponding 
  toolbar icon.

[GB.FORM.MDI]
* NEW: Shrink the toolbar height a bit.

[GB.GUI]
* NEW: Support for the gb.gtk3 component.


git-svn-id: svn://localhost/gambas/trunk@6028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 15:17:40 +00:00
Benoît Minisini
ae979d6206 [GB.FORM]
* BUG: FileChooser: The Paths property now returns the selected path in 
  single mode and not a void array anymore.

[GB.FORM.DIALOG]
* BUG: Dialog.Open() in multiple mode works now.

[GB.FORM.MDI]
* BUG: Toolbar configuration dialog: the toolbar elements with a short text 
  are correctly displayed now.


git-svn-id: svn://localhost/gambas/trunk@6012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-21 09:38:09 +00:00
Sebastian Kulesz
ca5b87fed3 [GB.LOGGING]
* BUG: Fix the detection of the call location.



git-svn-id: svn://localhost/gambas/trunk@6010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-17 03:47:00 +00:00
Benoît Minisini
42a089eda6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been 
  partially converted.

[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 22:23:13 +00:00
Sebastian Kulesz
92ed8dc2f0 [GB.LOGGING]
* NEW: Allow custom debug levels.
* BUG: Allow the user to change the output if using the hidden instance.
* NEW: A call to Begin() is needed again so that the user can change the
  parameters if using the hidden instance. Sorry about that. 
  


git-svn-id: svn://localhost/gambas/trunk@6008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 13:06:31 +00:00
Sebastian Kulesz
34c0fe3353 [GB.LOGGING]
* NEW: Added some more tags to the Formatter



git-svn-id: svn://localhost/gambas/trunk@6007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:48:54 +00:00
Sebastian Kulesz
8b0606a157 [GB.LOGGING]
* NEW: Output can now be redirected to stderr ;)
* OPT: A call to Begin() is no longer necesary. The log file
  is automatically opened when creating the logger.
  


git-svn-id: svn://localhost/gambas/trunk@6006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:07:54 +00:00