Commit graph

1527 commits

Author SHA1 Message Date
Fabien Bodard
7423a6908f [GB.REPORT2]
* BUG: Remove a bug on drawing grayscale preview in ReportView.


git-svn-id: svn://localhost/gambas/trunk@6996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-21 17:19:12 +00:00
Benoît Minisini
c81e550df2 [CONFIGURATION]
* BUG: Do not use the AC_LIBLTDL_CONVENIENCE macro. It is deprecated and
  now useless.

[DEVELOPMENT ENVIRONMENT]
* OPT: Farm client: Load the SoftwareBox information only when it is 
  actually displayed.
  
[WEBSITE MAKER]
* NEW: Switch to 3.7.0 version.

[GB.FORM]
* NEW: Completion: The poup list now follows its top-level window when it 
  moves.


git-svn-id: svn://localhost/gambas/trunk@6987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-14 20:10:05 +00:00
Benoît Minisini
6325d9a766 [GB.FORM]
* BUG: MaskBox: Setting the Mask property now clears the text only if it 
  does not match the new mask. That allows the IDE to define the initial
  value of the Text property.
* NEW: MaskBox: The Clear() method now takes the focus into account.

git-svn-id: svn://localhost/gambas/trunk@6984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-13 23:59:04 +00:00
Benoît Minisini
59f1c91db0 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't show the name of the control in buttons if a 
  picture is defined.
* BUG: Correctly refresh the icons everywhere when the startup class is 
  changed.


git-svn-id: svn://localhost/gambas/trunk@6981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 08:47:57 +00:00
Benoît Minisini
f56439725e [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When inserting a control, show the name of the control 
  without setting the Text property.
* BUG: Form editor: Undo is not broken anymore by the popup menu capturing 
  the MouseUp event.
* BUG: Form editor: when dropping a control from the toolbox, the position
  of the mouse cursor now gives the center of the control, not its top-left
  corner. It prevents the drop to be ignored when it occurs on the gray
  d&d frame!
* BUG: Don't maximize the IDE window by default anymore.


git-svn-id: svn://localhost/gambas/trunk@6980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 07:32:32 +00:00
Benoît Minisini
9a8c4e961a [GB.FORM.STOCK]
* BUG: Fix 'development.svg' that had unknown SVG urls, and consequently 
  the "Could not resolve property" warnings displayed by the IDE.


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


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


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


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


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

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


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


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


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


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

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


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


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


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


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

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


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


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

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


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


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

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


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

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


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

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


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

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


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


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

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


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


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


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


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



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

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

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


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


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


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


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

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

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


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

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


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


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


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

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


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


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

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

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

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


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

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


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


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


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

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


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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 20:34:44 +00:00