Commit graph

4250 commits

Author SHA1 Message Date
Adrien Prokopowicz
119b7e2c47 [GB.XML]
* BUG: Fix incorrect Makefile.am.

[GB.XML.HTML]
* BUG: Fix incorrect Makefile.am.
* BUG: Fix incorrect file naming conventions.

git-svn-id: svn://localhost/gambas/trunk@5888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:06:31 +00:00
Benoît Minisini
ec5cb392f3 [INTERPRETER]
* NEW: Process.Ignore is a now a boolean property.


git-svn-id: svn://localhost/gambas/trunk@5887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 17:55:35 +00:00
Benoît Minisini
255fc160fe [GB.DATA]
* BUG: Fix incorrect Makefile.am file.

[GB.XML.HTML]
* BUG: Fix incorrect Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@5886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 14:19:09 +00:00
Benoît Minisini
4f566fa199 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot the description of gb.opengl.sge.

[INTERPRETER]
* BUG: Propagate the GB_DATE_SERIAL structure changes to all components.


git-svn-id: svn://localhost/gambas/trunk@5879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 12:39:56 +00:00
Adrien Prokopowicz
815d513319 [GB.XML.HTML]
* BUG: Searching elements by CSS filter works correctly now.

git-svn-id: svn://localhost/gambas/trunk@5878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 21:43:43 +00:00
Benoît Minisini
f394521ef1 [CONFIGURATION]
* NEW: Switch version to 3.5.0


git-svn-id: svn://localhost/gambas/trunk@5875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 21:19:16 +00:00
Benoît Minisini
b8f97a8df4 [GB.GTK]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.

[GB.QT4]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.


git-svn-id: svn://localhost/gambas/trunk@5874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 12:45:15 +00:00
Benoît Minisini
b60772bfad [INTERPRETER]
* BUG: Synchronize the 'gambas.h' header with the internal date management 
  changes of rev. #5871.


git-svn-id: svn://localhost/gambas/trunk@5873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 07:11:39 +00:00
Benoît Minisini
d309fe5598 [GB.QT4.EXT]
* NEW: If nothing is selected, SHIFT+TAB unindent the current line.


git-svn-id: svn://localhost/gambas/trunk@5872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 22:43:51 +00:00
Benoît Minisini
678921ef40 [WIKI CGI SCRIPT]
* BUG: Fix the "search" link.

[INTERPRETER]
* NEW: Date() and Time() now takes the milliseconds as an extra optional 
  argument.
* BUG: Time() with one argument correctly converts it to a date.
* NEW: Date() and Time() now always check the range validity of their 
  arguments.

[GB.DB.FORM]
* NEW: DataControl does not change the background of mandatory field and 
  the font of primary key fields anymore.
* NEW: DateControl.Control is a new property that returns the underlying
  control used for editing the field data.

[GB.GUI.BASE]
* NEW: HSplit and VSplit have a new Border property that define if the 
  splitter separator is visible or not.
* NEW: HSplit and VSplit now take the Spacing property into account.


git-svn-id: svn://localhost/gambas/trunk@5871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 21:06:38 +00:00
Benoît Minisini
9f8a619082 [GB.NET.CURL]
* NEW: FtpClient.NoEPSV is a new property that prevents the use of EPSV. In
  other words, the FtpClient will always use PASV.


git-svn-id: svn://localhost/gambas/trunk@5870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:32:15 +00:00
Benoît Minisini
96c4303a31 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatically unfold procedures while doing a text search. 
  Consequently, search & replace now works correctly when procedures are
  folded.


git-svn-id: svn://localhost/gambas/trunk@5869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:21:31 +00:00
Benoît Minisini
1de5f7f803 [DEVELOPMENT ENVIRONMENT]
* BUG: Always use "svn --force" when deleting a file in a project under
  version control.

[INTERPRETER]
* BUG: Fix a structure alignment for ARM architecture.

[GB.FORM]
* NEW: The image preview background task is now run with a lower priority.


git-svn-id: svn://localhost/gambas/trunk@5868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 21:58:37 +00:00
Benoît Minisini
e3d64af7ff [COMPILER]
* BUG: Correctly raise a syntax error if the FOR EACH variable is not
  immediately followed by the IN keyword.


git-svn-id: svn://localhost/gambas/trunk@5867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-03 13:21:36 +00:00
Benoît Minisini
0f3e0628ca [INTERPRETER]
* NEW: Application.Priority is a new property that allows to define the
  scheduling priority of the current process (or task). See it as an 
  interface to the nice() system call.


git-svn-id: svn://localhost/gambas/trunk@5866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-01 09:12:51 +00:00
Tobias Boege
a2756c284f [GB.DATA]
* BUG: List: Fix two false positive compiler warnings on some systems.
* BUG: AvlTree: Don't forward-declare a typedef. It bothers some compilers.
* BUG: Also update Key from AvlTree_get().
* BUG: Invalidate the enumerators in AvlTree.Clear()



git-svn-id: svn://localhost/gambas/trunk@5865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-01 06:23:08 +00:00
Benoît Minisini
4416b3b793 [DEVELOPMENT ENVIRONMENT]
* NEW: Use 'script' icon for javascript files.
* NEW: Autocomplete INHERITS keyword with classes.

[EXAMPLES]
* BUG: Fix Wizard example.

[GB.EVAL.HIGHLIGHT]
* BUG: JavaScript: Fix regular expression highlighting.


git-svn-id: svn://localhost/gambas/trunk@5864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 22:06:03 +00:00
Benoît Minisini
3aac050f86 [GB.FORM.STOCK]
* NEW: New 'script' standard icon.


git-svn-id: svn://localhost/gambas/trunk@5863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:57:30 +00:00
Benoît Minisini
4e9ae39cff [GB.FORM]
* NEW: FileView preview is now done from a background task.
* NEW: SVG files are handled by FileView preview now.
* NEW: Add the new 'script' icon to the standard icons list.


git-svn-id: svn://localhost/gambas/trunk@5862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:56:49 +00:00
Benoît Minisini
e7f4c0967f [INTERPRETER]
* BUG: Task.Stop now behaves correctly if the task has not been yet 
  actually started.
* NEW: Stopped task temporary files are automatically removed.


git-svn-id: svn://localhost/gambas/trunk@5861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:54:47 +00:00
Benoît Minisini
0d183b038d [INTERPRETER]
* NEW: Remove as much "packed" structure declaration as possible, to 
  prevent possible bugs on ARM architecture.


git-svn-id: svn://localhost/gambas/trunk@5860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 16:56:12 +00:00
Benoît Minisini
2933a56fed [GB.QT4]
* BUG: Really fix the ButtonBox/MaskBox popup menu problem.


git-svn-id: svn://localhost/gambas/trunk@5859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 15:29:07 +00:00
Benoît Minisini
2ea470b913 [GB.QT4]
* BUG: A Menu event handler stops the default control menu behaviour only 
  if STOP EVENT is used. Consequently, MaskBox and ButtonBox now display
  the default TextBox popup menu correctly.


git-svn-id: svn://localhost/gambas/trunk@5858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 23:09:00 +00:00
Benoît Minisini
0c8cd47114 [INTERPRETER]
* BUG: Fix a structure alignment bug for ARM.


git-svn-id: svn://localhost/gambas/trunk@5857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 21:21:40 +00:00
Benoît Minisini
f6ff035982 [COMPILER]
* BUG: Fix a structure declaration that prevented the compiler to work 
  correctly on the ARM architecture.


git-svn-id: svn://localhost/gambas/trunk@5856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 20:14:06 +00:00
Benoît Minisini
95f65e2310 [EXAMPLES]
* BUG: Fix WebCam example.


git-svn-id: svn://localhost/gambas/trunk@5855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 17:10:23 +00:00
Benoît Minisini
bec232900d [GB.V4L]
* BUG: Fix VideoDevice stream structure.


git-svn-id: svn://localhost/gambas/trunk@5854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 17:02:59 +00:00
Alexander Kuiper
13b97b38d6 [GB.XML.RPC]
* NEW: HTTP/1.1 100-Continue support in miniServer (specially for OpenRemote)
* BUG: HTTP/1.0 and 1.1 weren't recognized correctly
* BUG: Relaxed content-length check for buggy HTTP/1.0 clients


git-svn-id: svn://localhost/gambas/trunk@5853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-27 18:45:48 +00:00
Benoît Minisini
a255967090 [GB.QT4.OPENGL]
* BUG: Don't use GL_LIGHTING if it is not defined. It seems to be the case
  with OpenGL ES.


git-svn-id: svn://localhost/gambas/trunk@5852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-26 11:27:39 +00:00
Benoît Minisini
28cd200d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for metadata in field and index 
  definitions. Metadata are enabled if the corresponding check-box is 
  checked in the connection properties dialog.
* NEW: Database editor: Some redesign of the sql queries editor.


git-svn-id: svn://localhost/gambas/trunk@5851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-23 00:57:40 +00:00
Fabien Bodard
9cdb81e3ab git-svn-id: svn://localhost/gambas/trunk@5850 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-09-21 20:24:23 +00:00
Fabien Bodard
f3d231051b [GB.REPORT]
* BUG: Set the last functions static.


git-svn-id: svn://localhost/gambas/trunk@5849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:21:03 +00:00
Fabien Bodard
d3a77cb742 [GB.REPORT]
* NEW: Now ReportBrush have public method to make a ReportBrush more easily.
  Color, Image, LinearGradient, RadialGradient.




git-svn-id: svn://localhost/gambas/trunk@5848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:13:34 +00:00
Benoît Minisini
eb825be426 [GB.GTK]
* BUG: Fix Enabled property behaviour by just renaming a method. There is 
  something weird I didn't understood. :-/


git-svn-id: svn://localhost/gambas/trunk@5847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 23:58:47 +00:00
Benoît Minisini
b24611a521 [GB.CAIRO]
* BUG: Cairo.ImagePattern() now internally keeps a reference to the source 
  image so that the image data is not unexpectedly freed before the 
  pattern.


git-svn-id: svn://localhost/gambas/trunk@5846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 22:22:38 +00:00
Benoît Minisini
00ce7c81ad [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash in the project version control dialog if storing 
  passwords is not possible on the current desktop.
* NEW: Database connection editor: SQL request now can be stored with the 
  connection.
* BUG: Fix 'move up', 'move down', 'move left' and 'move right' commands in 
  the menu editor.



git-svn-id: svn://localhost/gambas/trunk@5845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-17 08:53:35 +00:00
Benoît Minisini
6ad5dc4902 [GB.DESKTOP]
* NEW: Desktop.Passwords.Enabled is a new property that returns if storing
  passwords is possible on the current desktop.


git-svn-id: svn://localhost/gambas/trunk@5844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-17 08:50:25 +00:00
Benoît Minisini
8106069ddb [DEVELOPMENT ENVIRONMENT]
* NEW: The name of the database metadata table is "__gb_metadata" now.
* NEW: Add a "display metadata" option in the connection properties.
* NEW: The file creation dialog now can create javascript files.


git-svn-id: svn://localhost/gambas/trunk@5843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 22:42:09 +00:00
Fabien Bodard
f1ae3e8d36 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new description column to the field editor of Database editor.
  This function is not enabled by default. And the option page is not ready.



git-svn-id: svn://localhost/gambas/trunk@5842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 20:02:41 +00:00
Adrien Prokopowicz
f6d866e635 [GB.XML]
* BUG: Fixed HTML5 Doctype handling.
* BUG: The "Extra root element" error is not thrown on HTML documents 
  anymore.
* BUG: The GetChildrenByAttributeValue() method still checks the child 
  nodes even if the given node is not an element.

[GB.XML.HTML]
* NEW: A closing tag that doesn't close any open tag, is now silently
  ignored.
* NEW: Malformed tags' contents are now silently ignored.
* BUG: Forgot to Implement the HtmlDocument.GetElementsByClassName() 
  method.
* BUG: Fixed self-closed elements handling.

git-svn-id: svn://localhost/gambas/trunk@5841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-13 20:54:42 +00:00
Benoît Minisini
c4e73d4b8a [GB.GTK]
* BUG: Calling TrayIcon.Delete now correctly updates the internal number of 
  visible tray icons.


git-svn-id: svn://localhost/gambas/trunk@5840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-12 14:12:34 +00:00
Benoît Minisini
d305d289ce [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compressor: between "// <verbatim>" and "// </verbatim>" 
  comments, no symbol is compressed.
* NEW: If a variable beginning with "$" is unknown, it is now declared as a
  private global variable, not a local variable.


git-svn-id: svn://localhost/gambas/trunk@5839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-11 22:30:59 +00:00
Benoît Minisini
f27f0643cd [EXAMPLES]
* NEW: Md2Model: Draw a lot of models (up to about 240000 vertices, the 
  maximum I can draw in 1/50th second on my Core i5 @ 3.4 GHz).

[GB.OPENGL.SGE]
* OPT: Use triangle fan and strip commands to draw the models.
* NEW: Md2Object.Draw() returns the number of vertices drawn.


git-svn-id: svn://localhost/gambas/trunk@5838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-09 17:19:16 +00:00
Benoît Minisini
3f71877a8b [EXAMPLES]
* NEW: Rework Md2Model example with the new gb.opengl.sge interface.

[GB.OPENGL.SGE]
* NEW: Split the model into Md2Model and Md2Object classes. Many Md2Object
  can share the same model.


git-svn-id: svn://localhost/gambas/trunk@5837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 23:19:36 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
812bec445b [DEVELOPMENT ENVIRONMENT]
* NEW: Complete the french translation.

[INTERPRETER]
* BUG: Class reimplementation of Abs() now can return an object or a 
  floating-point number.

[GB.COMPLEX]
* BUG: Abs() on a Complex returns a Float.

[GB.GEOM]
* BUG: Abs() on a Point or a PointF returns a Float.

[GB.GSL]
* BUG: Abs() on a Complex returns a Float.


git-svn-id: svn://localhost/gambas/trunk@5835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 23:09:01 +00:00
Benoît Minisini
fd639b312b [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of icon paths (i.e. strings beginning with 
  "icon:/").
* BUG: The Backspace key now works correctly with autocompletion of project 
  paths (i.e. strings beginning with "./").


git-svn-id: svn://localhost/gambas/trunk@5834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:45:16 +00:00
Benoît Minisini
5752d9b20c [DEVELOPMENT ENVIRONMENT]
* BUG: Some file path automatic completion fixes.


git-svn-id: svn://localhost/gambas/trunk@5833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:26:31 +00:00
Benoît Minisini
c4346d3f44 [GB.GMP]
* NEW: Support for rational numbers.


git-svn-id: svn://localhost/gambas/trunk@5832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 00:51:25 +00:00
Benoît Minisini
27a8656a74 [CONFIGURATION]
* NEW: Update the README file, and add a copy of the wiki installation 
  instructions in the INSTALL.html file.


git-svn-id: svn://localhost/gambas/trunk@5831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-05 13:35:16 +00:00