Commit graph

4698 commits

Author SHA1 Message Date
Benoît Minisini
b144324801 [GB.SETTINGS]
* BUG: Settings.Clear() now works correctly.
* BUG: Settings.Keys does not return a key slot if it is void.


git-svn-id: svn://localhost/gambas/trunk@6781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 02:04:10 +00:00
Benoît Minisini
c9d87bf8b9 [GB.SDL2]
* NEW: Channel.Distance is a new property that defines the channel 
  distance, between 0 (near) and 255 (far).
* NEW: Channel.Angle is a new property that defines the channel direction,
  0° being the front, 90° the right, 180° behind and 270° the left.
* NEW: Channel.Reverse is a new boolean property that reverses the channel
  stereo.
* NEW: Music.SoundFontPath is a new property to tell SDL the directories 
  where the MIDI sound font files are stored.


git-svn-id: svn://localhost/gambas/trunk@6780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 23:10:56 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the 
  farm server yet.

[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then 
  1583.

[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Benoît Minisini
14a735ac51 [GB.SDL2.AUDIO]
* NEW: The audio part of the SDL2 component. It's the old gb.sdl.sound 
  without the CD-Rom support, but with a few more features planned.


git-svn-id: svn://localhost/gambas/trunk@6778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 15:56:19 +00:00
Sebastian Kulesz
f1fcf4f59f [GB.LOGGING]
* OPT: Make it backwards compatible with the previous implementation of 
  gb.logging


git-svn-id: svn://localhost/gambas/trunk@6777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 22:44:26 +00:00
Benoît Minisini
ac239ebc89 [GB.SDL2]
* NEW: Implement Font.TextWidth() and Font.TextHeight().
* NEW: Add the default Gambas font.
* NEW: Add a texture cache in each Font object, that can store the last 128 
  drawn texts. When the cache is full, it is completely erased.
* BUG: Many fixes.

git-svn-id: svn://localhost/gambas/trunk@6776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 21:49:05 +00:00
Sebastian Kulesz
98e8d98eae [GB.LOGGING]
* OPT: Allow anonymous ussage of the Logger class.


git-svn-id: svn://localhost/gambas/trunk@6775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 04:13:38 +00:00
Sebastian Kulesz
af26132b65 [GB.LOGGING]
* NEW: Use handlers so that each logger can output to multiple
  locations, and several loggers can share a handler.


git-svn-id: svn://localhost/gambas/trunk@6774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 03:38:46 +00:00
Benoît Minisini
1709cd1302 [GB.SDL2]
* NEW: Mouse and keyboard support.
* NEW: TTF fonts support.


git-svn-id: svn://localhost/gambas/trunk@6773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-29 01:39:45 +00:00
Benoît Minisini
a434a994c0 [GB.SDL2]
* BUG: Forget some files.


git-svn-id: svn://localhost/gambas/trunk@6772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-27 19:05:42 +00:00
Benoît Minisini
a8e23e8c23 [GB.SDL2]
* NEW: Image class.
* NEW: Can load images now, thanks to SDL_image.
* NEW: Image drawing, with optional opacity and rotation.


git-svn-id: svn://localhost/gambas/trunk@6771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-27 11:24:05 +00:00
Benoît Minisini
7f06ab1316 [GB.SDL2]
* NEW: Add the event loop, the framerate limitation, the Draw class.
* NEW: 'SDL2_image' will be used for image I/O instead of 'gb.image.io'.


git-svn-id: svn://localhost/gambas/trunk@6770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-27 08:33:25 +00:00
Benoît Minisini
6557ebfbc8 [GB.SDL2]
* NEW: Start rewriting the SDL component with SDL 2.


git-svn-id: svn://localhost/gambas/trunk@6769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-26 17:34:32 +00:00
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