Commit graph

4674 commits

Author SHA1 Message Date
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
Benoît Minisini
3dc8d48deb [DEVELOPMENT ENVIRONMENT]
* BUG: Help on virtual classes (like TreeView.Item) is correctly displayed 
  now.
* NEW: Software farm: Filter softwares by vendor name.

[FARM SERVER]
* NEW: Use X.Y.Z version number syntax inside requests arguments.
* NEW: Software can be stored in different X.Y versions.
* NEW: Request for computing software dependencies.
* NEW: Filter software search by vendor name.

[GB.FORM]
* NEW: ButtonBox: ClearButton is a new property that enabled a clear button
  besides the standard ButtonBox button. The 'Clear' event is raised when
  the clear button is clicked.

[GB.UTIL]
* NEW: File.FormatSize() formats a file size in bytes, KiB (1000 bytes),
  MiB (1 000 000 bytes), and GiB (10^9 bytes).


git-svn-id: svn://localhost/gambas/trunk@6717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:38:05 +00:00
Benoît Minisini
736e44b561 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Mageia package generation.


git-svn-id: svn://localhost/gambas/trunk@6716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-11 20:26:59 +00:00
Fabien Bodard
204a1b168c [GB.MAP]
* New: Interface to implement WMS support
* New: Proj class is a frontend to cs2cs to make projection
  transformation.


git-svn-id: svn://localhost/gambas/trunk@6715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-10 21:04:18 +00:00
Benoît Minisini
7fccfc0241 [GB.QT4.EXT]
* BUG: Editor: Don't draw line numbers if the margin is hidden.


git-svn-id: svn://localhost/gambas/trunk@6714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-09 18:45:33 +00:00
Fabien Bodard
2a94a43be6 [GB.FORM]
* BUG: Resolve a bug on recursive call of Layout procedure.



git-svn-id: svn://localhost/gambas/trunk@6713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-07 10:01:37 +00:00
Tobias Boege
ea6578d19b [C2HELP]
* NEW: Scripts to generate Gambas documentation files from C/C++ sources



git-svn-id: svn://localhost/gambas/trunk@6712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-06 13:18:04 +00:00
Adrien Prokopowicz
a213747294 [GB.XML]
* BUG: Parsing errors are now correctly thrown.
* BUG: Fixed some memory leaks when an error is raised.

git-svn-id: svn://localhost/gambas/trunk@6711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-06 03:16:33 +00:00
Benoît Minisini
2138336e8f [GB.QT4]
* BUG: Don't fill the menu bar background. Let it be transparent.


git-svn-id: svn://localhost/gambas/trunk@6710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-04 01:29:44 +00:00
Benoît Minisini
e6f3fb336e [GB.GTK]
* BUG: Menu opened through the PopupMenu property work correctly now.

[GB.GTK3]
* BUG: Menu opened through the PopupMenu property work correctly now.


git-svn-id: svn://localhost/gambas/trunk@6709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 14:24:47 +00:00
Benoît Minisini
b4c89ab52b [INTERPRETER]
* BUG: Do read ahead for any watched file descriptor. It may break when 
  watching special device files, depending on its internal kernel driver 
  behaviour. We'll see.


git-svn-id: svn://localhost/gambas/trunk@6708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 12:13:35 +00:00
Benoît Minisini
637e5141f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Publishing a software now requires a vendor name.
* NEW: Software installation state is now indicated by a little triangle on 
  the bottom right of the software box.
* NEW: No gradient for drawing project or software boxes, but a solid 
  background.

[FARM SERVER]
* NEW: Add 'vendor' and 'size' field in the software table.
* NEW: Vendor is required when publishing a software.
* NEW: One can search for software by package size.

[GB.DESKTOP]
* NEW: DesktopFile: GenericName and Comment are two new properties 
  corresponding to the *.desktop file fields.


git-svn-id: svn://localhost/gambas/trunk@6707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 07:38:09 +00:00