Commit graph

1193 commits

Author SHA1 Message Date
Fabien Bodard
8aff5e23a7 [GB.REPORT]
* BUG: Littles things


git-svn-id: svn://localhost/gambas/trunk@2825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 17:01:31 +00:00
Fabien Bodard
54d231f0de [GB.REPORT]
* NEW: When the report is set at startup class a 
  a viewer is shown to display it.
* BUG: Now ReportImage take his size into account
* BUG: ReportLabel.Padding use the correct value 
  for painting
* NEW: if the device change of size, the layout is
  forced


git-svn-id: svn://localhost/gambas/trunk@2824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 16:55:55 +00:00
Benoît Minisini
bb0b93f075 [INTERPRETER]
* NEW: Application.Startup now returns a Class object, the startup class.


git-svn-id: svn://localhost/gambas/trunk@2823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 16:38:40 +00:00
Fabien Bodard
0febd39f25 [INTERPRETER]
* OPT: forgot some changes


git-svn-id: svn://localhost/gambas/trunk@2822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 14:40:14 +00:00
Fabien Bodard
bc1fd21cdd [INTERPRETER]
* BUG: The Startup class name is now correctly returned by Appliction.Startup




git-svn-id: svn://localhost/gambas/trunk@2821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 14:38:12 +00:00
Benoît Minisini
a6e879db91 [INTERPRETER]
* NEW: Application.Startup is a new property that returns the name of the 
  startup class.
* NEW: Class.AutoCreate is a new method that creates the automatic instance 
  of a class, and returns it. It returns NULL if the class is not 
  auto-creatable.


git-svn-id: svn://localhost/gambas/trunk@2820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 11:16:33 +00:00
Benoît Minisini
029e4b5b18 [INTERPRETER]
* NEW: RDir() takes a fourth optional argument, that tells if symbolic link 
  to directories must be recursively searched too.

[GB.DEBUG]
* BUG: Prevent a possible freeze of the IDE when debugging.


git-svn-id: svn://localhost/gambas/trunk@2819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 02:00:55 +00:00
Benoît Minisini
543f0aceb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in form editor little arrangement icon management.
* BUG: Reloading a form should not crash anymore.
* BUG: Automatic completion now works on non-GUI forms.

[GB.QT4.EXT]
* NEW: TextEdit was rewritten to use the Qt4 QTextEdit class.
* NEW: TextEdit.Format.Background is a new property to define the 
  background color of the selected text.


git-svn-id: svn://localhost/gambas/trunk@2818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-22 23:21:13 +00:00
Laurent Carlier
a289c402b1 [INTERPRETER]
* BUG: Fix building when DEBUG_EVENT is defined.


git-svn-id: svn://localhost/gambas/trunk@2813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 16:31:50 +00:00
Laurent Carlier
db9f0f66b4 Typo __CDBUG_H -> __CDEBUG_H
git-svn-id: svn://localhost/gambas/trunk@2812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 14:43:57 +00:00
Benoît Minisini
9bd1adcf36 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the management of little arrangement icons in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 12:13:20 +00:00
Benoît Minisini
002d3bdb65 [GB.FORM]
* BUG: FileChooser.Reload() method should work as expected.


git-svn-id: svn://localhost/gambas/trunk@2809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 02:15:45 +00:00
Laurent Carlier
c9750f23a5 [GB.OPENGL]
* BUG: Fix building when FLTK toolkit is installed.


git-svn-id: svn://localhost/gambas/trunk@2808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 16:52:56 +00:00
Benoît Minisini
7f00049b8b [INTERPRETER]
* BUG: Inherited startup Main methods work again.


git-svn-id: svn://localhost/gambas/trunk@2807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 15:40:34 +00:00
Benoît Minisini
6cd1d9d0d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The container arrangement is now displayed with a little icon on the
  top right corner, only when the mouse cursor is inside the container.

[INTERPRETER]
* BUG: Event handlers defined in inherited class are called correctly now,
  without crashing.


git-svn-id: svn://localhost/gambas/trunk@2806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 06:05:17 +00:00
Benoît Minisini
67cdcabaf1 [DEVELOPMENT ENVIRONMENT]
* OPT: Refresh the property sheet only for the active form.

[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.

[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
  Paint.ClipExtents.


git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-17 09:06:16 +00:00
Fabien Bodard
dd9faf0dc9 [GB.REPORT]
* OPT: some internal improvement on bad global variable using.


git-svn-id: svn://localhost/gambas/trunk@2802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 22:13:39 +00:00
Benoît Minisini
1b09de651d [GB.GTK]
* BUG: Forgot to add gtkprinter.h.
* BUG: Fix some bugs in printing management.


git-svn-id: svn://localhost/gambas/trunk@2801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 21:09:50 +00:00
Benoît Minisini
4551a94a74 [GB.REPORT]
* BUG: ReportBorder string syntax is simplified so that it matches the IDE 
  syntax. The "Solid" and "None" keyword do not have to be specified 
  anymore.

git-svn-id: svn://localhost/gambas/trunk@2798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 00:21:17 +00:00
Benoît Minisini
b7e67cce68 [GB.GTK]
* BUG: Tons of hacks to make the Printer class (almost) work correctly.
* BUG: Fix painting on a painted DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@2797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-14 22:02:21 +00:00
Fabien Bodard
83e105d8f8 [GB.REPORT]
* NEW: A new control Report.panel with the possibility to choose the arrangement
  mode (Vertical, horizontal, Fill)
* BUG: The image size is correctly registered at the image setting.

This line, and those below, will be ignored--

M    comp/src/gb.report/.project
M    comp/src/gb.report/.src/ReportImage.class
M    comp/src/gb.report/.src/ReportContainer.class
A    comp/src/gb.report/.src/Arrange.class
A    comp/src/gb.report/.src/ReportPanel.class
M    comp/src/gb.report/.src/ReportHBox.class
M    comp/src/gb.report/.src/Tests/FExample.class
M    comp/src/gb.report/.src/ReportVBox.class
M    comp/src/gb.report/.info
M    comp/src/gb.report/.list


git-svn-id: svn://localhost/gambas/trunk@2796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-14 16:52:07 +00:00
Benoît Minisini
8f6bfa322d [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls coordinates are correctly stored in *.form files 
  again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating 
  *.deb packages. It does not work, and apparently dpkg-buildpackage has no 
  problem with them.

[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.

[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes 
  the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.

[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.


git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:27:51 +00:00
Fabien Bodard
6ab5b41046 [GB.REPORT]
* OPT: some littles corrections


git-svn-id: svn://localhost/gambas/trunk@2794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:23:03 +00:00
Fabien Bodard
5a17a10a25 [GB.REPORT]
* BUG: Now the resolution is more correctly used for printing
  but all is not perfect yet.. there is some problem for the font size


git-svn-id: svn://localhost/gambas/trunk@2792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 14:14:20 +00:00
Benoît Minisini
75dcabe16e [INTERPRETER]
* BUG: Prevent a crash if during a _free special method, an element is 
  removed from a collection being freed.


git-svn-id: svn://localhost/gambas/trunk@2789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-12 01:18:20 +00:00
Benoît Minisini
b953aa5392 [COMPILER]
* NEW: Compile "report" forms, and add support for other form families.


git-svn-id: svn://localhost/gambas/trunk@2788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-11 10:59:53 +00:00
Benoît Minisini
831d6e8e7d [GB.REPORT]
* NEW: Centralize the management of units inside the TSizeParse class, in a 
  more object-oriented way.


git-svn-id: svn://localhost/gambas/trunk@2787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-11 00:02:00 +00:00
Benoît Minisini
8c53bab42d [CONFIGURATION]
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.

[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.

[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.

[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.


git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 21:51:36 +00:00
Benoît Minisini
c41cadb11f [DEVELOPMENT ENVIRONMENT]
* BUG: The packager should work correctly again.
* BUG: Use gambas3-runtime instead of gambas2-runtime as dependency in the 
  packager.


git-svn-id: svn://localhost/gambas/trunk@2783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 17:48:30 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00
Benoît Minisini
53d08a1c34 [WEB SITE MAKER]
* NEW: Put it in the /app/other directory.


git-svn-id: svn://localhost/gambas/trunk@2777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-09 05:22:36 +00:00
Benoît Minisini
93c5f3ace2 [CONFIGURATION]
* NEW: Add the /app/other directory.


git-svn-id: svn://localhost/gambas/trunk@2776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-09 05:01:38 +00:00
Benoît Minisini
5e8e704004 [DEVELOPMENT ENVIRONMENT]
* NEW: Dependencies on components is now on major and minor version.
* NEW: The procedure list font now follows the size defined in the option 
  dialog.

[WEB SITE MAKER]
* NEW: Remove web site maker project from the /app/src directory.


git-svn-id: svn://localhost/gambas/trunk@2775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-09 04:59:46 +00:00
Benoît Minisini
32050f56a4 [GB.NET.CURL]
* NEW: HttpClient Get, Post and Put methods now have an extra optional 
  argument to specify a file name where the server reply will be stored.
* BUG: Sending custom headers with HttpClient.Get should really work now.
* BUG: File names with "~" inside are correctly interpreted now.


git-svn-id: svn://localhost/gambas/trunk@2774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 17:04:53 +00:00
Benoît Minisini
dfb8469ad1 [GB.NET.CURL]
* NEW: HttpClient.Put() implements the HTTP PUT method.


git-svn-id: svn://localhost/gambas/trunk@2773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 16:29:33 +00:00
Benoît Minisini
8ae8dab889 [GB.NET.CURL]
* NEW: HttpClient.Post() third argument is not a file path anymore, but now 
  a string array of custom headers.


git-svn-id: svn://localhost/gambas/trunk@2772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 15:09:21 +00:00
Benoît Minisini
6fdfa6d845 [DEVELOPMENT ENVIRONMENT]
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.

[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and 
  unmaintained.

[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.

[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
  static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the 
  DrawingArea.Cached property is set. It allows to keep the drawing 
  routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.

[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.


git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 02:37:53 +00:00
Fabien Bodard
60a6595775 [GB.REPORT]
* BUG: Correction on the unit test


git-svn-id: svn://localhost/gambas/trunk@2767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 20:32:48 +00:00
Benoît Minisini
f48ff49433 [DEVELOPMENT ENVIRONMENT]
* BUG: Why was that backup file versioned?


git-svn-id: svn://localhost/gambas/trunk@2766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 18:37:26 +00:00
Benoît Minisini
6a8a316c00 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the option dialog again.
* NEW: A new "Copy at the same place" command in the form editor. It copies
  the selected controls by keeping their absolute position.


git-svn-id: svn://localhost/gambas/trunk@2765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 18:36:20 +00:00
Benoît Minisini
02c2c7ba2b [GB.GTK]
* BUG: Setting the ComboBox.Text property now never raises the Click event.


git-svn-id: svn://localhost/gambas/trunk@2764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:56:16 +00:00
Benoît Minisini
3d8d71a6ce [GB.QT4]
* BUG: ScrollView scrollbars now work correctly in design mode.
* BUG: Setting the ComboBox.Text property now never raises the Click event.


git-svn-id: svn://localhost/gambas/trunk@2763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:53:13 +00:00
Benoît Minisini
6abae433a9 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the similar control menu in the form editor.
* NEW: Do not take the Padding into account when drawing Report containers.
* BUG: Some fixes in the Report dimension selector.
* BUG: Do not import any translation if no translation file has been
  selected in the translation dialog.

[INTERPRETER]
* BUG: When converting a string into a number with Val(), only accept 
  thousand separators after three digits.

[GB.DEBUG]
* BUG: Lock the debugger pipe between reads, to avoid the callback to be
  called ever and ever.

[GB.GTK]
* NEW: Tried to implement a transparent drawing area, but failed!
* NEW: Allow non-native GDK windows. This is experimental, as it crashed 
  before.
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.

[GB.QT4]
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.
* BUG: Sort sorted ComboBoxes before accessing it, not just before showing
  the popup.


git-svn-id: svn://localhost/gambas/trunk@2762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:14:54 +00:00
Benoît Minisini
98ad2ba515 [DEVELOPMENT ENVIRONMENT]
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.

[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a 
  string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.

[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is 
  currently drawn.

[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].

[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 01:38:15 +00:00
Benoît Minisini
cf6697e52c [DEVELOPMENT ENVIRONMENT]
* NEW: The option dialog was redesigned.


git-svn-id: svn://localhost/gambas/trunk@2759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 15:54:54 +00:00
Benoît Minisini
4d8107e567 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw ReportImage controls.
* NEW: Handle new property kinds: ReportCoord, Image.

[INTERPRETER]
* BUG: Fix some misuse of signed char.

[GB.REPORT]
* BUG: Fix declarations of properties.
* NEW: Use the new ReportCoord property kind.
* NEW: Some little changes in the ReportBorder class.


git-svn-id: svn://localhost/gambas/trunk@2755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 03:17:47 +00:00
Fabien Bodard
af5170614a [GB.REPORT]
* NEW: Now the report size is based on the scaling too.
* NEW: Begin to implement the repeat function


git-svn-id: svn://localhost/gambas/trunk@2754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 22:11:56 +00:00
Benoît Minisini
38786e64af [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash in packager, that was using the old CComponent.Type 
  property.


git-svn-id: svn://localhost/gambas/trunk@2753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 17:56:00 +00:00
Benoît Minisini
06a674e303 [INFORMER]
* BUG: Specifying components as arguments now works on systems that do not
  have getopt_long().


git-svn-id: svn://localhost/gambas/trunk@2752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 13:12:15 +00:00
Benoît Minisini
c1dc30c5ca [GB.IMAGE.EFFECT]
* BUG: Remove undefined functions from qcolor.h.


git-svn-id: svn://localhost/gambas/trunk@2751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 09:02:37 +00:00