* Bug: replace the removed function Font.Width by the new one Font.TextWidth
git-svn-id: svn://localhost/gambas/trunk@3098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DateBox is a new control that can edit a date with a calendar popup.
It aims at replacing the DatePicker, and the ValueBox with date type.
* NEW: DateChooser layout is better with small sizes.
* NEW: DateChooser raises a Cancel event when you hit the Escape key.
[GB.GTK]
* BUG: Better management of window grabs.
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
It takes an optional X,Y screen position as arguments. If not specified,
the window is shown at the current cursor position.
* BUG: Now all controls catch basic events.
* BUG: Fix a crash when destroying controls.
[GB.QT4]
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
It takes an optional X,Y screen position as arguments. If not specified,
the window is shown at the current cursor position.
* NEW: TrayIcon got a PopupMenu property, like the Control class. But it
works only if the TrayIcon observer is a Window. The property has bot
been implemented in gb.gtk yet.
git-svn-id: svn://localhost/gambas/trunk@3088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Now the list are correctly drawed on the wished page.
* OPT: the resize function of FPreview is renamed to ResizeMe
git-svn-id: svn://localhost/gambas/trunk@3087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New code snippet to define a startup Main procedure.
* NEW: In the open project dialog, selecting a project directory now
displays the project contents inside a treeview, like the IDE does.
[GB.QT4]
* NEW: Some changes in the Font class: Font.Height is now a property that
returns the font height, and Font.Width has been removed. Now, to compute
the size of a text fragment, you must use Font.TextWidth() and
Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
Font.RichTextHeight() allow to compute the size of a rich text fragment.
* BUG: When showing a form, the initial focus should be correctly set in
all cases now.
[GB.GTK]
* NEW: Some changes in the Font class: Font.Height is now a property that
returns the font height, and Font.Width has been removed. Now, to compute
the size of a text fragment, you must use Font.TextWidth() and
Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
Font.RichTextHeight() allow to compute the size of a rich text fragment.
git-svn-id: svn://localhost/gambas/trunk@3024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: StrPtr() now can take a second argument to specify the length of the
string we will read from memory. If that argument is not specified, the
string must ends with a zero character.
* OPT: Internal array management was optimized. It changes nothing for the
Gambas array class.
[COMPILER]
* OPT: Internal array management was optimized.
* BUG: Using embedded structure with a class that is not a structure now
raises an error.
git-svn-id: svn://localhost/gambas/trunk@2979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Search string is correctly highlighted in all cases now.
[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.
[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables
with dimensions. The IDE and component source code were modified
according to that change.
[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax
highlighting.
git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking
mode, then Eof() will wait for the data before testing if something can
be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always
available.
[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
with the PIPE instruction.
[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or
show the colormap.
[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.
git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Dropping a picture on a Report form inserts a ReportImage now.
* BUG: Some fixes in arrangement icon drawing.
* OPT: Don't hide the console at program's end, if the console must remain
visible.
* NEW: Support for symbolic links to source directories. Disabled at the
moment.
* BUG: Do not use gb.gtk.ext in project templates, it does not exist
anymore!
[INTERPRETER]
* BUG: RDir() with FollowLink argument set correctly search into symbolic
link to directories.
[GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height do not crash anymore if the
underlying desktop does not support standard freedesktop properties.
git-svn-id: svn://localhost/gambas/trunk@2852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Boost the layout by remember the size when it have not to be changed
5 sec for 10000 entry on my old machine.
git-svn-id: svn://localhost/gambas/trunk@2844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now the format property is taked into account, you need to use standard
gambas formating string
* NEW: A boolean property UseField that tel to the report engine to change some
macro value by theire values.
git-svn-id: svn://localhost/gambas/trunk@2843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Complete change of the way that label get datas
Now you just give to the container to repeat a collection[] or a result
and to the label a key and all will simply be done.
The Container_data and Label_data events are removed, the label.index
property and the container.repeat property are removed too
git-svn-id: svn://localhost/gambas/trunk@2842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Begin the change of ReportLabel, now when not text is set, reportlabel
raise an event _Data to get it's text.
PUBLIC SUB ReportLabel1_Data()
LAST.Text = aMyArray[Last.Index]
END
* New: Container are raised an event _Data when repeat is selected
if Stop event is called in this event, the clone process is ended.
PUBLIC SUB ReportVBox_Data()
If Last.Index = $hResult.Count Then Stop Event
END
git-svn-id: svn://localhost/gambas/trunk@2837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ReportCloner is removed, and replaced by the new Repeat property in container
* BUG: The Clones are correctly located
git-svn-id: svn://localhost/gambas/trunk@2831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some corrections in the Label sizing
* BUG: Better management in picture size management... but still a problem on
size when it is contained by a container with autoresize checked
* NEW: Buttons to autoresize and reinit the preview zoom
git-svn-id: svn://localhost/gambas/trunk@2829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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