Commit graph

1056 commits

Author SHA1 Message Date
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
Fabien Bodard
d181359d0a [GB.REPORT]
* NEW: Now the report objects are drawed only in the clipping part.


git-svn-id: svn://localhost/gambas/trunk@2723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 18:40:35 +00:00
Benoît Minisini
f59cc30b80 [WEBSITE MAKER]
* NEW: Support for korean.


git-svn-id: svn://localhost/gambas/trunk@2722 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 00:50:23 +00:00
Benoît Minisini
358c5489a5 [DEVELOPMENT ENVIRONMENT]
* BUG: Copying works again in the form editor.

[GB.QT4]
* NEW: During a Draw DrawingArea event handler, clipping is now set to the 
  area that must be drawn, whatever the value of the Painted property.


git-svn-id: svn://localhost/gambas/trunk@2721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-26 14:44:35 +00:00
Fabien Bodard
9c14a503ed [GB.REPORT]
* NEW: Return of the ReportImage and ReportSvgImage classes
* BUG: The ReportFrame Parent Class can not be instanciate any more
* OPT: The Line Drawing function work at same as the ide one
* BUG: No use of the printer class and use the Paint.ResolutionX.
* OPT: The report.resoltion property is removed.
* NEW: A new Line class and reportborder is removed.



git-svn-id: svn://localhost/gambas/trunk@2720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 22:04:59 +00:00
Benoît Minisini
dd82d9f874 [GB.REPORT]
* BUG: A little fix in properties declaration.


git-svn-id: svn://localhost/gambas/trunk@2719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 13:45:49 +00:00
Benoît Minisini
9d9deaa6f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Setting control position or size from the property sheet works 
  correctly again.

[GB.QT4]
* BUG: Non transparent DrawingAreas work again. Drawing in an intermediate
  pixmap instead seems to be faster than drawing directly on the internal 
  qt double-buffer. Why? I should see no difference!


git-svn-id: svn://localhost/gambas/trunk@2718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 12:04:34 +00:00
Benoît Minisini
dc168bd119 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for form family specific drawing routines.

[GB.REPORT]
* NEW: Enhance the definition of ReportLabel hidden properties.
* NEW: Create a optionally exported Align class.
* NEW: Add properties definitions to the ReportLine class.

[GB.QT4]
* NEW: DrawingArea.Transparent is a new property to make it transparent.
* BUG: TabStrip should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 03:27:10 +00:00
Benoît Minisini
56cb9e876e [INTERPRETER]
* BUG: Allow a dynamic class to inherit a native static class without 
  crashing.

[GB.FORM]
* OPT: Try to do a little less file browsing when loading stock icons.


git-svn-id: svn://localhost/gambas/trunk@2716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-24 23:47:46 +00:00
Fabien Bodard
f96f4798bc [GB.REPORT]
* BUG: now the property expand is a boolean


git-svn-id: svn://localhost/gambas/trunk@2714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 20:57:51 +00:00
Benoît Minisini
c644455a2e [DEVELOPMENT ENVIRONMENT]
* NEW: Working on report form support. Report forms now can be created and 
  edited. Symbol auto-completion is not implemented.
* NEW: The toolbox is updated according to the current edited form family.
* BUG: Menu are correctly saved again.
* NEW: Component help is implemented in the project property dialog.

[GB.GTK]
* BUG: Menu are containers.

[GB.GUI]
* BUG: The *.component file has been fixed.

[GB.REPORT]
* BUG: Control public constants are almost correctly defined now, and 
  inheritance is used.

[GB.QT4]
* BUG: Menu are containers.
* BUG: The text of hidden TabStrip tabs is not lost anymore.



git-svn-id: svn://localhost/gambas/trunk@2713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 03:21:43 +00:00
Benoît Minisini
e227c68989 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for controls having no real position and dimensions.


git-svn-id: svn://localhost/gambas/trunk@2712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 20:56:53 +00:00
Fabien Bodard
f96419b69a [GB.REPORT]
* OPT: Begin to add hidden properties for IDE integration



git-svn-id: svn://localhost/gambas/trunk@2711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 07:40:46 +00:00
Benoît Minisini
92f9cd2940 [DEVELOPMENT ENVIRONMENT]
* NEW: Similar controls are now identified by the _Similar hidden property.
* NEW: The "Provides" tab has been removed from the project property 
  dialog, as everything is now defined by control hidden properties.

[GB.GTK]
* BUG: Fix control hidden properties.

[GB.FORM]
* NEW: Update the component to the new declaration scheme.

[GB.QT4]
* BUG: Fix control hidden properties.

[GB.QT4.EXT]
* NEW: Remove the Drawing class, and the Draw.Drawing() method.
* BUG: Fix control hidden properties.


git-svn-id: svn://localhost/gambas/trunk@2710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 02:33:47 +00:00