Commit graph

32 commits

Author SHA1 Message Date
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Benoît Minisini
cfaeb4fc90 [GB.FORM]
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.


git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 13:50:53 +00:00
Benoît Minisini
27ce882d1e [GB.FORM]
* NEW: DateChooser use Sunday as first day of the week when the current 
  language is 'C' or 'en_US'.


git-svn-id: svn://localhost/gambas/trunk@3140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 15:51:25 +00:00
Benoît Minisini
93faf536ae [GB.DBUS]
* BUG: Handle NULL as method argument without crashing.


git-svn-id: svn://localhost/gambas/trunk@3138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 12:09:16 +00:00
Benoît Minisini
377a146a9a [EXAMPLES]
* NEW: Output signatures are more readable now.
* BUG: Objects on system bus are correctly browsed now.


git-svn-id: svn://localhost/gambas/trunk@3136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:26:47 +00:00
Benoît Minisini
e389bcfa9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when closing the procedure list with F6.

[EXAMPLES]
* BUG: Fix the display of method signatures in the DBusExplorer example.

[GB.WEB]
* NEW: Disable HTTP compression if 'gzip' is not installed.


git-svn-id: svn://localhost/gambas/trunk@3134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 20:56:29 +00:00
Benoît Minisini
90bdc49fa2 [GB.DBUS]
* BUG: As usual, forgot to add two new source files.


git-svn-id: svn://localhost/gambas/trunk@3060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-21 09:09:40 +00:00
Benoît Minisini
7f88b776ab [INTERPRETER]
* BUG: Do not crash anymore when a native function returns one of its 
  argument.
* NEW: New interpreter API to enumerate a collection.

[GB.DBUS]
* NEW: Collection are fully supported now.
* NEW: The org.freedesktop.DBus.properties.GetAll() method has been
  implemented.
* BUG: Correctly raise an error when calling a D-Bus method fails.
* BUG: Correctly release strings returned by D-Bus functions that must be
  released.


git-svn-id: svn://localhost/gambas/trunk@3058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-21 04:40:45 +00:00
Benoît Minisini
5826fdcf8c [DEVELOPMENT ENVIRONMENT]
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.

[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog 
  is displayed.
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.

[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.


git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-20 15:50:17 +00:00
Benoît Minisini
e8600ab89c [GB.DBUS]
* BUG: Calling DBus methods with no arguments works correctly again.


git-svn-id: svn://localhost/gambas/trunk@3049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-19 19:54:43 +00:00
Benoît Minisini
36a562fa2e [GB.DBUS]
* BUG: The Signal event of the DBusSignal class now provides both the 
  signal name and the signal arguments.

git-svn-id: svn://localhost/gambas/trunk@3048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-19 13:35:32 +00:00
Benoît Minisini
e509aab05f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix class header parsing in automatic completion.

[INTERPRETER]
* BUG: Class[].Signature has been implemented.
* BUG: Fix native method calling when some arguments must be converted.
* NEW: Two new interpreter APIs, GB.BorrowValue() and GB.ReleaseValue(), to
  correctly manage values returned by GB.ReadValue().

[GB.DBUS]
* NEW: Support for exporting properties and methods. The GetAll() DBus 
  method has not been implemented yet, because marshalling Collection is 
  not supported yet. Sending signals is not supported yet too.
* NEW: The previous DBusObject class has been renamed as DBusProxy.
* NEW: A new DBusObject class. Each Gambas object that inherits DBusObject
  is automatically exported through DBus.
* NEW: DBusSignal is a new class to catch DBus signals by giving its 
  interface name.


git-svn-id: svn://localhost/gambas/trunk@3047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-19 12:33:57 +00:00
Benoît Minisini
bc35f266db [CONFIGURATION]
* NEW: Remove the ./reconf-all link.

[GB.DBUS]
* NEW: Start to handle incoming DBus message (methods calls, signals...).


git-svn-id: svn://localhost/gambas/trunk@3042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-16 01:17:49 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +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
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
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version 
  control if the project parent directory is already under version control.

[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
  display the text extents accurately.

[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.

[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.

[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.

[GB.NET]
* NEW: UpdSocket has now a Timeout property.

[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when 
  they have a border.


git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 17:09:57 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Fabien Bodard
845049b682 [GB.DBUS]
* BUG: Oups


git-svn-id: svn://localhost/gambas/trunk@2253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:39:08 +00:00
Fabien Bodard
911e1d6e8e [DEVELOPMENT ENVIRONMENT]
* NEW: Now the popup help is a popup top window. The help is showed 
  when you are staying on a word more than one second with the mouse.

[GB.QT4.EXT]
* NEW: The function PosToCol of the editor now return false if the mouse 
  is not on the text.




git-svn-id: svn://localhost/gambas/trunk@2252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:35:28 +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
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Benoît Minisini
9761b82d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Try to lower the number of lines displayed in the GUI by removing 
  borders and using Separators instead.
* BUG: F11 should work correctly just after the IDE has been loaded now.

[EXAMPLES]
* NEW: In the PdfViewer example, zooming with the mouse wheel is now 
  smooth.

[GB.FORM.MDI]
* NEW: Remove one pixel padding in Workspace and Toolbar.

[GB.IMAGE]
* NEW: Color.Mix has been replaced by Color.Merge.

[GB.QT4]
* NEW: Remove useless Color methods and properties that are now defined in
  the gb.image component.

[GB.QT4.EXT]
* NEW: Editor has a new boolean property Border.


git-svn-id: svn://localhost/gambas/trunk@2227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:01:59 +00:00
Benoît Minisini
5cbca23c23 [GB.DBUS]
* NEW: DBus.Session returns the session bus DBusConnection object.
* NEW: DBus.System returns the system bus DBusConnection object.
* NEW: DBusConnection has a new Applications property that returns the list 
  of applications that have registered to itself.
* NEW: DBusObject has new Children property that returns the list of its 
  children relative paths.


git-svn-id: svn://localhost/gambas/trunk@2225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 22:06:17 +00:00
Benoît Minisini
0082ebc8db [GB.DBUS]
* BUG: Fix the "DBus class declared twice" error. The DBus class in the C 
  part has been renamed "_DBus" so that it does not conflict anymore with 
  the DBus class declared in the gambas part.


git-svn-id: svn://localhost/gambas/trunk@2223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 18:14:26 +00:00
Benoît Minisini
80a20e2336 [EXAMPLES]
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to 
  the child shell.

[INTERPRETER]
* BUG: Remove some warning messages.

[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-06 00:34:49 +00:00
Benoît Minisini
caa1b5aac6 [INTERPRETER]
* NEW: The _unknown() method is now correctly called when reading *and* 
  writing unknown properties. _unknown() is called with no arguments when
  reading the property, and with one argument (the new property value) when 
  writing it.
* BUG: Classes declared in the Gambas part of a component now should 
  correctly override classes declared in the C/C++ part.

[GB.DBUS]
* NEW: Hide native methods of the DBus class.
* NEW: The syntax for calling a method is:
  DBus[<Application>][<Object>,<Interface>].<Method>(<Arguments>)
  <Application> can be prefixed by "system://" to access the system bus.
* NEW: Properties are readable and writable with this syntax:
  DBus[<Application>][<Object>,<Interface>].<Property>
* NEW: DBusVariant is a new class that allows to send a Variant to a DBus 
  method by specifying is DBus type. Otherwise, when using Variant 
  directly, the associated DBus type is guessed automatically, which may 
  not be accurate is some cases.


git-svn-id: svn://localhost/gambas/trunk@2218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-05 16:14:08 +00:00
Benoît Minisini
ec084f4211 [WEB SITE MAKER]
* NEW: Prepare the web site for turkish translation.


git-svn-id: svn://localhost/gambas/trunk@2207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 23:05:08 +00:00
Benoît Minisini
3b15965514 [GB.DBUS]
* NEW: DBus.Session returns a connection to the session bus as a 
  DBusConnection object.
* NEW: DBus.System returns a connection to the system bus as a 
  DBusConnection object.
* NEW: DBusConnection.Introspect() is a method that returns the result of 
  the Introspect() method on a specific object path.
* NEW: DBusConnection.CallMethod() allows to call any D-Bus method. 
  Marshalling is automatic, but D-Bus signature of input and output 
  arguments must be provided.


git-svn-id: svn://localhost/gambas/trunk@2205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 22:43:26 +00:00
Benoît Minisini
06282813f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the project refreshing routine that made edited data files 
  read-only and unsaveable.

[WEB SITE MAKER]
* NEW: Arabic translation made by Daif Alotaibi.
* NEW: Support for right-to-left written languages.

[GB.DBUS]
* NEW: A new component to talk with D-Bus. But it cannot do anything at 
  the moment.

[GB.QT4]
* BUG: Expanded an item in a TreeView by code now shows the children as if 
  you did it by user interaction.


git-svn-id: svn://localhost/gambas/trunk@2197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 21:42:46 +00:00