Commit graph

4608 commits

Author SHA1 Message Date
Benoît Minisini
6c4b5dc2fe [GB.SETTINGS]
* BUG: The new save optimization now works correctly if the 
  Settings.Clear() method has been used.


git-svn-id: svn://localhost/gambas/trunk@6633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:56:57 +00:00
Benoît Minisini
f6cca61ee8 [WIKI CGI SCRIPT]
* NEW: New look for the documentation wiki.


git-svn-id: svn://localhost/gambas/trunk@6632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:51:23 +00:00
Benoît Minisini
ef3d63966d [EXAMPLES]
* NEW: Painting: Update the example.


git-svn-id: svn://localhost/gambas/trunk@6631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:50:30 +00:00
Benoît Minisini
3c6e96d0c4 [GB.FORM]
* NEW: The SliderBox is now in the same change group as Slider.


git-svn-id: svn://localhost/gambas/trunk@6630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:49:15 +00:00
Benoît Minisini
9926507f8d [GB.GTK]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.

[GB.GTK3]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.
* BUG: Paint.Reset() now works as expected on non-cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:46:28 +00:00
Benoît Minisini
7542886d8b [GB.QT4]
* BUG: Fix a compilation warning.


git-svn-id: svn://localhost/gambas/trunk@6628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:44:05 +00:00
Benoît Minisini
2fd0373590 [GB.GTK]
* BUG: Fix an uninitialized variable.

[GB.GTK3]
* BUG: Fix an uninitialized variable.


git-svn-id: svn://localhost/gambas/trunk@6627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 22:24:43 +00:00
Nigel Gerrard
506e7a468b [GB.GTK]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin

[GB.GTK3]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin


git-svn-id: svn://localhost/gambas/trunk@6626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 21:33:40 +00:00
Fabien Bodard
ea567aa6dd [GB.FORM]
* NEW: DocumentView is the begin for a new widget that allow to display documents
  such as pdf, printing preview, pictures... etc. It allow zooming, and will have 
  differents options for arrange the pages. Each page can have it's own size and orientation
  property. It's not finished yet and really buggy... 
  


git-svn-id: svn://localhost/gambas/trunk@6625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 15:00:20 +00:00
Fabien Bodard
98b3931b38 [GB.SCANNER]
* BUG: Remove the need for gb.image.io


git-svn-id: svn://localhost/gambas/trunk@6624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 14:17:25 +00:00
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