Commit graph

4709 commits

Author SHA1 Message Date
Benoît Minisini
a5f2cb1575 [FARM SERVER]
* NEW: Software screenshot can be deleted by the client.

[INTERPRETER]
* NEW: The little interpreter sleep is now done inside the watch file 
  descriptor read callback only. So no need to implement it in each
  component event loop.

[GB.SDL2]
* BUG: The SDL event loop now calls the interpreter event loop so that 
  timers and watched file descriptor are correctly handled.


git-svn-id: svn://localhost/gambas/trunk@6792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 03:44:30 +00:00
Benoît Minisini
cc08725fe4 [INTERPRETER]
* NEW: Do not stop watching a file descriptor that is ready to read but has 
  no data.
* NEW: Sleep up to 10 ms if the event loop is called too often.


git-svn-id: svn://localhost/gambas/trunk@6791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 02:22:22 +00:00
Benoît Minisini
3a0f4eaafd [DEVELOPMENT ENVIRONMENT]
* NEW: Publish dialog: Make screenshot options more verbose.


git-svn-id: svn://localhost/gambas/trunk@6790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 00:05:41 +00:00
Benoît Minisini
ab5719f199 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the screenshot tool.
* NEW: Publish software dialog: Now the software screenshot can be removed,
  taken from the clipboard or loaded from any file. It does not have to be
  stored inside the project anymore.


git-svn-id: svn://localhost/gambas/trunk@6789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 23:58:09 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
9482afcd01 [GB.SCANNER]
* BUG: Fix component project version.


git-svn-id: svn://localhost/gambas/trunk@6787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:19:29 +00:00
Benoît Minisini
ef0eae0250 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add an option to replace existing translations 
  when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error 
  anymore.

[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.

[GB.GTK]
* BUG: Implement the Invert property in vertical containers.

[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.

[GB.QT4]
* BUG: Implement the Invert property in vertical containers.


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Tobias Boege
8e1ca6210f [DEVELOPMENT ENVIRONMENT]
* OPT: FPatch: Make hunk (un)checking behave more intuitive.
* BUG: FMakePatch: Don't add a patch to the viewer multiple times.



git-svn-id: svn://localhost/gambas/trunk@6785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 18:26:47 +00:00
Benoît Minisini
7dca5a263a [GB.SDL2]
* NEW: Font.DefaultHeight is a new constant that returns the height of the 
  default font.

[GB.SDL2.AUDIO]
* NEW: Sound.Play method has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 15:49:49 +00:00
Benoît Minisini
9019886842 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm software: Fix software list refreshing and upgrade process. The
  upgrade process still not work flawlessly.


git-svn-id: svn://localhost/gambas/trunk@6783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 15:44:33 +00:00
Benoît Minisini
327ad6bacf [GB.SDL2.AUDIO]
* BUG: Fix Music.Volume property.


git-svn-id: svn://localhost/gambas/trunk@6782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-31 13:38:28 +00:00
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