Commit graph

4795 commits

Author SHA1 Message Date
Benoît Minisini
af59788aec [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Forbid spaces in extra files for Debian systems, as they 
  are not supported: this is a many years old bug in the Debian packaging
  system that has never been fixed!


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


git-svn-id: svn://localhost/gambas/trunk@6877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-31 18:49:45 +00:00
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
Benoît Minisini
75490d66d2 [GB.DESKTOP.GNOME.KEYRING]
* BUG: Retrieving a password now returns NULL if no password is stored in 
  the keyring, instead of raising an error.
* NEW: Storing a NULL password now removes the password from the keyring 
  instead of storing a void password.


git-svn-id: svn://localhost/gambas/trunk@6873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-26 22:28:21 +00:00
Benoît Minisini
e4920ce112 [GB.DESKTOP.GNOME.KEYRING]
* NEW: More explicit error messages.


git-svn-id: svn://localhost/gambas/trunk@6872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-26 18:26:09 +00:00
Benoît Minisini
93f896b316 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager wizard: Clean up system selection.
* NEW: New icon for autotools packages.


git-svn-id: svn://localhost/gambas/trunk@6871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-26 00:41:33 +00:00
Benoît Minisini
f6106901a8 [GB.DB]
* BUG: Don't crash when opening a connection if the database driver is 
  unknown or not specified.


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


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


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

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


git-svn-id: svn://localhost/gambas/trunk@6860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-24 00:04:38 +00:00
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
Nigel Gerrard
8c59165188 [GB.NET.CURL]
* BUG: Rename CURL_CopyFrom function to CURL_copy_from as defined in CCurl.h and used in CHttpClient.c.
           Enables compile in Cygwin

git-svn-id: svn://localhost/gambas/trunk@6858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-23 15:25:18 +00:00
Benoît Minisini
253093035e [INTERPRETER]
* NEW: The Task return value is now persistent (it is stored inside the 
  Task object).


git-svn-id: svn://localhost/gambas/trunk@6857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-23 00:52:18 +00:00
Benoît Minisini
825eb39923 [COMPILER]
* NEW: A symbol followed by a point is never interpreted as a function if 
  it is used as a function name in the current class.


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


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


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


git-svn-id: svn://localhost/gambas/trunk@6851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 23:53:48 +00:00
Benoît Minisini
f6464dfe3d [GB.DB]
* BUG: Fix a crash when using the Connection.Collation property on a not 
  yet opened connection.
* BUG: The timeout is now really taken into account at database opening, 
  and it is 20 seconds by default as wanted initially.


git-svn-id: svn://localhost/gambas/trunk@6850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 21:22:26 +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
Benoît Minisini
cb63d9ef1f [CONFIGURATION]
* NEW: Support for GNU/Hurd.

[INTERPRETER]
* NEW: Support for GNU/Hurd.

[GB.NET]
* NEW: Support for GNU/Hurd.


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


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


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


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


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

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


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


git-svn-id: svn://localhost/gambas/trunk@6833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-12 22:43:37 +00:00
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
61e61e2dfa [HELP EXTRACTOR]
* NEW: Analyze the source files without 'gb.pcre'.

[GB.DATA]
* NEW: Activate help extraction from source files.


git-svn-id: svn://localhost/gambas/trunk@6831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-12 20:04:33 +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
Benoît Minisini
d050bcab25 [CONFIGURATION]
* NEW: Modify the installation process so that it will be able to run the 
  'gbh3' tool to extract help from component source files. Not usable yet
  as long as 'gbh3' depends on 'gb.pcre'.

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


git-svn-id: svn://localhost/gambas/trunk@6829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 23:41:41 +00:00