Commit graph

5043 commits

Author SHA1 Message Date
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
Fabien Bodard
2e36a53ed5 [GB.REPORT2]
* OPT: Continue Report component reconstruction


git-svn-id: svn://localhost/gambas/trunk@6818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-07 21:18:07 +00:00
Benoît Minisini
fea6d3c2dd [DEVELOPMENT ENVIRONMENT]
* NEW: Use row borders in project property component list. But still use 
  cell borders in component / library requirements!

[GB.GEOM]
* BUG: RectF: Fix the implementation of several methods and properties.

[GB.GUI.BASE]
* NEW: Redesign the Border methods signature. They take a RectF instead of
  X, Y, Width, Height arguments.
* NEW: Border.GetRect() is a new method that returns the available border 
  inside as an integer rectangle.
* NEW: Border(...) now create a new Border object, like the constructor.
* NEW: Border.IsVoid() returns if the Border object will actually draw a
  border. The slash and backslash strokes are not taken into account.
* NEW: GridView.Collapse has been removed. Margin are always collapsed for
  row borders, and never collapsed for cell borders.
* BUG: GridView borders now work as expected.


git-svn-id: svn://localhost/gambas/trunk@6817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-07 18:17:01 +00:00
Benoît Minisini
589dacb39d [GB.GUI.BASE]
* NEW: Border: The Paint and Clip methods now take neighbourg borders as 
  optional arguments. When a neighbourg is specified, their opposite 
  margins are collapsed.
* NEW: GridView.Collapse is a new property to tell if custom border margins
  will be collapsed.
* NEW: GridView.Rows[].Border is a new property to define the border of an
  entire row.
* NEW: GridView.Rows.Border is a new property to define the default row
  border.


git-svn-id: svn://localhost/gambas/trunk@6816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-07 02:46:49 +00:00
Benoît Minisini
6b10bb831d [DEVELOPMENT ENVIRONMENT]
* NEW: Component/Library dependencies now are chosen from a new component 
  selection dialog.
* BUG: Database editor: Support for requests beginning with "WITH" or 
  "PRAGMA".

[WIKI CGI SCRIPT]
* NEW: New login panel.
* BUG: Fix creatable class detection.

[GB.FORM]
* BUG: IconPanel: The mouse wheel cannot select hidden tabs anymore.
* BUG: Wizard: Remove default padding for wizards having a border.

[GB.GUI.BASE]
* BUG: Border: Rewrite the painting routine. Simplify the clipping to help
  workaround Qt4 bugs.

[GB.DB.SQLITE]
* NEW: Mark the component as deprecated.

[GB.DB.SQLITE3]
* BUG: Support for PRAGMA requests. Start cleaning up the horrible C++ 
  classes.

[GB.QT4]
* BUG: Simplify the clipping management, because the old one was based on 
  the QPainterPath::intersected() Qt method that is buggy. Clipping mixed 
  with world transform matrix has still to be checked.


git-svn-id: svn://localhost/gambas/trunk@6815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 22:44:35 +00:00
Benoît Minisini
e6a92c4fef [GB.QT4]
* BUG: Fix compilation with Qt <= 4.6.


git-svn-id: svn://localhost/gambas/trunk@6814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 15:06:39 +00:00
Benoît Minisini
1f3f46a0f9 [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance the fram software design. Add an initial global category 
  search.

[GB.FORM]
* NEW: Three new stock icons: "development", "multimedia" & "office".
* NEW: Wizard.ShowButton is a new property that allows to hide the wizard 
  buttons.

[GB.FORM.STOCK]
* NEW: New stock icons.


git-svn-id: svn://localhost/gambas/trunk@6813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-05 23:34:17 +00:00
Benoît Minisini
0d9032c2a2 [DEVELOPMENT ENVIRONMENT]
* NEW: Description of the gb.util.web component.
* NEW: A component/library project now can define if its information should 
  include the information of other components. This is useful if your 
  component includes another component at runtime that is hidden, or that 
  it does not depend on.

[INFORMER]
* NEW: Support for information include of components written in Gambas.

[GB.GUI.BASE]
* OPT: Border: Use Single instead of Float for properties. It saves some 
  memory space.
* NEW: Border: Properties for diaognal strikes.
* BUG: Border: Fix style syntax analyze.

[GB.UTIL.WEB]
* NEW: A new component that provides useful routines for web applications.
  They were located in gb.web before.

[GB.WEB]
* NEW: 'gb.util.web' is now automatically loaded, to provide 
  backward-compatibility with Gambas 3.6 applications using 'gb.web'.


git-svn-id: svn://localhost/gambas/trunk@6812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-05 20:51:21 +00:00
Tobias Boege
6217979d2f [CONFIGURATION]
* BUG: Redirect to the wiki from the INSTALL file. It contained a generic
  (and not working) excerpt from the autoconf manual before.



git-svn-id: svn://localhost/gambas/trunk@6811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-05 17:56:43 +00:00
Benoît Minisini
35dbcb4b9d [INTERPRETER]
* BUG: Fix _call special method management again.


git-svn-id: svn://localhost/gambas/trunk@6810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 23:41:09 +00:00
Benoît Minisini
90f04de1a9 [INTERPRETER]
* BUG: "create static" classes are now taken into account when using the 
  _call() special method.


git-svn-id: svn://localhost/gambas/trunk@6809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 23:02:03 +00:00
Benoît Minisini
2e7ee7f8b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new GridView cell Border property to draw the component tab 
  of the project property dialog differently.

[GB.GUI.BASE]
* NEW: Border has margin properties now.
* NEW: Fix Border painting algorithm.
* NEW: Border.Clip() is a new method to clip to the border inside.
* NEW: The Border constructor can take an optional style argument. That
  style follows a CSS-like syntax.
* NEW: Border.Copy() is a new method that returns a copy of a Border 
  object.
* NEW: GridView: cells now have a Border property. If it points at a Border
  object, that border will be drawn in the cell.


git-svn-id: svn://localhost/gambas/trunk@6808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 21:48:44 +00:00
Tobias Boege
0e069f3d04 [GB.DATA]
* BUG: GraphMatrix: Multiple simultaneous enumerations are possible now.



git-svn-id: svn://localhost/gambas/trunk@6807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 18:32:33 +00:00
Benoît Minisini
9e1a26ccbd [GB.GUI.BASE]
* NEW: The Border class is now creatable.
* NEW: Border.Paint() draws a border object according to the value of its 
  properties: Style, Width, Radius, Color...

[GB.QT4]
* BUG: Paint.Dash now understands zero widths like gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 16:01:14 +00:00
Benoît Minisini
05f19a7339 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project property dialog validation for component/library 
  projects.


git-svn-id: svn://localhost/gambas/trunk@6805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 11:55:15 +00:00
Benoît Minisini
77670873a1 [GB.NET]
* BUG: Fix SerialPort.DTR property.


git-svn-id: svn://localhost/gambas/trunk@6804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 02:19:34 +00:00
Benoît Minisini
e624fc7361 [DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Make component filters visible again.
* NEW: Project properties dialog: To get help on a component, you have to
  double-click on it now. It opens a embedded web browser on the help. The
  back button of the browser goes back to the component list.

[WIKI CGI SCRIPT]
* NEW: Always put the login panel at the bottom of the startup page.


git-svn-id: svn://localhost/gambas/trunk@6803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 21:52:17 +00:00
Benoît Minisini
9d5cb6dd37 [GB.FORM]
* NEW: IconPanel tabs can be individually hidden, by using their Visible 
  property.


git-svn-id: svn://localhost/gambas/trunk@6802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 14:56:33 +00:00
Benoît Minisini
c5607572c9 [DEVELOPMENT ENVIRONMENT]
* NEW: Put the component/library properties into the project property 
  dialog.


git-svn-id: svn://localhost/gambas/trunk@6801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 14:54:56 +00:00
Benoît Minisini
63e7d1a92b [GB.DB.FORM]
* NEW: The DataSource BeforeSave event can be stopped. That cancels the 
  current record save then.


git-svn-id: svn://localhost/gambas/trunk@6800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-03 01:10:29 +00:00
Benoît Minisini
1b67769f30 [GB.SDL2.AUDIO]
* BUG: Setting music volume now works even if the music is not playing.
  Workaround an SDL2 deficiency.


git-svn-id: svn://localhost/gambas/trunk@6799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 20:52:15 +00:00
Benoît Minisini
0e6e531d72 [GB.QT4]
* BUG: Do delete open windows later when the event loop is finished. 
  This is supported by QT, provided that you explicitly ask him to send the
  deferred deletion events.


git-svn-id: svn://localhost/gambas/trunk@6798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 15:17:53 +00:00
Benoît Minisini
5e92876cad [EXAMPLES]
* NEW: LCDLabel now uses gb.sdl2.audio.

[GB.FORM]
* BUG: The ToolPanel buttons now takes Style.FrameWidth into account.

[GB.GTK]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do not delete open windows later when the event loop is finished. 
  This is not supported by QT.


git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 14:31:23 +00:00
Benoît Minisini
f386b7a50e [CONFIGURATION]
* BUG: Fix 'components written in Gambas' installation Makefile.am.


git-svn-id: svn://localhost/gambas/trunk@6796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 13:53:47 +00:00
Benoît Minisini
317dce6638 [GB.SDL2.AUDIO]
* NEW: Now Channel is creatable, and returns the first available channel 
  that has never been used.
* NEW: Channel now raises the Finish event when it has finished to play its 
  sound.
* NEW: Channel.Index is a new property that returns its channel number.

git-svn-id: svn://localhost/gambas/trunk@6795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 12:32:57 +00:00
Benoît Minisini
ace44916a2 [CONFIGURATION]
* NEW: When installing a component entirely written in Gambas, 
  automatically remove possible existing old shared library files.

[DEVELOPMENT ENVIRONMENT]
* NEW: Don't display an error message when a newly inserted file cannot be 
  automatically opened.


git-svn-id: svn://localhost/gambas/trunk@6794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 11:55:00 +00:00
Benoît Minisini
4edd14b3db [GB.SDL2.AUDIO]
* NEW: Explicitely initialize each sound format support, and print a 
  warning for each failure.
* NEW: 'gb.sdl2.audio' does not require 'gb.sdl2' anymore.


git-svn-id: svn://localhost/gambas/trunk@6793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 10:47:37 +00:00
Benoît Minisini
a5f2cb1575 [FARM SERVER]
* NEW: Software screenshot can be deleted by the client.

[INTERPRETER]
* NEW: The little interpreter sleep is now done inside the watch file 
  descriptor read callback only. So no need to implement it in each
  component event loop.

[GB.SDL2]
* BUG: The SDL event loop now calls the interpreter event loop so that 
  timers and watched file descriptor are correctly handled.


git-svn-id: svn://localhost/gambas/trunk@6792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 03:44:30 +00:00
Benoît Minisini
cc08725fe4 [INTERPRETER]
* NEW: Do not stop watching a file descriptor that is ready to read but has 
  no data.
* NEW: Sleep up to 10 ms if the event loop is called too often.


git-svn-id: svn://localhost/gambas/trunk@6791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 02:22:22 +00:00
Benoît Minisini
3a0f4eaafd [DEVELOPMENT ENVIRONMENT]
* NEW: Publish dialog: Make screenshot options more verbose.


git-svn-id: svn://localhost/gambas/trunk@6790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 00:05:41 +00:00
Benoît Minisini
ab5719f199 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the screenshot tool.
* NEW: Publish software dialog: Now the software screenshot can be removed,
  taken from the clipboard or loaded from any file. It does not have to be
  stored inside the project anymore.


git-svn-id: svn://localhost/gambas/trunk@6789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 23:58:09 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
9482afcd01 [GB.SCANNER]
* BUG: Fix component project version.


git-svn-id: svn://localhost/gambas/trunk@6787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:19:29 +00:00
Benoît Minisini
ef0eae0250 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add an option to replace existing translations 
  when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error 
  anymore.

[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.

[GB.GTK]
* BUG: Implement the Invert property in vertical containers.

[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.

[GB.QT4]
* BUG: Implement the Invert property in vertical containers.


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Tobias Boege
8e1ca6210f [DEVELOPMENT ENVIRONMENT]
* OPT: FPatch: Make hunk (un)checking behave more intuitive.
* BUG: FMakePatch: Don't add a patch to the viewer multiple times.



git-svn-id: svn://localhost/gambas/trunk@6785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 18:26:47 +00:00
Benoît Minisini
7dca5a263a [GB.SDL2]
* NEW: Font.DefaultHeight is a new constant that returns the height of the 
  default font.

[GB.SDL2.AUDIO]
* NEW: Sound.Play method has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 15:49:49 +00:00
Benoît Minisini
9019886842 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm software: Fix software list refreshing and upgrade process. The
  upgrade process still not work flawlessly.


git-svn-id: svn://localhost/gambas/trunk@6783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 15:44:33 +00:00
Benoît Minisini
327ad6bacf [GB.SDL2.AUDIO]
* BUG: Fix Music.Volume property.


git-svn-id: svn://localhost/gambas/trunk@6782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 13:38:28 +00:00
Benoît Minisini
b144324801 [GB.SETTINGS]
* BUG: Settings.Clear() now works correctly.
* BUG: Settings.Keys does not return a key slot if it is void.


git-svn-id: svn://localhost/gambas/trunk@6781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 02:04:10 +00:00
Benoît Minisini
c9d87bf8b9 [GB.SDL2]
* NEW: Channel.Distance is a new property that defines the channel 
  distance, between 0 (near) and 255 (far).
* NEW: Channel.Angle is a new property that defines the channel direction,
  0° being the front, 90° the right, 180° behind and 270° the left.
* NEW: Channel.Reverse is a new boolean property that reverses the channel
  stereo.
* NEW: Music.SoundFontPath is a new property to tell SDL the directories 
  where the MIDI sound font files are stored.


git-svn-id: svn://localhost/gambas/trunk@6780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 23:10:56 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the 
  farm server yet.

[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then 
  1583.

[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Benoît Minisini
14a735ac51 [GB.SDL2.AUDIO]
* NEW: The audio part of the SDL2 component. It's the old gb.sdl.sound 
  without the CD-Rom support, but with a few more features planned.


git-svn-id: svn://localhost/gambas/trunk@6778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 15:56:19 +00:00
Sebastian Kulesz
f1fcf4f59f [GB.LOGGING]
* OPT: Make it backwards compatible with the previous implementation of 
  gb.logging


git-svn-id: svn://localhost/gambas/trunk@6777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 22:44:26 +00:00