Commit graph

4879 commits

Author SHA1 Message Date
Benoît Minisini
d567669ae1 [GB.QT4]
* BUG: The Menu.Checked property now returns the correct value for
  non-radio menu items.


git-svn-id: svn://localhost/gambas/trunk@6604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-02 17:37:40 +00:00
Benoît Minisini
26d4540cde [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of event handlers if an object is declared 
  globally with an event name (Private MyObject As MyClass As "event").


git-svn-id: svn://localhost/gambas/trunk@6600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 22:21:28 +00:00
Emil Lenngren
e04e8e8672 [GB.JIT]
* BUG: IIf generated incorrect code for the types CSTRING and STRING.


git-svn-id: svn://localhost/gambas/trunk@6599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 21:57:27 +00:00
Benoît Minisini
753189dfc7 [BENCHMARK]
* BUG: Fix 'sort' benchmark and generated HTML report.


git-svn-id: svn://localhost/gambas/trunk@6598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 19:42:59 +00:00
Benoît Minisini
7e28338f01 [SCRIPTER]
* BUG: The '-f' option now create a usable script.
* NEW: If the script crashes, a "Segmentation fault" message is printed.
  Not perfect, as the signal was not necessarily a segmentation fault...


git-svn-id: svn://localhost/gambas/trunk@6597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 16:40:19 +00:00
Benoît Minisini
6112968177 [BENCHMARKS]
* BUG: Use the same data table in all version of the 'sort' benchmark.


git-svn-id: svn://localhost/gambas/trunk@6596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 16:38:09 +00:00
Benoît Minisini
f4632a3597 [BENCHMARKS]
* NEW: A new bubble sort benchmark.
* NEW: A script that runs all the benchmarks and prints the result as an 
  HTML table.


git-svn-id: svn://localhost/gambas/trunk@6595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-31 16:36:02 +00:00
Benoît Minisini
bd3484bcf0 [GB.EVAL.HIGHLIGHT]
* BUG: The '.startup' file must not be versioned.


git-svn-id: svn://localhost/gambas/trunk@6594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 22:42:02 +00:00
Benoît Minisini
8e8089bc91 [FARM SERVER]
* NEW: New database structure and new protocol: the versions are now stored
  as integer. It's up to the client to transfrom a "X.Y.Z" version number 
  into an integer that can then be compared directly.

[GB.NET.CURL]
* NEW: HttpForm.AddFile() now raises an error if the provided path is a 
  directory.


git-svn-id: svn://localhost/gambas/trunk@6592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:14:32 +00:00
Benoît Minisini
daf59c1971 [INTERRPETER]
* BUG: The internal UTF-8 string position cache now works in all cases.


git-svn-id: svn://localhost/gambas/trunk@6591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:13:10 +00:00
Benoît Minisini
db01b7ced1 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a description field to the crash dialog box. This description is
  added to the mail.
* NEW: Use the new publishing protocol.
* NEW: Draw the project boxes with a darker border.


git-svn-id: svn://localhost/gambas/trunk@6590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:09:56 +00:00
Benoît Minisini
300d36e7b6 [GB.GTK]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.

[GB.GTK3]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@6589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 02:03:27 +00:00
Benoît Minisini
3969699f20 [GB.QT4]
* BUG: Fix Clipboard.Paste() when there are both a text and a qt image in 
  the clipboard.


git-svn-id: svn://localhost/gambas/trunk@6587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-29 21:49:45 +00:00
Benoît Minisini
05f31a83af [GB.NET]
* BUG: Fix a function declaration.


git-svn-id: svn://localhost/gambas/trunk@6586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-29 21:12:10 +00:00
Benoît Minisini
2adf90242b [GB.GTK]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now. The "X input method" does not work 
  (key events are internally sent four times!).

[GB.GTK3]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now.


git-svn-id: svn://localhost/gambas/trunk@6585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-27 23:43:56 +00:00
Benoît Minisini
8be202cc7a [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Undo correctly resets the selection.


git-svn-id: svn://localhost/gambas/trunk@6584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-27 20:12:03 +00:00
Benoît Minisini
46835002c7 [FARM SERVER]
* NEW: Take the database connection properties from the configuration file.


git-svn-id: svn://localhost/gambas/trunk@6583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 22:58:57 +00:00
Benoît Minisini
44eb5d54a3 [DEVELOPMENT ENVIRONMENT]
* NEW: The publishing and registration process now correctly take the
  publishing server into account.
* NEW: Registering a user on a publishing server now blocks the option 
  dialog interface.

[FARM SERVER]
* NEW: The project has been renamed as 'gambas-farm-server'.
* NEW: Database can be initialized by running the server from the command-
  line with the '-init-db' argument.
* BUG: The server takes its SMTP configuration from its configuration file
  (~/.config/gambas3/gambas-farm-server.conf)
* NEW: Software dependencies are now stored in the database.


git-svn-id: svn://localhost/gambas/trunk@6582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 21:24:04 +00:00
Benoît Minisini
d38ffe619c [GB.DB.FORM]
* BUG: Setting DataView.Editable property to FALSE and then to TRUE works 
  correctly now.


git-svn-id: svn://localhost/gambas/trunk@6581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 15:02:18 +00:00
Benoît Minisini
abe847d087 [GB.FORM]
* BUG: Don't use Style.FontOf(), it has been removed.


git-svn-id: svn://localhost/gambas/trunk@6580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 12:46:13 +00:00
Fabien Bodard
1ed0016645 [GB.FORM]
* BUG: Remove a call to Style.FontOf temporary. This symbole is not 
  yet implemented or just removed ... 



git-svn-id: svn://localhost/gambas/trunk@6579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 10:14:50 +00:00
Benoît Minisini
5bb0e3820c [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.

[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.

[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
  already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items 
  arrangement.

[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that 
  strange Qt bug.


git-svn-id: svn://localhost/gambas/trunk@6578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 00:50:59 +00:00
Tobias Boege
e00408a39b [DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation



git-svn-id: svn://localhost/gambas/trunk@6577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 21:39:11 +00:00
Tobias Boege
8f931ae914 [GB.FORM]
* NEW: Update German translation



git-svn-id: svn://localhost/gambas/trunk@6576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 20:11:04 +00:00
Benoît Minisini
5e9eede49d [GB.DB]
* BUG: Try to retrieve the connection password only if the 'gb.desktop'
  component is loaded, and only display warning messages in that case.


git-svn-id: svn://localhost/gambas/trunk@6575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 14:35:35 +00:00
Benoît Minisini
c971d3e7ca [DEVELOPMENT ENVIRONMENT]
* NEW: Put the publishing configuration and registration in the option 
  dialog.

[GB.FORM]
* BUG: SwitchButton: Use a "disable" look for ON and OFF state when the
  Enabled property is FALSE.
* NEW: ListEditor is a new control that allows to edit the contents of a
  ListBox control.

[GB.GTK]
* BUG: Remove a debugging message.
* BUG: TextBox: Postpone the Change event so that replacing the selection 
  raises a unique Change event.

[GB.NET.SMTP]
* NEW: Add a Content-Disposition header to attachments.

[GB.WEB]
* NEW: The default response content type is now HTML with UTF-8 charset.


git-svn-id: svn://localhost/gambas/trunk@6574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 14:32:48 +00:00
Benoît Minisini
170b4c371d [DEVELOPMENT ENVIRONMENT]
* BUG: Workaround the behaviour of appmenu by setting the 
  'APPMENU_DISPLAY_BOTH' environment variable at startup if menus are 
  explicitely hidden.


git-svn-id: svn://localhost/gambas/trunk@6573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 12:11:09 +00:00
Benoît Minisini
77dd6cea1e [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when installing the Gambas font, if the 
  '~/.config/fontconfig' directory does not exist.


git-svn-id: svn://localhost/gambas/trunk@6572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 00:51:31 +00:00
Benoît Minisini
c8fdb28610 [CONFIGURATION]
* BUG: The gbw3 symbolic link is correctly uninstalled now.

[FARM SERVER]
* BUG: Fix registration confirmation message.


git-svn-id: svn://localhost/gambas/trunk@6571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 23:20:33 +00:00
Benoît Minisini
6734c6714a [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on the publish dialog box. Now tags and dependencies 
  can be edited, and a new user can be registered.

[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote 
  for it, and search the software database.

[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.

[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.


git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 20:06:18 +00:00
Benoît Minisini
2535f9ad76 [EXAMPLES]
* BUG: MoviePlayer: Use an embedder as mplayer container. It's the only 
  control that has its own X11 window in all toolkits.

[GB.GTK]
* BUG: Ensure that the Embedder background is painted.


git-svn-id: svn://localhost/gambas/trunk@6569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-20 14:17:48 +00:00
Benoît Minisini
29cfcad444 [DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: The component grid view now correctly keep 
  its state when filtering is applied, or if only the used components are 
  displayed.
* BUG: Project property dialog: The component hemp viewer now works 
  correctly in offline mode.


git-svn-id: svn://localhost/gambas/trunk@6568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:51:21 +00:00
Benoît Minisini
c9f03a1150 [GB.NET.CURL]
* NEW: Add a Gambas part to the component.                                                                                                                                                                                                                                     
* NEW: HttpForm is a new class that inherits HttpClient and that allows to                                                                                                                                                                                                     
  post HTML forms easily.


git-svn-id: svn://localhost/gambas/trunk@6567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:18:10 +00:00
Benoît Minisini
04fc7adb58 [CONFIGURATION]
* NEW: Update version to 3.6.90.

[DEVELOPMENT ENVIRONMENT]
* NEW: Initial version of project publishing dialog. Not useable at the 
  moment.

[FARM SERVER]
* NEW: Initial version of the Gambas farm server. Not finished.

[GB.FORM]
* BUG: DirChooser: Correctly update the toolbar according to the file view
  visibility.
* BUG: Setting Spinner.Enabled to FALSE correctly stops the animation now.
* NEW: New stock icon named "download".

[GB.FORM.STOCK]
* NEW: New default icons for "download" stock icon.


git-svn-id: svn://localhost/gambas/trunk@6566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:16:27 +00:00
Benoît Minisini
d9314191a1 [GB.DB.POSTGRESQL]
* BUG: Quote field names when creating a table, even if they are converted 
  to lower cases.


git-svn-id: svn://localhost/gambas/trunk@6565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 21:30:31 +00:00
Benoît Minisini
2fb483cde9 [DEVELOPMENT ENVIRONMENT]
* BUG: Run packaging commands through a virtual terminal.


git-svn-id: svn://localhost/gambas/trunk@6564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 13:37:51 +00:00
Benoît Minisini
ec8627f540 [GB.GTK]
* BUG: Use GtkSelectionData accessor function.

[GB.GTK3]
* BUG: Use GtkSelectionData accessor function.



git-svn-id: svn://localhost/gambas/trunk@6563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 22:27:13 +00:00
Benoît Minisini
892fa0be41 [GB.FORM]
* NEW: Add a copy menu entry to the FileChooser and DirChooser controls.

[GB.GTK]
* BUG: Clipboard.Copy() now works for all text formats.

[GB.GTK3]
* BUG: Clipboard.Copy() now works for all text formats.


git-svn-id: svn://localhost/gambas/trunk@6562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 20:04:22 +00:00
Benoît Minisini
1ee8120382 [GB.GTK]
* BUG: Start fixing drag and drop.

[GB.GTK3]
* BUG: Start fixing drag and drop.
* BUG: Remove two symbolic links on source files that do not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@6561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 18:09:07 +00:00
Benoît Minisini
77ad93e7a6 [GB.GTK]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.

[GB.GTK3]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.


git-svn-id: svn://localhost/gambas/trunk@6560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:38:22 +00:00
Benoît Minisini
d57578377c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't use "sTable" as field name for the metadata table, because 
  apparently "STABLE" is a reserved word in PostgreSQL. Upgrade an already
  existing metadata table automatically.
* BUG: Don't crash when starting a search from a image or connection 
  editor.

[WEBSITE MAKER]
* NEW: Update for 3.6.

[GB.DB]
* NEW: Add support for databases like PostgreSQL that are not fully case 
  insensitive.

[GB.DB.POSTGRESQL]
* BUG: Automatically convert field names to lowercase when creating a 
  table.

[GB.GUI.BASE]
* BUG: IconView item renaming don't crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:23:29 +00:00
Benoît Minisini
d20ad59bd7 [GB.NET.SMTP]
* BUG: Support multi-line greetings and mulit-line answer at authentication 
  pass.


git-svn-id: svn://localhost/gambas/trunk@6556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-16 07:51:43 +00:00
Benoît Minisini
df0aea5171 [GB.GTK3]
* NEW: Require at least GTK+3 version 3.4.


git-svn-id: svn://localhost/gambas/trunk@6553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-16 04:58:10 +00:00
Jesus Guardon
bd0ad61074 Missed changelog for r6551
[DEVELOPMENT ENVIRONMENT]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.ARGS]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.DB.FORM]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM.DIALOG]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.FORM.MDI]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.NET.POP3]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.

[GB.REPORT]
* NEW: Created 'es_ES' language variant as Spanish (Spain) and renamed
       'es' as Spanish (common). Update and correct both translations.



git-svn-id: svn://localhost/gambas/trunk@6552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 17:39:15 +00:00
Jesus Guardon
b34c29b484 git-svn-id: svn://localhost/gambas/trunk@6551 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2014-10-13 17:01:00 +00:00
Benoît Minisini
6043543c1b [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the hidden command-line option and its project 
  version update feature.


git-svn-id: svn://localhost/gambas/trunk@6547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:53:26 +00:00
Benoît Minisini
bd693ee0da [CONFIGURATION]
* NEW: Update version in project files.


git-svn-id: svn://localhost/gambas/trunk@6546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:52:12 +00:00
Benoît Minisini
6fdbac285d [DEVELOPMENT ENVIRONMENT]
* NEW: Add an hidden  command-line option to update a project version only.


git-svn-id: svn://localhost/gambas/trunk@6545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:30:40 +00:00
Benoît Minisini
739f02cd40 [DEVELOPMENT ENVIRONMENT]
* BUG: Make editor message tooltip more readable, espacially with drak 
  themes.

[WIKI CGI SCRIPT]
* BUG: Fix detection of creatable classes.
* NEW: Automatically add function arguments in the initial text when 
  creating a new symbol documentation page.

[GB.JIT]
* BUG: Fix support of LLVM_CONFIG environment variable that defines the 
  absolute path of the 'llvm-config' program.


git-svn-id: svn://localhost/gambas/trunk@6544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:03:06 +00:00
Benoît Minisini
4419956e40 [GB.GTK3]
BUG: Fix missing file in Makefile.am


git-svn-id: svn://localhost/gambas/trunk@6543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-12 23:20:04 +00:00