Commit graph

2751 commits

Author SHA1 Message Date
Benoît Minisini
53fb481eee [EXAMPLES]
* NEW: Add a browse mode to the PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-24 14:04:23 +00:00
Benoît Minisini
1189c52ae1 [EXAMPLES]
* NEW: Fix and enhance PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-24 12:33:52 +00:00
Benoît Minisini
e0f151795c [DEVELOPMENT ENVIRONMENT]
* BUG: Do not fail when a library is not found.
* BUG: The packager now generates correct dependencies on libraries whose 
  major and minor version are both zero.


git-svn-id: svn://localhost/gambas/trunk@4666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 21:30:09 +00:00
Benoît Minisini
75f7ff9390 [WIKI CGI SCRIPT]
* BUG: Handle public variables like properties.

[EXAMPLES]
* NEW: A new PhotoTouch example I made so that my father can edit its photo
  with a simple software.


git-svn-id: svn://localhost/gambas/trunk@4665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 21:13:33 +00:00
Benoît Minisini
79c16878be [INTERPRETER]
* NEW: Do not raise an error when a file path cannot be converted to the 
  local charset. Just do not make the conversion.
* BUG: Freeing any Stream object now automatically closes it.
* BUG: Stream.ReadLine() with no second argument does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@4664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 16:02:35 +00:00
Benoît Minisini
d75c29e41b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly show error tooltip in splitted editors.


git-svn-id: svn://localhost/gambas/trunk@4663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 15:28:55 +00:00
Benoît Minisini
45cd3616fe [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly import translations whose original string begins or ends 
  with spaces.


git-svn-id: svn://localhost/gambas/trunk@4662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 15:11:13 +00:00
Benoît Minisini
13c81eedf5 [COMPILER]
* BUG: Display the right line number if there was a parser error inside a 
  form class file.


git-svn-id: svn://localhost/gambas/trunk@4661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 14:52:51 +00:00
Fabien Bodard
01939f5596 [GB.REPORT]
* OPT: Remove a not used function


git-svn-id: svn://localhost/gambas/trunk@4660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 06:49:36 +00:00
Adrien Prokopowicz
f897d771a6 [GB.XML]
* BUG: XSLT.Transform() does not crash anymore if the resulting document is empty.

git-svn-id: svn://localhost/gambas/trunk@4659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 22:29:42 +00:00
Benoît Minisini
5839e98745 [GB.IMAGE]
* NEW: Image.Opacity() is a new method that changes the opacity of an 
  image.


git-svn-id: svn://localhost/gambas/trunk@4658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 21:27:59 +00:00
Adrien Prokopowicz
828599ce9e [GB.XML]
* BUG: the parser now supports white spaces (http://www.w3.org/TR/REC-xml/#NT-S

git-svn-id: svn://localhost/gambas/trunk@4657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 18:51:24 +00:00
Adrien Prokopowicz
d2a24bbec0 [GB.XML]
* BUG: XmlReader and XmlWriter can now correctly open files with relative paths.

git-svn-id: svn://localhost/gambas/trunk@4656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 16:06:10 +00:00
Adrien Prokopowicz
5e582b1c6e [GB.XML]
* BUG: XmlReader can now correctly open files

git-svn-id: svn://localhost/gambas/trunk@4655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 10:37:40 +00:00
Adrien Prokopowicz
2cbff79d05 [GB.XML]
* BUG: the parser now correctly supports UTF-8
* BUG: the parser now allows all special characters in tag names and attribute names, including the UTF-8 ones, as defined in http://www.w3.org/TR/REC-xml/#NT-NameChar

git-svn-id: svn://localhost/gambas/trunk@4654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 02:51:53 +00:00
Adrien Prokopowicz
bda1b7d29d [GB.XML]
* BUG: removes not useful C++ flags.

git-svn-id: svn://localhost/gambas/trunk@4653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 22:32:11 +00:00
Adrien Prokopowicz
9cf1f269a6 [GB.XML]
* BUG: The '_' special char is now supported in tag names and attribute names.
* BUG: Problems with line count when displaying errors are now solved.
* BUG: Local projects configuration files have been removed.

git-svn-id: svn://localhost/gambas/trunk@4652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 21:46:17 +00:00
Benoît Minisini
ce4d8e6ebc [GB.QT4]
* BUG: Fix first drawing of a cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 14:04:23 +00:00
Benoît Minisini
4a32b1ed51 [WIKI CGI SCRIPT]
* NEW: Add "@since" special keyword.

[GB.FORM]
* BUG: GridView.SelectAll() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:44:35 +00:00
Benoît Minisini
f89e7ab223 [DEVELOPMENT ENVIRONMENT]
* BUG: Really fix project tree inheritance management.


git-svn-id: svn://localhost/gambas/trunk@4649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:40:31 +00:00
Benoît Minisini
56bd8f86d6 [GB.LIBXML]
* NEW: Keep gb.libxml only, for compatibility reasons, as an equivalent of 
  gb.xml based on libxml.


git-svn-id: svn://localhost/gambas/trunk@4648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:52:10 +00:00
Benoît Minisini
eae222f775 [GB.LIBXML]
* NEW: Remove gb.libxml.rpc component. It is unneeded.


git-svn-id: svn://localhost/gambas/trunk@4647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:50:24 +00:00
Benoît Minisini
3d4f507cc9 [GB.LIBXML]
* NEW: Remove gb.libxml.xslt component. It is unneeded.


git-svn-id: svn://localhost/gambas/trunk@4646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:49:41 +00:00
Benoît Minisini
2e1fedb669 [CONFIGURATION]
* NEW: Support for new gb.xml component family.

[DEVELOPMENT ENVIRONMENT]
* NEW: Support for new gb.xml component family.


git-svn-id: svn://localhost/gambas/trunk@4645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:45:18 +00:00
Adrien Prokopowicz
bcc54489c1 [GB.XML]
* NEW: New XML manipulation component

git-svn-id: svn://localhost/gambas/trunk@4644 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 22:57:18 +00:00
Tobias Boege
07e789c365 [GB.NCURSES]
* NEW: Added Color static class
* NEW: Added color support to Window class
* NEW: Window class now auto-creates a full-screen window
* NEW: Added Screen class for future use
* NEW: Moved symbols from NCurses to Screen where they belong now
* NEW: Key class supports array accessors as other Key classes do
* OPT: Drawing ASCII border if no alternate charset is supported
* BUG: Window.Print handles multiple lines correctly now
* BUG: Fixed Border problems with full-screen windows
* BUG: Fixed exchanged x,y parameters in resize internal function
* BUG: Fixed cursor mislead in internal function to copy window contents



git-svn-id: svn://localhost/gambas/trunk@4643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 20:40:56 +00:00
Benoît Minisini
2575107f89 [CONFIGURATION]
* NEW: Update version to 3.1.90.


git-svn-id: svn://localhost/gambas/trunk@4642 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 20:17:02 +00:00
Benoît Minisini
a771972a42 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when refreshing project tree inheritance.

[GB.LIBXML]
* BUG: Fix component configuration.

[GB.LIBXML.XSLT]
* BUG: Fix component configuration.


git-svn-id: svn://localhost/gambas/trunk@4641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 01:28:05 +00:00
Benoît Minisini
de083e583d [GB.LIBXML]
* NEW: Rename the gb.xml component as gb.libxml.

[GB.LIBXML.XSLT]
* NEW: Rename the gb.xml.xslt component as gb.libxml.xslt

[GB.LIBXML.RPC]
* NEW: Rename the gb.xml.rpc component as gb.libxml.rpc


git-svn-id: svn://localhost/gambas/trunk@4640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 01:01:48 +00:00
Benoît Minisini
d04b80c7f5 [GB.NCURSES]
* NEW: Start implementing a Screen static class that is like a Window 
  representing the full screen.


git-svn-id: svn://localhost/gambas/trunk@4636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-15 23:47:38 +00:00
Benoît Minisini
1df0dc784d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix use of gnome-terminal as output window.


git-svn-id: svn://localhost/gambas/trunk@4631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-15 14:55:17 +00:00
Benoît Minisini
61da39d1d8 [DEVELOPMENT ENVIRONMENT]
* BUG: Module and class creation is possible again.


git-svn-id: svn://localhost/gambas/trunk@4630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-15 14:44:57 +00:00
Benoît Minisini
360f0bab3f [INTERPRETER]
* BUG: Correctly raise errors when running an external process fails.


git-svn-id: svn://localhost/gambas/trunk@4628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 23:35:33 +00:00
Tobias Boege
e770acc969 [GB.NCURSES]
* NEW: Added Key static class containing key constants
* NEW: Buffered property in Window class to allow buffered output
* NEW: Refresh method in Window class to produce output if Buffered property
  was set
* NEW: Flush method in Window class to clear the input queue
* NEW: Ask method in Window class to prompt the user for specific keys
* NEW: PrintCenter method in Window class to print text in the centre of the
  screen
* NEW: Window array accessors now used to change character attributes
* OPT: Standard input is watched only once
* BUG: Inserted missing return statement when reading Window.Border



git-svn-id: svn://localhost/gambas/trunk@4627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 19:42:04 +00:00
Benoît Minisini
1464b07a0c [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.ncurses to the component list.
* BUG: Prevent Qt from crashing when cancelling a file rename, by not
  reentering the event loop with WAIT.
* BUG: Do not try to refresh a deleted directory in the project tree.

[GB.FORM]
* NEW: DateChooser got an array accessor that returns a virtual object from
  a date. This virtual object allows to define the foreground color,
  background color and the font of any date.

[GB.QT4]
* BUG: Fix some possible use of deleted controls in event management.

[GB.QT4.EXT]
* BUG: Fix some use of uninitialized variables in Editor.


git-svn-id: svn://localhost/gambas/trunk@4624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 10:20:39 +00:00
Benoît Minisini
2e7c12703f [INTERPRETER]
* NEW: Call the error hook before printing the error message on the 
  standard error output.


git-svn-id: svn://localhost/gambas/trunk@4623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-13 22:11:51 +00:00
Benoît Minisini
643d230193 [GB.NCURSES]
* BUG: Do not call refresh routines when endwin() has already been called.
* NEW: Add an error hook that calls endwin() so that the terminal is reset
  and the error message is visible.


git-svn-id: svn://localhost/gambas/trunk@4622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-13 22:11:24 +00:00
Tobias Boege
572d7aa9e4 [GB.NCURSES]
* NEW: Created gb.ncurses component
* NEW: Added NCurses static class
* NEW: Added Window class



git-svn-id: svn://localhost/gambas/trunk@4621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-13 15:16:23 +00:00
Benoît Minisini
a04d1a9113 [GB.FORM.MDI]
* BUG: ToolBar: Fix separators automatic hiding.


git-svn-id: svn://localhost/gambas/trunk@4620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-13 12:56:39 +00:00
Benoît Minisini
9541a7918c [GB.FORM]
* BUG: GridView: Only the left mouse button click hides the selection and 
  moves the cursor now.
* BUG: GridView: MouseDown events are correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@4619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 18:37:27 +00:00
Benoît Minisini
5e9cfc591a [GB.FORM]
* NEW: ScrollArea ScrollW and ScrollH synonymous properties were added.
* BUG: Fix GridView artifacts when there is no rows or if an incorrect 
  value has been set to the Header property.


git-svn-id: svn://localhost/gambas/trunk@4618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 18:21:00 +00:00
Benoît Minisini
73aeefe1ef [GB.GTK]
* BUG: The Menu event is now correctly raised even if the MouseDown event 
  is cancelled.


git-svn-id: svn://localhost/gambas/trunk@4617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 00:47:33 +00:00
Benoît Minisini
088ae6e249 [GB.FORM]
* BUG: GridView.RowAt() and GridView.ColumnAt() now correctly take the 
  headers into account.


git-svn-id: svn://localhost/gambas/trunk@4616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 00:36:55 +00:00
Benoît Minisini
a9cddc969e [INTERPRETER]
* NEW: Even() is a new subroutine that returns if a number is even.
* NEW: Odd() is a new subroutine that returns if a number is odd.

[GB.GTK]
* BUG: Close all windows correctly when a QUIT instruction is executed.

[GB.QT4]
* BUG: Close all windows correctly when a QUIT instruction is executed.


git-svn-id: svn://localhost/gambas/trunk@4615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-11 00:27:18 +00:00
Benoît Minisini
bc5480568c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the text editor toolbar.
* NEW: Add a close menu entry in code, text and form editors. The default 
  shortcut is CTRL+W.
* NEW: Text editor got a find procedure button like the code editor.

[GB.EVAL.HIGHLIGHT]
* BUG: Add some forgotten CSS properties.

[GB.QT4.EXT]
* NEW: Editor: Support for TAB characters.
* BUG: Editor: Redesign font metrics optimizations.


git-svn-id: svn://localhost/gambas/trunk@4614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-10 00:31:07 +00:00
Benoît Minisini
dc5d539dec [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the contextual menu when a form editor is 
  activated.
* BUG: Hide the error message when the editor scrolls.

[WEBSITE MAKER]
* NEW: New home page design.

[GB.EVAL.HIGHLIGHT]
* NEW: Enhance CSS highlighting.

[GB.FORM.MDI]
* BUG: Remove debugging message.

[GB.QT4.EXT]
* BUG: Editor: Draw text one pixel higher so that underline is visible with
  all fonts.


git-svn-id: svn://localhost/gambas/trunk@4612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-09 14:50:30 +00:00
Benoît Minisini
d55d7f41c3 [GB.GTK]
* BUG: Try to handle Leave/Enter events the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-07 13:51:02 +00:00
Benoît Minisini
78ad25c6f7 [GB.QT4]
* BUG: Try again to fix Event/Leave event management.


git-svn-id: svn://localhost/gambas/trunk@4605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-07 02:24:58 +00:00
Laurent Carlier
0687a251de [DEVELOPMENT ENVIRONMENT]
* BUG: Fix typos in extrafiles support in Archlinux packages. Now generation of Archlinux binaries packages in the IDE doesn't check
       dependencies anymore, so then can be built with SVN version also.


git-svn-id: svn://localhost/gambas/trunk@4604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 15:14:58 +00:00
Benoît Minisini
53a5546a91 [GB.QT4]
* BUG: Fix the Enter/Leave events management so that Enter events are
  correctly generated when a control is destroyed.


git-svn-id: svn://localhost/gambas/trunk@4603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 13:24:36 +00:00