Commit graph

4548 commits

Author SHA1 Message Date
Fabien Bodard
cd08333b12 [GB.SCANNER]
* NEW: New component that provide classes to manage scanners devices via gambas code.
  It is a frontend to scanimage binary provided by the SANE toolkit.
  


git-svn-id: svn://localhost/gambas/trunk@6623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 12:23:08 +00:00
Fabien Bodard
11d5d1a404 [SCRIPTER]
* NEW: New argument '-u' that allow to force the given components to be loaded.
  It is usefull in some case.
  gbs3  -u 'gb.scanner' -e 'dim s as string:for each s in scanners:print s:next'
* OPT: Update the usage files



git-svn-id: svn://localhost/gambas/trunk@6622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 10:13:44 +00:00
Benoît Minisini
f98642e44a [SCRIPTER]
* BUG: Be more intelligent when parsing arguments. Now all arguments after 
  the first non option argument are sent to the script process.

[INTERPRETER]
* OPT: Remove a previous optimization that made benchmarks slower, contrary 
  to what valgrind tells. No idea why exactly, maybe a valgrind cache
  simulation problem.

[BENCHMARKS]
* NEW: Do less in the polynom benchmark, so that it runs about as long as
  the other benchmarks.


git-svn-id: svn://localhost/gambas/trunk@6621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 22:06:07 +00:00
Benoît Minisini
c1010a0ff0 [INTERPRETER]
* OPT: Move some rare instructions (breakpoints & quit management) out of 
  the main interpreter loop.

[COMPILER]
* NEW: The parser now assumes that an identifier is a subroutine taking 
  some arguments only if it is followed by an open brace.

[GB.EVAL]
* NEW: The parser now assumes that an identifier is a subroutine taking 
  some arguments only if it is followed by an open brace.


git-svn-id: svn://localhost/gambas/trunk@6620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 21:50:42 +00:00
Benoît Minisini
dbc53be50a [GB.DESKTOP]
* BUG: The component didn't compile anymore because of the new Url$() 
  function.


git-svn-id: svn://localhost/gambas/trunk@6619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 21:37:35 +00:00
Benoît Minisini
7d3fe8172b [GB.MARKDOWN]
* BUG: The component didn't compile anymore because of the new Url$() 
  function.


git-svn-id: svn://localhost/gambas/trunk@6618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 21:35:46 +00:00
Benoît Minisini
0c2a60085c [WIKI CGI SCRIPT]
* NEW: Help comments of component classes and symbols are now automatically 
  used for creating non-existing documentation pages.
* NEW: Images are clickable in editing mode. They point at the image wiki 
  page.

[INTERPRETER]
* NEW: Url$() is a new function to encode an URL.
* NEW: FromUrl$() is a new function to decode an URL.
* NEW: FromBase64$() is now a synonymous for UnBase64$().

[GB.MEDIA]
* BUG: MediaPipeline.Pause() does nothing if the media is not playing. That
  avoid some GStreamer bad behaviour.

[GB.MEDIA.FORM]
* NEW: MediaView: Remove the ShowVideo property, it is useless.
* NEW: MediaView: The URL property can receive a true URL or a file path.
  The conversion is automatically done.
* BUG: MediaView: Do pause or stop the media file only if it has sense.
* NEW: MediaView: Hide the video part if the control height is too low.


git-svn-id: svn://localhost/gambas/trunk@6617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:25:46 +00:00
Benoît Minisini
654f938229 [DEVELOPMENT ENVIRONMENT]
* BUG: Control properties containing a database table name can be modified 
  again.


git-svn-id: svn://localhost/gambas/trunk@6616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:15:04 +00:00
Benoît Minisini
6a2aba1cca [INTERPRETER]
* BUG: Fix array accessor optimization on multi-dimensional native arrays.


git-svn-id: svn://localhost/gambas/trunk@6615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-07 17:43:54 +00:00
Benoît Minisini
44f062f81f [GB.DB.MYSQL]
* BUG: Try to reconnect to a lost database server when listing existing 
  databases and the fields of a table.


git-svn-id: svn://localhost/gambas/trunk@6614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-06 23:38:51 +00:00
Benoît Minisini
de1ec2d2db [GB.QT4]
* BUG: TextBox: Workaround a Qt4 weird behaviour that sometimes lose the 
  selection. Same workaround for editable ComboBox.


git-svn-id: svn://localhost/gambas/trunk@6613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-06 23:03:21 +00:00
Benoît Minisini
eceeb61ada [GB.FORM]
* BUG: Remove unneeded dependency on gb.media.form and gb.media. They were 
  just for testing.


git-svn-id: svn://localhost/gambas/trunk@6612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-05 22:24:52 +00:00
Benoît Minisini
3bc7e8b863 [GB.FORM]
* NEW: DirChooser & FileChooser: The popup menu is available when clicking 
  on the bookmark button representing the top-level directory.
* NEW: DirChooser & FileChooser: The root button now goes to the current
  root when bookmarks are hidden.
* NEW: FileProperties: Preview of audio files, provided that the gb.media
  component has been loaded.
* NEW: New 'muted' stock icon.

[GB.FORM.STOCK]
* NEW: New 'muted' stock icon.

[GB.GUI.AREA]
* BUG: TreeView renaming works now if the renamed item is not visible.

[GB.MEDIA.FORM]
* BUG: MediaView: The Control property has been renamed as ShowControl.
* NEW: MediaView: ShowVideo is a new property that allows to hide the video 
  part when playing audio files.
* NEW: MediaView: New methods: Play, Pause, Stop.

[GB.SETTINGS]
* NEW: Settings.Save() now does not save all the keys anymore, but only the
  modified one.
* BUG: Settings.Clear() now really clears the entire settings.


git-svn-id: svn://localhost/gambas/trunk@6611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-05 09:38:15 +00:00
Fabien Bodard
6516d50f6b [BENCHMARKS]
* BUG: Call explicitely python2



git-svn-id: svn://localhost/gambas/trunk@6610 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-04 21:02:16 +00:00
Nigel Gerrard
3f02e55230 [DEVELOPMENT ENVIRONMENT]
* NEW: Improve Cygwin System Information awareness


git-svn-id: svn://localhost/gambas/trunk@6609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-04 13:02:57 +00:00
Benoît Minisini
4c1be18584 [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now can edit *.gbs Gambas scripts. But there is no automatic 
  completion.
* NEW: Use labels instead of buttons inside project items.

[WEBSITE MAKER]
* NEW: Update for 3.6.1 version.

[GB.EVAL]
* NEW: Lines beginning with '#!' are highlighted like comments. It's the
  'shebang' of Gambas scripts.


git-svn-id: svn://localhost/gambas/trunk@6608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-03 19:33:05 +00:00
Tobias Boege
59da5f36f0 [GB.DATA]
* BUG: Don't use forward typedefs as some compilers don't seem to
  understand them.
* BUG: Silence false positive compiler warnings.



git-svn-id: svn://localhost/gambas/trunk@6607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-03 08:55:24 +00:00
Benoît Minisini
42e99b376c [BENCHMARKS]
* NEW: Update the 'benchmark.gbs' script.


git-svn-id: svn://localhost/gambas/trunk@6606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-02 23:10:47 +00:00
Benoît Minisini
0c9d0a4585 [INTERPRETER]
* OPT: Array accessors have been optimized. The 'sort' benchmark is now 25% 
  faster.


git-svn-id: svn://localhost/gambas/trunk@6605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-02 23:09:04 +00:00
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