Commit graph

5035 commits

Author SHA1 Message Date
Fabien Bodard
95637f985f [GB.SCANNER]
* BUG: Do not set type on model.


git-svn-id: svn://localhost/gambas/trunk@6768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:57:04 +00:00
Fabien Bodard
b8b7e09fcc [GB.SCANNER]
* BUG: Test if the scanner exist just on an option call.



git-svn-id: svn://localhost/gambas/trunk@6767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:15:02 +00:00
Fabien Bodard
be0dc2ea33 [GB.SCANNER]
* BUG: Test if the scanner exist just on an option call.


git-svn-id: svn://localhost/gambas/trunk@6766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 21:11:05 +00:00
Fabien Bodard
027c1b60f1 [GB.REPORT]
* BUG: The parsing of options now work as expected




git-svn-id: svn://localhost/gambas/trunk@6765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 20:49:08 +00:00
Fabien Bodard
8b1dbfdd6f [GB.SCANNER]
* BUG: The parsing of options now work as expected.


git-svn-id: svn://localhost/gambas/trunk@6764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 20:45:31 +00:00
Benoît Minisini
3d5894d409 [COMPILER]
* BUG: Fix a badly initialized variable in syntax tree analyze, that could
  lead to spurious "Expression too complex" errors.

[GB.EVAL]
* BUG: Fix a badly initialized variable in syntax tree analyze, that could
  lead to spurious "Expression too complex" errors.


git-svn-id: svn://localhost/gambas/trunk@6762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-22 17:41:16 +00:00
Benoît Minisini
c93a798d9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix object control properties edition.


git-svn-id: svn://localhost/gambas/trunk@6761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 22:17:51 +00:00
Fabien Bodard
97465d098a [GB.SCANNER]
* BUG: All parameters sended to scanimage are quoted now, if they are text.


git-svn-id: svn://localhost/gambas/trunk@6760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 21:26:04 +00:00
Benoît Minisini
23179c7340 [DEVELOPMENT ENVIRONMENT]
* NEW: Softwares now can be installed or just downloaded. When they are 
  downloaded, only the source project is copied. It is not compiled, and no
  desktop file is installed.


git-svn-id: svn://localhost/gambas/trunk@6759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 18:06:18 +00:00
Tobias Boege
13c2084200 [GBH3]
* NEW: Moved c2help to a Gambas project, gbh3.
* NEW: Understand -h, --help, -V and --version options.
* OPT: Use the RegExp.Replace() fix from #6756.



git-svn-id: svn://localhost/gambas/trunk@6758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 16:42:46 +00:00
Fabien Bodard
2fddcee443 [GB.SCANNER]
* BUG: Do not crash if the temporary image is not loaded.
* NEW: The options are now more verbose and try to correct 
  automatically theire values. For example a MinMax value is
  automagicaly set to the near limit value. An d for list value 
  a search is done in the list and the value is set to the first 
  occurence.


git-svn-id: svn://localhost/gambas/trunk@6757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 16:34:55 +00:00
Benoît Minisini
b4dd31362a [GB.PCRE]
* BUG: RegExp.Replace() now replaces once if the pattern starts with "^".


git-svn-id: svn://localhost/gambas/trunk@6756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-21 14:47:47 +00:00
Fabien Bodard
d5ef3c0e92 [GB.REPORT2]
* OPT: Move to gb.report2


git-svn-id: svn://localhost/gambas/trunk@6755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 21:08:45 +00:00
Benoît Minisini
4faa9876bf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial focus of welcome dialog.

[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to 
  avoid an incorrect "circular reference" message.

[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.

[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Tobias Boege
5971ad99d6 [C2HELP]
* NEW: Rewrite as a single standalone Gambas script.
* OPT: Move into app/src/c2help.



git-svn-id: svn://localhost/gambas/trunk@6753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 10:38:25 +00:00
Tobias Boege
4c704fd2d5 [GB.DATA]
* BUG: GraphMatrix.Add() does not add identical vertices multiple times
  anymore.



git-svn-id: svn://localhost/gambas/trunk@6752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-19 17:57:18 +00:00
Fabien Bodard
09aa29fb9b [GB.MAP]
* OPT: Upgrade the gb.map status to Not Terminated but stable.
* NEW: New property ClearCache(Optional Days) that remove files from cache
  according to the distance time in day. Or all files if they're is no days given
  in parameters.



git-svn-id: svn://localhost/gambas/trunk@6751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-18 16:21:40 +00:00
Fabien Bodard
7bc6241e1f [EXAMPLES]
* OPT: Change the version number on the GG map


git-svn-id: svn://localhost/gambas/trunk@6750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 20:06:48 +00:00
Fabien Bodard
71ac6a9362 [GB.REPORTS2]
* New: This is the beginning of the full rewritting of gb.report



git-svn-id: svn://localhost/gambas/trunk@6749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 16:43:37 +00:00
Benoît Minisini
23ef7d6c8f [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Use language of project translations as tags when 
  publishing a software.


git-svn-id: svn://localhost/gambas/trunk@6748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 14:24:15 +00:00
Benoît Minisini
7fc2536f8f [GB.FORM]
* BUG: Remove a WAIT inside the Balloon.Hide method.


git-svn-id: svn://localhost/gambas/trunk@6747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-17 11:11:37 +00:00
Benoît Minisini
3c8efd56e9 [CONFIGURATION]
* NEW: Update chinese translations.

[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.

[INTERPRETER]
* NEW: Allow WAIT to raise errors.

[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry 
  of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry 
  of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a 
  screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
  geometry without the frame.

[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.


git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 22:15:59 +00:00
Benoît Minisini
79a200144c [DEVELOPMENT ENVIRONMENT]
* NEW: Update chinese translation.
* NEW: Add an "Examples" button in the welcome dialog that displays the 
  projects installed in '~/.local/share/gambas3/src/example'. Add an help 
  text is no example is installed yet.


git-svn-id: svn://localhost/gambas/trunk@6745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 20:43:44 +00:00
Fabien Bodard
a91e31ceba [GB.REPORT]
* BUG: Now you can choose a non existing file in the openbox for saving as pdf.


git-svn-id: svn://localhost/gambas/trunk@6744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 20:16:38 +00:00
Benoît Minisini
b2ae3c9859 [OLD WIKI CGI SCRIPT]
* NEW: Remove the old wiki cgi script project.


git-svn-id: svn://localhost/gambas/trunk@6743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 11:01:56 +00:00
Benoît Minisini
00a8259d59 [GB.DRAW]
* BUG: Raise an error if an immediate Paint drawing routine 
  (Paint.DrawImage, Paint.DrawText...) is called while there is a current 
  path, because this is not supported by gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 22:27:44 +00:00
Benoît Minisini
3376150b95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix screenshot software publishing again.


git-svn-id: svn://localhost/gambas/trunk@6741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 20:04:18 +00:00
Benoît Minisini
66ea2cc75f [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix screenshot publishing.


git-svn-id: svn://localhost/gambas/trunk@6740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 18:49:20 +00:00
Benoît Minisini
ac1431d264 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't force the form hierarchy to be expanded.


git-svn-id: svn://localhost/gambas/trunk@6739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 13:38:29 +00:00
Benoît Minisini
97dea91d63 [GB.DB.SQLITE3]
* BUG: Remove an unused function.


git-svn-id: svn://localhost/gambas/trunk@6738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 12:54:15 +00:00
Benoît Minisini
dbea7fb532 [GB.DB.SQLITE3]
* BUG: Support for common table expressions ("WITH ... SELECT ..." SQL 
  expressions) that appeared in 3.8.3 version.


git-svn-id: svn://localhost/gambas/trunk@6737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 12:52:23 +00:00
Benoît Minisini
e7be450ad9 [DEVELOPMENT ENVIRONMENT]
* BUG: Software publish dialog: Fix screenshot management.
* BUG: Software farm: Fix layout of software description.


git-svn-id: svn://localhost/gambas/trunk@6736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 03:31:43 +00:00
Benoît Minisini
c208b22109 [DEVELOPMENT ENVIRONMENT]
* BUG: The screenshot tool should always work now.


git-svn-id: svn://localhost/gambas/trunk@6735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 03:12:44 +00:00
Benoît Minisini
13634d4199 [DEVELOPMENT ENVIRONMENT]
* NEW: A tool to take a screenshot of the current active window. The 
  screenshot is stored in a 'screenshots' directory inside the 'Project'
  pseudo-folder.
* NEW: Software farm: The screenshot of the published project is now taken
  from the screenshots saved by the screenshot tool. The screenshot is
  automatically converted to the JPEG format before being sent.


git-svn-id: svn://localhost/gambas/trunk@6734 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-14 01:53:10 +00:00
Fabien Bodard
9e945cdea6 [GB.MAP]
* BUG: Now the proj class take and return MapPoints convertion in the good way
* BUG: The WMS is really working now and _maptile layer is now able to tile and
  cache a BBoxed wms rendered map.
* NEW: and external httpserver can be instanciate to load layer maps. This is usefull
  when the server queries a specific way to access to the wms permissions.
  


git-svn-id: svn://localhost/gambas/trunk@6733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 22:51:48 +00:00
Benoît Minisini
a1156a2387 [DEVELOPMENT ENVIRONMENT]
* BUG: Make Wizard.ActionText property translatable.
* NEW: Software farm: When publishing a software, we can now tell if a menu
  entry must be created or not. The project must use a GUI component or the
  SDL component for that.
* NEW: Software farm: The project components now automatically become 
  project tags. These kind of project tags are displayed with an orange
  background.
* NEW: Project version display routine is now centralized.


git-svn-id: svn://localhost/gambas/trunk@6732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 21:30:22 +00:00
Tobias Boege
fcf84aebfc [GB.DATA]
* BUG: Graph: Add the Weight property to the edge interface.



git-svn-id: svn://localhost/gambas/trunk@6731 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 13:27:33 +00:00
Benoît Minisini
77a629984c [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly refresh the 'Recent' tab in the open project dialog.
* BUG: SoftwareFarm: Forgot to make two strings translatable.


git-svn-id: svn://localhost/gambas/trunk@6730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 13:26:59 +00:00
Benoît Minisini
7bd4a3d770 [GB.PDF]
* BUG: Check for the availabilty of private poppler headers.


git-svn-id: svn://localhost/gambas/trunk@6729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 13:25:25 +00:00
Benoît Minisini
c31c915f1d [DEVELOPMENT ENVIRONMENT]
* NEW: Animate wizards.
* NEW: Software farm: The software description is now selectable.
* NEW: Software farm: The software box text contents is now displayed 
  without waiting for the icon to be available.

[EXAMPLES]
* BUG: Fix the GNUBoxWorld icon.

[GB.FORM]
* NEW: Wizard.Animated is a new property that animate the wizard when 
  going to the next or previous step.


git-svn-id: svn://localhost/gambas/trunk@6728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 23:33:39 +00:00
Benoît Minisini
0ed95bb0d4 [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix installation and uninstallation.

[GB.FORM]
* BUG: FileChooser & DirChooser: The 'desktop' bookmark works correctly 
  now.


git-svn-id: svn://localhost/gambas/trunk@6727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 21:20:24 +00:00
Benoît Minisini
c6a9cd69c2 [EXAMPLES]
* NEW: Add examples again. I hope correctly this time.


git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:58:52 +00:00
Benoît Minisini
4cc373f047 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Remove the vendor filter. Use the tag filter instead.

[FARM SERVER]
* NEW: Automatically create a tag from the vendor name when publishing a 
  software.

[EXAMPLES]
* BUG: Remove all examples, they were not correctly added to their new 
  location.


git-svn-id: svn://localhost/gambas/trunk@6725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:30:18 +00:00
Benoît Minisini
21e325b27a [EXAMPLES]
* NEW: Put the old examples in '/trunk/app/examples'.


git-svn-id: svn://localhost/gambas/trunk@6724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:49:07 +00:00
Benoît Minisini
66bbed7535 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:43:14 +00:00
Benoît Minisini
b2eb17d344 [INTERPRETER]
* BUG: Correctly flush the output of a terminated child process.


git-svn-id: svn://localhost/gambas/trunk@6722 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:41:48 +00:00
Benoît Minisini
74a14a6703 [CONFIGURATION]
* NEW: Examples are not installed anymore and were removed. They will be 
  stored in the Gambas farm server.

[DEVELOPMENT ENVIRONMENT]
* NEW: Remove the examples from the welcome dialog, the open project dialog 
  and the 'File' menu.


git-svn-id: svn://localhost/gambas/trunk@6721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:18:52 +00:00
Benoît Minisini
6babd432d9 [EXAMPLES]
* NEW: Delete examples.


git-svn-id: svn://localhost/gambas/trunk@6720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 23:17:00 +00:00
Benoît Minisini
35fd3ef99c [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore comment lines when completing a control structure after the 
  RETURN key has been hit.


git-svn-id: svn://localhost/gambas/trunk@6719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 21:41:24 +00:00
Benoît Minisini
5468b4c704 [GB.FORM]
* NEW: Format files sizes with two decimals.

[GB.UTIL]
* BUG: File.FormatSize() now takes an optional argument that allows to 
  format the size in binary format (1K = 1024) instead of decimal format 
  (1K = 1000).


git-svn-id: svn://localhost/gambas/trunk@6718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:59:02 +00:00