Commit graph

1016 commits

Author SHA1 Message Date
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