Commit graph

4879 commits

Author SHA1 Message Date
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
acf8d418d0 [EXAMPLES]
* OPT: Update google map version on MapView


git-svn-id: svn://localhost/gambas/trunk@6962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 16:55:11 +00:00
Benoît Minisini
438800a393 [GB.GTK3]
* BUG: Correctly handle widget grabs, i.e. popups, modal dialogs...
* BUG: Read-only combo-boxes do not prevent windows to shrink vertically.
* NEW: ComboBox height can be smaller.
* BUG: SpinBox does not expand horizontally up to the right border of its 
  parent anymore.


git-svn-id: svn://localhost/gambas/trunk@6961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 10:00:20 +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
589cf52211 [GB.QT4]
* BUG: Newlines characters are not ignored anymore in message boxes when 
  rich text is used. The behaviour is now the same as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 15:23:42 +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
Benoît Minisini
298d0f54a0 [GB.DB]
* NEW: Add a Connections.Count property that returns the number of 
  connections defined in the current project / executable.


git-svn-id: svn://localhost/gambas/trunk@6954 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-07 10:26:01 +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
c97a5b6349 [GB.DRAW]
* NEW: Don't clip the area argument of Paint.Begin().


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

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

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


git-svn-id: svn://localhost/gambas/trunk@6949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-05 21:01:33 +00:00
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
25a01ce68a [GB.DRAW]
* BUG: Fix Paint.Begin() signature.


git-svn-id: svn://localhost/gambas/trunk@6940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 21:33:29 +00:00
Benoît Minisini
e55a104121 [GB.DRAW]
* BUG: Using Paint.Begin() on an already painted device automatically calls
  Paint.Save(), and Paint.Restore() will be called with Paint.End().


git-svn-id: svn://localhost/gambas/trunk@6939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 21:14:20 +00:00
Benoît Minisini
cadfc8ba99 [GB.DRAW]
* BUG: Allow Paint.Begin() drawing areas to be imbricated.


git-svn-id: svn://localhost/gambas/trunk@6938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 21:08:09 +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
a07a02c086 [GB.DRAW]
* BUG: The optional painting area is correclty reset after a call to 
  Paint.Reset().
 

git-svn-id: svn://localhost/gambas/trunk@6936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 18:20:56 +00:00
Benoît Minisini
7d72df028f [GB.DRAW]
* NEW: Paint.Begin() now takes a new optional argument that allows to 
  define the painting area as a sub-rectangle of the painting device.


git-svn-id: svn://localhost/gambas/trunk@6935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 18:03:31 +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
debf98c637 [GB.QT4.EXT]
* BUG: Changing the Editor.KeywordsUseUpperCase property does not break 
  syntax highlighting anymore.


git-svn-id: svn://localhost/gambas/trunk@6927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 00:55:29 +00:00
Benoît Minisini
1c42c95c29 [DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Disable the filter when the example or recent list 
  is void.
* OPT: Farm software dialog: Optimize the list filling when the "installed
  programs" filter is selected.


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


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


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


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


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

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

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


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

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


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

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

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


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


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


git-svn-id: svn://localhost/gambas/trunk@6916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-26 22:44:20 +00:00
Benoît Minisini
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
099c8fbe35 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu entry in debugger windows to print the value of the 
  current line on the console.


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

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

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


git-svn-id: svn://localhost/gambas/trunk@6913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 21:23:14 +00:00