Commit graph

1269 commits

Author SHA1 Message Date
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
Benoît Minisini
ce74ee479e [INTERPRETER]
* BUG: Fix a misuse of signed char.
* BUG: Fix the component shared library pattern for CygWin.


git-svn-id: svn://localhost/gambas/trunk@2750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 08:49:38 +00:00
Benoît Minisini
86768b1363 [CONFIGURATION]
* NEW: CygWin needs a -no-undefined flag when linking.

[INFORMER]
* BUG: Use dlopen() on CygWin.

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

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

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


git-svn-id: svn://localhost/gambas/trunk@2749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 02:05:52 +00:00
Benoît Minisini
757c0c3295 [INTERPRETER]
* BUG: IUTF8 flag may not exist in virtual terminal management.
* BUG: long double mathematic functions do not exist in CygWin.


git-svn-id: svn://localhost/gambas/trunk@2748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 01:20:09 +00:00
Benoît Minisini
2b01ddc9aa [INTERPRETER]
* BUG: Search for libffi shared library inside gcc directories too.


git-svn-id: svn://localhost/gambas/trunk@2747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 00:54:14 +00:00
Benoît Minisini
21704dfb84 [CONFIGURATION]
* BUG: gcc on CygWin does not support the -fvisibilty flag.

[GB.FORM]
* NEW: DateChooser.SetDateColor method has been removed.
* NEW: DateChooser.Colors is a new read-only property that returns a 
  virtual object for managing the date colors. This object acts like an 
  array that associate colors to dates, and has a Clear() method to remove
  all defined colors.

[GB.FORM.MDI]
* BUG: Sorting worskpace tabs does not change the current tab anymore.


git-svn-id: svn://localhost/gambas/trunk@2746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 00:44:13 +00:00
Benoît Minisini
5bc6075e96 [DEVELOPMENT ENVIRONMENT]
* NEW: Use KDE 4.4 translation files to update translations.
* NEW: Keep project treeview item expanded when double-clicking on it.

[GB.DESKTOP]
* NEW: Use the current development version of xdg-utils scripts.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.5.

[GB.QT4]
* BUG: Don't translate the brush before raising the DrawingArea Draw event.



git-svn-id: svn://localhost/gambas/trunk@2745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-04 01:52:16 +00:00
Fabien Bodard
265b085a69 [GB.REPORT]
* OPT: Some cleaning


git-svn-id: svn://localhost/gambas/trunk@2743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-03 21:12:24 +00:00
Fabien Bodard
ecd461b312 [GB.REPORT]
* New: Now the border selection is activate. You can select witch border you want
  to draw. The border is drawed inside the control.


git-svn-id: svn://localhost/gambas/trunk@2742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-03 19:22:20 +00:00
Fabien Bodard
eeaefba04a [GB.REPORT]
* OPT: Now the ignore property really work. 
  and i've changed the drawbefore ans drawafter system


git-svn-id: svn://localhost/gambas/trunk@2741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 20:02:11 +00:00
Fabien Bodard
4c647ffb96 [GB.REPORT]
* OPT: Continu to improve the border class


git-svn-id: svn://localhost/gambas/trunk@2740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 19:39:13 +00:00
Fabien Bodard
84eb81efc9 [GB.REPORT]
* NEW: Now the Border is managed via a class


git-svn-id: svn://localhost/gambas/trunk@2739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 18:22:59 +00:00
Fabien Bodard
7dbcf9be78 [GB.REPORT]
* OPT: Continue to replace all Object data type by more 
  specialized classes type


git-svn-id: svn://localhost/gambas/trunk@2738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:30:44 +00:00
Fabien Bodard
abdea6811e [GB.REPORT]
* NEW: A new property ignore that allow an object to be
  ignored by the arragement routine. Example in test1


git-svn-id: svn://localhost/gambas/trunk@2737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:24:36 +00:00
Fabien Bodard
e625d4a786 [GB.REPORT]
* OPT: Some minors changes and bugs corrections 


git-svn-id: svn://localhost/gambas/trunk@2736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:22:41 +00:00
Fabien Bodard
df93c77178 [GB.REPORT]
* OPT: Now the units are internally converted into centimeter only at the layout time.
* NEW: ReportLine.LineWidth property and ControlFrame BorderWidth property are now strings,
  so they can gave different units.


git-svn-id: svn://localhost/gambas/trunk@2735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 18:09:01 +00:00
Benoît Minisini
0b8dd6b4c6 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation import is done in a new tab in the translation dialog.
* NEW: It is now possible to import translation files recursively.


git-svn-id: svn://localhost/gambas/trunk@2732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 02:08:14 +00:00
Seo Hyun-Gwan
489ecc55a1 git-svn-id: svn://localhost/gambas/trunk@2731 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:41:37 +00:00
Seo Hyun-Gwan
e0e6326a91 git-svn-id: svn://localhost/gambas/trunk@2730 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:41:22 +00:00
Seo Hyun-Gwan
c5816b0151 git-svn-id: svn://localhost/gambas/trunk@2729 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-03-01 01:40:31 +00:00
Benoît Minisini
a5538964a2 [DEVELOPMENT ENVIRONMENT]
* BUG: The default value of the Text property is correctly managed again in 
  the form editor.

[WIKI CGI SCRIPT]
* NEW: Support for korean language.

[WEB SITE MAKER]
* NEW: Korean translation made by Hyun-Gwan Seo.


git-svn-id: svn://localhost/gambas/trunk@2728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 21:31:37 +00:00
Fabien Bodard
ad8ed0628e [GB.REPORT]
* OPT: the size, orientation properties are removed, now the page size is defined by the painting device.


git-svn-id: svn://localhost/gambas/trunk@2727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 20:03:01 +00:00
Benoît Minisini
fffee54d40 [DEVELOPMENT ENVIRONMENT]
* NEW: Start to handle "Image" control properties.

[GB.DEBUG]
* OPT: The debugging callback is called again and again, even if there is 
  nothing sent by the debugger. So sleeping a little prevent from eating 
  the CPU.

[GB.REPORT]
* BUG: Use Float instead of Integer for coordinates arguments.
* NEW: Replace ReportImage.Path by ReportImage.Image.
* NEW: Clip the controls inside a dedicated procedure.


git-svn-id: svn://localhost/gambas/trunk@2726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 17:26:00 +00:00
Benoît Minisini
4d949ed626 [GB.REPORT]
* BUG: Fix the child control clipping routine.
* BUG: Take control frame width into account when clipping.
* OPT: Use TControl class instead of Object class when possible.

[GB.QT4]
* BUG: Automatic clipping of painted DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@2725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 01:39:42 +00:00
Benoît Minisini
cd5bf4cc70 [INTERPRETER]
* OPT: The blocking state of streams is cached now, so that the fcntl() 
  system call is less used.

[GB.FORM]
* BUG: Stock icons work correctly again.

[GB.QT4]
* NEW: When drawing on a DrawingArea, Draw and Paint dimension properties 
  always return the size of the DrawingArea, even if it is cached.
* BUG: DrawingArea contents is not assume to be static anymore. Resizing 
  them always send a full repaint event.


git-svn-id: svn://localhost/gambas/trunk@2724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 22:08:04 +00:00