Commit graph

17 commits

Author SHA1 Message Date
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
6e0837b430 [DEVELOPMENT ENVIRONMENT]
* NEW: Go back to the old way of drawing selected controls.
* NEW: Use the Indent property in the option and project properties 
  dialogs.

[GB.GTK]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT4]
* BUG: Fix the arrangement algorithm when the Indent property is set.


git-svn-id: svn://localhost/gambas/trunk@2130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-18 02:30:07 +00:00
Benoît Minisini
cfd564e4a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e. 
  string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less 
  easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.

[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a 
  "database URL" to the constructor. For example: 
  "mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
  This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
  the value, and do nothing with it. It's up to you to use the information
  later if you need.

[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays 
  "BLOB" in the cell with a darker background.

[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in 
  Qt that updated two lines when it was asked for one only.


git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-17 01:29:39 +00:00
Benoît Minisini
7cc1e34ad7 [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in the option dialog layout.

[GB.FORM]
* BUG: SidePanel keeps open again in design mode.

[GB.FORM.MDI]
* BUG: Hide newly embedded windows explicitely again.

[GB.QT4]
* BUG: Menu.Checked and Menu.Toggle properties now should work as expected.
* BUG: New TabStrip tabs are explicitely hidden at creation.


git-svn-id: svn://localhost/gambas/trunk@2041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-25 14:22:49 +00:00
Benoît Minisini
81bf4acb02 [DEVELOPMENT ENVIRONMENT]
* BUG: Close and actually delete project files when closing the project.

[GB.GTK]
* BUG: Fix a possible crash when setting the TextBox.Text property with a 
  null string.

[GB.QT4]
* BUG: Start fixing drag & drop on controls having scrollbars.
* BUG: Fix a crash in focus management.
* BUG: The ListBox.Remove() method works now.
* BUG: Fix menu management.
* BUG: The Menu.Checked property works now.
* BUG: Do not exit application when displaying the abort error message. It 
  crashes.
* BUG: TabStrip is correctly layouted the first time it is shown now.


git-svn-id: svn://localhost/gambas/trunk@2040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-24 10:00:10 +00:00
Benoît Minisini
915fdb9816 [DEVELOPMENT ENVIRONMENT]
* NEW: Use gb.qt4 and gb.qt4.ext now.
* BUG: Popup menus must be visible, otherwise shortcuts are not active.

[GB.FORM]
* NEW: ListContainer now raises a Scroll event when it is scrolled.

[GB.NET.CURL]
* BUG: The first header string was not 'nul' terminated.

[GB.QT4]
* BUG: ScrollView does not scroll anymore when one of its children is 
  resized.
* BUG: Prevent a crash in ScrollView in some situations.


git-svn-id: svn://localhost/gambas/trunk@2036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 20:49:57 +00:00
Benoît Minisini
e1712973c2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the arrangement of the welcome dialog and the project property 
  component list.
* BUG: Undo now works on procedure declaration automatically inserted.

[INTERPRETER]
* BUG: Object.Lock(), Object.Unlock() and Object.IsLocked() now work as
  expected on Observer objects.

[GB.QT]
* BUG: Label and TextLabel autoresize routine has been fixed.
* BUG: ScrollView now arrange its contents again when one of its scrollbars 
  is shown or hidden.
* BUG: Minimum size of window dialogs works again.
* BUG: Top-level windows now arrange its contents on resize events in all
  cases as expected.


git-svn-id: svn://localhost/gambas/trunk@1875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 01:51:25 +00:00
Benoît Minisini
4401efa276 [GB.FORM]
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.

[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.

[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.

[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent 
  pictures.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.

[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.


git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-15 23:49:07 +00:00
Benoît Minisini
ada60fc705 [GB.GTK]
* BUG: Initialize the new BeforeArrange container callback correctly, so 
  that the component does not crash anymore.
* BUG: Correctly declare the new BeforeArrange event.

[GB.QT]
* BUG: Fix the arrangement algorithm, so that it does not keep containers 
  locked when they have no child to arrange.


git-svn-id: svn://localhost/gambas/trunk@1800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-14 01:52:42 +00:00
Benoît Minisini
c650b91dcd [DEVELOPMENT ENVIRONMENT]
* BUG: Signature and automatic completion are visible again. Moreover, 
  they are not hidden anymore when the editor is resized, but this may
  change in the future.

[GB.FORM]
* BUG: The DatePicker works again.

[GB.FORM.MDI]
* BUG: The Enabled state of toolbar buttons is preserved now when 
  configuring the toolbar.

[GB.GTK]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT4]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.


git-svn-id: svn://localhost/gambas/trunk@1799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 14:50:44 +00:00
Benoît Minisini
c4c631ecb9 [CONFIGURATION]
* NEW: Remove the gb.image.info component.
* NEW: Start removing the gb.image component.

[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor and text editor now arrange their contents correctly 
  when the toolbar size changes.
* BUG: The picture of a form action is the Icon property, not the Picture 
  property.

[INTERPRETER]
* BUG: The _compare special method now is not called anymore if one of the 
  compared object references is null.

[GB.GTK]
* NEW: Control.Drag() and Drag() now return the drop destination.

[GB.FORM.MDI]
* NEW: The toolbar icon size can be changed.
* BUG: Actions that exist on different forms are correctly loaded.
* NEW: The cursor keys can be used now in the shortcut configuration dialog 
  to move the gridview current row. Consequently, you cannot use them as 
  shortcuts.

[GB.NET]
* BUG: Serial port devices are now watched for reading, not for writing. So 
  the callback will not be called permanently.

[GB.QT]
* NEW: The Arrange event is now raised just before a container is arranged, 
  not after. Moreover, it cannot called recursively anymore.

[GB.QT4]
* NEW: Control.Drag() and Drag() now return the drop destination.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.
* NEW: Utility windows now use their initial size as minimum size.
* BUG: Do not loop indefinitely when arranging the contents of a 
  ScrollView.


git-svn-id: svn://localhost/gambas/trunk@1797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 00:42:55 +00:00
Benoît Minisini
23762036df [CONFIGURATION]
* NEW: Activate the compilation of the gb.qt4 directory.

[DEVELOPMENT ENVIRONMENT]
* BUG: Actions that are not associated with a Menu will not be shown 
  anymore in the Action configuration dialog.

[GB.QT]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.
  
[GB.GTK]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.
  
[GB.QT4]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.


git-svn-id: svn://localhost/gambas/trunk@1777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-04 01:37:20 +00:00
Benoît Minisini
9de02c9cac [INFORMER]
* BUG: The informer algorithm was redesigned. Now a sub-process is 
  launched for each component that should be analyzed, and LD_PRELOAD is 
  used to load the component shared library before the process is launched.
  Otherwise, some component may crash.

[GB.DRAW]
* BUG: Correctly initialize color properties of the Draw class at 
  Draw.Begin().
* NEW: Draw.FillRect() is a new method to draw a filled rectangle with the 
  specified color.
* NEW: Draw.Clear() is a new method that clears the drawing device with its
  background color.

[GB.FORM.MDI]
* NEW: Do not use BackColor and ForeColor properties anymore.

[GB.GTK]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* BUG: Desktop.Resolution now uses the accurate GTK+ API.
* BUG: Setting the ListBox.List to NULL property does not lock the ListBox 
  control anymore. 
* BUG: Fix the Font object management. Using Font properties should not 
  crash anymore.
* BUG: Image.Save() and Picture.Save() now understand the "~" shortcut in 
  path names.

[GB.QT]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: Do not check if we should quit too often.
* NEW: Allow windows to be closed during a WAIT instruction as in other 
  components. I do not know why it was forbidden before.
* NEW: Prevent a crash in arrangement routines if a child widget is not 
  associated with a Gambas control anymore.

[GB.QT4]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: The source code is now up to date with gb.qt. But many things do not 
  work as expected!

[GB.QT4.EXT]
* NEW: The source code is now up to date with gb.qt.ext. But many things do 
  not work as expected!


git-svn-id: svn://localhost/gambas/trunk@1776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-03 22:24:02 +00:00
Benoît Minisini
ab3e3d5146 [DEVELOPMENT ENVIRONMENT]
* NEW: Procedure folding is usable now. Use CTRL+ENTER and CTRL+SHIT+ENTER 
  to expand or collapse a procedure in the IDE editor.

[GB.GTK]
* BUG: Fix the Key.Enter keyboard constant value.
* BUG: The AutoResize property of containers now takes the Padding 
  property into account in all cases.

[GB.QT]
* BUG: The AutoResize property of containers now takes the Padding 
  property into account in all cases.

[GB.QT.EXT]
* NEW: Procedure folding fixes and enhancements in Editor.
* NEW: Editor interface has changed.
* NEW: Editor highlight styles got a new Background property for defining 
  the background color of a token. It can be Color.Transparent: then no
  background is drawn in that case.


git-svn-id: svn://localhost/gambas/trunk@1254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-25 17:19:59 +00:00
Benoît Minisini
bd322efa9c [DEVELOPMENT ENVIRONMENT]
* BUG: Use TextEdit.RichText insted of TextEdit.Text.
* BUG: END SUB can be the end of a method. The class analyze now takes 
  that into account.

[HELP]
* BUG: Fixed the generated treeview.

[COMPILER]
* OPT: The NOT operator used just at the beginning of a conditional 
  expression is optimized. Consequently, an expression like 'IF NOT 2' is 
  now equivalent to 'IF 2 = 0' and not to 'IF (NOT 2) <> 0' as before. In
  other words, the boolean conversion is now done before the NOT, and not 
  after. The following instructions are concerned: IF, WHILE, UNTIL.
* NEW: BYREF is new keyword that is a more readable synonymous of '@'.

[GB.DB.FORM]
* BUG: Correctly manage data controls inside TabStrip-like containers.
* BUG: Setting the focus on a non-initialized DataControl does not raise 
  an error anymore.

[GB.GTK]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a 
  list of children widths, hidden children having a zero width.
* BUG: Window arrangement is done before the Open event is raised, as in 
  gb.qt.
* BUG: Keyboard, focus and mouse events now work correctly on Window and 
  DrawingArea controls.

[GB.QT]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a 
  list of children widths, hidden children having a zero width.
* BUG: Many warning fixes.
* BUG: Now the Control.Visible property works like in gb.gtk, i.e. it 
  returns if the control was not explicitely hidden.


git-svn-id: svn://localhost/gambas/trunk@1060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-06 00:25:48 +00:00
Benoît Minisini
ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00