Commit graph

2571 commits

Author SHA1 Message Date
gambas
c2d99fc28c The visibility of some toolbar icons was incorrectly managed after a project state change.
[DEVELOPMENT ENVIRONMENT]
* BUG: The visibility of some toolbar icons was incorrectly managed after a project state change.
2017-10-24 18:47:03 +02:00
gambas
d720a2789b Don't crash when opening a newly created project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening a newly created project.
2017-10-23 22:38:14 +02:00
gambas
9d3ec8d46b Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
2017-10-21 21:15:12 +02:00
gambas
0b96e3fb64 Some fixes in version control and image selection dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image selection dialog: Correctly define image files filter.
* BUG: Version control: Don't crash when opening a external file.
* NEW: Version control: Added files are now marked as modified with Git.
* NEW: Redraw some class symbol icons.
2017-10-21 01:26:59 +02:00
gambas
e4d996d57d [DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix update of conflict flag when saving a file.
2017-10-16 16:38:46 +02:00
gambas
57bf22b786 Version control: Modified state is now correctly refreshed when files are saved.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Modified state is now correctly refreshed when files are saved.
* NEW: Fix the width of SwitchButton according to its new look.
2017-10-14 02:02:41 +02:00
gambas
2b1a4016fa Fix renaming and moving files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Rename files or move them should update all internal data correctly now.
* BUG: VersionControl: Implement moving and renaming in git version control.
* NEW: Renaming now keep the expanded items.
2017-10-12 04:22:22 +02:00
gambas
962adee567 Don't reload project if switching branch fails.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Version control: Don't reload project if switching branch fails.
* NEW: Version control: Print shell command output if there was an error.
2017-10-12 00:07:05 +02:00
Benoît Minisini
abc50e5af5 Merge branch 'master' into 'ide-git-support'
# Conflicts:
#   app/src/gambas3/.src/VersionControl/VersionControl.module
#   main/gbx/gbx_stream.c
2017-10-11 21:44:14 +00:00
gambas
ddb0723954 Version control: Ability to switch to another branch.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: Ability to switch to another branch.
* NEW: Version control: Support for ssh asking to confirm unknown hosts.
2017-10-11 23:34:47 +02:00
gambas
6cb84ff7bc Project property dialog: Version control information is correctly refreshed now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Version control information is correctly refreshed now.
2017-10-11 23:18:42 +02:00
gambas
2b46719881 Work on version control continues.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Fix some labels.
* BUG: Version Control: Do not crash when there is nothign to commit.
2017-10-11 22:45:37 +02:00
gambas
ce2db39511 Work on version control continues.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a toolbar menu button for version control.
* NEW: Don't use file emblems in menu and workspace icons.
* NEW: Project property dialog: Add a version control tab with information about current repository.
* NEW: Version control: Commit window got a "do not push" check box if Git is in use.
2017-10-11 22:41:31 +02:00
gambas
7378a6c102 Version control: Don't print password prompts twice, and allow commit user & password to be remembered.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Don't print password prompts twice.
* NEW: Version control: Allow commit user & password to be remembered.
2017-10-11 01:23:17 +02:00
gambas
3889bd606c Version control: Always display commands output if requested, but once.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Always display commands output if requested, but once.
2017-10-11 01:10:02 +02:00
gambas
144fc1fb26 Version control: Always display commands output if requested.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Always display commands output if requested.
2017-10-11 01:07:28 +02:00
gambas
f48213d7ff Version control: 'git push' failure is ignored now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: 'git push' failure is ignored now.
* NEW: Version control: Resize commit window at opening widely.
2017-10-11 01:00:47 +02:00
gambas
7d941a8861 Work continue on git support.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form emblems now take the class file into account.
* NEW: Version control: Committing with git automatically pushes to origin.
* NEW: Version control: Remember last commit log.
2017-10-11 00:52:19 +02:00
gambas
ad7295fd58 Version control: Implement commit on git support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Remove old project creation dialog.
* NEW: Version control: Implement commit on git support.
2017-10-11 00:18:09 +02:00
gambas
35f5a54a19 Work continue on git support.
[DEVELOPMENT ENVIROMNENT]
* NEW: Work continue on git support.
* NEW: The subversion specific dialog has been removed, and is replaced by a commit dialog and sub-menu entries in the 'Project' menu.
* NEW: Redraw some icons.
* NEW: Emblem for modified files that must be committed.
* BUG: When there is no warning anymore, the warning panel now is automatically hidden.
2017-10-10 18:46:28 +02:00
gambas
b1de31eb3e Version control: Fix parsing of svn commands run in a virtual terminal.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix parsing of svn commands run in a virtual terminal.
2017-10-07 22:03:22 +02:00
gambas
06b5537c2b Work continue on git support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Work continue on git support.
2017-10-07 21:00:52 +02:00
gambas
9ac8239954 Continue working on git support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Continue working on git support.
* BUG: Create file dialog: Add a forgotten space after parent class label.
2017-10-07 17:51:44 +02:00
gambas
5bd50201bf Rework project tree management
[DEVELOPMENT ENVIRONMENT]
* NEW: Rework project tree management.
2017-10-07 15:00:59 +02:00
gambas
7aed3ba1e2 The date insertion popup menu is now refreshed automatically while opened.
[DEVELOPMENT ENVIRONMENT]
* NEW: The date insertion popup menu is now refreshed automatically while opened.
2017-10-07 02:12:59 +02:00
gambas
382f33c70d Editor: Add a button and a popup menu to insert today's date in many different formats.
[DEVELOPMENT ENVIRONMENT]
* NEW: Editor: Add a button and a popup menu to insert today's date in many different formats.

[WIKI]
* BUG: Some fixes in style sheet.
* NEW: New project icon.
2017-10-04 02:55:57 +02:00
gambas
c2e8c687cf Add search field for connected users to the wiki.
[WIKI]
* NEW: Add search field for connected users.
2017-10-04 01:03:20 +02:00
gambas
2d831bd7d0 Project tree: Source file can be marked as not translatable, not just folders.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Source file can be marked as not translatable, not just folders.
* OPT: Translation dialog: Compute statistics faster.
* NEW: Translation dialog: Add the number of untranslated strings in the statistics.
2017-10-01 21:28:52 +02:00
gambas
0a43958c80 [DEVELOPMENT ENVIRONMENT]
* NEW: Forgot to commit the new "do not translate" icon.
2017-09-30 13:17:58 +02:00
gambas
2fbb522e83 A source folder now can be marked as "non translatable". Every source inside will not be taken into account by the translation dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: A source folder now can be marked as "non translatable". Every source inside will not be taken into account by the translation dialog.
* NEW: Redraw symbol icons and other icons.
2017-09-30 13:15:28 +02:00
gambas
3c6af994f6 Translation dialog: The translation verification button always move to the next problem.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The translation verification button always move to the next problem.
2017-09-30 01:26:50 +02:00
gambas
e204ae0c83 Packager wizard: Add a button to create the package immediately if possible.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager wizard: Add a button to create the package immediately if possible.
2017-09-30 00:56:53 +02:00
gambas
b2a4c166bf Search dialog: Replace is correctly disabled when the project is running.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Replace is correctly disabled when the project is running.
* NEW: Update Gambas 10pt font. But ugly FontForge does not want to generate the font anymore!
2017-09-29 21:16:06 +02:00
gambas
f23776bb58 Project property dialog: Library information is correctly refreshed when a library has been installed or uninstalled.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Library information is correctly refreshed when a library has been installed or uninstalled.
2017-09-26 02:33:12 +02:00
gambas
84267ebaa2 Browsing the project after a file has failed to open does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Browsing the project after a file has failed to open does not crash anymore.
2017-09-26 02:06:36 +02:00
gambas
0a95709974 Add pretty print of CSS, C, C++, and Javascript files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add pretty print of CSS, C, C++, and Javascript files.
2017-09-26 01:36:18 +02:00
gambas
e9ef723191 Fix automatic completion ; add comment & uncomment feature to text editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix word detection and ESC key handling.
* BUG: Form editor: Toolbar expanders are now correctly detected.
* NEW: Code editor: Move option buttons to the right of the toolbar.
* NEW: Text editor: Move option buttons to the right of the toolbar.
* NEW: Text editor: Add comment and uncomment feature, according to the type of the file currently edited.
2017-09-25 19:23:19 +02:00
gambas
f1046c70f9 Removing a project from the recent project list should not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Removing a project from the recent project list should not crash anymore.
2017-09-25 01:42:35 +02:00
gambas
41b9b88469 Automatic completion: Do not hide constants having underscore inside. Only those starting with an underscore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Do not hide constants having underscore inside. Only those starting with an underscore.
2017-09-24 00:58:48 +02:00
gambas
26039d08bb Automatic completion: Hide symbols having with an underscore in it, unless you have entered an underscore just after the point.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: Hide symbols having with an underscore in it, unless you have entered an underscore just after the point.
2017-09-24 00:41:36 +02:00
gambas
a4539d6bb3 [WIKI]
* NEW: New design.
2017-09-23 20:45:44 +02:00
gambas
8eb04e3e00 Code editor: Fix completion of words having UTF-8 characters inside.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix completion of words having UTF-8 characters inside.
2017-09-22 00:54:15 +02:00
gambas
ccbe26c250 Optimize identifier completion and do not crash anymore when clicking many times on the project remove icon in recent project list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Rename source code directory 'Subversion' as 'VersionControl'.
* OPT: Completion of identifiers is faster.
* NEW: New icon emblem for symbolic links.
* BUG: Do not crash anymore when clicking many times on the project remove icon in recent project list.
2017-09-21 18:27:31 +02:00
gambas
f5e9443978 New wiki design.
[WIKI]
* NEW: New design.
2017-09-21 18:14:16 +02:00
gambas
ec5b9f9391 Create bigger versions of three other icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Create bigger versions of three other icons.
2017-09-19 03:39:06 +02:00
gambas
816a748736 Support for indenting with tabs in the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix some icons that were too dark.
* NEW: Start making some icons 32x32 pixels for a better look in big toolbars.
* NEW: Text editor: Add a toggle button for indenting with tabs or spaces.
2017-09-16 23:58:07 +02:00
gambas
c8ee5ee5da Wiki login works correctly again.
[WIKI]
* BUG: Login works correctly again.
2017-09-16 23:49:20 +02:00
gambas
0f072edcbf New project option to show or hide the deprecated components and controls in the IDE.
[DEVELOPMENT ENVIRONMENT]
* NEW: New project option to show or hide the deprecated components and controls.
2017-09-16 15:47:17 +02:00
gambas
72d6c1a6c0 * Implement automatic close of braces, brackets, markups, strings inside the TextEditor control.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use new TextEditor "CloseBraces" option instead of implementing it in the IDE.

[GB.FORM.EDITOR]
* NEW: TextEditor.Mode is a new property that defined the behaviour of the editor. It takes the same values as the Highlight property.
* NEW: TextEditor.CloseBraces is a new boolean property that defines if braces, brackets, markups, strings... must be automatically closed.
2017-09-16 04:04:18 +02:00
gambas
b498d75793 IDE editor now can close braces, brackets, markups... automatically.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Close braces, brackets, markups... automatically.
* NEW: Option dialog: Add an option to toggle automatic closing of braces, brackets...
2017-09-15 00:24:30 +02:00
gambas
143ceedf76 Farm dialog: Reset to the default farm if the current farm is removed from the farm list.
[DEVELOPMENT ENVIRONMENT]
* BUG: Farm dialog: Reset to the default farm if the current farm is removed from the farm list.
2017-09-14 03:28:41 +02:00
gambas
804144f59c The 'Tools' menu came back.
[DEVELOPMENT ENVIRONMENT]
* BUG: The 'Tools' menu came back.
2017-09-11 17:16:12 +02:00
gambas
1434cb0cd0 Form editor: Fix a possible crash when loading forms with Scaled property set to FALSE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix a possible crash when loading forms with Scaled property set to FALSE.
2017-09-09 10:07:30 +02:00
gambas
90a872d05e Fix toolbar menu buttons and procedure popup management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix procedure popup management so that the focus starts on the current procedure.
* BUG: Main window: Menu buttons of the main toolbar are now correctly disabled like standard menus.
* NEW: Option dialog: Change the look of the background panel of the option dialog.
2017-09-09 01:40:09 +02:00
gambas
bac61774be Add a "reload project" menu entry in the IDE.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a "reload project" menu entry.
* BUG: Fix a typo in the author list.
2017-09-04 00:23:25 +02:00
gambas
bb8b7deae6 About dialog: Little redesign of the introduction of the about message.
[DEVELOPMENT ENVIRONMENT]
* NEW: About dialog: Little redesign of the introduction of the about message.
2017-09-02 03:48:31 +02:00
gambas
6450456741 Add a web form project template.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a web form project template.
2017-09-02 03:44:57 +02:00
gambas
0e2a8d062a Add dark versions of module icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add dark versions of module icons.
2017-08-31 16:59:37 +02:00
gambas
06809b9426 Redraw modules icons again and automatic variable declaration with INC and DEC instructions.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw modules icons again.
* NEW: Automatic variable declaration with INC and DEC instructions.
2017-08-30 21:43:37 +02:00
gambas
b3b717a526 Fix scrolling to an anchor with a CSS trick.
[GAMBAS WIKI]
* BUG: Fix scrolling to an anchor with a CSS trick.
2017-08-30 04:31:40 +02:00
gambas
bf48f40f5c [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for gb.gui.qt.opengl.
* NEW: Update french translation.

[GB.GUI.QT.OPENGL]
* NEW: New Qt OpenGL switcher component.
2017-08-29 00:42:58 +02:00
W. Raets
f764361295 Updated all Dutch translations and dutch translator e-mail address 2017-08-28 19:56:14 +00:00
gambas
288fcef39e Fix current class metadata refresh in the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix current class metadata refresh.

[GB.FORM.EDITOR]
* NEW: TextEditor: Always raise Change events before Cursor events.
2017-08-28 21:40:09 +02:00
gambas
0538985834 Embedding controls in a new container now takes the form family into account.
[DEVELOPMENT ENVIRONMENT]
* NEW: Don't open the console if the compilation is successful.
* BUG: Form editor: Embedding controls in a new container now takes the form family into account.
2017-08-28 19:11:15 +02:00
gambas
c7d4a97125 Support for custom control coordinates.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Support for custom control coordinates. Not fully finished.
* BUG: File emblems are drawn in a more readable way now.
2017-08-26 13:08:27 +02:00
gambas
33ee393f60 Redraw source files icons and startup icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw source files icons and startup icon.
2017-08-26 13:05:15 +02:00
gambas
b3b04df8ea Limit the number of colors in the color popup menus.
[DEVELOPMENT ENVIRONMENT]
* BUG: Limit the number of colors in the color popup menus.
2017-08-26 13:03:17 +02:00
gambas
cca9b6a6c5 Fix analyze of boolean constants of the current project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix analyze of boolean constants of the current project.
2017-08-26 13:01:03 +02:00
gambas
c0a7a4aeaa Allow relative symbolic links of files imported in the IDE to go up six directories instead of four.
[DEVELOPMENT ENVIRONMENT]
* BUG: Allow relative symbolic links of imported files to go up six directories instead of four.
2017-08-25 18:17:08 +02:00
gambix
1e78fd8155 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-24 17:33:16 +02:00
gambix
38a6457dfc [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add support for terminal form in the designer.

[GB.TERM.FORM]
* NEW: Add all the stuff needed for the ide designer.
2017-08-24 17:28:54 +02:00
gambas
ab06f832ea The IDE now does not run 'konsole' with arguments it does not understand anymore for no reason.
[DEVELOPMENT ENVIRONMENT]
* BUG: Do not run 'konsole' with arguments it does not understand anymore for no reason.
2017-08-23 19:20:28 +02:00
gambas
f05e6bc0ca Fix the TerminalView control again, and the way processes are run in pseudo-terminals.
[DEVELOPMENT ENVIRONMENT]
* BUG: Terminal: Replace "\n" by "\r\n" when sending text to the output terminal.

[INTERPRETER]
* NEW: When a process is run with a pseudo-terminal, don't set the ECHO flag, and clear the ONLCR flag.
  That way, the data printed on the standard output is the same as when the process is not run in a pseudo-terminal.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Output filter now works correctly when it receives incomplete data.
* OPT: TerminalViews: Resize the terminal less often when the terminal view is resized.
* NEW: TerminalView: When a process is run inside the terminal, set the ECHO and ONLCR flags automatically.
2017-08-22 13:20:26 +02:00
Benoît Minisini
46f31edffc Merge branch 'fix-nested-withs' into 'master'
[COMPILER] Fix Nested WITHs expression evaluation.

See merge request !1
2017-08-21 22:20:24 +00:00
Adrien Prokopowicz
214a69b036
Optimize the IDE System Information dialog.
[DEVELOPMENT ENVIRONMENT]
* OPT: FSystemInfo: Do not scan /lib if it is a symlink to /usr/lib, and do not store intermediary results.
2017-08-19 19:58:22 +02:00
gambas
3c6d99d4d8 Website update.
[WEBSITE MAKER]
* NEW: The download link now points at gitlab.
* NEW: Add a link to the playground made by Adrien.
2017-08-17 15:43:12 +02:00
gambas
04040dcfc5 Add '.settings' to the '.gitignore' files of projects created by the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Add '.settings' to the '.gitignore' files of projects.
2017-08-17 15:36:38 +02:00
Laurent Carlier
e78a7fae66 Add more generated files to .gitignore, remove them from the repository 2017-08-15 08:03:17 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Adrien Prokopowicz
4d1db3c607 [DEVELOPMENT ENVIRONMENT]
* NEW: Added support for nested WITH expressions in code completion.
2017-08-12 18:12:13 +00:00
Benoît Minisini
47aa838ba2 [DEVELOPMENT ENVIRONMENT]
* OPT: Editor: Some optimizations in identifier completion.
* NEW: Image editor: Add an opacity effect.
* NEW: Update backround images.

[WEBSITE MAKER]
* NEW: Update to 3.10 version.

[WIKI]
* NEW: The '{@classes}' command can take arguments to add custom classes to the list of classes.


git-svn-id: svn://localhost/gambas/trunk@8175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-12 09:15:57 +00:00
Benoît Minisini
b2901f7d41 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Fix identation of code beautifier on lines ending with an operator and on strings spread over multiple lines.


git-svn-id: svn://localhost/gambas/trunk@8166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 13:59:00 +00:00
Benoît Minisini
1abf6bba44 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot to commit the new gambas background.


git-svn-id: svn://localhost/gambas/trunk@8160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-17 20:29:37 +00:00
Benoît Minisini
6c9a771ce4 [DEVELOPMENT ENVIRONMENT]
* NEW: Add two new backgrounds, make the cross background bigger, and define the gambas background as default.


git-svn-id: svn://localhost/gambas/trunk@8156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-15 13:06:09 +00:00
Benoît Minisini
b8d3e9eea8 [DEVELOPMENT ENVIRONMENT]
* NEW: Simplified chinese translation updated by Yizou He.


git-svn-id: svn://localhost/gambas/trunk@8153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 15:33:43 +00:00
Benoît Minisini
af4773ca8b [DEVELOPMENT ENVIRONMENT]
* BUG: Allow to enter void arguments in project arguments list.

[GB.FORM]
* BUG: TabPanel: Tab buttons now eat the wheel events, so that they do not propagate.

[GB.JIT]
* NEW: Search llvm libraries with 'llvm-config' only.

[GB.QT4]
* BUG: Don't compile the QT5 menu fix.

[GB.WEB.FORM]
* NEW: Add '/~logout' URL to clear the session.


git-svn-id: svn://localhost/gambas/trunk@8151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 14:39:25 +00:00
Benoît Minisini
a7b8aad5d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better detection of regular expressions when compressing a javascript file.

git-svn-id: svn://localhost/gambas/trunk@8141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-30 13:22:52 +00:00
Benoît Minisini
00a05d9d6d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix duplicated shortcuts in "fake" mode (i.e. when using the IDE to edit an external file).


git-svn-id: svn://localhost/gambas/trunk@8137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-22 15:21:26 +00:00
Benoît Minisini
0dce432dfe [WIKI]
* NEW: The [...](...) syntax can be used for images links to display a thumbnail images opening a link in a new page (usually the image in full size).

[GB.GTK]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.GTK3]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.FORM]
* BUG: DateChooser: Use light colors when disabled.

[GB.QT4]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.QT5]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.


git-svn-id: svn://localhost/gambas/trunk@8132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:24:30 +00:00
Benoît Minisini
fdd37e7c3b [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Javascript compression now try to detect regular expressions so that they are never split if there is a space inside.


git-svn-id: svn://localhost/gambas/trunk@8125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 05:59:59 +00:00
Benoît Minisini
47c37672fe [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The form editor contextual menu is now also opened when clicking in the form hierarchy tree.


git-svn-id: svn://localhost/gambas/trunk@8114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-22 23:49:48 +00:00
Benoît Minisini
8ddf14c38e [DEVELOPMENT ENVIRONMENT]
* BUG: Code formatter: Multi-line declarations are correctly indented now.
* BUG: Code formatter: The new line after local variable declarations takes multi-line declarations into account.


git-svn-id: svn://localhost/gambas/trunk@8113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 14:50:11 +00:00
Benoît Minisini
f01e9cf49d [DEVELOPMENT ENVIRONMENT]
* BUG: Display the GUI chooser button when the 'gb.gui.qt' is checked.
* BUG: Correctly refresh the GUI chooser button when the project environment changes.
* NEW: Update the Gambas fonts.


git-svn-id: svn://localhost/gambas/trunk@8112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 12:41:43 +00:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
d17e67c77b [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Add 'rust' and 'javascript' package groups for Debian and Ubuntu.

git-svn-id: svn://localhost/gambas/trunk@8099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 16:07:46 +00:00
Benoît Minisini
ca78e32f93 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix event automatic completion on controls having an underscore in their name.


git-svn-id: svn://localhost/gambas/trunk@8094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 02:56:23 +00:00
Benoît Minisini
44c593bed3 [CONFIGURATION]
* NEW: Add 'gb.term.form' to the list of components to compile.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas font.
* NEW: Add 'gb.term.form' to the list of components.
* OPT: Optimize the automatic completion of identifiers.
* OPT: Optimize the automatic completion of event handlers.


git-svn-id: svn://localhost/gambas/trunk@8092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-15 22:10:18 +00:00
Benoît Minisini
2c02c136ae [DEVELOPMENT ENVIRONMENT]
* NEW: Published software screenshots are now stretched to 640 pixels instead of 320 pixels.


git-svn-id: svn://localhost/gambas/trunk@8080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 22:47:17 +00:00
Benoît Minisini
78ea41222f [DEVELOPMENT ENVIRONMENT]
* NEW: Don't use side preview in editors where this is not useful.


git-svn-id: svn://localhost/gambas/trunk@8073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:18:57 +00:00
Benoît Minisini
8794f5b0fc [DEVELOPMENT ENVIRONMENT]
* NEW: Update debian & ubuntu package section lists.


git-svn-id: svn://localhost/gambas/trunk@8046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 13:25:47 +00:00
Benoît Minisini
d5f1ac948c [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Support for the new gb.term component.

[INTERPRETER]
* NEW: Add an API that returns the file descriptor associated with a specific stream.

[GB.TERM]
* NEW: New component for terminal management with an API very close to the one provided by the operating system.


git-svn-id: svn://localhost/gambas/trunk@8043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:58:20 +00:00
Benoît Minisini
9959e44bde [DEVELOPMENT ENVIRONMENT]
* NEW: Update support file.


git-svn-id: svn://localhost/gambas/trunk@8042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:56:06 +00:00
Benoît Minisini
bed54dc488 [WEBSITE MAKER]
* NEW: Update to Gambas 3.9.2.


git-svn-id: svn://localhost/gambas/trunk@8038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:45:44 +00:00
Benoît Minisini
233bc8bd24 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Make the 'Reset' button common to all tabs. It is visible only if the current tab can be reset.
* NEW: Project property dialog: The component list is sorted so that checked components come first. Consequently, The checkbox that shows the selected components only has been removed.
* NEW: Project property dialog: The defaut font of the help browser of the component chooser control is smaller now.



git-svn-id: svn://localhost/gambas/trunk@8036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-02 21:29:10 +00:00
Benoît Minisini
ebe9e89789 [DEVELOPMENT ENVIRONMENT]
* BUG: Display an error message instead of crashing if no terminal is found.


git-svn-id: svn://localhost/gambas/trunk@8033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:11:58 +00:00
Benoît Minisini
abf2aa56c8 [DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Move the 'Configure shortcuts' button to the 'Interface' tab.


git-svn-id: svn://localhost/gambas/trunk@8032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:11:21 +00:00
Henrique
05b8368142 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations



git-svn-id: svn://localhost/gambas/trunk@8024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-28 16:18:14 +00:00
Benoît Minisini
c4be02babb [DEVELOPMENT ENVIRONMENT]
* BUG: Explicitly close the FOutput form so that it can save its settings before its parent is destroyed.


git-svn-id: svn://localhost/gambas/trunk@8019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-22 23:22:12 +00:00
Fabien Bodard
2f287929bb [DEVELOPMENT ENVIRONMENT]
* BUG: Support for the new editor property name.


git-svn-id: svn://localhost/gambas/trunk@8015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-18 19:17:35 +00:00
Fabien Bodard
9c6bd15a53 [DEVELOPMENT ENVIRONMENT]
* NEW: FOption: Add an option line to activate the new editor SideBar property. (Disabled by default)



git-svn-id: svn://localhost/gambas/trunk@8010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-12 13:42:21 +00:00
Benoît Minisini
3e6fd5af50 [DEVELOPMENT ENVIRONMENT]
* BUG: Library dialog: Do not crash if a global library and a local library have the same vendor.

git-svn-id: svn://localhost/gambas/trunk@8003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-28 05:34:53 +00:00
Benoît Minisini
3b60bdae17 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix and enhance "find definition" algorithm (F2 key).
* BUG: Form editor: Fix management of Ignore property.
* BUG: Form editor: Handle inverted arrangements correctly.
* NEW: Form editor: Use sub-menus to display similar fonts in the font popup menu.


git-svn-id: svn://localhost/gambas/trunk@8002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-28 05:24:16 +00:00
Fabien Bodard
1f4e1cdbbd [DEVELOPMENT ENVIRONMENT]
* BUG: FSoftwareFarm: There was a trouble on arrangement.


git-svn-id: svn://localhost/gambas/trunk@7994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-22 11:22:23 +00:00
Benoît Minisini
043ee62a7c [DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Use the 'gb.signal' component to send signals to debugged processes.
* BUG: Debugger: Correctly pause projects using an external terminal.

[GB.SIGNAL]
* NEW: Signal.Send() is a new method to send signals to processes. It is just a direct interface to the kill() system call.


git-svn-id: svn://localhost/gambas/trunk@7982 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-17 16:12:28 +00:00
Benoît Minisini
fe4450fd5a [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Editor: Fix error messages including HTML.
* NEW: Form editor: Support for WebFont properties.
* NEW: Form editor: New toolbar buttons for changing the font family.
* BUG: Form editor: CoordBox control now raises its Change event when it is cleared.
* NEW: WebForm: WebFont chooser dialog box.
* NEW: WebForm: Support for format toolbar buttons.
* NEW: Initial support for IDE extensions.
* BUG: Farm client: Fix software shortcuts removing.
* NEW: Farm client: Support for libraries.
* NEW: Farm client: Some look changes.
* BUG: Farm client: Fix tag editor.

[WEBSITE]
* NEW: Update to 3.9.1.

[FARM SERVER]
* NEW: Download count now takes all versions into account.

[GB.FORM]
* NEW: MessageViex: Add a Border property.
* NEW: Add a 'plugin' stock icon.

[GB.WEB.FORM]
* NEW: WebButton: Click() is a new method that triggers a button click.
* BUG: WebComboBox: Setting the Text property now correctly refreshes the control.
* NEW: WebControl: Font is a new property that allows to define some of the font CSS properties.
* BUG: WebControl: Modifying the Style property now correctly refreshes the control.
* NEW: WebControl: WebControl.Style.Exist() is a new property to know if a specific CSS property is explicitly defined.
* NEW: WebForm: Exec() is a new method to run some custom javascript in the browser.
* NEW: WebForm: Startup is a new property that allows to redefine the name of the startup form.
* NEW: WebTextBox: ShowClear is a new property that allows to enable a "clear" button inside the textbox.
* NEW: WebTextBox: Clear is a new event that is raised when the clear button is clicked. If that event is handled, then the control is not automatically cleared when clicking on the button.
* NEW: WebTextBox: Password is a new boolean property that puts the text box in password mode.
* BUG: WebControl: SetFocus() method now should work correctly in all cases.
* NEW: WebTable: Lines are now highlighted on mouse over, and separated by thin lines.


git-svn-id: svn://localhost/gambas/trunk@7977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:10:05 +00:00
Fabien Bodard
cbd2f25cbe [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the pretty code indentation on function Begin/End. I need to find a way to
       close indentations on functions without ending.


git-svn-id: svn://localhost/gambas/trunk@7951 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-01 08:00:29 +00:00
Benoît Minisini
c9085d0e27 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Workaround an interpreter crash when analyzing an expression including the LAST keyword.


git-svn-id: svn://localhost/gambas/trunk@7947 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 13:13:05 +00:00
Benoît Minisini
9c38cfb657 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: The description text box now expands vertically.
* BUG: Packager: Debian package description is now correctly generated in all cases.


git-svn-id: svn://localhost/gambas/trunk@7946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:46:11 +00:00
Nigel Gerrard
7ba710f802 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixed bug 1019 IDE Crash when deleting code

git-svn-id: svn://localhost/gambas/trunk@7932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-15 15:33:21 +00:00
Benoît Minisini
a2893370b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: The "SQL request" button is now an entry in the table list.
* NEW: Connection editor: The database description is now the tooltip of the database configuration button.


git-svn-id: svn://localhost/gambas/trunk@7929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:39:13 +00:00
Benoît Minisini
d3394e98aa [DEVELOPMENT ENVIRONMENT]
* NEW: Allow files located in a linked directory to be modified only if they are opened in fake mode, i.e. alone.


git-svn-id: svn://localhost/gambas/trunk@7927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-08 12:35:58 +00:00
Benoît Minisini
44535e92c2 [DEVELOPMENT ENVIRONMENT]
* NEW: The package name of the library is now always prefixed with the vendor name or prefix, so that this name is predictable.
* BUG: Consequently, making a package of a project using another library does not crash anymore if that library was never packaged.
* NEW: When creating the package, display the messages in a box below the output log. Do not use message boxes anymore.
* NEW: When uninstalling a library, automatically remove the vendor directory if it is void.
* NEW: When uninstalling a software installed from the farm, automatically remove the vendor directory if it is void.


git-svn-id: svn://localhost/gambas/trunk@7915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-20 01:16:32 +00:00
Benoît Minisini
47a894d70b [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog: Software button is disabled if no software is installed.
* BUG: Welcome dialog: Software and example lists are automatically refreshed after the farm software client has been used.
* NEW: Welcome dialog: Software can be uninstalled by clicking on the little icon on the top right of the software box.



git-svn-id: svn://localhost/gambas/trunk@7914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-18 00:06:38 +00:00
Benoît Minisini
4741e05c88 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Support for library publishing and library installation.
* NEW: Translation: Locations of translated strings should be more readable now.


git-svn-id: svn://localhost/gambas/trunk@7913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-16 22:02:30 +00:00
Benoît Minisini
87042b2709 [DEVELOPMENT ENVIRONMENT]
* BUG: Optionally load 'gb.inotify' component.


git-svn-id: svn://localhost/gambas/trunk@7907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-12 19:17:58 +00:00
Benoît Minisini
ef3a67c173 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a type in french tips.
* BUG: Initial state of stop and pause buttons should be correct now.


git-svn-id: svn://localhost/gambas/trunk@7897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-07 19:06:07 +00:00
Henrique
c735544b9b [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 17:22:07 +00:00
Benoît Minisini
ea52979946 [DEVELOPMENT ENVIRONMENT]
* NEW: Reset the output terminal when the debugged project ends.

[GB.FORM.TERMINAL]
* NEW: TerminalView.Reset() is a new method that resets the terminal state without clearing it.


git-svn-id: svn://localhost/gambas/trunk@7886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:44:03 +00:00
Benoît Minisini
56b724d64c [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Creation of debian/ubuntu packages of projects having no icon does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 22:27:34 +00:00
Benoît Minisini
bf38b6c891 [DEVELOPMENT ENVIRONMENT]
* NEW: Better command-line help text.

[WEBSITE MAKER]
* NEW: Update to Gambas 3.9.0.

[WIKI CGI SCRIPT]
* NEW: Add border shadow around screenshots links.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the Highlight property when set to "None".
* BUG: TextEditor: Fix the Highlight property declaration.
* OPT: TextEditor: Faster layout and scroll, especially when there are a lot of lines and wrapping mode is enabled.


git-svn-id: svn://localhost/gambas/trunk@7874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-28 21:25:46 +00:00
Benoît Minisini
cd33ca44f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically remove console output temporary files.

[GB.FORM]
* BUG: FileProperties is now correctly refreshed when its Path changes.


git-svn-id: svn://localhost/gambas/trunk@7870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-27 11:09:46 +00:00
Benoît Minisini
782c84b4f8 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Support for PNG icons up to 1024x1024 pixels in Debian & Ubuntu packages.

[GB.UTIL]
* BUG: Shell.RmDir() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-24 21:39:28 +00:00
Benoît Minisini
3d0be81f4e [GB.FORM.TERMINAL]
* BUG: TerminalView: Refresh process output every 250ms at least. Don't wait for the internal 64K buffer to be filled.


git-svn-id: svn://localhost/gambas/trunk@7860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-21 14:52:00 +00:00
Benoît Minisini
2122b45e2a [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: The event handlers menu now works correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@7852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 11:41:19 +00:00
Benoît Minisini
ea64049c8f [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Default line join and line cap are round now.

[GB.FORM]
* NEW: ColorChooser: Less space between color value text boxes and their label.

[GB.FORM.EDITOR]
* BUG: TextEditor: "None" and "Custom" highlighting types are correctly interpreted now.


git-svn-id: svn://localhost/gambas/trunk@7851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 11:30:34 +00:00
Benoît Minisini
60dff96936 [DEVELOPMENT ENVIRONMENT]
* NEW: Database connection: Now you can initialize a new database from the template of another connection of the project.


git-svn-id: svn://localhost/gambas/trunk@7850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 19:43:56 +00:00
Benoît Minisini
8ffbdde703 [CONFIGURATION]
* NEW: Force symbolic creation in '/usr/bin'.

[DEVELOPMENT ENVIRONMENT]
* NEW: Newly created web forms are exported by default.

[TEMPLATES]
* NEW: Use gray icons.


git-svn-id: svn://localhost/gambas/trunk@7846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-18 18:56:20 +00:00
Benoît Minisini
0c88271683 [CONFIGURATION]
* NEW: Update the Gambas appdata XML file.


git-svn-id: svn://localhost/gambas/trunk@7845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 23:52:12 +00:00
Benoît Minisini
0c4abb59fa [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting F11 correctly selects the 'Console' button.


git-svn-id: svn://localhost/gambas/trunk@7843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 20:16:12 +00:00
Benoît Minisini
33b6b23b6a [DEVELOPMENT ENVIRONMENT]
* NEW: The editor pop-up menu is now accessible from the top menu-bar through an "Edit" menu.

[GB.QT4]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.QT5]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.GTK]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!

[GB.GTK3]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!


git-svn-id: svn://localhost/gambas/trunk@7839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-14 14:50:03 +00:00
Benoît Minisini
491f4d0e2f [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Display the software full download count (all versions combined).

[FARM SERVER]
* NEW: Return the full download count of softwares.


git-svn-id: svn://localhost/gambas/trunk@7836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-13 11:54:32 +00:00
Benoît Minisini
f86841c55b [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Add a button for displaying "my" software, i.e. software having the same vendor as the one defined in the option dialog.
* NEW: Farm client: Add a button for displaying software from the same vendor as the current project.


git-svn-id: svn://localhost/gambas/trunk@7835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-12 22:17:53 +00:00
Benoît Minisini
40005c385c [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming an exported class triggers an automatic rename of the class inside all project forms.

[GB.WEB]
* NEW: Session.Type is a now a string, and the default session type is now "sqlite".
* NEW: Remove the constants used by the Session.Type property when it was an integer number.
* OPT: SQLite sessions now only update the modified or removed session keys when saving the session.

[B.WEB.FORM]
* NEW: WebSpinBox: Implement the Step property.
* NEW: WebSlider: Implement the Step property.


git-svn-id: svn://localhost/gambas/trunk@7831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-10 00:42:43 +00:00
Benoît Minisini
5355d8b955 [DEVELOPMENT ENVIRONMENT]
* NEW: The run button has a pop-up menu button only if at least one argument list has been defined in the project properties.
* NEW: Project property dialog: if the argument lists order changes, the current argument list index follows.

[GB.FORM]
* NEW: MenuButton: If no arrow is visible, and if no menu is defined, then the MenuButton raises the Click event.

[GB.WEB]
* NEW: Session.Type defines which kind of session store to use. At the moment, two are implemented. Session.File (the old one), and Session.Sqlite (based on a sqlite database).

[GB.WEB.FORM]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-22 22:12:35 +00:00
Benoît Minisini
c6535d8e9e [DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Fix argument list editor layout.


git-svn-id: svn://localhost/gambas/trunk@7826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:26:05 +00:00
Benoît Minisini
2a3ecf982d [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: New project arguments interface.
* NEW: Debugger: The project arguments is now selectable with a popup menu.
* BUG: Fix position history behaviour.

[INTERPRETER]
* NEW: Object.Type(), Object.Class() and Object.Is() now work with invalid objects.

[GB.FORM]
* NEW: Completion: Support for TextArea editor.
* NEW: Completion: Editor property is now writable.
* NEW: TableView: Raise a new Hide event when the editor is hidden.

[GB.FORM.EDITOR]
* NEW: TextEditor: CursorAt() is a new method that returns the cursor screen position from a line and a column.

[GB.GTK]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GTK3]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GUI.BASE]
* BUG: GridView: Newlines in cells with WordWrap property set are now taken into account correctly.

[GB.QT4]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.QT5]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.


git-svn-id: svn://localhost/gambas/trunk@7825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:01:59 +00:00
Benoît Minisini
8647a12953 [CONFIGURATION]
* NEW: Search libffi in more directories to find it on CentOS.

[DEVELOPMENT ENVIRONMENT]
* NEW: Mark PlaceHolder properties as translatable.
* NEW: Make font smaller in autocompletion help.
* BUG: Reset class symbol list everytime its source file is modified.
* BUG: Form editor: Renaming a selected control does not crash anymore.
* NEW: Custom drawing for WebButton controls.
* NEW: Cleaning a project directory now deletes valgrind output files.
* NEW: "--cleanup" is a new command-line option to clean a project directory.

[GB.WEB.FORM]
* NEW: Let the IDE draw WebButton controls.
* NEW: Draw WebHtml controls using TextLabel.
* NEW: Draw WebScrollView controls using ScrollView.


git-svn-id: svn://localhost/gambas/trunk@7820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-15 15:13:10 +00:00
Benoît Minisini
44f544e4cc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix virtual controls management like HttpClient, FtpClient, and so on.


git-svn-id: svn://localhost/gambas/trunk@7804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-21 21:11:57 +00:00
Benoît Minisini
a4c9b03edb [DEVELOPMENT ENVIRONMENT]
* NEW: Add a button in the search list panel that closes it.


git-svn-id: svn://localhost/gambas/trunk@7800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-13 07:53:41 +00:00
Benoît Minisini
853862d756 [DEVELOPMENT ENVIRONMENT]
* NEW: Display SQLite library version in the system information dialog.


git-svn-id: svn://localhost/gambas/trunk@7798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-07 00:17:32 +00:00
Benoît Minisini
813a9c04c0 [DEVELOPMENT ENVIRONMENT]
* BUG: Show console before inserting a message inside.
* BUG: Fix the height of some labels in the create project dialog.
* NEW: Auto-completion of event handlers now automatically inserts their signature.


git-svn-id: svn://localhost/gambas/trunk@7794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-31 22:17:22 +00:00
Willy Raets
ff8f4aa093 [DEVELOPMENT ENVIRONMENT]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 20:10:29 +00:00
Benoît Minisini
f57d3273fe [CONFIGURATION]
* NEW: Support for Haiku operating system.
* BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages.

[GB.FORM]
* NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces.

[GB.UTIL.WEB]
* BUG: Fix collection generation in JSON.Encode().

[GB.WEB.FORM]
* NEW: WebImage: Add the Border property.
* NEW: WebImage: Image property now can be an absolute path.
* BUG: WebButton: Workaround Firefox not supporting flex on buttons.
* BUG: WebComboBox: Enabled property is now taken into account.
* BUG: WebUploadArea: The file name now keeps the uploaded file extension.


git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-24 16:18:48 +00:00
Benoît Minisini
e68a378ffa [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Support for new internal library naming scheme.


git-svn-id: svn://localhost/gambas/trunk@7780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 18:48:03 +00:00
Benoît Minisini
c6a24a3a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Add pastel theme made by Antonio Orefice.


git-svn-id: svn://localhost/gambas/trunk@7773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-13 12:54:19 +00:00
Benoît Minisini
811bbb9745 [DEVELOPMENT ENVIRONMENT]
* BUG: Give fous to the terminal when the program is started.
* NEW: Connection editor: Add "select all" and "unselect all" buttons to the DataView.

[GB.DB.FORM]
* BUG: DataView: Allow selection unless the current record is a new record.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method resets more things.
* BUG: TerminalView: Flush the output buffer when the running process ends.

[GB.UTIL]
* BUG: Date.FromUnixTime() now correctly ignores the current timezone.

[GB.UTIL.WEB]
* OPT: JSON.Encode() is now a lot faster, thanks to Alexander Kuiper.

[GB.WEB.FORM]
* BUG: WebDateBox: Fix "_Similar" property.
* BUG: WebComboBox: Fix "_Similar" property.
* NEW: WebDateBox: Value is now a synonymous for the Date property.


git-svn-id: svn://localhost/gambas/trunk@7772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-13 12:38:58 +00:00
Benoît Minisini
cb9dcb4d4b [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the debug panel when the console is put in floating mode.
* BUG: Take the "invert theme" option when initializing the colors of a specific control.

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

[GB.QT4]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.

[GB.QT5]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.


git-svn-id: svn://localhost/gambas/trunk@7770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 13:15:31 +00:00
Benoît Minisini
a38aff282c [GB.FORM]
* OPT: DirView: Disable file watches when the control is hidden.
* OPT: DirView: Delay the view refresh when a watch event is received.
* BUG: DirView: Remove debugging messages.



git-svn-id: svn://localhost/gambas/trunk@7769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 01:15:43 +00:00
Benoît Minisini
364288739a [DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Some design fixes.
* BUG: Display a message when the debugged program is stopped by CTRL+C or the SIGTERM signal.


git-svn-id: svn://localhost/gambas/trunk@7765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 17:40:44 +00:00
Benoît Minisini
698f02d200 [DEVELOPMENT ENVIRONMENT]
* BUG: The terminal output now works as expected when the project is running.

[WIKI]
* BUG: The '@classes' special command now detect the class descriptions in non-english languages correctly.

[GB.FORM.TERMINAL]
* BUG: TerminalView: The top right character can be selected now.
* BUG: TerminalView: Goto() method now ensures that the cursor is visible.
* NEW: TerminalView: Count is a new property that returns the number of lines in the terminal (not the screen height).


git-svn-id: svn://localhost/gambas/trunk@7762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 11:21:55 +00:00
Benoît Minisini
94f00ad8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Createing a project from a template having no icon now works correctly.


git-svn-id: svn://localhost/gambas/trunk@7761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 00:55:39 +00:00
Benoît Minisini
84edd41c8a [DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Layout the "space(s)" label so that it trims its contents if its translation is too wide.


git-svn-id: svn://localhost/gambas/trunk@7760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 20:05:54 +00:00
Benoît Minisini
d15a425953 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish the redesign of the debug panel.

[INTERPRETER]
* BUG: Fix a stack mismatch leading to a crash in Eval() when an "Unknown symbol" error occurs.

[GB.FORM]
* BUG: SidePanel: The Hide event is now raised after the SidePanel has been actually hidden.


git-svn-id: svn://localhost/gambas/trunk@7754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 01:38:46 +00:00
Benoît Minisini
1fe49aaff4 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Allow to ignore missing components when installing a software.

[GB.FORM]
* BUG: TerminalView: Better scrollbar layout. Put the scrollbar on the left for right-to-left written languages.

[GB.NET.CURL]
* BUG: Closing a CURL stream object does not raise an error anymore. It just does nothing.


git-svn-id: svn://localhost/gambas/trunk@7752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-03 01:07:39 +00:00
Benoît Minisini
5da7ed1c4e [DEVELOPMENT ENVIRONMENT]
* BUG: Remove old console search code.

[GB.FORM]
* NEW: MenuButton controls now automatically pop up when one of their sibling is already opened.

[GB.FORM.EDITOR]
* NEW: TextEditor: The cursor position label background is now semi-transparent.

[GB.GTK]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.GTK3]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT4]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT5]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.


git-svn-id: svn://localhost/gambas/trunk@7751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 23:55:10 +00:00
Benoît Minisini
0b928f80ef [DEVELOPMENT ENVIRONMENT]
* NEW: Use terminal emulator control from gb.form.terminal as console output.
* NEW: You cannot search into the terminal output directly anymore.
* NEW: A button that opens the terminal output content inside a new IDE editor tab, so that you can search inside, or do anything you want.

[WIKI]
* NEW: A command-line option to generate offline help.

[GB.FORM.TERMINAL]
* NEW: TerminalView: ShowScrollBar is a new property that makes the vertical scrollbar always visible.
* NEW: TerminalView: Exec() and Shell() methods now take the environment as an optional argument.
* NEW: TerminalView: Text is a new read-only property that returns the terminal contents.

[GB.WEB.FORM]
* BUG: WebButton: Take the Width and Height properties into account correctly.
* BUG: WebComboBox: The List property now can take a null value without crashing.
* OPT: WebControl: Setting most of properties without changing their value now does nothing.
* BUG: WebLabel: The Alignment property is correctly declared now.
* NEW: WebProgressBar: A new control that displays a progress bar.
* NEW: WebTable: Select is a new event that is raised when the WebTable selection changes.
* NEW: WebUploadArea: A new container that selects a local file when the user clicks on it, and that allows to upload it to the server.


git-svn-id: svn://localhost/gambas/trunk@7750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 22:00:53 +00:00
Benoît Minisini
757c55146c [DEVELOPMENT ENVIRONMENT]
* BUG: ComboBox and ListBox List properties, and all other string array properties, are now correctly reset when cleared.


git-svn-id: svn://localhost/gambas/trunk@7733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-09 13:37:05 +00:00
Benoît Minisini
27ae18d403 [GB.FORM.TERMINAL]
* NEW: TerminalView.Print() is a new method that allows to print characters into the terminal view.
* NEW: Draw line graphical characters manually, without using the font.


git-svn-id: svn://localhost/gambas/trunk@7720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 13:03:17 +00:00
Benoît Minisini
d093273eaf [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly detect virtual controls that need a parent or not.

[GB.FORM.TERMINAL]
* NEW: Support for graphical charset (used by alsamixer for example).
* BUG: Correctly initialize font cache. Better support for variable-width fonts.

[GB.WEB.FORM]
* NEW: Initial implementation of WebUploadButton, a new control that allows to select a file for uploading. Uploading by itself is not yet implemented yet.


git-svn-id: svn://localhost/gambas/trunk@7718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-04 17:41:58 +00:00
Benoît Minisini
ff7bbe8a21 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.form.terminal' to the component list.
* NEW: New component status icons.

[INTERPRETER]
* BUG: Correctly export Stream.Term description.
* NEW: Stream.Term.FlowControl is a new property that allows to set or retrieve if flow control is enabled on a terminal stream.

[GB.GTK]
* NEW: Change the name of 'NewChild' event argument.

[GB.GTK3]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT4]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT5]
* NEW: Change the name of 'NewChild' event argument.

[GB.FORM.TERMINAL]
* NEW: Support for the 'Set title' command.
* NEW: TerminalView now emits the Title event when the terminal requests a title change.
* NEW: Support for flow control. When output is suspended, the terminal contents becomes darker.
* BUG: Correctly update the scrollbar when switching between screens.


git-svn-id: svn://localhost/gambas/trunk@7714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 10:54:21 +00:00
Benoît Minisini
79a4ea2a70 [INTERPRETER]
* BUG: Fix a crash on one error message thrown incorrectly.

[GB.FORM.TERMINAL]
* OPT: Optimize drawing routine. Still slow, but less flicker.
* NEW: TerminalView: Add a blink property that enables or disables cursor blink.

[GB.GTK]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?

[GB.GTK3]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?


git-svn-id: svn://localhost/gambas/trunk@7698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 09:25:11 +00:00
Benoît Minisini
8ea3863fc5 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly detect controls that do not need a real parent container when saving a form.
* BUG: Prevent a possible crash when the mouse leaves the output console while it displays debug links to code source.


git-svn-id: svn://localhost/gambas/trunk@7692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 22:02:39 +00:00
Henrique
b494e27ce7 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 23:14:32 +00:00
Benoît Minisini
625888d44d [INTERPRETER]
* NEW: Timer: The constructor now takes the delay as optional parameter. And if that delay is specified, the timer is automatically started.

[GB.FORM.TERMINAL]
* NEW: TerminalView: internal control that only deals with displaying the terminal contents.


git-svn-id: svn://localhost/gambas/trunk@7664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 13:06:09 +00:00
Benoît Minisini
f42ffa0be6 [EXAMPLES]
* BUG: SmallWiki: Fix a deprecated link.

[GB.MARKDOWN]
* BUG: Fix generation of "[[ ... ]]" sections.

[GB.WEB.FORM]
* NEW: Add some help comments.


git-svn-id: svn://localhost/gambas/trunk@7662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:37:35 +00:00
Benoît Minisini
beff47b6d8 [WIKI]
* NEW: Automatic conversion of old example syntax to the use of new highlighted code sections.


git-svn-id: svn://localhost/gambas/trunk@7661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:35:03 +00:00
Benoît Minisini
d81c62050b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix translation of compiler error messages.


git-svn-id: svn://localhost/gambas/trunk@7660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:31:53 +00:00
Fabien Bodard
7233dba468 [DEVELOPMENT ENVIRONMENT]
* NEW: Add an indentation level for .Begin/.End functions in the automatic code formater.


git-svn-id: svn://localhost/gambas/trunk@7654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-21 08:22:40 +00:00
Benoît Minisini
3fbcee5fa6 [WIKI]
* BUG: A few style sheet fixes.
* NEW: Automatically convert examples to the "[[ code gambas ... ]] [[ result ... ]]" sequence.

[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() does not draw procedure separations anymore.

[GB.MARKDOWN]
* BUG: Fix simple table "[[ ... ]]" management.


git-svn-id: svn://localhost/gambas/trunk@7653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-21 00:26:12 +00:00
Benoît Minisini
2c4aa9d851 [WIKI]
* NEW: Support for "[[ code ... ]]" and "[[ result ... ]]" sections.

[GB.EVAL.HIGHLIGHT]
* BUG: Remove dependencies on GUI components.

[GB.MARKDOWN]
* BUG: Fix support of "[[ code ... ]]" section.


git-svn-id: svn://localhost/gambas/trunk@7652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 23:31:10 +00:00
Benoît Minisini
ab72d33833 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when starting a program without arguments.
* BUG: Fix compression of CSS files.

[GB.EVAL.HIGHLIGHT]
* NEW: CSS highlighter: Support for @media directive.
* NEW: Don't use the Color class.

[GB.FORM.EDITOR]
* BUG: TextEditor: Limits of collapsed procedures are correctly drawn now.

[GB.MARKDOWN]
* NEW: Support for code highlighting through the "[[ code <language> ... ]]" block.
* NEW: Markdown.Process() is new method that allows to process the contents of a specific "[[ ... ]]" block.

[GB.WEB.FORM]
* NEW: DateBox: Put that control in the "Chooser" group with the DateChooser.


git-svn-id: svn://localhost/gambas/trunk@7651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 22:39:06 +00:00
Benoît Minisini
407d650817 [GB.FORM.EDITOR]
* NEW: TextEditor: Do not draw ending spaces on top of the indentation vertical lines.
* BUG: TextEditor: Correctly draw the first procedure limit.


git-svn-id: svn://localhost/gambas/trunk@7649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 01:48:15 +00:00
Fabien Bodard
a6dadb5a52 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot to modify the Option Dialog themes list.


git-svn-id: svn://localhost/gambas/trunk@7645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 08:05:39 +00:00
Fabien Bodard
f90f89abba [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new tea theme for the editor 'zen'.


git-svn-id: svn://localhost/gambas/trunk@7644 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 08:01:26 +00:00
Benoît Minisini
6e894e0df3 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Completion popup now opens at the right position on wrapped lines.
* NEW: Text editor: Show compression message inside the editor.


git-svn-id: svn://localhost/gambas/trunk@7642 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 00:00:15 +00:00
Benoît Minisini
e9f03fe7de [DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: new option to toggle indent drawing in editors.


git-svn-id: svn://localhost/gambas/trunk@7636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:56:45 +00:00
Benoît Minisini
a2752efe91 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a bug in the CReportBrush class detected at compilation time now.


git-svn-id: svn://localhost/gambas/trunk@7633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 01:41:27 +00:00
Benoît Minisini
78ea8c345b [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix a very old bug in automatic completion where hitting backspace sometimes deleted two characters.


git-svn-id: svn://localhost/gambas/trunk@7631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 13:19:36 +00:00
Benoît Minisini
4910d9f20b [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Better argument list tab.


git-svn-id: svn://localhost/gambas/trunk@7630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:02:19 +00:00
Benoît Minisini
55cd241ffe [DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: When displaying the contents of a collection, the Key property is saved and restored so that the debugged program is not altered.


git-svn-id: svn://localhost/gambas/trunk@7628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-11 23:46:22 +00:00
Henrique
a0441159eb [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-06 19:18:18 +00:00
Benoît Minisini
48de1a69f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign file creation dialog and put file import in its own dialog.


git-svn-id: svn://localhost/gambas/trunk@7617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-02 01:20:43 +00:00
Benoît Minisini
4580e2380a [DEVELOPMENT ENVIRONMENT]
* BUG: Compress calc() CSS function correctly.
* OPT: Avoid useless calls to Stat().
* NEW: Update support list.


git-svn-id: svn://localhost/gambas/trunk@7615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:34:57 +00:00
Benoît Minisini
460c29d2de [DEVELOPMENT ENVIRONMENT]
* BUG: Library selection dialog does not crash anymore when the local library path does not exist yet.
* BUG: When creating the library executable, the copy in the local library path is correctly overwritten.


git-svn-id: svn://localhost/gambas/trunk@7604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-16 19:02:38 +00:00
Benoît Minisini
fddfe3278b [DEVELOPMENT ENVIRONMENT]
* NEW: Library selection: "Remove" is now "Uninstall".


git-svn-id: svn://localhost/gambas/trunk@7601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:15:04 +00:00
Benoît Minisini
245ef270ec [DEVELOPMENT ENVIRONMENT]
* NEW: Replace the remove menu entry, that was located in the welcome dialog only, by a remove icon present in all recent project lists.
* BUG: Project property dialog: Fix display of not found libraries.
* BUG: Library selection: Removing a library correctly updates the state of buttons now.

git-svn-id: svn://localhost/gambas/trunk@7600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:12:27 +00:00
Benoît Minisini
210a3a3744 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Several arugment lists can be defined now.
* NEW: Library selection dialog is now resizable.


git-svn-id: svn://localhost/gambas/trunk@7598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 05:07:47 +00:00
Benoît Minisini
cd826533d7 [DEVELOPMENT ENVIRONMENT]
* BUG: When a library has no vendor, it is assumed to be the special string "(unknown)".
* NEW: Library are now installed by copying the executable, not creating a symbolic link.
* BUG: Uninstalling a library now works correctly.

git-svn-id: svn://localhost/gambas/trunk@7597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 21:59:37 +00:00
Benoît Minisini
ba9621d3a0 [DEVELOPMENT ENVIROMENT]
* BUG: Packager: Fix library support.


git-svn-id: svn://localhost/gambas/trunk@7595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:15:03 +00:00
Benoît Minisini
d52b235e55 [DEVELOPMENT ENVIRONEMNT]
* NEW: Packager: Support for new library management. Autotools packages are not supported yet.


git-svn-id: svn://localhost/gambas/trunk@7594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:06:32 +00:00
Benoît Minisini
5fcf388882 [DEVELOPMENT ENVIRONMENT]
* NEW: New library management and new library selection dialog.
* BUG: Fix crash dialog layout.


git-svn-id: svn://localhost/gambas/trunk@7593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:20:19 +00:00
Charlie Reinl
baa0a19ef5 [DEVELOPMENT ENVIRONMENT]
* NEW: remove projects from the project list


git-svn-id: svn://localhost/gambas/trunk@7589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 22:21:54 +00:00
Benoît Minisini
dc04a667c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add description of gb.web.form and gb.qt5.ext components.
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 03:00:22 +00:00
Benoît Minisini
69eba4d3bb [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to lock files that are symbolic links. They are always locked.
* NEW: Text editor: Try to detect functions declared inside an object for javascript files.


git-svn-id: svn://localhost/gambas/trunk@7583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-23 22:23:14 +00:00
Benoît Minisini
5735de6806 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly generate signature of methods having optinal arguments with initializers.


git-svn-id: svn://localhost/gambas/trunk@7582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-19 22:57:20 +00:00
Benoît Minisini
cb5641ca98 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Compress and uncompress functions now correctly update the procedure list.


git-svn-id: svn://localhost/gambas/trunk@7578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 00:31:52 +00:00
Benoît Minisini
66a45b3c45 [DEVELOPMENT ENVIRONMENT]
* OPT: Form editor: If a translation string ends with three dots, don't put them in the translation.
* BUG: If GB_GUI is not explicitly defined, remove it from the environment of the debugged process, so that it does not inherit the one defined by the IDE gb.gui.qt component.


git-svn-id: svn://localhost/gambas/trunk@7573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-10 22:41:48 +00:00
Benoît Minisini
32387776bb [DEVELOPMENT ENVIRONMENT]
* BUG: Translater: Fix translations that end with a newline whereas the original string does not.
* NEW: Webform: Add "vw", "vh", "vmin" and "vmax" unities.
* BUG: Form editor: Remove automatic parent selection.
* BUG: Form editor: Make "Tooltip" property (with a lower "t") translatable.


git-svn-id: svn://localhost/gambas/trunk@7567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:41:53 +00:00
Henrique
c2a85b801f [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 16:39:37 +00:00
Henrique
417e12772e [WIKI CGI SCRIPT]
* NEW: Updated Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 12:29:49 +00:00
Benoît Minisini
7b734661d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Moving index fiels now correctly marks the connection as modified.


git-svn-id: svn://localhost/gambas/trunk@7540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:05:20 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?

[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.

[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.

[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.

[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.

[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.

[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.

[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
  The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
  the 'Selection' property.
* BUG: Many fixes in the default stylesheet.


git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-27 18:16:32 +00:00
Benoît Minisini
4e993933c5 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Use debhelper version 9 requirement everywhere.


git-svn-id: svn://localhost/gambas/trunk@7527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 02:06:09 +00:00
Benoît Minisini
b4c6feae13 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't display functions whose name ends with a '$' in automatic
  completion if there is another function having the same name without the
  '$' character.


git-svn-id: svn://localhost/gambas/trunk@7526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 02:01:07 +00:00
Benoît Minisini
adc0f772a2 [DEVELOPMENT ENVIRONMENT]
* BUG: Pacakger: support for 'gb.gui.qt' and 'gb.gui.qt.webkit' generic
  components.


git-svn-id: svn://localhost/gambas/trunk@7525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 01:50:27 +00:00
Benoît Minisini
a5c770607d [DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Request editor is now selectable when QT4 is in
  use.
* NEW: Connection editor: A little redesign of the window top toolbar.


git-svn-id: svn://localhost/gambas/trunk@7516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-12 12:03:20 +00:00
Fabien Bodard
406fde1827 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the report editor using the Auto arrangement system like 
  for webforms.
  


git-svn-id: svn://localhost/gambas/trunk@7512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-11 11:02:34 +00:00
Henrique
12cb188e10 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@7510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 22:43:04 +00:00
Benoît Minisini
88f79e6a45 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: Farm account passwords should be correctly remembered
  now.


git-svn-id: svn://localhost/gambas/trunk@7508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 00:43:44 +00:00
Benoît Minisini
dd5a3a3ee5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of color properties with alpha value.


git-svn-id: svn://localhost/gambas/trunk@7507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-06 17:38:11 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
a339e66a94 [CONFIGURATION]
* NEW: Update Gambas 3 appdata XML file.


git-svn-id: svn://localhost/gambas/trunk@7504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 17:16:38 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
9125907102 [DEVELOPMENT ENVIRONMENT]
* BUG: Report family: Don't crash when the image of a ReportImage or
  ReportSvgImage cannot be loaded. Display a big red broken icon instead.


git-svn-id: svn://localhost/gambas/trunk@7500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 23:46:30 +00:00
Benoît Minisini
6a5a0b0dc1 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't initialize properties of controls having a
  "_DrawWith" property. I don't know why I did that, but anyway it prevents
  Undo/Redo from working correctly.


git-svn-id: svn://localhost/gambas/trunk@7499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 23:23:08 +00:00
Benoît Minisini
c5b1165909 [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Procedure list correctly centers the editor on the
  target procedure.
* BUG: Farm software: Software download events are correctly ignored when
  the wizard is moved back to the software list.


git-svn-id: svn://localhost/gambas/trunk@7498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 21:48:45 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
  arrangement support. But still far from perfect for row and  column
  arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
  forms.

[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".


git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-02 19:36:46 +00:00
Benoît Minisini
40c8517465 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Rectangle and ellipse tools now have half-pixel
  precision.
* BUG: Image editor: The ellipse tool now works correctly when the ellipse
  is drawn from its center.


git-svn-id: svn://localhost/gambas/trunk@7494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-29 14:19:13 +00:00
Benoît Minisini
ab219112ba [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of common properties of unknown controls again.


git-svn-id: svn://localhost/gambas/trunk@7493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-25 01:36:58 +00:00
Benoît Minisini
7362fae0ac [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Setting common properties (Text, Background,
  Foreground) of unknown controls should work correctly again now.
* BUG: Form editor: Fix automatic arrangement management.
* NEW: Allow each family to declare the base class of controls. This is
  used by the property editor.


git-svn-id: svn://localhost/gambas/trunk@7492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-25 01:28:36 +00:00
Benoît Minisini
8b9f351c62 [DEVELOPMENT ENVIRONMENT]
* NEW: Centralize family-specific sources in dedicated folders.
* NEW: Form editor: Top and left handles of controls layed out by automatic
  arrangement are inactive now.

[GB.WEB.FORM]
* NEW: Implement the Border property for many controls.
* NEW: WebControl.Class is a new property that allows to define a custom
  CSS class for any control.


git-svn-id: svn://localhost/gambas/trunk@7490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 23:52:00 +00:00
Benoît Minisini
f927974b19 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
  for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
  controls. This representation is a GUI control class named
  "<family><control>". For example, WebformWebMenu is the IDE control class
  that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.

[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.


git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 19:56:52 +00:00
Benoît Minisini
c8499d454f [DEVELOPMENT ENVIRONMENT]
* NEW: Web form: Support for WebMenuItem drawing.

[GB.WEB.FORM]
* NEW: WebMenu.Image is a new property that allows to define the image of
  a menu.
* NEW: WebMenu can be imbricated to make sub-menus.
* NEW: WebMenuItem is usable now.


git-svn-id: svn://localhost/gambas/trunk@7488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 20:23:20 +00:00
Benoît Minisini
9268df987c [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS keywords.

[GB.WEB.FORM]
* NEW: WebMenu is a new control that implements a popup menu.
* NEW: WebSeparator is a new control that implements a separator.
* NEW: Message boxes now raise a 'Message' event in their forms when they
  are closed.
* NEW: Add Message.Info(), Message.Error() and Message.Question() message
  boxes.
* BUG: Fix container arrangement.
* BUG: Deleting a control correctly removes its custom session data.
* NEW: WebMenuItem is a new control supposed to implement a menu item. Not
  yet usable.


git-svn-id: svn://localhost/gambas/trunk@7487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 05:00:57 +00:00
Benoît Minisini
636c68c68d [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix crashes with selections having no extents.


git-svn-id: svn://localhost/gambas/trunk@7485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 04:54:45 +00:00
Benoît Minisini
c4631efb8d [DEVELOPMENT ENVIRONMENT]
* BUG: Using a form whose name starts with an underscore is now possible.


git-svn-id: svn://localhost/gambas/trunk@7484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 03:29:21 +00:00
Benoît Minisini
8d24b22411 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the function that detects if a control needs a parent.
* BUG: When adding every new file to the subversion repository, the
  '.gambas' directory is now correctly ignored.

[COMPILER]
* NEW: The _load() special method is now called just after the initial form
  creation is finished.

[GB.WEB.FORM]
* NEW: Message is a new class for displaying message boxes.
* BUG: Fix management of control names.
* NEW: Implement the WebContainer.Delete() method and WebWindow.Delete()
  methods. Child controls are now automatically deleted if their parent is
  also deleted.
* NEW: WebControl.Show() and WebControl.Hide() are two new methods that are
  synonymous of the Visible property.
* NEW: WebControl acts now like an collection-like array, so that you can
  store user data associated with a control in the session.
* NEW: WebControl.Reset() is a new method to reset the control user data.
* NEW: WebForm.ShowModal() shows a form as a modal window.
* NEW: WebForm.Show() does not take an optional parent anymore. Windows are
  always shown in the current form.
* NEW: Windows with no initial size are centered.
* NEW: WebImage is a new control that displays an image.
* NEW: WebLabel is a new control that displays a one-line vertically
  centered label.
* NEW: WebTextArea is a new control that implements a multi-line text area.


git-svn-id: svn://localhost/gambas/trunk@7482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-18 01:29:28 +00:00
Benoît Minisini
794122fe66 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for WebHBox and WebVBox.

[WIKI CGI SCRIPT]
* NEW: Style for news date with a white background.

[GB.WEB.FORM]
* NEW: WebForm.Resizable is a new property that tells if a form is
  resizable when displayed as a window.
* NEW: Declare the '_Similar' properties.
* NEW: Replace the WebForm.Open method by a Show() method that acts on the
  from to be opened as a window. Mimic the syntax of GUI components.
* NEW: WebSpinBox is a new control that implements a spin box.
* NEW: WebSlider is a new control that implements a slider.
* BUG: WebTimer.Enabled property now works correctly.
* NEW: WebHBox is a new container that arrange its children horizontally.
* NEW: WebVBox is a new container that arrange its children vertically.
* NEW: Windows now have a blue title bar when they are on top, and a gray
  one if they are behind.
* OPT: Don't use elements with absolute positioning in window frames, it
  slows down Firefox.

[GB.UTIL.WEB]
* NEW: JS() now can convert any Gambas native value, array, or collection
  to a Javascript expression.


git-svn-id: svn://localhost/gambas/trunk@7481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-17 00:57:06 +00:00
Benoît Minisini
25cdbaa492 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Decide that a control has a parent according to its
  constructor, not to its Virtual state.
* BUG: Form editor: Correctly handle color properties with an alpha value.
* NEW: The '_HiddenControls' property of form controls now can hide
  controls from any other components.

[BENCHMARKS]
* NEW: Do less repeats in the 'string 'benchmark.
* NEW: Update the Gambas version of 'mandelbrot' and 'polynom' benchmarks.

[GB.WEB.FORM]
* NEW: A small Color class.
* BUG: WebButton now uses the 'gw-button' CSS class.
* BUG: Fix WebCheckBox rendering.
* NEW: WebRadioButton is a new control that implements a radio button.
* NEW: WebTimer is a new virtual control that implements a timer on the
  browser client side.
* NEW: Implement read-write WebComboBox.
* NEW: WebControl now has Background and Foreground properties.
* BUG: Hidden controls do not refresh. A control is hidden if it is not
  visible or if one of its parent is not visible.
* NEW: Controls can render JavaScript code.
* NEW: WebTextBox now uses the 'gw-textbox' CSS class.


git-svn-id: svn://localhost/gambas/trunk@7477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-14 23:22:10 +00:00
Benoît Minisini
0f1511be42 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Text property is now applied for "draw with" controls.


git-svn-id: svn://localhost/gambas/trunk@7473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 19:23:49 +00:00
Fabien Bodard
69b29177f8 [DEVELOPMENT ENVIRONMENT]
* BUG: Allow the short command for chromium.



git-svn-id: svn://localhost/gambas/trunk@7471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 13:29:08 +00:00
Benoît Minisini
619a92e8f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Components can now use proxy controls to be displayed in the form
  editor even if they don't depend on a GUI component.
* BUG: Component containers arrangement is now based on the symbol names of
  the Arrange class, not on the symbol values.

[WIKI CGI SCRIPT]
* NEW: Automatic generation of IDE dependencies.

[GB.DESKTOP]
* BUG: Remove a debugging stop.

[GB.WEB.FORM]
* NEW: WebTabPanel is a new TabStrip-like container.
* NEW: Support for multi-containers.
* NEW: WebControl.Ignore is a new property that makes a control use CSS
  absolute position.
* NEW: Emit refresh code before event javascript reply.


git-svn-id: svn://localhost/gambas/trunk@7470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 02:27:09 +00:00
Benoît Minisini
046e1873f6 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if the VERSION file is incorrect. Display an error
  message instead.

[GB.FORM]
* NEW: MessageView: Ignore a message if its contents is the same as the
  currently displayed message.


git-svn-id: svn://localhost/gambas/trunk@7465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 01:06:35 +00:00
Benoît Minisini
3ec3e2b9b5 [GB.WEB.FORM]
* NEW: Button.Enabled is a new property that allows to disable a button.
* BUG: Fix container style generation.
* NEW: WebControl have a Width and Height properties now, which are
  synoymous for their style property counterparts.
* OPT: WebControl do not send events if there are no event handler inside
  the server code.
* NEW: WebTextBox is a new control that implements a text box.
* NEW: New 'update' message from the client to update a control property in
  the server.
* NEW: WebForm.Close() is a new method that resets the form state, and try
  to close it. Note that the browser prevent windows to be closed by a
  script if they haven't been opened by a script.
* NEW: Control refresh in the browser tries to preserve the current active
  element and its selection.


git-svn-id: svn://localhost/gambas/trunk@7464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 00:45:49 +00:00
Benoît Minisini
e6c8ed8cff [DEVELOPMENT ENVIRONMENT]
* BUG: Contextual help (F2) on classes belonging to the project works
  correctly now.


git-svn-id: svn://localhost/gambas/trunk@7463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 00:18:14 +00:00
Benoît Minisini
fe1aaed25d [DEVELOPMENT ENVIRONMENT]
* BUG: Don't raise an error while filling the editor procedure combo-box.
  Just fill it with nothing.
* BUG: Use the true family name as class name for the root control of a
  form.

[GB.HTTPD]
* NEW: The standard error output of CGI scripts is not redirected to the
  HTTP client anymore, so that the IDE catch debugging messages printed by
  the DEBUG instruction.

[GB.UTIL.WEB]
* NEW: JS is a new class that quotes a string for javascript when used as a
  static function.

[GB.WEB.FORM]
* NEW: Control can raise events from the browser to the application.
* NEW: Control properties changed during an event are stored in the session
  to make them permanent.
* NEW: Refreshing a control during an event sends the updated HTML to them
  browser.


git-svn-id: svn://localhost/gambas/trunk@7461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-10 03:57:44 +00:00
Benoît Minisini
e719e777b4 [DEVELOPMENT ENVIRONMENT]
* NEW: Image selection dialog has now more options, and can choose image
  inside the ".public" directory.
* NEW: Image selection now depends on form family.

[INTERPRETER]
* NEW: Timer.Restart() is a new method that stops and starts again a timer.

[GB.FORM.EDITOR]
* NEW: TextEditor: Image line cache is now limited by the visible height.
* BUG: TextEditor: Don't use image line cache for lines too high.

[GB.WEB]
* BUG: WebPage.ToString() now works correctly.

[GB.WEB.FORM]
* NEW: Generate webform style sheet recursively.
* NEW: WebButton can have an icon with the Image property.
* NEW: WebHtml control is now usable.
* NEW: WebContainer Arrangement, Margin and Spacing properties.
* NEW: WebControl Expand property.
* NEW: WebContainer boolean Border property is there just for debugging.
* NEW: WebForm.Title property.


git-svn-id: svn://localhost/gambas/trunk@7459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 01:41:20 +00:00
Benoît Minisini
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
0e417f489a [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Extra directories are now correctly defined in Debian
  packages.


git-svn-id: svn://localhost/gambas/trunk@7450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 18:57:20 +00:00
Benoît Minisini
9d7e77214b [WEB SITE MAKER]
* NEW: New look.

[WIKI CGI SCRIPT]
* NEW: Hall of fame is now generated from the wiki.
* NEW: Accounts are now managed by the bugtracker.
* NEW: Registration is now managed by the bugtracker.


git-svn-id: svn://localhost/gambas/trunk@7448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 13:09:23 +00:00