Commit graph

4985 commits

Author SHA1 Message Date
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
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
Benoît Minisini
ffd4569d01 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't apply theme colors to the form property editor.


git-svn-id: svn://localhost/gambas/trunk@6824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 15:27:29 +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
3989d4a005 [WIKI CGI SCRIPT]
* NEW: New class list design in component pages.
* NEW: Full description in component pages.

[GB.QT4]
* BUG: Fix Border properties description.


git-svn-id: svn://localhost/gambas/trunk@6822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 03:14:44 +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