Commit graph

1341 commits

Author SHA1 Message Date
Benoît Minisini
2d68579654 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash during automatic completion.


git-svn-id: svn://localhost/gambas/trunk@5207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 16:33:35 +00:00
Benoît Minisini
3faf07c11c [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion correctly follows the current edition again.


git-svn-id: svn://localhost/gambas/trunk@5204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 21:24:04 +00:00
Benoît Minisini
81613f1cb8 [DEVELOPMENT ENVIRONMENT]
* BUG: When scanning classes, detect the value of constants.


git-svn-id: svn://localhost/gambas/trunk@5201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 17:44:59 +00:00
Benoît Minisini
2b45910f9a [GB.FORM]
* NEW: ScrollArea.Shadow is now a dynamic property. This will be backported 
  to 3.3 as soon as possible because this is a forbidden background 
  compatibility break!


git-svn-id: svn://localhost/gambas/trunk@5200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 14:10:55 +00:00
Benoît Minisini
f0a5dfb6ae [DEVELOPMENT ENVIRONMENT]
* NEW: Use a GridView instead of a ListView for automatic completion, so 
  that we get rid of the Qt4 "gray ListView" bug.


git-svn-id: svn://localhost/gambas/trunk@5198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 13:54:05 +00:00
Benoît Minisini
7e694b6fc7 [WEBSITE MAKER]
* NEW: Updates for 3.3.0 release.

[GB.WEB]
* NEW: Session.CookiePath is a new property that allows to define the URL 
  path of the session cookie.


git-svn-id: svn://localhost/gambas/trunk@5197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-24 23:37:55 +00:00
Benoît Minisini
c7b905cf9e [CONFIGURATION]
* BUG: Do not distribute '.action' directories in source packages.


git-svn-id: svn://localhost/gambas/trunk@5192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 15:01:18 +00:00
Benoît Minisini
fd7f08d6d7 [DEVELOPMENT ENVIRONMENT]
* NEW: In the database connection editor, make the table data browser read-
  only by default, and add a button to toggle the editable state.

[GB.DB.FORM]
* BUG: Setting DataView.Editable to FALSE correctly hides the record 
  creation extra line.

[GB.NET.POP3]
* BUG: Hide public constants that should have been private only.


git-svn-id: svn://localhost/gambas/trunk@5190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 14:03:15 +00:00
Benoît Minisini
252053f9b3 [GB.GTK]
* BUG: Windows should not receive a keyboard event twice anymore.

[GB.QT4]
* BUG: Windows should not receive a keyboard event twice anymore.


git-svn-id: svn://localhost/gambas/trunk@5188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-22 01:38:15 +00:00
Benoît Minisini
479ae9353b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix inheritance management in projects that are the Gambas part of
  an existed component, or a component entirely written in Gambas.
* NEW: Add '-h', '-v' and '-L' command-line options.


git-svn-id: svn://localhost/gambas/trunk@5186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 23:35:04 +00:00
Benoît Minisini
f1d5220649 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't try to refresh the search list if we are closing the project.
* NEW: Hide error message if debugger is stopped.


git-svn-id: svn://localhost/gambas/trunk@5184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 21:40:35 +00:00
Benoît Minisini
0d36fabf2a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix loading of component information when the current project is the
  Gambas part of a Gambas component.
* BUG: Opening a project in another window should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@5182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 09:11:06 +00:00
Benoît Minisini
3f8c71a8db [DEVELOPMENT ENVIRONMENT]
* BUG: Handle official components projects like 'gb.web' better.

[GB.WEB]
* BUG: Fix gb.web compilation.


git-svn-id: svn://localhost/gambas/trunk@5179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 14:33:38 +00:00
Benoît Minisini
57764a966b [DEVELOPMENT ENVIRONMENT]
* BUG: Indent & unident buttons now work in text editors.


git-svn-id: svn://localhost/gambas/trunk@5178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 13:55:47 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
a707a2cb8e [DEVELOPMENT ENVIRONMENT]
* NEW: Modify the behaviour of the "Replace" command. Now the text is 
  searched only if it has not been just replaced.


git-svn-id: svn://localhost/gambas/trunk@5176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-19 19:05:37 +00:00
Benoît Minisini
22a119f0a6 [DEVELOPMENT ENVIRONMENT]
* BUG: When saving a project with another name, the ExecPath and SourcePath 
  options of the target project are reset, and the target project is 
  cleaned up.


git-svn-id: svn://localhost/gambas/trunk@5172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 13:41:50 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Benoît Minisini
3e08610bea [DEVELOPMENT ENVIRONMENT]
* BUG: Project 'Save as' now preserves symbolic links.


git-svn-id: svn://localhost/gambas/trunk@5166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-14 23:49:33 +00:00
Sebastian Kulesz
93445a0bce [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation.

Thanks to jguardon for some of the suggestions.


git-svn-id: svn://localhost/gambas/trunk@5163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 20:57:14 +00:00
Benoît Minisini
f46b297fd6 [DEVELOPMENT ENVIRONMENT]
* NEW: Small redesign of the welcome dialog again.

[EXAMPLES]
* BUG: Fix HighlightEditor example.
* NEW: Descriptions of some examples.


git-svn-id: svn://localhost/gambas/trunk@5162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 18:50:45 +00:00
Benoît Minisini
56a835a162 [DEVELOPMENT ENVIRONMENT]
* NEW: Small changes in the welcome dialog design.

[GB.FORM]
* NEW: In FileChooser and DirChooser, replace the little arrow that goes 
  up to the parent directory by a normal button.

[GB.GTK]
* BUG: Fix Mouse.ScreenX and Mouse.ScreenY.


git-svn-id: svn://localhost/gambas/trunk@5161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 15:32:26 +00:00
Benoît Minisini
1756d43796 [DEVELOPMENT ENVIRONMENT]
* OPT: Delay the welcome dialog project list layouting as much as possible.


git-svn-id: svn://localhost/gambas/trunk@5159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 02:45:49 +00:00
Benoît Minisini
4771826650 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix binary file detection that made file browsing sometimes ignore 
  some text files.
* BUG: When opening a project in another window, try to find the IDE 
  executable with and wuthout the ".gambas" extension.

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


git-svn-id: svn://localhost/gambas/trunk@5156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 15:05:08 +00:00
Bruce Bruen
6d083338c7 [DEVELOPMENT ENVIRONMENT]
* BUG: Altered order of code in Package.Make so the CHANGELOG is saved before creating the package.

git-svn-id: svn://localhost/gambas/trunk@5155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 08:29:50 +00:00
Benoît Minisini
006eb4dfd1 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in automatic variable declaration.

[GB.DESKTOP]
* BUG: $XDG_DATA_DIRS is now taken into account when browsing mime cache 
  files.

[GB.FORM]
* BUG: Clicking on a TabPanel tab raises the Click event after taking the 
  focus now.


git-svn-id: svn://localhost/gambas/trunk@5152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 13:05:34 +00:00
Benoît Minisini
c21ae3d19d [DEVELOPMENT ENVIRONMENT]
* BUG: Support for the "Unfinished" string in component description file.
* BUG: Be more clever when searching the gambas IDE executable to launch it
  for opening a project in another window.


git-svn-id: svn://localhost/gambas/trunk@5148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 20:59:50 +00:00
Benoît Minisini
5cce4518b6 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when computing the size of a project item.


git-svn-id: svn://localhost/gambas/trunk@5146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 17:30:25 +00:00
Benoît Minisini
6faa6fc510 [DEVELOPMENT ENVIRONMENT]
* BUG: Be more careful when renaming the code after a control rename.

[GB.DESKTOP]
* BUG: Search in LXDE mime info cache files first if the current desktop 
  is LXDE.



git-svn-id: svn://localhost/gambas/trunk@5144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 23:42:34 +00:00
Benoît Minisini
78081342bc [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming a control now should only rename accurate symbols in source 
  code.


git-svn-id: svn://localhost/gambas/trunk@5143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 08:15:26 +00:00
Benoît Minisini
e6af67cffa [DEVELOPMENT ENVIRONMENT]
* BUG: Take the value of "automatic declare local variables" option into 
  account correctly.


git-svn-id: svn://localhost/gambas/trunk@5138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 12:58:09 +00:00
Benoît Minisini
5d6a1d14ee [DEVELOPMENT ENVIRONMENT]
* NEW: Display the project description in project items now.

[GB.FORM]
* NEW: Draw the TabPanel focus differently again.


git-svn-id: svn://localhost/gambas/trunk@5133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 13:42:06 +00:00
Benoît Minisini
3a0a6f4913 [DEVELOPMENT ENVIRONMENT]
* NEW: "Open with" menu now is based on the *.desktop files of applications
  that are installed on the system.

[GB.DESKTOP]
* NEW: DesktopFile is a new class that load *.desktop application files.
* NEW: DesktopFile.FindMime() is a static method that returns a list of
  DesktopFile that can handle a specific mime type.

[GB.FORM]
* BUG: Some fixes in the stock icon map file.
* NEW: Add a new "program" stock icon.

[GB.FORM.STOCK]
* NEW: Add a "program" stock icon.


git-svn-id: svn://localhost/gambas/trunk@5129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 00:38:04 +00:00
Benoît Minisini
1937a67353 [DEVELOPMENT ENVIRONMENT]
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable 
  declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.

[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
  of an UTF-8 string.

[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
  emitted if it overrides a global symbol.

[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their 
  contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
  visible.


git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 18:36:59 +00:00
Benoît Minisini
1aa9bfb464 [DEVELOPMENT ENVIRONMENT]
* NEW: A new option for not restoring files when loading a project.


git-svn-id: svn://localhost/gambas/trunk@5127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 00:34:30 +00:00
Benoît Minisini
8059e72f19 [DEVELOPMENT ENVIRONMENT]
* BUG: Function signatures now support the new syntax that allows to put
  braces around arguments to let the compiler ignore them.


git-svn-id: svn://localhost/gambas/trunk@5126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 00:21:10 +00:00
Benoît Minisini
28c9d6d59b [COMPILER]
* NEW: Make one warning for each symbol kind that is overridden.

[GB.DB.FORM]
* BUG: Fix warnings.

[GB.DESKTOP]
* BUG: Fix some warnings.

[GB.EVAL.HIGHLIGHT]
* BUG: Correctly rewrite the following keywords with no spurious space 
  after: TRUE, FALSE, NULL, +INF, -INF.

[GB.FORM]
* BUG: Fix warnings.

[GB.FORM.MDI]
* BUG: Fix warnings.

[GB.WEB]
* BUG: Fix warnings.


git-svn-id: svn://localhost/gambas/trunk@5125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 23:11:11 +00:00
Sebastian Kulesz
73aa9c0de0 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.



git-svn-id: svn://localhost/gambas/trunk@5124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 17:21:03 +00:00
Benoît Minisini
0026fb1489 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for compiler warnings.
* BUG: Fix all detected warnings.

[COMPILER]
* NEW: A new compiler option '-w' to let it emit warnings.
* NEW: Emit warnings for unused variables, arguments, functions and for 
  local symbols that override global symbols. Public symbols are of course 
  not taken into account.
* NEW: If an argument is surrounded by braces, no warning will be emitted
  if the argument is not used.

[GB.EVAL]
* NEW: OPTIONAL keyword is always followed by a space now when rewriting 
  Gambas code.


git-svn-id: svn://localhost/gambas/trunk@5122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 07:29:39 +00:00
Benoît Minisini
dde26cb313 [DEVELOPMENT ENVIRONMENT]
* BUG: Moving, renaming or deleting a source file now should correctly
  refresh the search list, the breakpoint list and the task list.

[GB.FORM]
* NEW: ScrollArea draws a focus border when it has focus.

[GB.NET.POP3]
* NEW: Make Pop3Client a virtual control like SmtpClient.


git-svn-id: svn://localhost/gambas/trunk@5121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 23:40:59 +00:00
Benoît Minisini
dc08832e13 [DEVELOPMENT ENVIRONMENT]
* BUG: Singature of methods with a variable number of arguments are 
  correctly generated now.
* BUG: Markup syntax: Emphasis inside lists always works now.
* NEW: Markup syntax: Line breaks were implemented.
* BUG: Markup syntax: '[]' does not generate a void link anymore, but just 
  the two brackets "as is".



git-svn-id: svn://localhost/gambas/trunk@5120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 11:42:23 +00:00
Benoît Minisini
81cb724030 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix new markup syntax.


git-svn-id: svn://localhost/gambas/trunk@5118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 15:03:09 +00:00
Benoît Minisini
a08c8e65f0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little icons in the project property component tab show the 
  state of each component (stable, not finished, unstable).
* NEW: The help comments are now interpreted with a new "Gambas markup 
  syntax" inspired from markdown syntax. People that have written comments
  in the old syntax will cry...


git-svn-id: svn://localhost/gambas/trunk@5117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 12:12:46 +00:00
Benoît Minisini
f469044015 [GB.MIME]
* NEW: New component that manages MIME messages. It is based on the GMime 
  library. Just the beginning of the implementation, not tested.


git-svn-id: svn://localhost/gambas/trunk@5112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-01 16:27:24 +00:00
Benoît Minisini
3dc4fd909d [DEVELOPMENT ENVIRONMENT]
* BUG: Take the Translatable virtual property into account when saving a
  MultiContainer control.
* NEW: Use a GridView instead of a ListContainer to display components in
  the project property dialog.

[GB.FORM]
* BUG: ScrollArea computes the limits of its scrollbars correctly in all 
  cases now.
* NEW: Mark all controls in test forms untranslatable.


git-svn-id: svn://localhost/gambas/trunk@5111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-01 14:28:48 +00:00
Benoît Minisini
ce746cb611 [DEVELOPMENT ENVIRONMENT]
* BUG: Ubuntu and Debina packager now create a correct desktop file.


git-svn-id: svn://localhost/gambas/trunk@5109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-01 01:20:48 +00:00
Benoît Minisini
3d3b19cba5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix task detection.
* NEW: When editing a WebPage, hitting ENTER or RETURN may automatically
  insert a closing "%>" if the cursor is inside a non-closed "<%". This 
  prevents unwanted syntax highlighting of HTML with Gambas syntax.


git-svn-id: svn://localhost/gambas/trunk@5105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 18:02:36 +00:00
Benoît Minisini
f3f10a4167 [DEVELOPMENT ENVIRONMENT]
* BUG: Notes (TODO:, FIXME:, NOTE:) can be used in comments beginning with
  two quotes.

[INTERPRETER]
* BUG: Fix possible recursion problems while freeing signal handlers.
* BUG: The output of a process is sometimes woke up ready to read whereas 
  there is nothing to read on it. Close the output immediately instead of 
  calling the callback again and again.
* BUG: Try to handle correctly errors raised during the Kill event of a
  background task. It does not work yet. :-(
* NEW: Task.Running is a new property that returns if a background task is
  running.

[GB.NET]
* NEW: Add Net.CannotAuthenticate error constant for gb.net.pop3.

[GB.NET.POP3]
* BUG: Big interface clean-up so that it matches other networking classes.
* NEW: Add a Pop3Client.Debug property. Not all "Debug" instructions have 
  been replaced yet.
* NEW: The default value of the Port property is zero now. It is 
  automatically converted to 110 or 995 according to the encryption method.
* NEW: Use the Net class for Pop3Client.Status instead of specific 
  constants.
* NEW: Rename the _PopMessage virtual class in _Pop3Client_Message to 
  follow the standard naming scheme that the wiki loves.


git-svn-id: svn://localhost/gambas/trunk@5101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-30 22:13:25 +00:00
Benoît Minisini
c0ad21f5a7 [DEVELOPMENT ENVIRONMENT]
* BUG: Bookmarks do not prevent project conversion anymore.


git-svn-id: svn://localhost/gambas/trunk@5093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-28 14:51:03 +00:00