Commit graph

1401 commits

Author SHA1 Message Date
Benoît Minisini
1518cff7a6 [DEVELOPMENT ENVIRONMENT]
* NEW: Adapt GUI to the new SidePanel look.

[GB.FORM]
* NEW: SidePanel are invisible now.

[GB.QT4]
* BUG: Control.Hovered does no computation anymore, it returns an internal
  flag set when the Enter event is raised, and unset when the Leave event
  is raised.


git-svn-id: svn://localhost/gambas/trunk@4757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 12:11:14 +00:00
Benoît Minisini
fe22f29a69 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display a spurious message anymore when clicking in a void 
  part of the project tree view with the right mouse button.


git-svn-id: svn://localhost/gambas/trunk@4756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 00:12:43 +00:00
Benoît Minisini
658b01475f [DEVELOPMENT ENVIRONMENT]
* OPT: Use Stream.Lines enumeration instead of LINE INPUT. It is a little bit 
  faster.

[COMPILER]
* BUG: Fix CASE LIKE syntax. Now all CASE LIKE arguments are compared with 
  the LIKE operator. Not just the first one.

[GB.FORM]
* NEW: FileChooser now can handle *.tgz archives.
* NEW: GridView: If the Grid property is FALSE, do not draw row and column
  separators.

[GB.GTK]
* BUG: Fix cached drawing areas.
* BUG: Fix mouse event management for controls having scrollbars.
* BUG: Fix cursor management for DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-22 23:32:38 +00:00
Benoît Minisini
d356f49366 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the profiling GUI.

[EXAMPLES]
* OPT: Little optimization in GameOfLife example.

[INTERPRETER]
* NEW: System.Profile is a new property to disable or enable the
  profiling at run time. Profiling can only be enabled if debugging
  information are available.

[GB.DEBUG]
* NEW: Abort the program if the profile file is bigger than 512M.


git-svn-id: svn://localhost/gambas/trunk@4753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 22:13:58 +00:00
Benoît Minisini
9fa35120a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Profiling: The total function duration is now the same as the sum of 
  each line of code duration.

[WEBSITE MAKER]
* NEW: Add a "Release Notes" link in the menu panel.

[GB.DEBUG]
* NEW: Optimize the profile file format a bit.


git-svn-id: svn://localhost/gambas/trunk@4751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 11:35:13 +00:00
Fabien Bodard
1a9e4d94ca [DEVELOPMENT ENVIRONMENT]
* BUG: Another bug removed, on the ReportBOrder dialog, about the sync.


git-svn-id: svn://localhost/gambas/trunk@4750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 09:02:51 +00:00
Fabien Bodard
d9c4408f7c [DEVELOPMENT ENVIRONMENT]
* BUG: The report border dialog work well now


git-svn-id: svn://localhost/gambas/trunk@4749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 08:06:32 +00:00
Benoît Minisini
70afe05d8d [DEVELOPMENT ENVIRONMENT]
* NEW: Handle new format of profile files.

[INTERPRETER]
* NEW: ON ... GOTO and ON ... GOSUB instructions.

[WEBSITE MAKER]
* NEW: An explicit link button that displays the 'news' page.

[COMPILER]
* NEW: ON ... GOTO and ON ... GOSUB instructions.

[GB.DEBUG]
* NEW: New format for profile, more compact and faster to read.


git-svn-id: svn://localhost/gambas/trunk@4748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 01:09:35 +00:00
Benoît Minisini
b5c6820986 [INTERPRETER]
* NEW: Allow to profile time spent waiting for events.

[GB.DEBUG]
* BUG: New profile file format that allows to profile lines of code that
  are function calls.

[GB.GTK]
* NEW: Profile time spent waiting for events.

[GB.QT4]
* NEW: Profile time spent waiting for events.


git-svn-id: svn://localhost/gambas/trunk@4747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 17:58:34 +00:00
Benoît Minisini
f40a93a398 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically delete profile files not in used just before running 
  a project.
* BUG: Automatically close profile windows when another project is opened.

[GB.FORM]
* BUG: GridView.AutoResize property now works correctly.
* BUG: GridView: Automatic column widths now take the sorted indicator into 
  account.

[GB.GTK]
* BUG: Automatic pointer grab on mouse events now do not confuse TreeView
  and ColumnView controls anymore.


git-svn-id: svn://localhost/gambas/trunk@4746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 15:04:04 +00:00
Benoît Minisini
f93affd8e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display callees and callers in the profile window.
* NEW: Display profiling of each line of code.

[INTERPRETER]
* NEW: Activate profiling at the line of code level. Beware, things become
  slower!

[GB.DEBUG]
* NEW: Fix profiling at the line of code level.

[GB.FORM]
* NEW: GridView: Add a Scroll() method.

[GB.QT4.EXT]
* NEW: Editor: Add a ScrollBar property.
* NEW: Editor: Add ScrollX and ScrollY properties.
* NEW: Editor: Add a Scroll method.


git-svn-id: svn://localhost/gambas/trunk@4745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 02:21:43 +00:00
Benoît Minisini
f4e30d90a9 [DEVELOPMENT ENVIRONMENT]
* NEW: History has been implemented in profiling windows.

[GB.GTK]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.

[GB.QT4]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.
* BUG: If there is no system tray, showing a TrayIcon now raises an error
  instead of crashing.


git-svn-id: svn://localhost/gambas/trunk@4742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 12:54:48 +00:00
Benoît Minisini
07387ff660 [DEVELOPMENT ENVIRONMENT]
* NEW: Add some debugging options directly in the 'Debug' menu.
* NEW: A new option to activate the profiling of the debugged project.
* NEW: Profiling windows. Not finished yet.

[INTERPRETER]
* BUG: Fix a crash that could occur if a error is raised inside an event 
  handler.
* NEW: Support for profiling.
* BUG: Fix a crash that could occur if a error is raised inside a signal
  callback.

[GB.DEBUG]
* NEW: Support for profiling.

[GB.FORM]
* NEW: GridView now raises a Sort event when the sort properties are 
  changed.
* BUG: Fix a crash when changing the IconPanel Count property.

[GB.GTK]
* BUG: Fix the Font.Copy() method.


git-svn-id: svn://localhost/gambas/trunk@4740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 02:55:05 +00:00
Benoît Minisini
c095cd3f98 [EXAMPLES]
* NEW: PhotoTouch and MediaPlayer examples now use the gb.gui component.

[GB.GTK]
* NEW: Make GTK+ controls borderless, so that they are "transparent" like 
  gb.qt4 controls. This is work in progress! The PhotoTouch example now 
  works correctly with gb.gtk, the brightness dialog excepted.
* BUG: ScrollBars are correctly initalized now.
* BUG: Container.Find() does not take hidden controls into account anymore.

[GB.IMAGE]
* BUG: Image.Opacity() can handle images with premultiplied alpha correctly 
  now.

[GB.FORM]
* BUG: IconView: Item text is ellipsized without printing GTK+ warnings 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@4729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 01:22:45 +00:00
Benoît Minisini
8acbd755a2 [GB.GUI.OPENGL]
* NEW: That new switcher component chooses between gb.gtk.opengl and 
  gb.qt4.opengl according to the current desktop in use.


git-svn-id: svn://localhost/gambas/trunk@4719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 21:09:42 +00:00
Benoît Minisini
409f3ed4d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.

[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.

[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
  gtkglext library.

[GB.OPENGL]
* BUG: Initialize GLEW once.

[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.

[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some 
  systems. Wait for a better solution...


git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 01:14:57 +00:00
Benoît Minisini
8be12f5027 [DEVELOPMENT ENVIRONMENT]
* NEW: Define the 'Exec' preprocessor constant when making an executable.
* BUG: Packager: Replace spaces with underscores when using the vendor name 
  as package name prefix.
* BUG: Packager: Fix "make uninstall" in autoconf packages.

[INTERPRETER]
* BUG: Allow to override native array classes without crashing.

[COMPILER]
* NEW: New '-x' option to define the 'Exec' preprocessor constant.

[EXAMPLES]
* NEW: MediaPlayer: Real-time seeking.
* NEW: MediaPlayer: Use gb.desktop to suspend the screen saver while 
  playing a media file.


git-svn-id: svn://localhost/gambas/trunk@4715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-05 00:39:43 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
88c69c85ba [EXAMPLES]
* NEW: New MediaPlayer example based on the new gb.media GStreamer 
  component.

[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.

[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
  to a GStreamer plugin implementing the 'X overlay' interface.


git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:03 +00:00
Benoît Minisini
048bfca9b5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not handle Data event of controls in the form editor, because the
  signature of the event handler depends on the control type.
* BUG: Handle errors when loading a new project file correctly again.


git-svn-id: svn://localhost/gambas/trunk@4702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 00:49:01 +00:00
Benoît Minisini
5e35089241 [DEVELOPMENT ENVIRONMENT]
* BUG: Making executable works again.


git-svn-id: svn://localhost/gambas/trunk@4698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 11:33:15 +00:00
Benoît Minisini
a6e9f61ee1 [CONFIGURATION]
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.

[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.

[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous 
  'main' hook, so that several hooks can be declared.

[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.

[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
  interpreter API.
* NEW: Allows multiple 'main' hooks.

[GB.QT4]
* NEW: Allows multiple 'main' hooks.


git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:04:51 +00:00
Benoît Minisini
b8ab46d135 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "project type" option in the project properties dialog. It 
  makes the difference between a normal project, a library project, and a
  component project.
* NEW: The packager takes the project type into account. A library and a
  component do not install a *.desktop file, has no icon and has no menu 
  entry. But a library has the same package name than a normal project.


git-svn-id: svn://localhost/gambas/trunk@4687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-28 13:09:21 +00:00
Benoît Minisini
2ac8f35356 [EXAMPLES]
* NEW: Some fixes and new keyboard shortcuts in the PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 12:56:47 +00:00
Benoît Minisini
ff16e33c73 [DEVELOPMENT ENVIRONMENT]
* BUG: When creating dependencies on libraries, the packager now takes into 
  account if the library package name is prefixed with the vendor name.
* BUG: Now always use the release version number in the package name, 
  otherwise the Debian/Ubuntu packager cannot compare versions reliably.
* BUG: Fix XML component names.


git-svn-id: svn://localhost/gambas/trunk@4682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 02:56:41 +00:00
Benoît Minisini
1789fd1045 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix dependencies on libraries in the packager.


git-svn-id: svn://localhost/gambas/trunk@4681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 02:40:27 +00:00
Benoît Minisini
fe80c39a69 [INTERPRETER]
* BUG: Remove the use and the definition of long double mathematic 
  functions. They are not used anymore.


git-svn-id: svn://localhost/gambas/trunk@4679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 21:12:03 +00:00
Benoît Minisini
53fb481eee [EXAMPLES]
* NEW: Add a browse mode to the PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-24 14:04:23 +00:00
Benoît Minisini
e0f151795c [DEVELOPMENT ENVIRONMENT]
* BUG: Do not fail when a library is not found.
* BUG: The packager now generates correct dependencies on libraries whose 
  major and minor version are both zero.


git-svn-id: svn://localhost/gambas/trunk@4666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 21:30:09 +00:00
Benoît Minisini
75f7ff9390 [WIKI CGI SCRIPT]
* BUG: Handle public variables like properties.

[EXAMPLES]
* NEW: A new PhotoTouch example I made so that my father can edit its photo
  with a simple software.


git-svn-id: svn://localhost/gambas/trunk@4665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 21:13:33 +00:00
Benoît Minisini
d75c29e41b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly show error tooltip in splitted editors.


git-svn-id: svn://localhost/gambas/trunk@4663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 15:28:55 +00:00
Benoît Minisini
45cd3616fe [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly import translations whose original string begins or ends 
  with spaces.


git-svn-id: svn://localhost/gambas/trunk@4662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 15:11:13 +00:00
Benoît Minisini
4a32b1ed51 [WIKI CGI SCRIPT]
* NEW: Add "@since" special keyword.

[GB.FORM]
* BUG: GridView.SelectAll() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:44:35 +00:00
Benoît Minisini
f89e7ab223 [DEVELOPMENT ENVIRONMENT]
* BUG: Really fix project tree inheritance management.


git-svn-id: svn://localhost/gambas/trunk@4649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:40:31 +00:00
Benoît Minisini
2e1fedb669 [CONFIGURATION]
* NEW: Support for new gb.xml component family.

[DEVELOPMENT ENVIRONMENT]
* NEW: Support for new gb.xml component family.


git-svn-id: svn://localhost/gambas/trunk@4645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:45:18 +00:00
Benoît Minisini
a771972a42 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when refreshing project tree inheritance.

[GB.LIBXML]
* BUG: Fix component configuration.

[GB.LIBXML.XSLT]
* BUG: Fix component configuration.


git-svn-id: svn://localhost/gambas/trunk@4641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 01:28:05 +00:00
Benoît Minisini
de083e583d [GB.LIBXML]
* NEW: Rename the gb.xml component as gb.libxml.

[GB.LIBXML.XSLT]
* NEW: Rename the gb.xml.xslt component as gb.libxml.xslt

[GB.LIBXML.RPC]
* NEW: Rename the gb.xml.rpc component as gb.libxml.rpc


git-svn-id: svn://localhost/gambas/trunk@4640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 01:01:48 +00:00
Benoît Minisini
1df0dc784d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix use of gnome-terminal as output window.


git-svn-id: svn://localhost/gambas/trunk@4631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-15 14:55:17 +00:00
Benoît Minisini
61da39d1d8 [DEVELOPMENT ENVIRONMENT]
* BUG: Module and class creation is possible again.


git-svn-id: svn://localhost/gambas/trunk@4630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-15 14:44:57 +00:00
Benoît Minisini
1464b07a0c [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.ncurses to the component list.
* BUG: Prevent Qt from crashing when cancelling a file rename, by not
  reentering the event loop with WAIT.
* BUG: Do not try to refresh a deleted directory in the project tree.

[GB.FORM]
* NEW: DateChooser got an array accessor that returns a virtual object from
  a date. This virtual object allows to define the foreground color,
  background color and the font of any date.

[GB.QT4]
* BUG: Fix some possible use of deleted controls in event management.

[GB.QT4.EXT]
* BUG: Fix some use of uninitialized variables in Editor.


git-svn-id: svn://localhost/gambas/trunk@4624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 10:20:39 +00:00
Benoît Minisini
bc5480568c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the text editor toolbar.
* NEW: Add a close menu entry in code, text and form editors. The default 
  shortcut is CTRL+W.
* NEW: Text editor got a find procedure button like the code editor.

[GB.EVAL.HIGHLIGHT]
* BUG: Add some forgotten CSS properties.

[GB.QT4.EXT]
* NEW: Editor: Support for TAB characters.
* BUG: Editor: Redesign font metrics optimizations.


git-svn-id: svn://localhost/gambas/trunk@4614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-10 00:31:07 +00:00
Benoît Minisini
dc5d539dec [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the contextual menu when a form editor is 
  activated.
* BUG: Hide the error message when the editor scrolls.

[WEBSITE MAKER]
* NEW: New home page design.

[GB.EVAL.HIGHLIGHT]
* NEW: Enhance CSS highlighting.

[GB.FORM.MDI]
* BUG: Remove debugging message.

[GB.QT4.EXT]
* BUG: Editor: Draw text one pixel higher so that underline is visible with
  all fonts.


git-svn-id: svn://localhost/gambas/trunk@4612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-09 14:50:30 +00:00
Laurent Carlier
0687a251de [DEVELOPMENT ENVIRONMENT]
* BUG: Fix typos in extrafiles support in Archlinux packages. Now generation of Archlinux binaries packages in the IDE doesn't check
       dependencies anymore, so then can be built with SVN version also.


git-svn-id: svn://localhost/gambas/trunk@4604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 15:14:58 +00:00
Benoît Minisini
429bc23e3e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix extra files support in ArchLinux packager.


git-svn-id: svn://localhost/gambas/trunk@4602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 13:11:52 +00:00
Laurent Carlier
b6f65c2a71 [DEVELOPMENT ENVIRONMENT]
* NEW: Archlinux packages now support installation of extra files.


git-svn-id: svn://localhost/gambas/trunk@4601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 08:47:24 +00:00
Benoît Minisini
a10d6f3207 [DEVELOPMENT ENVIRONMENT]
* BUG: Better fix for revision #4598 bug.


git-svn-id: svn://localhost/gambas/trunk@4599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-05 20:40:46 +00:00
Laurent Carlier
72a964eea8 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when opening a form with a tabstrip, then a "move tab button" is pressed.



git-svn-id: svn://localhost/gambas/trunk@4598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-05 16:55:45 +00:00
Laurent Carlier
1c74446c96 [DEVELOPMENT ENVIRONMENT]
* NEW: Archlinux packages support dependency against a specific component version. Other packages uses
  the old behaviour.


git-svn-id: svn://localhost/gambas/trunk@4597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-05 10:48:18 +00:00
Laurent Carlier
cdc70cc588 [DEVELOPMENT ENVIRONMENT]
* BUG: ArchLinux package now support extra dependencies.


git-svn-id: svn://localhost/gambas/trunk@4596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-05 09:36:33 +00:00
Benoît Minisini
11ab83e531 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix ArchLinux package creation when the destination directory has 
  spaces.


git-svn-id: svn://localhost/gambas/trunk@4595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-04 22:58:01 +00:00
Laurent Carlier
5ceb805711 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove PREFIX support in autotools package generation. Currently it's buggy AND useless.

This should fix issues #229 and #143


git-svn-id: svn://localhost/gambas/trunk@4594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-04 13:52:16 +00:00
Benoît Minisini
2eacd9f9e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Swedish translation updated by Emil Lenngren.


git-svn-id: svn://localhost/gambas/trunk@4593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-04 01:17:28 +00:00
Benoît Minisini
de202f9778 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix generation of packager extra files list in RPM .spec files.


git-svn-id: svn://localhost/gambas/trunk@4590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 17:06:04 +00:00
Radek Fryšták
4b2622dd51 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation



git-svn-id: svn://localhost/gambas/trunk@4589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 11:12:44 +00:00
Benoît Minisini
fd1320d76b [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@4588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 10:39:56 +00:00
Benoît Minisini
2c9cd2fe34 [DEVELOPMENT ENVIRONMENT]
* BUG: Choosing directories as extra files to package now works correctly
  for RMP, DEB and TGZ packages. But at the moment ArchLinux packages do 
  not support extra files or directories at all.


git-svn-id: svn://localhost/gambas/trunk@4587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 10:38:33 +00:00
Benoît Minisini
1b151b3e50 [DEVELOPMENT ENVIRONMENT]
* BUG: Autocompletion on ME now works correctly for WebPage.
* NEW: Packager configuration is now saved even for unchecked target 
  systems.
* BUG: Fix package generation for Mageia.
* NEW: Now you can select directories as packager extra files.

[GB.QT4]
* BUG: Enter and Leave events are now correctly generated from a window 
  that has been opened with the ShowPopup() method.

[GB.WEB]
* NEW: WebPage.Buffered is a new property to tell the generated HTML to be 
  buffered  by using the Response.Buffered property.


git-svn-id: svn://localhost/gambas/trunk@4586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 01:57:03 +00:00
Benoît Minisini
cb17bebf98 [SCRIPTER]
* BUG: Fix compilation of inline class declarations.


git-svn-id: svn://localhost/gambas/trunk@4583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 23:22:00 +00:00
Benoît Minisini
f434c45f64 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager configuration is now saved with a new format in the 
  ".project" file. The old format is automatically converted.
* BUG: Fix the Slackware packaging routine.
* NEW: Check that packagers extra files really exist in the project
  directory.


git-svn-id: svn://localhost/gambas/trunk@4581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 20:46:19 +00:00
Benoît Minisini
5025244969 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to move to a specific line when opening a form.
* BUG: In the packager wizard, check that each extra file has a target 
  directory.


git-svn-id: svn://localhost/gambas/trunk@4580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 16:08:53 +00:00
Benoît Minisini
34f70bcf7c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix packages version requirements. Minimal version is the current 
  one (3.1) and maximum version is 3.99.0.
* BUG: Fix extra files management in the packager. Workaround a Debian 
  design flaw in packaging tools.
* NEW: Support for both Mageia and Mandriva.

[GB.FORM]
* NEW: Use a mix between Color.LightBackground and Color.TextBackground form
  the Balloon background.


git-svn-id: svn://localhost/gambas/trunk@4579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 00:14:46 +00:00
Benoît Minisini
0fa9944088 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, setting the recent files sorting mode 
  now correctly takes the filter into account.

[WEBSITE MAKER]
* NEW: Add Randall Morgan in the authors list.

[INTERPRETER]
* BUG: In memory checking routines, take previous SIGSEGV and SIGBUS signal
  handlers into account now.


git-svn-id: svn://localhost/gambas/trunk@4576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 16:43:01 +00:00
Benoît Minisini
219dc74e95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix file information dialog.

[GB.QT4.EXT]
* BUG: Fix bad interactions between highlighting and undo management.


git-svn-id: svn://localhost/gambas/trunk@4575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 00:24:33 +00:00
Benoît Minisini
af5d69a8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix extra files and extra dependencies tables in the packager.

[GB.GTK]
* BUG: Fix TabStrip management.

[GB.QT4]
* NEW: Do not display translation warning anymore when choosing the "C" 
  translation. Just uninstall the current translation (if any) silently.


git-svn-id: svn://localhost/gambas/trunk@4571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 01:19:51 +00:00
Benoît Minisini
e72192ec22 [DEVELOPMENT ENVIRONMENT]
* NEW: Update the alternate background color of all themes.

[COMPILER]
* NEW: Support for <%: ... %> and <%! ... %> syntaxes in WebPage.

[GB.EVAL.HIGHLIGHT]
* NEW: Update WebPage highlighting, and handle the new syntaxes.


git-svn-id: svn://localhost/gambas/trunk@4569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-24 12:25:59 +00:00
Benoît Minisini
d7114efe9b [GB.DB]
* BUG: Result.Update() now does not emit an incorrect request when the 
  result has not been modified. It just does nothing.

[GB.DB.FORM]
* BUG: DataBrowser: Clicking on the delete button does not delete two 
  records anymore.
* BUG: DataBrowser: Saving a new record now correctly takes into account 
  the currently edited field.

[GB.GTK]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@4567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 02:12:40 +00:00
Henrique
d861b8bf22 [DEVELOPMENT ENVIRONMENT]
* NEW: Update of Brazilian Portuguese translation.

git-svn-id: svn://localhost/gambas/trunk@4566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-19 23:50:50 +00:00
Benoît Minisini
81795aa4e8 [DEVELOPMENT ENVIRONMENT]
* BUG: The default vendor prefix is now "gambas3" and not "gambas", so that
  component packages are correctly named.


git-svn-id: svn://localhost/gambas/trunk@4563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 14:58:09 +00:00
Benoît Minisini
c29798ff3f [DEVELOPMENT ENVIRONMENT]
* NEW: Error messages now can be displayed in normal text editors.

[COMPILER]
* NEW: Initial support of WebPage compilation.


git-svn-id: svn://localhost/gambas/trunk@4561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 13:14:17 +00:00
Benoît Minisini
91556cac06 [DEVELOPMENT ENVIRONMENT]
* NEW: The debug window has a button to switch between "normal view" and 
  "symbol view". In "normal view", array and collection contents are
  displayed. If the object is not an array or a collection, then all
  non-hidden symbols are displayed. In "symbol view", all objects symbols 
  are displayed, whatever the object type is.

[INTERPRETER]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.DEBUG]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.FORM]
* BUG: GridView.Clear resets the height of all rows to the default value.


git-svn-id: svn://localhost/gambas/trunk@4558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-17 02:05:31 +00:00
Benoît Minisini
55bbad45cb [GB.FORM]
* NEW: GridView columns have two new properties: Alignment and Background.
* NEW: GridView.Sort and GridView.Ascending are two new properties to 
  define which column shows a sort symbol.
* NEW: GridView.Sorted is a new property to automatically handle column 
  clicks and display the sort symbol.


git-svn-id: svn://localhost/gambas/trunk@4553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-15 09:45:20 +00:00
Benoît Minisini
1aed08a8e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Activate proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 11:03:14 +00:00
Benoît Minisini
a551594bdc [GB.FORM]
* NEW: Add Left and Top synonymous properties to keep compatibility with 
  the old GridView.


git-svn-id: svn://localhost/gambas/trunk@4546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 00:28:28 +00:00
Benoît Minisini
f2c7ad7008 [DEVELOPMENT ENVIRONMENT]
* BUG: Help browser toolbar now uses the small font size defined in the 
  option dialog.
* BUG: Proxy configuration now allows all port numbers.


git-svn-id: svn://localhost/gambas/trunk@4544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-13 01:29:34 +00:00
Benoît Minisini
d584cf1121 [DEVELOPMENT ENVIRONMENT]
* NEW: Font size options has been renamed as "Default font size" and "Small
  font size". The small font size is now used for all toolbars.
* NEW: The help browser proxy can be configured.

[GB.FORM]
* NEW: The stock icon named "earth" has been renamed as "internet".

[GB.QT4]
* BUG: If a form is defined as being not visible, then using it as a 
  startup form won't show it.

[GB.QT4.WEBKIT]
* NEW: WebSettings.DefaultProxy is a new constant for using the default 
  proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-12 01:48:49 +00:00
Benoît Minisini
dc1c62e014 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't save cursor position during a text selection.
* NEW: Update error messages.

[COMPILER]
* NEW: CONST cannot have the STATIC keyword anymore.

[GB.QT4.EXT]
* NEW: Editor: Do not highlight the current line when losing the focus.


git-svn-id: svn://localhost/gambas/trunk@4539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-09 18:01:59 +00:00
Benoît Minisini
ffb418682b [DEVELOPMENT ENVIRONMENT]
* BUG: Many Shell$() calls were forgotten in the packager code.


git-svn-id: svn://localhost/gambas/trunk@4538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-08 01:52:18 +00:00
Benoît Minisini
9d6b4a0f0d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix version requirements on components in the packager.

[INTERPRETER]
* OPT: A little optimization in LINE INPUT.

[GB.FORM]
* NEW: GridView: Setting the column width to -1 make it fit its contents.
* NEW: GridView: Double-clicking on the right limit of a column make it
  fit its contents.


git-svn-id: svn://localhost/gambas/trunk@4537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-08 01:41:23 +00:00
Benoît Minisini
1b70498e49 [GB.FORM]
* BUG: GridView.Rows[].Selected now works correctly.
* NEW: GridView.Rows.Select and Unselect methods now selects (or unselects)
  one line if their second argument is omitted.


git-svn-id: svn://localhost/gambas/trunk@4535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-06 00:46:45 +00:00
Benoît Minisini
fb26ef792f [DEVELOPMENT ENVIRONMENT]
* NEW: A new panel in the option dialog that allows to define which files
  must be ignored when creating a source package or an installation 
  package.

[INTERPRETER]
* BUG: Fix String.Mid$() when the third argument goes after the string 
  length.

[GB.FORM]
* NEW: IconPanel now uses a GridView and not an IconView anymore.
* BUG: GridView.Mouse property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@4528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 02:17:24 +00:00
Benoît Minisini
a786448db0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix error when inserting a new form with dialog management option 
  checked.


git-svn-id: svn://localhost/gambas/trunk@4526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 22:59:50 +00:00
Benoît Minisini
df53de0b28 [DEVELOPMENT ENVIRONMENT]
* BUG: Make error message tooltips always visible.
* NEW: Update logos.

[GB.FORM]
* NEW: GridView: The Shift key is taken into account when selecting rows 
  with the mouse.


git-svn-id: svn://localhost/gambas/trunk@4525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 22:57:57 +00:00
Radek Fryšták
e23fbfe985 [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation


git-svn-id: svn://localhost/gambas/trunk@4520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-01 13:35:16 +00:00
Benoît Minisini
518868e61a [DEVELOPMENT ENVIRONMENT]
* BUG: Try to fix the spurious error that is raised sometimes when clicking
  on a control in the form editor.

[GB.FORM]
* NEW: GridView.Columns.Width property has been implemented.


git-svn-id: svn://localhost/gambas/trunk@4519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-01 11:42:28 +00:00
Benoît Minisini
b5fd8b4b05 [DEVELOPMENT ENVIRONMENT]
* BUG: Set the focus back to the editor after a paste operation.
* NEW: Less flickering when displaying project items.

[GB.FORM]
* NEW: GridView.Rows.Insert() and GridView.Rows.Remove() methods were
  implemented.

[GB.GTK]
* NEW: Remove the old GridView source code.

[GB.QT4]
* NEW: Remove the old GridView source code.


git-svn-id: svn://localhost/gambas/trunk@4514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-28 01:43:40 +00:00
Benoît Minisini
0fcd5bbd44 [GB.DB.FORM]
* BUG: Fix a crash in DataView when it has no current row.


git-svn-id: svn://localhost/gambas/trunk@4508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-26 18:31:54 +00:00
Benoît Minisini
a2a5f45bb8 [GB.FORM]
* BUG: Take the GridView cell RichText property into account.
* BUG: Take the GridView.Enabled property into account.
* BUG: The minimum column width and minimum row height are one pixel now.

[GB.GTK]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.

[GB.QT4]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.


git-svn-id: svn://localhost/gambas/trunk@4505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 02:59:39 +00:00
Benoît Minisini
0309f98b60 [DEVELOPMENT ENVIRONMENT]
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.

[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that 
  allow to define a callback that will be called if an exception is raised
  during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
  it is possible to use more stack than possible and to crash the 
  interpreter.

[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
  "Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".

[GB.DB]
* BUG: Table.Type property now correctly handle null table types.

[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only 
  one problem to fix that depends on a gb.gtk bug.

[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
  instead.

[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor 
  around the current cell when set.

[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.

[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the 
  interpreter should not crash anymore.

[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.


git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 01:35:55 +00:00
Benoît Minisini
8468c9d503 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle libraries that depends on more than one component.


git-svn-id: svn://localhost/gambas/trunk@4492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 00:16:53 +00:00
Benoît Minisini
8b11d16ec3 [DEVELOPMENT ENVIRONMENT]
* NEW: Make project creation dialog and project save as dialog less 
  difficult to understand.

[GB.FORM]
* NEW: Wizard: Remove padding around contents when the wizard has no 
  border.


git-svn-id: svn://localhost/gambas/trunk@4491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 00:02:11 +00:00
Benoît Minisini
834ca97b78 [GB.DBUS]
* BUG: Fix DBusObserver matching rules handling.

[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.

[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
  memory when rarely used properties are not set.


git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-19 21:13:50 +00:00
Benoît Minisini
8d3ba2dc15 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when the form editor gets a spurious resize 
  event whereas undo management has been uninitialized.
* NEW: Libraries now can have requirements exactly like components. This is
  taken into account by the project property dialog.

[ARCHIVER]
* NEW: Put the '.component' file inside archives, so that the IDE can 
  extract libraries requirements from the executable.

[GB.FORM]
* NEW: Add two pixels to the height of the TabPanel tabbar.


git-svn-id: svn://localhost/gambas/trunk@4475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 23:29:18 +00:00
Benoît Minisini
3d400f8be4 [DEVELOPMENT ENVIRONMENT]
* BUG: Revert r4468 changes.


git-svn-id: svn://localhost/gambas/trunk@4470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 12:01:07 +00:00
Fabien Bodard
ca971d316d [DEVELOPMENT ENVIRONMENT]
Backup


git-svn-id: svn://localhost/gambas/trunk@4469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 11:02:10 +00:00
Fabien Bodard
1e32912056 [DEVELOPMENT ENVIRONMENT]
* BUG: Update the FCreateFile Form


git-svn-id: svn://localhost/gambas/trunk@4468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 09:17:13 +00:00
Benoît Minisini
286db372b8 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the number of tabs of a Report works again.


git-svn-id: svn://localhost/gambas/trunk@4465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-11 19:04:59 +00:00
Benoît Minisini
985c1a742d [DEVELOPMENT ENVIRONMENT]
* NEW: Traditional Chinese translation made by Timothy Lin.
* BUG: Correctly take the project tabulation size in automatic structure
  completion.
* BUG: Fix the tips of the day language selection.

[EXAMPLES]
* NEW: New MineSweeper example made by Timothy Lin and slightly modified by
  me.

[GB.EVAL.HIGHLIGHT]
* BUG: 'undefined' is a javascript keyword.

[GB.FORM.DIALOG]
* NEW: Take the new Dialog.ShowHidden property into account.

[GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible when it is visible, not when
  it has just the focus.


git-svn-id: svn://localhost/gambas/trunk@4458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 16:48:24 +00:00
Toni Rosa
6050b49b06 [GB.FORM]
* NEW: Update Catalan translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 18:33:57 +00:00
Benoît Minisini
f5472efbbe [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the form editor grid horizontal position.

[INTERPRETER]
* NEW: IsNan() is a new function that returns if a floating point value is
  not a number.
* NEW: IsInf() is a new function that returns +1 if a floating point value 
  is +Inf, -1 if it is -Inf, and 0 if it is a normal number.
* NEW: Swap$() is a new function that swaps a string.
* NEW: The MkBool$(), MkShort$(), MkInt$()... functions come back!

[COMPILER]
* NEW: +Inf and -Inf are two new keywords for representing the 
  corresponding special floating values.


git-svn-id: svn://localhost/gambas/trunk@4435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 02:33:01 +00:00
Benoît Minisini
14aed2a6e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.gsl to the list of components.

[GB.GSL]
* BUG: Fix implementation and declaration of Gsl.IntPow2().


git-svn-id: svn://localhost/gambas/trunk@4430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 01:50:18 +00:00
Benoît Minisini
0a9b6abe82 [DEVELOPMENT ENVIRONMENT]
* NEW: More support for WebPage.

[COMPILER]
* NEW: Start supporting WebPage.


git-svn-id: svn://localhost/gambas/trunk@4427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 09:55:55 +00:00
Benoît Minisini
5c43a87220 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of null String[] properties.
* NEW: Starting WebPage support.
* BUG: Fix filters in the file creation dialog.

[EXAMPLES]
* BUG: Fix the DragNDrop example.

[WIKI CGI SCRIPT]
* NEW: @index now can sort pages by ignoring a prefix but by displaying the
  full page title anyway in the index.

[GB.FORM]
* NEW: FileChoose got a new Margin property, that adds a margin around the 
  FileChooser controls when set.

[GB.WEB]
* NEW: Url is a new class that aims at handling URLs. Not finished yet!
* NEW: Url.Encode() and Url.Decode() now replace CGI.Encode() and 
  CGI.Decode().


git-svn-id: svn://localhost/gambas/trunk@4421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-26 22:50:19 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
d161440134 [DEVELOPMENT ENVIRONMENT]
* BUG: Add a limit to the history size.

[GB.FORM.STOCK]
* BUG: Do not require gb.gtk, so that compilation does not fail if gb.gtk 
  is not available.


git-svn-id: svn://localhost/gambas/trunk@4417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-23 19:28:38 +00:00
Benoît Minisini
96c50f1600 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some crash in database manager when removing fields or index.
* BUG: Fix position history.
* NEW: Add a history popup menu.

[INTERPRETER]
* NEW: The Html$() function now converts unicode non-breaking space (code 
  160) in a "&nbsp;" entity.

[GB.GTK]
* BUG: Now raise an error when using text-box methods on read-only 
  combo-boxes.
* NEW: GTK+ 2.16 is now required.


git-svn-id: svn://localhost/gambas/trunk@4415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-22 13:13:25 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
8d45721016 [DEVELOPMENT ENVIRONMENT]
* BUG: Information system dialog is now better at detecting libraries.


git-svn-id: svn://localhost/gambas/trunk@4403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-18 02:25:33 +00:00
Benoît Minisini
f9444636c0 [INTERPRETER]
* BUG: Correctly handle relative paths in CHMOD, CHOWN and CHGRP.


git-svn-id: svn://localhost/gambas/trunk@4401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-15 10:22:12 +00:00
Benoît Minisini
f5682bf3b4 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to handle Home and End keys in editors.
* BUG: Fix the translation of error messages made by the debugger.
* NEW: Update error message list.

[INTERPRETER]
* NEW: Chmod, Chown and Chgrp were implemented.
* NEW: Stat.Auth is a new property that returns the file mode as a string,
  using the format of the 'chmod' shell command.
* NEW: Rmdir raises a specific 'Directory is not empty' error now, when 
  trying to remove a non-empty directory.

[COMPILER]
* NEW: Chmod <path> To <mode> was implemented. <mode> is a string having 
  the same format as the 'chmod' shell command.
* NEW: Chown <path> To <user> was implemented. <user> is the name of the 
  user as defined in the /etc/passwd file.
* NEW: Chgrp <path> To <group> was implemented. <user> is the name of the 
  group as defined in the /etc/group file.


git-svn-id: svn://localhost/gambas/trunk@4400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-15 08:54:57 +00:00
Benoît Minisini
c341dec77a [DEVELOPMENT ENVIRONMENT]
* NEW: Global editor position history. Two new buttons and menu entries 
  allow to move forward and backward into that history.


git-svn-id: svn://localhost/gambas/trunk@4399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-14 08:28:03 +00:00
Benoît Minisini
53aae2daf5 [DEVELOPMENT ENVIRONMENT]
* BUG: Table chooser works correctly again.
* NEW: The port can be defined now in the connection dialog.

[GB.DB]
* NEW: Support for port in a connection defined in the IDE.

[EXAMPLES]
* NEW: Port can be defined in the Database example.


git-svn-id: svn://localhost/gambas/trunk@4396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-11 02:47:43 +00:00
Benoît Minisini
a264d44c28 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the form editor undo management.


git-svn-id: svn://localhost/gambas/trunk@4394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-09 04:00:39 +00:00
Benoît Minisini
2b560f91ec [CONFIGURATION]
* NEW: Switch version to 3.0.90.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor undo management.
* BUG: The menu editor changes are now correctly taken into account by the 
  undo management.

[GB.FORM]
* NEW: Little fix in TabPanel button layout.


git-svn-id: svn://localhost/gambas/trunk@4393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-07 02:16:31 +00:00
Benoît Minisini
63f1d6d63f [DEVELOPMENT ENVIRONMENT]
* NEW: Undo & Redo were implemented in the form editor. Warning, this is 
  experimental!


git-svn-id: svn://localhost/gambas/trunk@4391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-02 03:34:20 +00:00
Benoît Minisini
b99dc2dfc0 [GB.FORM]
* BUG: The last pixels of a TabPanel button are clickable now.


git-svn-id: svn://localhost/gambas/trunk@4390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 23:38:17 +00:00
Benoît Minisini
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Benoît Minisini
a84527352f [GB.REPORT]
* NEW: Rename StretchMode property as just Stretch.
* NEW: Move the Stretch property constant to the Report class.

[EXAMPLES]
* BUG: Fix the main dialog layout.


git-svn-id: svn://localhost/gambas/trunk@4377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:00:48 +00:00
Benoît Minisini
0becfbf83b [DEVELOPMENT ENVIRONMENT]
* NEW: Nice symbolic background for workspace, form editor and icon editor.


git-svn-id: svn://localhost/gambas/trunk@4376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:52:49 +00:00
Benoît Minisini
ec5182bec1 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the X or Y property of a form does nothing visually.

[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
  children.


git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:27:55 +00:00
Benoît Minisini
ba29f0abc3 [GB.FORM.MDI]
* NEW: Workspace.Picture is a new property that allows to define a tile 
  picture that will be drawn in the workspace background when it has no 
  windows.


git-svn-id: svn://localhost/gambas/trunk@4368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:26:26 +00:00
Benoît Minisini
5a0849c692 [WEB SITE MAKER]
* NEW: Changes for Gambas 3 release.

[INTERPRETER]
* BUG: No more than 15 digits for Floating point values.


git-svn-id: svn://localhost/gambas/trunk@4367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:03:20 +00:00
Radek Fryšták
bb4ba26da2 [WEB SITE MAKER]
* NEW: Update Czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation.


git-svn-id: svn://localhost/gambas/trunk@4366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 12:13:42 +00:00
Benoît Minisini
eac2589a86 [INTERPRETER]
* BUG: Do the full commit of the floating point to string conversion fix.


git-svn-id: svn://localhost/gambas/trunk@4364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 10:57:06 +00:00
Benoît Minisini
546bc7a4f4 [INTERPRETER]
* BUG: Calling native methods on an anonymous reference now correctly casts 
  the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.

[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints 
  are not overrided.

[GB.SETTINGS]
* BUG: Fix the use of Array class.


git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 21:47:41 +00:00
Jordi Sayol
f08332c8f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[GB.DB.FORM.MDI]
* NEW: Updated Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 13:41:51 +00:00
Benoît Minisini
0c32986d4a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet error message position.

[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
  way it draws nicely with gb.gtk, that does not have transparent controls 
  yet.
* BUG: Fix a crash when decreasing the Count property.

[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
  the border of TreeView controls without being asked.


git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:11:53 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
e89dce6d93 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the "get version from program" feature, that was a big 
  security risk!
* NEW: Add a "get version from file" option, that automatically gets the
  version from a file named "VERSION" that must be located in a parent
  directory.


git-svn-id: svn://localhost/gambas/trunk@4349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 17:45:53 +00:00
Benoît Minisini
03caf23353 [DEVELOPMENT ENVIRONMENT]
* NEW: Database properties now can be editer even if there is no connection
  property defined in the form.

[GB.FORM]
* BUG: TabPanel now should not crash if there is no tab visible.
* BUG: The first visible TabPanel button is now drawn correctly if its 
  index is not zero.


git-svn-id: svn://localhost/gambas/trunk@4348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 16:12:18 +00:00
Benoît Minisini
cccbbc1d5f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when changing the Count value of a MultiContainer 
  control.


git-svn-id: svn://localhost/gambas/trunk@4347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 15:25:19 +00:00
Benoît Minisini
bee6e69ad1 [DEVELOPMENT ENVIRONMENT]
* NEW: A button to show or hide the system tables in the database editor.
* BUG: Copying button is enabled now in the SQL editor.
* NEW: SQL highlighting.

[GB.EVAL.HIGHLIGHT]
* NEW: SQL highlighting routine.

[GB.FORM]
* BUG: Fix an arrangement bug in TabPanel.

[GB.QT4.EXT]
* NEW: Editor.HighlightCurrent flag has been renamed HighlightImmediately.
* BUG: Braces are now highlighted even if they are not on the same line.
* NEW: Editor.HideMargin is a new flag to hide the editor left margin.


git-svn-id: svn://localhost/gambas/trunk@4344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 03:04:46 +00:00
Benoît Minisini
6bf2367881 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix connection renaming.
* BUG: Fix report border dialog synchronisation detection.

[GB.FORM]
* BUG: Fix TabPanel layout when adding a new tab.
* BUG: Remove the useless _TabPanelContainer.Container property.


git-svn-id: svn://localhost/gambas/trunk@4343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 17:20:01 +00:00
Benoît Minisini
e8f2747c1a [DEVELOPMENT ENVIRONMENT]
* BUG: The "Browse again" button in the search list now does nothing if 
  there is no search string defined.

[INTERPRETER]
* NEW: Object[].FindByRef and Object[].ExistByRef are two new methods that
  do not take the _compare special method into account. They compare 
  objects by reference only.

[GB.DB.FORM]
* NEW: DataBrowser.Border is a new property to define if a border should be
  displayed or not.
* BUG: Fix DataBrowser layout for all orientations.

[GB.DB.MYSQL]
* BUG: Try to make connection timeout work as expected, without success.
  It seems sticked to be at least one minute. :-(

[GB.FORM]
* BUG: IconView now behaves correctly when an item has no text. It uses there
  new array methods that search items by reference only.
* NEW: TabPanel.Highlight is a new property that highlight the current 
  selected tab button.
* NEW: TabPanel.Closable is a new property that works exactly like 
  TabStrip.Closable.
* BUG: TabPanel.Remove() now works correctly.
* NEW: ScrollArea is more clever with mouse wheel events.

[GB.FORM.MDI]
* NEW: Workspace now uses a TabPanel instead of a TabStrip.


git-svn-id: svn://localhost/gambas/trunk@4342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 13:39:23 +00:00
Benoît Minisini
c6ba3dac6b [CONFIGURATION]
* NEW: Switch to 3.0 version.

[DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes.


git-svn-id: svn://localhost/gambas/trunk@4340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:54:12 +00:00
Benoît Minisini
4a54ecbc8e [GB.QT4]
* BUG: Cached DrawingArea Background color now works correctly.

[GB.GTK]
* BUG: Cached DrawingArea Background color now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:09:08 +00:00
Benoît Minisini
5e93a00359 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes based on TabPanel.

[GB.DBUS]
* BUG: Do not use ffprinf(), it is useless.

[GB.FORM]
* BUG: Fix borderless TabPanel.
* NEW: TabPanel tabs now have a Visible property.
* BUG: The SidePanel separator is now visible in all orientations.

[GB.FORM.DIALOG]
* BUG: Dialog.OpenFile() does not return anymore when no file is selected.

[GB.QT4]
* BUG: Separator now really uses the Color.LightBackground color.


git-svn-id: svn://localhost/gambas/trunk@4338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 22:52:25 +00:00
Radek Fryšták
0d92a0d5d3 [WEB SITE MAKER]
* NEW: Update Czech translation.

[WIKI CGI SCRIPT]
* NEW: Update Czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation.

[GB.FORM.MDI]
* NEW: Update in Czech translation.

[GB.REPORT]
* NEW: Update in Czech translation.

[GB.FORM]
* NEW: Update in Czech translation.

[GB.DB.FORM]
* NEW: Update in Czech translation.

[EXAMPLES]
* NEW: Revision Czech translations for all examples.


git-svn-id: svn://localhost/gambas/trunk@4334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 21:14:27 +00:00
Benoît Minisini
9bdd2299c0 [GB.FORM]
* NEW: Wizard title look changed.
* NEW: Wizard.TextFont is a new property to define the font of the wizard 
  titles.


git-svn-id: svn://localhost/gambas/trunk@4332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:24:44 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Benoît Minisini
32fb67e8e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* NEW: Handle synchronize button for round corners in the ReportBorder 
  chooser dialog.
* BUG: Fix the round rectangle drawing function.

[GB.REPORT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* BUG: Fix the round rectangle drawing function.


git-svn-id: svn://localhost/gambas/trunk@4324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 22:09:45 +00:00
Benoît Minisini
5076ca88cb [GB.DBUS]
* NEW: DbusConnection.Register third argument now can take a list of 
  interfaces. A method or a property will be associated with one of these 
  interfaces only if its name begin with the interface name (points being
  replaced by underscores).


git-svn-id: svn://localhost/gambas/trunk@4323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 19:51:25 +00:00
Benoît Minisini
60ccd64a51 [DEVELOPMENT ENVIRONMENT]
* BUG: Use editor colors to display editor tooltip or errors, so that they
  are always visible.

[GB.FORM]
* NEW: Some design changes in the FileChooser and DirChooser controls
* BUG: IconView.Clear correctly resets the inner view dimension.


git-svn-id: svn://localhost/gambas/trunk@4322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 01:36:14 +00:00
Benoît Minisini
2819ca8122 [DEVELOPMENT ENVIRONMENT]
* NEW: In the report border chooser dialog, round borders can be 
  synchonized like normal borders. This is not taken into account by the
  implementation at the moment.

[GB.QT4]
* NEW: Paint.Reset() works like gb.gtk.
* BUG: Printer.PaperWidth and Printer.PaperHeight values are rounded now.


git-svn-id: svn://localhost/gambas/trunk@4320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 00:35:46 +00:00
Benoît Minisini
4cd4b4a766 [GB.GTK]
* BUG: Fix Printer paper and orientation management.
* BUG: Paint.Reset() now resets the matrix to its initial value, that is 
  not necessarily the identity when painting on a Printer!


git-svn-id: svn://localhost/gambas/trunk@4319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 22:54:10 +00:00
Fabien Bodard
4ce1060d38 [[DEVELOPMENT ENVIRONMENT]
* NEW: The ide manage roundcorners for report controls


git-svn-id: svn://localhost/gambas/trunk@4315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 15:20:20 +00:00
Benoît Minisini
9b1f2cce98 [GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to 
  page" mode.


git-svn-id: svn://localhost/gambas/trunk@4314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 14:05:50 +00:00
Benoît Minisini
b498d5fed8 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not require /tmp to allow executables when running the internal
  system information shell script.


git-svn-id: svn://localhost/gambas/trunk@4307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 17:57:49 +00:00
Benoît Minisini
17ada17b9a [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly manage recent project sort in open project dialog, and fix
  the sort order corruption saved in the settings file.


git-svn-id: svn://localhost/gambas/trunk@4294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 02:11:08 +00:00
Benoît Minisini
814bfc5db3 [DEVELOPMENT ENVIRONMENT]
* BUG: Save project before making a source archive.


git-svn-id: svn://localhost/gambas/trunk@4293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 01:40:12 +00:00
Benoît Minisini
59e1c9cee0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix management of forms that are multicontainers, like Report.
* BUG: Convert Draw.BackColor and Draw.ForeColor from Gambas 2 to Gambas 3.


git-svn-id: svn://localhost/gambas/trunk@4287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 21:00:01 +00:00
Benoît Minisini
b327269b6f [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if the examples directory does not exist.


git-svn-id: svn://localhost/gambas/trunk@4285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:33:46 +00:00
Benoît Minisini
3d934b455c [DEVELOPMENT ENVIRONMENT]
* OPT: The project file creation dialog initalizes its file browser later.

[INTERPRETER]
* BUG: Use sigsetjmp() instead of setjmp() as expected by the memory check 
  functions.

[GB.FORM.MDI]
* BUG: Do not use symbolic links, but real image files for action icons.

[GB.SIGNAL]
* BUG: Fix some warnings on BSD.


git-svn-id: svn://localhost/gambas/trunk@4284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:03:07 +00:00
Benoît Minisini
200a429afc [DEVELOPMENT ENVIRONMENT]
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly 
  selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now 
  correctly imports the class file.

[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.

[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
  string are both one character length strings.

[COMPILER]
* NEW: The string escape character '\v' was added.

[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not 
  specified.

[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.

[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account 
  now.

[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
  backup.

[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified 
  property.


git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 19:14:04 +00:00
Benoît Minisini
69ec6d6800 [DEVELOPMENT ENVIRONMENT]
* BUG: Top-level forms now takes keyboard event before every other
  control. Take that into account for the ESC shortcut.

[GB.QT4.EXT]
* BUG: Fix highlighting algorithm.


git-svn-id: svn://localhost/gambas/trunk@4253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-21 00:43:28 +00:00
Benoît Minisini
52cce8cd10 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of classes symbols when a method having the
  same name is defined.
* BUG: Fix search with patterns including a column character.


git-svn-id: svn://localhost/gambas/trunk@4251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-20 10:23:56 +00:00
Benoît Minisini
259a2f8906 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix binary file detection.
* BUG: Fix control icon installation in components installed through an 
  autotools package.

[GB.DBUS]
* BUG: Fix signal catching managemnt.
* NEW: DBusSignal constructor takes a new optional argument that allows to
  catch signals sent to any application.

[GB.GTK]
* BUG: Fix Key.BackTab constant.


git-svn-id: svn://localhost/gambas/trunk@4242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 16:21:45 +00:00
Benoît Minisini
8163a28003 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly translate numerals inside error messages.

[COMPILER]
* BUG: Raise an error when the default case of a SELECT statement is not 
  the last one.
* BUG: Raise an error when the default case of a SELECT statement is 
  defined twice.


git-svn-id: svn://localhost/gambas/trunk@4239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-10 10:09:25 +00:00
Benoît Minisini
32db90034c [GB.FORM]
* BUG: IconPanel.Count property can be decremented without crashing now.


git-svn-id: svn://localhost/gambas/trunk@4237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-09 23:11:03 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
0c48c72b98 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display error messages when the class name is not written
  with the same case everywhere.


git-svn-id: svn://localhost/gambas/trunk@4232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-03 19:20:07 +00:00
Benoît Minisini
868fa6cda9 [CONFIGURATION]
* NEW: Switch version to 2.99.6.

[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore labels in code editor's control structure automatic 
  completion.

[GB.GTK]
* BUG: Fix popup management for some widget styles.


git-svn-id: svn://localhost/gambas/trunk@4225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-30 17:47:29 +00:00
Benoît Minisini
3cb1789157 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to handle when a project file has disappeared without being 
  noticed by the IDE.


git-svn-id: svn://localhost/gambas/trunk@4215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 15:35:17 +00:00
Benoît Minisini
e680d4fe9b [DEVELOPMENT ENVIRONMENT]
* BUG: The form editor now embeds controls in a container that depens on 
  the form family (a Panel for a Form, a ReportPanel for a Report).

[INTERPRETER]
* BUG: Fix loop management when big negative values are used.

[GB.REPORT]
* NEW: Add an icon for the ReportPanel control.


git-svn-id: svn://localhost/gambas/trunk@4206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-20 00:03:25 +00:00
Benoît Minisini
b6925fd8c7 [WEBSITE MAKER]
* NEW: Tribute to Dennis Ritchie.


git-svn-id: svn://localhost/gambas/trunk@4202 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-15 02:55:34 +00:00
Ilja Lebedev
9a0669324b [DEVELOPMENT ENVIRONMENT]
* NEW: Update of  Russian translation.

git-svn-id: svn://localhost/gambas/trunk@4201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 20:18:59 +00:00
Benoît Minisini
7f6e3260a2 [DEVELOPMENT ENVIRONMENT]
* BUG: Colorize error tooltips differently in the source code editor, so 
  that they are visible with all possible tooltip background colors.


git-svn-id: svn://localhost/gambas/trunk@4200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 17:24:20 +00:00
Benoît Minisini
07e8a246f0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix arrangement of translation dialog.

[WEB SITE MAKER]
* NEW: Update for Gambas 3 RC5.

[GB.FORM]
* BUG: Fix compilation of gb.form.


git-svn-id: svn://localhost/gambas/trunk@4192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-10 19:35:34 +00:00
Benoît Minisini
7e704c0ba7 [GB.GTK]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.

[GB.QT4]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.


git-svn-id: svn://localhost/gambas/trunk@4189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 20:27:10 +00:00
Ilja Lebedev
6eaac63417 Russian 61% and going more
git-svn-id: svn://localhost/gambas/trunk@4181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-08 20:16:08 +00:00
Ilja Lebedev
005d420833 git-svn-id: svn://localhost/gambas/trunk@4180 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-10-08 19:50:45 +00:00
Ilja Lebedev
ad5efc8889 git-svn-id: svn://localhost/gambas/trunk@4179 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-10-08 19:50:29 +00:00
Benoît Minisini
468bc5f931 [DEVELOPMENT ENVIRONMENT]
* NEW: Save executable path as a relative path when it is located inside 
  the project directory.


git-svn-id: svn://localhost/gambas/trunk@4174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-07 00:12:00 +00:00
Benoît Minisini
301ff3d829 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving a project inside its own directory is now forbidden.


git-svn-id: svn://localhost/gambas/trunk@4172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-03 20:39:40 +00:00
Benoît Minisini
2ab907bbaf [DEVELOPMENT ENVIRONMENT]
* NEW: Move an option in the option dialog.

[EXAMPLES]
* BUG: Fix the Evaluator example so that the initial values are localized, 
  and the computed expression always use Float values.


git-svn-id: svn://localhost/gambas/trunk@4171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-03 20:26:21 +00:00
Benoît Minisini
7466e544db [DEVELOPMENT ENVIRONMENT]
* NEW: Use Key.Escape instead of Key.Esc. Key.Esc will be removed sooner 
  or later.
* NEW: In the form editor, a control being created now has its handles.
* NEW: The form editor selection frame is transparent now.

[EXAMPLE]
* BUG: Fix Puzzle1To8 example key handling.

[GB.FORM]
* NEW: Use Key.Escape instead of Key.Esc.

[GB.GTK]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.

[GB.QT4]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.


git-svn-id: svn://localhost/gambas/trunk@4169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 14:09:39 +00:00
Benoît Minisini
1bbcb751de [GB.QT4]
* BUG: Remove an apparently now useless trick in GridView Change event
  management.


git-svn-id: svn://localhost/gambas/trunk@4168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 02:28:33 +00:00
Benoît Minisini
46bc0c3772 [DEVELOPMENT ENVIRONMENT]
* BUG: Project treeview is drawn in the project open dialog the same way as 
  in the main window.
* BUG: Fix new Report creation.


git-svn-id: svn://localhost/gambas/trunk@4167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-01 16:01:33 +00:00
Benoît Minisini
6e86a84d5a [INTERPRETER]
* NEW: Disable echo by defaut when running a child process inside a virtual 
  terminal.

[DEVELOPMENT ENVIRONMENT]
* BUG: Run projects inside a virtual terminal.


git-svn-id: svn://localhost/gambas/trunk@4163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-29 00:10:15 +00:00
Benoît Minisini
7a445217f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compression now compress local variable names.
* BUG: Fix database manager field creation.

[GB.FORM.STOCK]
* BUG: Fix icons again.

[GB.QT4]
* BUG: Fix GridView Row and Column property.
* BUG: Fix GridView Change event in single selection mode.


git-svn-id: svn://localhost/gambas/trunk@4158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-27 12:36:33 +00:00
Benoît Minisini
a4402b48bc [DEVELOPMENT ENVIRONMENT]
* NEW: Support for "Gambas" icon theme.

[WEB SITE MAKER]
* NEW: Update for Gambas 3 RC4.

[GB.FORM]
* NEW: Some little clean-up in stock icons management.


git-svn-id: svn://localhost/gambas/trunk@4155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-26 02:19:38 +00:00
Radek Fryšták
1a08dc94c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation

[WEB SITE MAKER]
* NEW: Update czech translation

[GB.FORM.MDI]
* NEW: Update czech translation

[GB.REPORT]
* NEW: Update czech translation

[GB.FORM.DIALOG]
* NEW: Update czech translation

[GB.FORM]
* NEW: Update czech translation

[GB.DB.FORM]
* NEW: Update czech translation

[EXAMPLES]
* NEW: Update czech translation for GNUBoxWorld
* NEW: Update czech translation for CDPlayer
* BUG: Fix create CD-ROM class a to netbook without CD-ROM.



git-svn-id: svn://localhost/gambas/trunk@4147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-24 19:14:42 +00:00
Benoît Minisini
12997b15f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if a library cannot be found.
* NEW: Display a big message in the library tab of the project property
  dialog to tell that library must be stored in the same directory as the
  project using them.

[INTERPRETER]
* OPT: Some little optimization in natural comparison routine.

[GB.GTK]
* BUG: Do not crash if a null key is used for a stock picture. Just return
  a null reference.


git-svn-id: svn://localhost/gambas/trunk@4145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-23 20:17:57 +00:00
Benoît Minisini
990180be34 [INTERPRETER]
* OPT: Internal conversions between unicode and utf-8 have been optimized.
* OPT: String.UCase(), String.LCase() and String.Chr() have been optimized.
* BUG: Arrays of classes exported from a component or a library are now
  automatically exported too.
* NEW: Param.All is a new property that returns all extra arguments as an
  array.


git-svn-id: svn://localhost/gambas/trunk@4143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-21 09:42:19 +00:00
Benoît Minisini
ee80fb4118 [INTERPRETER]
* BUG: Fix String.Pos(), and String.InStr() with a third argument.

[GB.QT4]
* BUG: GridView: Fix how the Change event is raised in single selection 
  mode.


git-svn-id: svn://localhost/gambas/trunk@4140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 01:16:29 +00:00
Benoît Minisini
d93f4cf610 [DEVELOPMENT ENVIRONMENT]
* BUG: TRY is taken into account now when converting a Gambas 2 OPEN 
  instruction.


git-svn-id: svn://localhost/gambas/trunk@4136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 19:39:13 +00:00
Benoît Minisini
61f9bb4db6 [DEVELOPMENT ENVIRONMENT]
* BUG: Selecting the movie of a MovieBox control only allows to select a
  path located in the project.
* NEW: Languages are sorted in the help browser's language menu.
* NEW: The help browser now shows an animation while loading a page.
* BUG: Selecting a virtual class in the help browser tree now correctly
  shows its documentation page.
* NEW: Add support for LXDE terminal in option dialog.


git-svn-id: svn://localhost/gambas/trunk@4129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-15 10:11:38 +00:00
Benoît Minisini
043c6300b3 [DEVELOPMENT ENVIRONMENT]
* BUG: In the menu editor, pasting menus works correctly now.


git-svn-id: svn://localhost/gambas/trunk@4121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 22:26:10 +00:00
Benoît Minisini
212f6e1b96 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use Editor.ShowCursorPosition flag anymore.


git-svn-id: svn://localhost/gambas/trunk@4116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 19:07:49 +00:00
Benoît Minisini
aae2aee181 [INTERPRETER]
* OPT: Optimize the inequality comparison operators by putting them into
  the gbx_exec_loop.c source file.


git-svn-id: svn://localhost/gambas/trunk@4113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-09 01:50:57 +00:00
David Villalobos Cambronero
00716c0a9d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@4111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-09 00:06:11 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +00:00
Benoît Minisini
1ab9a64c99 [DEVELOPMENT ENVIRONMENT]
* NEW: When inserting an existing module, class, form... the file view
  automatically show hidden files so that the ".src" directory inside 
  Gambas projects is always visible.

[GB.FORM]
* NEW: DirView.Settings is a new property that allows the Settings class to
  automatically save or restore settings through its Read and Write 
  methods.
* BUG: Fix the management of the ShowHidden property in FileView.
* BUG: Fix how FileView settings are saved and restored.


git-svn-id: svn://localhost/gambas/trunk@4103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 01:58:03 +00:00
Benoît Minisini
070f4dff00 [GB.FORM.MDI]
* BUG: Workspace with bottom orientation correclty shows its tabbar again.


git-svn-id: svn://localhost/gambas/trunk@4102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 00:34:28 +00:00
Benoît Minisini
2b2d3e448f [DEVELOPMENT ENVIRONMENT]
* BUG: When converting a Gambas 2 project, do not try to convert symbolic
  links.


git-svn-id: svn://localhost/gambas/trunk@4101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 21:07:55 +00:00
Benoît Minisini
19d536a912 [DEVELOPMENT ENVIRONMENT]
* OPT: Project items contents is loaded from disk only if the project items
  is visible.

[WIKI CGI SCRIPT]
* BUG: Symbol syntax for array writing has been fixed.

[EXAMPLES]
* NEW: Update example project titles.
* NEW: AnalogWatch has been rewritten with the Paint class.

[GB.FORM]
* BUG: FileView works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 18:31:30 +00:00
Benoît Minisini
acae4c3277 [DEVELOPMENT ENVIRONMENT]
* BUG: Now just print a warning when creating the project directory icon is
  impossible.
* BUG: Fix the other warning messages so that they are printed the same 
  way.


git-svn-id: svn://localhost/gambas/trunk@4098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 13:58:21 +00:00
Jordi Sayol
a5254d6268 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan tips


git-svn-id: svn://localhost/gambas/trunk@4094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 20:15:34 +00:00
Benoît Minisini
d16a433b3e [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore ValueBox.MaxLength property when converting a Gambas 2 form.


git-svn-id: svn://localhost/gambas/trunk@4093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 20:06:35 +00:00
Benoît Minisini
7a03d0ebfb [DEVELOPMENT ENVIRONMENT]
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
  project dialog' is opened.

[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.

[GB.FORM]
* BUG: FileView now ignores unreadable directories.

[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.

[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.

[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.


git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:57:05 +00:00
Jordi Sayol
54c5fdcbe8 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Updated WebBrowser Catalan translation.
* NEW: Updated TreeView Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:12:20 +00:00
Benoît Minisini
8cb4217952 [DEVELOPMENT ENVIRONMENT]
* BUG: When hitting F11 to show the console, the console parent tab is now
  automatically made visible.
* BUG: When converting a Gambas 2 project, the IDE now checks that the
  project is not already opened somewhere else, and does not leave the 
  backup project locked if the conversion has succeeded.


git-svn-id: svn://localhost/gambas/trunk@4088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 00:56:30 +00:00
Benoît Minisini
db816a04e2 [WIKI CGI SCRIPT]
* NEW: Do not use the cache anymore.

[EXAMPLES]
* BUG: Fix some form layout in the Database example.

[GB.DB.FORM]
* BUG: DataBrowser is correctly updated now when its DataSource changes.


git-svn-id: svn://localhost/gambas/trunk@4081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 02:08:04 +00:00
Benoît Minisini
5b853ba5f3 [INTERPRETER]
* NEW: Quote comma in Html$().

[GB.WEB]
* NEW: Response.SetCookie() has a new optional argument to set if the 
  cookie is "HttpOnly".
* NEW: Session cookies are now automatically "HttpOnly".


git-svn-id: svn://localhost/gambas/trunk@4079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-03 09:52:28 +00:00
Benoît Minisini
2afe7d8f6b [DEVELOPMENT ENVIRONMENT]
* NEW: Some cosmetic changes in system information dialog and tips dialog.


git-svn-id: svn://localhost/gambas/trunk@4076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-02 16:44:20 +00:00
Radek Fryšták
8385b604a3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation
* NEW: Update czech tips


git-svn-id: svn://localhost/gambas/trunk@4075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-02 09:36:04 +00:00
Benoît Minisini
0c6a0e39c5 [GB.QT4]
* OPT: Optimizations in the Action property management.

[GB.GTK]
* OPT: Optimizations in the Action property management.


git-svn-id: svn://localhost/gambas/trunk@4073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 14:19:34 +00:00
Benoît Minisini
a21a408a78 [EXAMPLES]
* NEW: New StarField example made by Laurent Carlier.


git-svn-id: svn://localhost/gambas/trunk@4071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:59:00 +00:00
Benoît Minisini
52552bd548 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a project filter in the recent project list of the welcome 
  dialog.

[GB.REPORT]
* BUG: Fix a typo mistake in ReportVBox class.


git-svn-id: svn://localhost/gambas/trunk@4070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:39:54 +00:00
Benoît Minisini
b452559b5d [INTERPRETER]
* BUG: When checking inheritance, ignore the case of the "_new" special 
  method name.

[GB.REPORT]
* BUG: Fix some bad method overrides.


git-svn-id: svn://localhost/gambas/trunk@4067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 02:35:54 +00:00
Benoît Minisini
252895cdc6 [WEB SITE MAKER]
* BUG: Fix PayPal link.
* BUG: Fix default font in style sheets.

[INTERPRETER]
* BUG: Now an inherited method checks that it has the same signature as the
  parent method. This check is not done for a native class inherting 
  another native class. C/C++ programmers are supposed to know what they 
  are doing. :-)

[GB.DB.FORM]
* BUG: Rename all Refresh() methods as Update() in all controls, so that 
  the Refresh() method inherited from Control is not badly overridden.
* NEW: Change the way DataView chooses the height of a row.

[GB.GTK]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.

[GB.QT4]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.


git-svn-id: svn://localhost/gambas/trunk@4064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:50:38 +00:00
Benoît Minisini
97616dcc18 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix "delete container only" and "embed into container" functions in
  the form editor.
* NEW: Add a filter in the "recent" tab of the "open project" dialog.


git-svn-id: svn://localhost/gambas/trunk@4063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 19:25:40 +00:00
Benoît Minisini
6390707515 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the "Gambas web site" button tooltip in the help browser.


git-svn-id: svn://localhost/gambas/trunk@4062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 09:28:52 +00:00
Benoît Minisini
f6f0fc743f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix bad project file links in the help browser.

[GB.QT4.WEBKIT]
* BUG: Raise the Error event later, so that setting the URL property during
  its event handler works correctly.


git-svn-id: svn://localhost/gambas/trunk@4061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 00:52:40 +00:00
Benoît Minisini
28758db521 [DEVELOPMENT ENVIRONMENT]
* BUG: Generate project help pages in temporary files so that the help
  browser can put them in its history.

[GB.QT4.WEBKIT]
* BUG: The default user agent is returned when no specific user agent has 
  been set.


git-svn-id: svn://localhost/gambas/trunk@4060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 22:57:39 +00:00
Benoît Minisini
1adedd8703 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to fix Fabiens's problem with invisible completion list.


git-svn-id: svn://localhost/gambas/trunk@4059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:15:00 +00:00
Benoît Minisini
c2877d808a [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle image editor option in the options dialog.


git-svn-id: svn://localhost/gambas/trunk@4058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:06:04 +00:00
Benoît Minisini
8f356103af [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser is always refreshed when its treeview is clicked.

[EXAMPLES]
* NEW: Some little changes in TreeView example.
* BUG: Some fixes in WebCam example.

[GB.FORM.STOCK]
* BUG: Add a missing svg stock icon for "bookmark".

[GB.QT4]
* BUG: TrayIcon comes back as a virtual control.

[GB.GTK]
* BUG: TrayIcon comes back as a virtual control.


git-svn-id: svn://localhost/gambas/trunk@4057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:02:36 +00:00
Benoît Minisini
12deb8c640 [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser now opens external links in the external web 
  browser.


git-svn-id: svn://localhost/gambas/trunk@4056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 01:19:58 +00:00
Benoît Minisini
9856fc1145 [DEVELOPMENT ENVIRONMENT]
* BUG: Class help now ends with the first void line after at least one 
  help line.


git-svn-id: svn://localhost/gambas/trunk@4055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:43:14 +00:00
Benoît Minisini
ab4c224fce [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh help browser correctly when a new project is opened.
* NEW: Change auto-completion symbol icons.


git-svn-id: svn://localhost/gambas/trunk@4054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:28:51 +00:00
Benoît Minisini
c4d4cdc376 [DEVELOPMENT ENVIRONMENT]
* NEW: Add two new functions to the form editor: embedding the selected
  controls inside a newly created container, and removing a container 
  without removing the children.
* NEW: Remove some icons that are not used anymore.


git-svn-id: svn://localhost/gambas/trunk@4053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 19:02:39 +00:00
Benoît Minisini
63bc149a14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a MenuButton instead of a ComboBox to edit list properties.
* BUG: Inserting a new menu in the menu editor correctly selects it.
* BUG: The component property dialog does not crash anymore if there is no
  exported class in the project.

[GB.FORM]
* BUG: Fix mouse events handling in MenuButton controls whose MenuOnly 
  property is TRUE.

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


git-svn-id: svn://localhost/gambas/trunk@4052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 01:07:50 +00:00
Benoît Minisini
866c681682 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix and enhance the Report brush chooser dialog.
* NEW: Use Color.Gradient instead of Color.Merge.

[GB.FORM.STOCK]
* BUG: Add two missing SVG files for stock icons.

[GB.IMAGE]
* NEW: Color.Gradient() is a new method that creates an intermediate color 
  between two others colors by using a RGB gradient.


git-svn-id: svn://localhost/gambas/trunk@4049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 17:31:51 +00:00
Benoît Minisini
976080faee [DEVELOPMENT ENVIRONEMNT]
* NEW: Some fix in english tips.
* NEW: French translation of tips finished!


git-svn-id: svn://localhost/gambas/trunk@4048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 15:00:18 +00:00
Benoît Minisini
1d68e2fcde [DEVELOPMENT ENVIRONMENT]
* NEW: English and french tips were updated. Not all french tips are 
  translated yet.


git-svn-id: svn://localhost/gambas/trunk@4046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 13:40:38 +00:00
Benoît Minisini
fa0dd2c956 [WIKI CGI SCRIPT]
* BUG: Fixes in OpenGL automatic documentation.

[GB.DB.FORM]
* NEW: DataView.Labels and DataBrowser.Labels are two new properties that
  define the column labels. If they are not set, the field names are used.

[GB.FORM]
* NEW: MenuButton.MenuOnly is a new property that makes the MenuButton only
  pop up its menu, and never raise its Click event.


git-svn-id: svn://localhost/gambas/trunk@4041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-26 00:00:47 +00:00
Benoît Minisini
05cdbfaf61 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix some theme colors.

[EXAMPLES]
* NEW: WebBrowser example: Handle new WebView.Fonts.xxx properties.

[GB.EVAL.HIGHLIGHT]
* NEW: Use alternate background when highlighting scripts and styles inside 
  an HTML document.

[GB.FORM]
* BUG: FileView now correctly ignores errors raised during the Icon event.

[GB.QT4.EXT]
* NEW: Some little changes in the way Editor paint background of lines.

[GB.QT4.WEBKIT]
* NEW: Remove WebView.Cached property, and add a WebSettings.Cache.Enabled 
  property to replace it globally.
* NEW: Replace WebView.Font[] by many WebView.Fonts.xxx properties.
* NEW: Add other WebView.Fonts.xxx properties to define default font sizes.


git-svn-id: svn://localhost/gambas/trunk@4036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-24 07:26:09 +00:00
Benoît Minisini
c00ce9a3fe [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the system information window and its contents.

[INTERPRETER]
* BUG: Do not leak object reference when an error is raised during an event
  handler.
* BUG: When a broken symbolic link is encountered, Dir() now assumes it is
  a file.

[GB.FORM]
* BUG: DirView now correctly ignores errors raised during the Icon event.


git-svn-id: svn://localhost/gambas/trunk@4035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-23 12:51:25 +00:00
Benoît Minisini
5ba33379e6 [GB.FORM]
* NEW: Some updates in stock icons maps.

[GB.FORM.STOCK]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@4034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 20:28:00 +00:00
Benoît Minisini
96685a0442 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for splitted lines in pretty printer.

[GB.DESKTOP]
* BUG: Make the component compile correctly.


git-svn-id: svn://localhost/gambas/trunk@4032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 07:47:56 +00:00
Benoît Minisini
bb90705517 [WIKI CGI SCRIPT]
* NEW: Tons of new changes to make a better automatic documentation of
  virtual classes.
* NEW: Support for indonesian translation.
* NEW: Page renaming has a new option to do a copy instead.

[GB.FORM]
* BUG: Replace an old _IconViewItem reference by the new _IconView_Item.


git-svn-id: svn://localhost/gambas/trunk@4031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 01:46:18 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
3407013046 [DEVELOPMENT ENVIRONMENT]
* NEW: In the library tab of the project property dialog, display the
  dependencies of the libraries.
* NEW: Add a button to only display exported classes in the project tree.

[INTERPRETER]
* NEW: Loading a user library now automatically loads the other libraries
  it depends on, as well as the components.

[GB.FORM]
* BUG: Fix orientation of "clear" stock icon for KDE4.


git-svn-id: svn://localhost/gambas/trunk@4024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 02:27:16 +00:00
Benoît Minisini
d927711d9a [DEVELOPMENT ENVIRONMENT]
* BUG: Replace Workspace.Children by Workspace.Windows everywhere.
* BUG: Fix a possible crash in menu editor.


git-svn-id: svn://localhost/gambas/trunk@4021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 13:23:31 +00:00
Benoît Minisini
0b44748b70 [DEVELOPMENT ENVIRONMENT]
* BUG: The search list does not jump to the next instance unexpectedly 
  anymore.

[GB.QT4]
* BUG: Changing the number of columns or rows in a GridView will raise
  Select and Change events only if there is a current row.


git-svn-id: svn://localhost/gambas/trunk@4020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 11:29:13 +00:00
Benoît Minisini
76c4a89712 [CONFIGURATION]
* NEW: Switch version to 2.99.3.

[GB.QT4.WEBKIT]
* NEW: WebView.Proxy is a new virtual object that defines the proxy used
  for all requests. That proxy is the same for all WebView objects at the
  moment.


git-svn-id: svn://localhost/gambas/trunk@4018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 10:59:31 +00:00
Benoît Minisini
da7d1f8305 [DEVELOPMENT ENVIRONMENT]
* BUG: Display recursive error messages sent by the debugger correctly.

[GB.REPORT]
* BUG: Fix incorrect inheritances.


git-svn-id: svn://localhost/gambas/trunk@4017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 01:31:42 +00:00
Benoît Minisini
a86f7e8b15 [DEVELOPMENT ENVIRONMENT]
* BUG: Define the correct startup class.


git-svn-id: svn://localhost/gambas/trunk@4016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 00:44:25 +00:00
Benoît Minisini
93137105d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The startup class icon is now just drawn with a dark outline.
* NEW: Error messages updated.
* NEW: French translation updated.

[INTERPRETER]
* NEW: Inheritance is stricter now: the child symbol must have exactly the
  same kind than the parent symbol.
* BUG: A child method must return the same datatype as its parent method 
  now.
* NEW: Gambas 3 executable mime description file and icon have been renamed
  so that they do not conflict with Gambas 2 files.

[GB.FORM]
* BUG: IconView.Find() has been renamed as IconView.FindAt(), to avoid the
  conflict with the inherited UserControl.Find() method.

[GB.FORM.MDI]
* BUG: Workspace.Children has been renamed as Workspace.Windows, because 
  the Workspace.Children property was in conflict with the inherited
  Container.Children property.

[GB.GTK]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.

[GB.IMAGE]
* NEW: Color.SetRGB() and Color.SetHSV() are two new methods that takes a
  color as an integer, modifies one of its component, and returns it. They
  are faster than using the ColorInfo class.
* NEW: Color.GetAlpha() returns the alpha component of a color from its
  integer value.

[GB.QT4]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.


git-svn-id: svn://localhost/gambas/trunk@4015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 00:33:36 +00:00
Benoît Minisini
4d0acf6f72 [DEVELOPMENT ENVIRONMENT]
* BUG: Comment and uncomment work again in the code editor.


git-svn-id: svn://localhost/gambas/trunk@4014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-19 12:53:55 +00:00
Benoît Minisini
5b38c13d65 [DEVELOPMENT ENVIRONMENT]
* NEW: Reorganize menus in code editor and text editor.
* NEW: Two new menu entries in code editor and text editor to switch 
  selected text to upper case or lower case.
* BUG: Shortcuts are now correctly displayed in menu editor.
* BUG: Keep menu selection when moving them up or down.
* BUG: Deleting non-existing symbolic links works correctly now.


git-svn-id: svn://localhost/gambas/trunk@4013 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-19 01:09:20 +00:00
Benoît Minisini
16f58e0e3f [DEVELOPMENT ENVIRONMENT]
* BUG: Deleting menus in the menu editor works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-16 23:37:32 +00:00
Benoît Minisini
b67b0bfe8e [DEVELOPMENT ENVIRONMENT]
* BUG: Searching in the menu editor does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@4010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-16 18:38:01 +00:00
Benoît Minisini
4f77c03519 [WIKI CGI SCRIPT]
* NEW: Some enhancements in OpenGL automatic documentation.

[WEB SITE MAKER]
* NEW: Update website for Gambas 3.0 RC2.

[GB.OPENGL]
* BUG: Rename Gl.BITMAP as Gl.BITMAP_, because there is a Gl.Bitmap() 
  function.


git-svn-id: svn://localhost/gambas/trunk@4009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-11 15:30:07 +00:00
Benoît Minisini
11f7447608 [DEVELOPMENT ENVIRONMENT]
* BUG: Comments are not automatically inserted anymore when we are at the
  beginning of the line.


git-svn-id: svn://localhost/gambas/trunk@4008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-11 15:28:09 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
a750bebb62 [DEVELOPMENT ENVIRONMENT]
* BUG: Hidden exported classes cannot be controls!


git-svn-id: svn://localhost/gambas/trunk@4003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 23:30:39 +00:00
Benoît Minisini
3d8509eb50 [DEVELOPMENT ENVIRONMENT]
* NEW: The menu editor has been redesigned.


git-svn-id: svn://localhost/gambas/trunk@4002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 23:21:47 +00:00
Benoît Minisini
6334bc4a50 [WIKI CGI SCRIPT]
* NEW: Automatic OpenGL documentation.

[GB.DB.FORM]
* NEW: Do not resize automatically the rows in DataView.
* NEW: In Dataview, only resize the current row.

[GB.FORM]
* BUG: IconView MoveFirst(), MoveNext(), MovePrevious() and MoveTo() 
  methods now correctly return TRUE when no item is available.


git-svn-id: svn://localhost/gambas/trunk@3999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 11:51:06 +00:00