Commit graph

4806 commits

Author SHA1 Message Date
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
Benoît Minisini
b7fd41bd69 [DEVELOPMENT ENVIRONMENT]
* NEW: Design changes in the welcome dialog.
* NEW: Add a dark gray background.

[GB.FORM]
* NEW: DirChooser & FileChooser: Draw a little arrow instead of a big arrow
  in the top directory box.


git-svn-id: svn://localhost/gambas/trunk@6706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 19:51:00 +00:00
Benoît Minisini
70fb104425 [GB.DB]
* BUG: Don't crash when trying to open a non-existing sqlite database with 
  the 'sqlite' pseudo-driver.


git-svn-id: svn://localhost/gambas/trunk@6705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 08:28:24 +00:00
Benoît Minisini
ad31e91156 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the background list.


git-svn-id: svn://localhost/gambas/trunk@6704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 02:18:37 +00:00
Benoît Minisini
702c451804 [GB.MARKDOWN]
* BUG: Fix replacement of lines of dashes by '<hr/>' markup.

[GB.UTIL]
* NEW: Date.ToUnixTime() and Date.FromUnixTime() are two new methods to 
  convert between Date and Unix timestamp.


git-svn-id: svn://localhost/gambas/trunk@6703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-02 00:22:41 +00:00
Benoît Minisini
b85a3631b3 [GB.UTIL]
* NEW: New interpreter utility routines component.


git-svn-id: svn://localhost/gambas/trunk@6702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 22:40:50 +00:00
Tobias Boege
4333eb8046 [GB.DATA]
* BUG: Trie: Fix a memory leak when an object is replaced



git-svn-id: svn://localhost/gambas/trunk@6701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 22:39:28 +00:00
Benoît Minisini
1c125c35d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The project open dialog has a bookmark that points at software 
  sources installed form the farm.
* NEW: Software farm: Software can be deleted from the farm, provided that
  you are the owner.

[FARM SERVER]
* NEW: A new request to remove a software from the farm.

[GB.FORM]
* BUG: FileChooser.Bookmarks and DirChooser.Bookmarks properties now have 
  the 'Collection[]' datatype.


git-svn-id: svn://localhost/gambas/trunk@6700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 22:38:49 +00:00
Tobias Boege
182b46c308 [GB.DATA]
* NEW: Trie: New Add() and Remove() cosmetic methods.



git-svn-id: svn://localhost/gambas/trunk@6699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 16:31:30 +00:00
Benoît Minisini
064ec73404 [INTERPRETER]
* BUG: 'Exec ... To' and 'Shell ... To' work correctly again.


git-svn-id: svn://localhost/gambas/trunk@6698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 16:22:34 +00:00
Benoît Minisini
a8f8239794 [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Fix request abortion.


git-svn-id: svn://localhost/gambas/trunk@6697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 14:11:32 +00:00
Benoît Minisini
0fb4390547 [DEVELOPMENT ENVIRONMENT]
* BUG: Publishing dialog: Take the description into account correctly.
* NEW: Software farm: Display the installed softwares.
* NEW: Software farm: Emit at most three requests simultaneously.
* BUG: Opening a web page in a browser now works if the BROWSER environment
  variable is not defined.
* NEW: Remove the white borders in the welcome dialog.

[GB.FORM]
* NEW: Wizard.ActionText and Wizard.ActionPicture are two new properties to
  define the contents of the final 'OK' wizard button.


git-svn-id: svn://localhost/gambas/trunk@6696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 13:56:06 +00:00
Benoît Minisini
64ac98d336 [GB.QT4]
* BUG: ScrollView: Layout is now correct if the ScrollBar property is set 
  to Scroll.None.


git-svn-id: svn://localhost/gambas/trunk@6695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 13:06:09 +00:00
Benoît Minisini
dfc8140da0 [INTERPRETER]
* BUG: The process error output callback now immediately closes its file 
  descriptor as soon as read() returns zero or an error, or if the Error
  event is not handled.


git-svn-id: svn://localhost/gambas/trunk@6694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 11:51:27 +00:00
Benoît Minisini
1fcb7bd02e [INTERPRETER]
* BUG: Don't remove the possible watch when freeing the file. The file may 
  be closed, and the file descritor may have been reused!


git-svn-id: svn://localhost/gambas/trunk@6693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 02:50:18 +00:00
Benoît Minisini
1a2901e961 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: When installing a software, tags that are desktop 
  menu official categories are used for creating the '*.desktop' file. 
  Consequently, the menu entry shold go to an accurate location of the 
  desktop application menu.
* NEW: Software farm: Some little desgin fixes.
* NEW: Publishing dialog: Some little fixes.

[FARM SERVER]
* BUG: Fix two bugs in search software request.

[INTERPRETER]
* NEW: The data format 'u' displays all milliseconds digits as soon as 
  there is at least two 'u' characters, and not if there is exactly two 
  'u' characters only.

[GB.DESKTOP]
* NEW: DesktopFile.Categories is a new property to read or set the 
  categories of a desktop menu entry.


git-svn-id: svn://localhost/gambas/trunk@6692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 00:47:48 +00:00
Benoît Minisini
89d56eb88f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when trying to download the offline help if 'wget' is 
  not installed on the system.
* BUG: Software farm: Don't create a '*.desktop' file if the software is a
  library or a component.
* NEW: Redesign the publish dialog by using a wizard.
* NEW: Use freedesktop categories as possible software tags.

[FARM SERVER]
* NEW: Add a 'size' field in the 'software' table, and an index to be able 
  to sort sotfwares by size later.

[INTERPRETER]
* BUG: Read data ahead before raising a Read event (on Process, File, or 
  any stream). Use the result of that read to detect EOF, as using the 
  stream end-of-file detection routine is not reliable.

[GB.FORM]
* BUG: FileProperties: Fix the media preview.

[GB.MEDIA.FORM]
* BUG: MediaView: Don't crash if the internal media player is not yet 
  initialized.


git-svn-id: svn://localhost/gambas/trunk@6691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 22:41:41 +00:00
Benoît Minisini
c88e47ddb9 [DEVELOPMENT ENVIRONMENT]
* BUG: Project icons are correctly read again.


git-svn-id: svn://localhost/gambas/trunk@6690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 00:36:53 +00:00
Benoît Minisini
03cd222bb8 [DEVELOPMENT ENVIRONMENT]
* NEW: Software farm: Software now can be safely installed or removed. The
  source checksum is checked, as well as the required components. Libraries
  and dependencies on other software are not yet taken into account. A
  '*.desktop' file is automatically created on installation now.

[INTERPRETER]
* NEW: Split() has a new behaviour when its escape argument has two 
  characters, the second one being the first splitting character. It uses
  the first character to escape splitting characters. For example,
  Split("a;b~;c;d",";","~;") returns ["a","b;c","d"].
* NEW: String[].Join() method handle the new Split syntax. 
  ["a","b;c","d"].Join(";","~;") returns "a;b~;c;d". Moreover, in the
  traditional escape syntax, the joined string are not escaped anymore if 
  they are void.

[GB.DESKTOP]
* NEW: DesktopFile.MimeTypes is a new property corresponding to the 
  'MimeType' entry of the '*.desktop' file.
* NEW: DesktopFile now can be used for creating or modifying '*.desktop' 
  files.


git-svn-id: svn://localhost/gambas/trunk@6689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-30 00:30:32 +00:00