Commit graph

4995 commits

Author SHA1 Message Date
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
Benoît Minisini
d3cecd5e9f [GB.GTK]
* BUG: Fix a spurious warning.

[GB.GTK3]
* BUG: Fix a spurious warning.


git-svn-id: svn://localhost/gambas/trunk@6912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 17:12:00 +00:00
Benoît Minisini
c728dafc8f [GB.GTK]
* BUG: Fix crash when using read-only ComboBox.

[GB.GTK3]
* BUG: Fix crash when using read-only ComboBox.


git-svn-id: svn://localhost/gambas/trunk@6911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 17:06:41 +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
e75bbafdb9 [GB.GTK]
* BUG: Do not crash when a piece of rich text contains the "</>" string.

[GB.GTK3]
* BUG: Do not crash when a piece of rich text contains the "</>" string.


git-svn-id: svn://localhost/gambas/trunk@6907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 01:47:25 +00:00
Benoît Minisini
9d04f9cc58 [GB.GTK]
* BUG: Fix a possible GTK+ warning when drawing widget borders.
* BUG: Apply XIM workaround only on controls having their own input method.

[GB.GTK3]
* BUG: Fix a possible GTK+ warning when drawing widget borders.
* BUG: Apply XIM workaround only on controls having their own input method.


git-svn-id: svn://localhost/gambas/trunk@6906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 00:46:53 +00:00
Benoît Minisini
2b4cbbb2cc [GB.GTK]
* BUG: The keyboard event management is being fixed again. Workaround the 
  strange behaviour of the XIM input method that raises keyboard events 
  twice.

[GB.GTK3]
* BUG: The keyboard event management is being fixed again. Workaround the 
  strange behaviour of the XIM input method that raises keyboard events 
  twice.


git-svn-id: svn://localhost/gambas/trunk@6905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 00:21:34 +00:00
Benoît Minisini
7b6dd88035 [GB.GTK]
* BUG: Redesign the keyboard event management so that it works with all 
  input methods.
  
[GB.GTK3]
* BUG: Redesign the keyboard event management so that it works with all 
  input methods.


git-svn-id: svn://localhost/gambas/trunk@6904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-22 21:06:50 +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
Benoît Minisini
9f0a20289a [DEVELOPMENT ENVIRONMENT]
* NEW: Add a popup menu on the debugger expression window that allows to
  edit or watch the selected value.


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


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



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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 20:34:44 +00:00
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
Benoît Minisini
42791d1c51 [GB.QT4]
* NEW: When creating a Control, a Printer or displaying a MessageBox, check
  that the GUI has been initialized, and raise an error if not, instead of
  letting Qt abort the application.


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

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


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

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

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


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

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

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


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

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


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

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

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

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


git-svn-id: svn://localhost/gambas/trunk@6879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-02 20:08:18 +00:00