Commit graph

3645 commits

Author SHA1 Message Date
Benoît Minisini
8f054e7655 [DEVELOPMENT ENVIRONMENT]
* NEW: Allow a component to have a requirement on the XML implementation 
  feature (i.e. 'gb.xml' or 'gb.libxml').


git-svn-id: svn://localhost/gambas/trunk@5617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-10 11:07:38 +00:00
Benoît Minisini
9d5fbfa84d [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly raise an error when opening a void form file.


git-svn-id: svn://localhost/gambas/trunk@5616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:41:13 +00:00
Benoît Minisini
03f1b78370 [GB.QT4]
* BUG: Sunken and raised borders are now drawn correctly with styles like 
  CleanLooks that incorrectly take the current painter brush into account.


git-svn-id: svn://localhost/gambas/trunk@5615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:39:24 +00:00
Benoît Minisini
80e53c8dbd [INTERPRETER]
* BUG: Fix a memory leak when trying to run a non-existant program with 
  EXEC or SHELL.


git-svn-id: svn://localhost/gambas/trunk@5614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:21:48 +00:00
Benoît Minisini
0e7ca733b8 [GB.DESKTOP]
* BUG: Desktop.SendMail() does not quote the "-" character in e-mail 
  addresses anymore.


git-svn-id: svn://localhost/gambas/trunk@5613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 13:21:29 +00:00
Benoît Minisini
8b6c4b72f8 [GB.QT4]
* BUG: ShowModal() now honors the initial window state (full screen, 
  maximized...)


git-svn-id: svn://localhost/gambas/trunk@5612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 12:34:59 +00:00
Benoît Minisini
cb37409e50 [GB.GTK]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.

[GB.QT4]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.


git-svn-id: svn://localhost/gambas/trunk@5608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-02 21:37:59 +00:00
Benoît Minisini
d11346ef5b [DEVELOPMENT ENVIRONMENT]
* NEW: Display a warning at project loading when some libraries are missing.
* BUG: Prevent from selecting two different libraries with the same name.

[GB.JIT]
* BUG: Fix compilation error.


git-svn-id: svn://localhost/gambas/trunk@5607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-01 10:35:25 +00:00
Benoît Minisini
f3bfb12e5b [GB.FORM]
* NEW: Add text fields to enter the time in the calendar popup. Add an 
  apply button too.


git-svn-id: svn://localhost/gambas/trunk@5606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 19:19:42 +00:00
François Gallo
dbaa1cf059 [GB.GSL]
* BUG: fix duplicate symbols issues when compiling on OSX.


git-svn-id: svn://localhost/gambas/trunk@5605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 06:28:32 +00:00
Benoît Minisini
9cda9ad176 [ARCHIVER]
* BUG: The previous fix was incorrect. We can now really create an 
  executable when the project directory and the target directory are not on 
  the same device.


git-svn-id: svn://localhost/gambas/trunk@5604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 06:24:30 +00:00
Benoît Minisini
9f1286f161 [ARCHIVER]
* BUG: Be able to create the executable file if /tmp and the target 
  directory are not on the same device.


git-svn-id: svn://localhost/gambas/trunk@5603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 05:51:47 +00:00
Benoît Minisini
b3640ae064 [DEVELOPMENT ENVIRONMENT]
* NEW: The 'Project -> Refresh' menu entry now reloads the symbol 
  information of all components and libraries used by the project.


git-svn-id: svn://localhost/gambas/trunk@5602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 02:01:17 +00:00
Benoît Minisini
165be4a66a [INTERPRETER]
* NEW: Clean up object referencement macros.


git-svn-id: svn://localhost/gambas/trunk@5601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-30 13:51:10 +00:00
Benoît Minisini
2231d3f2e6 [INTERPRETER]
* BUG: Correctly free things then something bad happens while starting a 
  child process.


git-svn-id: svn://localhost/gambas/trunk@5600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-30 12:15:18 +00:00
Benoît Minisini
ca7856bf80 [INTERPRETER]
* NEW: Clean up allocation macros.

{GB.EVAL.HIGHLIGHT]
* NEW: Add 'transition' to the CSS keywords.


git-svn-id: svn://localhost/gambas/trunk@5599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-29 23:33:01 +00:00
Benoît Minisini
f765913b0b [GB.OPENGL.SGE]
* BUG: Remove 'aclocal.m4' file from repository, as it is a generated file.


git-svn-id: svn://localhost/gambas/trunk@5598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-28 21:34:27 +00:00
Benoît Minisini
31a185f7e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Add translations for details of the E_CHILD error message.

[INTERPRETER]
* NEW: If the program name of EXEC is an absolute path, immediately raise 
  an error if it does not exist.


git-svn-id: svn://localhost/gambas/trunk@5597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-28 21:33:19 +00:00
Benoît Minisini
0c43f12fb8 [GB.OPENGL.SGE]
* BUG: Remove generated files that must not go into the repository.


git-svn-id: svn://localhost/gambas/trunk@5596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-27 09:01:10 +00:00
Tomek
e4f4e63ca4 [GB.OPENGL]
* NEW Added some new constants

[EXAMPLES]
*OPT Minor update to Md2Model Example



git-svn-id: svn://localhost/gambas/trunk@5595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 15:00:24 +00:00
Adrien Prokopowicz
4f29df851f [GB.XML.HTML]
* BUG: Does not crash anymore if the id or class properties does not exist when reading them.

git-svn-id: svn://localhost/gambas/trunk@5594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 14:25:18 +00:00
Tomek
84c5d3ee75 [GB.OPENGL.SGE]
* NEW Experimental component with simple game engine
* NEW Quake Md2Model loadr and renderer

[EXAMPLES]
* NEW Md2Moel example



git-svn-id: svn://localhost/gambas/trunk@5593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 14:13:19 +00:00
Tomek
73142c1dd8 git-svn-id: svn://localhost/gambas/trunk@5592 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-03-26 13:49:55 +00:00
Tomek
6aa2025e37 [GB.SGE]
* BUG Forgot to add files :(

[EXAMPLES]
* BUG Frogot to add...




git-svn-id: svn://localhost/gambas/trunk@5591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 12:55:55 +00:00
Tomek
e9fa6010ed [GB.SGE]
* NEW: New experimental component for simple OpenGL gaming engine.
* NEW: Md2Model loader and renderer.

[EXAMPLES]
* NEW: Example to show how to use new Md2Model component.



git-svn-id: svn://localhost/gambas/trunk@5590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 12:44:16 +00:00
Benoît Minisini
da707d38a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Search result list now displays the procedure name.
* NEW: System information now tells libcurl version.


git-svn-id: svn://localhost/gambas/trunk@5587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-23 18:38:23 +00:00
Benoît Minisini
71167549bf [INTERPRETER]
* NEW: Add debugging code for issue 415.


git-svn-id: svn://localhost/gambas/trunk@5586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-23 18:25:12 +00:00
Benoît Minisini
43b8448af8 [INTERPRETER]
* BUG: Don't flush the process output at process end if the process stream 
  has already been closed.


git-svn-id: svn://localhost/gambas/trunk@5585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-23 18:12:36 +00:00
Benoît Minisini
5bb744d18b [GB.NET.CURL]
* BUG: Don't try to raise the Read event again and again if there is no 
  event handler for that event.


git-svn-id: svn://localhost/gambas/trunk@5584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-19 19:01:49 +00:00
Benoît Minisini
54f3e89585 [INTERPRETER]
* BUG: When the default date format associated with the current locale is 
  not a numeric one, use the american format. It was done for 'en_PH' 
  locale.


git-svn-id: svn://localhost/gambas/trunk@5583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 22:24:18 +00:00
Benoît Minisini
9f696c8352 [GB.GUI.BASE]
* BUG: Draw.FillStyle has been implemented.

[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.


git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 00:48:55 +00:00
Adrien Prokopowicz
09c28801f7 [GB.NET.CURL]
* BUG: Initialize the HTTP data buffers before filling them.

[GB.XML.HTML]
* BUG: The XmlElement.GetChildById() method is now correctly implemented.

git-svn-id: svn://localhost/gambas/trunk@5581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-15 20:06:05 +00:00
Radek Fryšták
e74be10518 [EXAMPLES]
* NEW: check and update czech translate


git-svn-id: svn://localhost/gambas/trunk@5580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-14 20:05:34 +00:00
Radek Fryšták
8323d5386d [DEVELOPMENT ENVIRONMENT]
* NEX: check and update czech translate


git-svn-id: svn://localhost/gambas/trunk@5579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-14 19:51:16 +00:00
Benoît Minisini
82f9ea714e [GB.GTK]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.

[GB.QT4]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@5578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-10 16:05:22 +00:00
Benoît Minisini
71d052a379 [GB.QT.WEBKIT]
* BUG: Creating a WebElement should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-09 22:13:01 +00:00
Benoît Minisini
c339c2b626 [GB.GUI.BASE]
* OPT: IconView items refresh is delayed if the IconView is locked.

[GB.FORM]
* BUG: Regular expressions of a file filter are splitted by the ";" 
  character only now. Not the comma anymore.
* NEW: FileView: The IconView grid size takes the icon size into account
  automatically now.

[GB.WEB]
* BUG: The Session timeout is correctly computed now.


git-svn-id: svn://localhost/gambas/trunk@5576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-09 15:10:10 +00:00
Adrien Prokopowicz
de1f5d50bc [GB.XML]
* BUG: XmlTextNode now behaves correctly if a null string or zero length is given to its constructor.
* OPT: Does not memchr() anymore to determine if the text representation of an element is self-closed, 
   allowing to improve XmlNode.ToString() (and similar) performance.
* OPT: The XmlNode.Serialize() now allocates a new string only if there are differences between the 
   original one and the escaped one, allowing to improve XmlNode.ToString() (and similar) performance.

git-svn-id: svn://localhost/gambas/trunk@5575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-05 19:06:07 +00:00
Adrien Prokopowicz
1df7e9baba [GB.XML]
* OPT: Check if an element is self-closed only once when getting its string representation.

git-svn-id: svn://localhost/gambas/trunk@5574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-04 04:29:20 +00:00
Adrien Prokopowicz
a300b16b36 [GB.XML.HTML]
* BUG: HtmlDocument now correctly sends its Doctype while getting its string representation.

git-svn-id: svn://localhost/gambas/trunk@5573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-04 04:27:35 +00:00
Benoît Minisini
771c1933fc [GB.QT4]
* BUG: Fix a possible crash in the previous TextArea modification.


git-svn-id: svn://localhost/gambas/trunk@5572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-04 01:31:05 +00:00
Benoît Minisini
45d8058159 [GB.GUI.BASE]
* NEW: Common renaming routine for TextView, ListView, ColumnView and 
  IconView.
* NEW: IconView.Renaming is a new property that returns if an item is being
  renamed.
* BUG: Renaming an IconView item now correctly works if the IconView is 
  sorted.
* NEW: FileChooser and DirChooser now can rename or delete files.

[GB.QT4]
* NEW: TextArea inner margin is now two pixels when there is a border, and
  zero pixels when there is no border.


git-svn-id: svn://localhost/gambas/trunk@5571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 22:34:30 +00:00
Benoît Minisini
9d8ea10115 [GB.WEB]
* OPT: Use the gb.compress component to compress responses instead of 
  running an external 'gzip' process.


git-svn-id: svn://localhost/gambas/trunk@5570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 00:51:21 +00:00
Benoît Minisini
514b6a95a5 [INTERPRETER]
* NEW: Defining the PWD environment variable in a SHELL or EXEC instruction
  changes the working directory of the child process.


git-svn-id: svn://localhost/gambas/trunk@5569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 22:42:05 +00:00
Benoît Minisini
84f819541a [GB.GUI.BASE]
* BUG: The default ColumnView sorting now correctly takes the column into 
  account.


git-svn-id: svn://localhost/gambas/trunk@5568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 15:31:17 +00:00
Benoît Minisini
33bf1fb500 [INTERPRETER]
* BUG: When the parent of an observer is detected invalid while raising an 
  event, detach the observer and not the observed object!


git-svn-id: svn://localhost/gambas/trunk@5567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 02:11:17 +00:00
Benoît Minisini
1649f86d86 [GB.DRAW]
* BUG: Fix a stupid typo. Now PointF now works correctly!


git-svn-id: svn://localhost/gambas/trunk@5566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-25 17:25:56 +00:00
Adrien Prokopowicz
7c84222a5a * BUG: The XmlExplorer.ReadFlags._get() method now returns a valid value if the flag ID is out of bounds
* BUG: Fixes a few memory leaks when freeing an XmlExplorer
* BUG: Fixes a crash when creating Attributes without values
* BUG: The XmlExplorer.Node property does not raises a Null Object error when reaching the end of the document
* BUG: XmlReader now raises an appropriate error if an lt sign is inside a tag
* OPT: The XmlExplorer.Open() method now directly calls the XmlDocument constructor instead of using an intermediate buffer

git-svn-id: svn://localhost/gambas/trunk@5565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-25 00:55:30 +00:00
Adrien Prokopowicz
e4a6208b16 [GB.XML]
* BUG: The XML parser does not complain anymore when encountering a PI.
* BUG: Error positions now start from 1 instead of 0.

git-svn-id: svn://localhost/gambas/trunk@5564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 23:26:01 +00:00
Matti
06477a9e9d [EXAMPLES]
* BUG: Lighttable: Correct renaming of files if ScrollView is expanded
* OPT: Lighttable: Allow double-click on DirChooser



git-svn-id: svn://localhost/gambas/trunk@5563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 17:57:00 +00:00