Commit graph

2036 commits

Author SHA1 Message Date
Benoît Minisini
727229118c [GB.QT]
* NEW: Message.Title is a new property to define the title of the next 
  message box. The property is reset after the message box has been 
  displayed.
  
[GB.GTK]
* NEW: Message.Title is a new property to define the title of the next 
  message box. The property is reset after the message box has been 
  displayed.


git-svn-id: svn://localhost/gambas/trunk@1695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-11 14:10:36 +00:00
Benoît Minisini
ec4f918967 [DEVELOPMENT ENVIRONMENT]
* BUG: Debug windows are toolbar again, so that they are automatically 
  transient for the main window.
* BUG: Exported project classes from a component project are correctly 
  scanned now.


git-svn-id: svn://localhost/gambas/trunk@1694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-11 02:25:40 +00:00
Benoît Minisini
686503d51a [GB.GTK]
* BUG: Forgot to send the files!


git-svn-id: svn://localhost/gambas/trunk@1693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 17:01:48 +00:00
Benoît Minisini
fda408648e [GB.QT]
* BUG: The minimum size of modal windows is correctly set again.
* BUG: Windows having SkipTaskbar set now get the focus correctly when 
  activated.
  
[GB.GTK]
* BUG: Windows having SkipTaskbar set now get the focus correctly when 
  activated.


git-svn-id: svn://localhost/gambas/trunk@1692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 17:01:18 +00:00
Benoît Minisini
a505f0d64b [DEVELOPMENT ENVIRONMENT]
* NEW: Popup menu entries in code editor and form editor to define the 
  current class as startup class.


git-svn-id: svn://localhost/gambas/trunk@1691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 16:44:56 +00:00
Benoît Minisini
49d82ab1b4 [INTERPRETER]
* NEW: Remove a now useless source file.


git-svn-id: svn://localhost/gambas/trunk@1688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 00:18:52 +00:00
Benoît Minisini
c91850d055 [INTERPRETER]
* OPT: Optimizations in string allocation.

[GB.DB]
* OPT: Optimization in query making. Storing big blobs inside a field in 
  now about twice faster.

[GB.DB.POSTGRESQL]
* BUG: Fix string quoting for postgresql >= 8.2.


git-svn-id: svn://localhost/gambas/trunk@1687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 00:18:00 +00:00
Daniel Campos
95f34affa2 [gambas3]
* NEW: Added support for Valencian language, a official tongue in the Autonomous Community of Valencia, Spain.



git-svn-id: svn://localhost/gambas/trunk@1684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-09 15:02:49 +00:00
Benoît Minisini
db6b81aa59 [INTERPRETER]
* OPT: Optimization in Replace() when the replace string is longer than 
  the search string. String[].Join() becomes faster too.


git-svn-id: svn://localhost/gambas/trunk@1683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-08 23:42:08 +00:00
Benoît Minisini
155dab4b86 [INTERPRETER]
* BUG: Enumarting something inside a _next() enumerator method now is 
  safe.
  
[GB.SETTINGS]
* NEW: Settings.Keys is a new property that enumerates keys stored in a
  settings file. This property can be used like an array if you want to
  enumerate keys under a specific slot only.


git-svn-id: svn://localhost/gambas/trunk@1682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-08 17:45:13 +00:00
Benoît Minisini
c23d74a74c [GB.GTK]
* BUG: TextLabel now deals correctly with its Font property.
* BUG: TextLabel with AutoResize set now resizes the same way as in gb.qt.
* BUG: Draw.RichText() now deals correctly with the Draw.Font property.


git-svn-id: svn://localhost/gambas/trunk@1680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-08 15:25:48 +00:00
Benoît Minisini
f8c4ccc0c5 [INTERPRETER]
* OPT: String[].Join() was optimized when there is no escape character 
  specified.
* OPT: Optimize Replace() when the replace string is shorter than the 
  pattern string.


git-svn-id: svn://localhost/gambas/trunk@1679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-08 14:55:03 +00:00
Benoît Minisini
1082987744 [INTERPRETER]
* BUG: Fix the previous Replace() optimization.


git-svn-id: svn://localhost/gambas/trunk@1677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-07 01:37:45 +00:00
David Villalobos Cambronero
3e2f308d1b * NEW: Added the function Password to _MySQL class that calculates and
returns the password string.

git-svn-id: svn://localhost/gambas/trunk@1676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-07 01:20:50 +00:00
Benoît Minisini
13082f47d7 [INTERPRETER]
* OPT: Replace() was optimized when the search pattern and the replace 
  pattern have the same length.


git-svn-id: svn://localhost/gambas/trunk@1675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-07 01:16:13 +00:00
Benoît Minisini
3b852d1d93 [GB.GTK]
* BUG: UserControl and UserContainer _Container properties are correctly 
  implemented now. Consequently, the gb.form containers start working as
  expected.
* BUG: Window.Background and Window.Foreground now work correctly when the
  window is embedded.
* BUG: ClientX, ClientY, ClientW and ClientH container properties for
  Panel now take the frame into account, as in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@1673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-05 20:26:01 +00:00
Benoît Minisini
886f851678 [GB.NET]
* BUG: The socket watch callbacks were incorrectly initialized!


git-svn-id: svn://localhost/gambas/trunk@1670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-05 00:49:17 +00:00
Benoît Minisini
4cff4ce26c [INTERPRETER]
* NEW: A new interpreter API for setting the endianness of a stream.
* NEW: Another new interpreter API for making a stream blocking or not.

[GB.FORM.MDI]
* NEW: Remove the useless toolbar handle.

[GB.NET]
* BUG: Fix the UdpSocket implementation.
* NEW: UdpSocket now uses an internal buffer, so that successive READs on 
  it work as expected. Beware that the remaining data is lost the next time
  the UdpSocket raises its Read event.



git-svn-id: svn://localhost/gambas/trunk@1669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-04 23:53:39 +00:00
Benoît Minisini
408839f5c3 [GB.DESKTOP]
* BUG: Fix the algorithm that returns the desktop path.

[GB.WEB]
* BUG: Remove log messages, but log session loading error in the
  /tmp/session.log file.


git-svn-id: svn://localhost/gambas/trunk@1668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-02 13:59:06 +00:00
Benoît Minisini
11f6575f51 [CONFIGURATION]
* NEW: Update libtool to version 1.5.24

[INTERPRETER]
* BUG: Lof() returns the correct value for files opened for writing.
* BUG: Dir() and RDir() now work correctly on relative paths.

[GB.WEB]
* BUG: Read and write sessions inside a system lock to prevent two 
  processes from writing the same session at the same time, and then
  corrupting it.


git-svn-id: svn://localhost/gambas/trunk@1666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-02 02:40:10 +00:00
Benoît Minisini
54e8d1093e [INTERPRETER]
* BUG: Fix an uninitialized flag in streams.
* BUG: Stack overflow raised when entering a function should not mix up 
  the interpreter anymore.

[GB.QTE]
* BUG: Fix compilation.


git-svn-id: svn://localhost/gambas/trunk@1664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-30 23:32:38 +00:00
Benoît Minisini
005ce5eeec [GB.QT]
* BUG: Correctly manage windows whose Type is Toolbar, as in Gambas 2.


git-svn-id: svn://localhost/gambas/trunk@1660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-30 11:50:31 +00:00
Benoît Minisini
f6ceba1017 [INTERPRETER]
* NEW: The LINE INPUT and INPUT algorithm now deal intelligently with 
  blocking streams.

[GB.NET]
* BUG: Fix stream implementation of SerialPort and Socket.
* NEW: Socket can be set blocking.


git-svn-id: svn://localhost/gambas/trunk@1659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-30 00:54:18 +00:00
Benoît Minisini
211da914b9 [INTERPRETER]
* NEW: EXEC / SHELL used without the AS keyword create a process object 
  that does not raise events.

[COMPILER]
* BUG: Allow the AS keyword in SHELL / EXEC even if the WAIT keyword is 
  used.
  

git-svn-id: svn://localhost/gambas/trunk@1658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-29 18:35:15 +00:00
Benoît Minisini
6fc736d883 [DEVELOPMENT ENVIRONMENT]
* NEW: The EXEC and SHELL syntax has changed.

[INTERPRETER]
* NEW: Stream.Blocking is new property to set if reading from the stream
  is blocking or not.
* NEW: EXEC or SHELL used without the AS keyword creates a blocking
  process stream.

[COMPILER]
* NEW: EXEC or SHELL can be used with AS and without FOR.

[GB.QT]
* NEW: Toolbox windows are automatically transient for the current active 
  window.


git-svn-id: svn://localhost/gambas/trunk@1657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-29 18:26:56 +00:00
Benoît Minisini
e87e085b3e [INTERPRETER]
* BUG: Silently ignore conversion errors inside String.Upper() and 
  String.Lower() methods.
  
[GB.GTK]
* BUG: Fix the Embedder Plug & Discard methods.

[GB.QT]
* BUG: Fix an uninitialized variable in the QtXEmbedContainer class.


git-svn-id: svn://localhost/gambas/trunk@1656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-28 16:10:06 +00:00
David Villalobos Cambronero
56a4764586 [GB.DB.MYSQL]
* NEW: Added the function LastInsertId to _MySQL class, that returns the
  last insert id for the current user.

git-svn-id: svn://localhost/gambas/trunk@1652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-25 22:23:28 +00:00
David Villalobos Cambronero
e7f8b931a9 [DEVELOPMENT EVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 22:55:43 +00:00
Benoît Minisini
65e6bab6f2 [DEVELOPMENT ENVIRONMENT]
* NEW: A new project runtime option to print the stack backtrace on error.

[GB.WEB]
* BUG: Storing arrays inside Session works correctly now.


git-svn-id: svn://localhost/gambas/trunk@1650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 14:09:48 +00:00
Jordi Sayol
af7b47c5d7 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.


git-svn-id: svn://localhost/gambas/trunk@1649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 08:50:47 +00:00
David Villalobos Cambronero
0d73b5ad0d [GB.DB.MSYQL]
* NEW: Added Id function to MySQL class that returns the connection Id.

git-svn-id: svn://localhost/gambas/trunk@1648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 21:56:00 +00:00
Benoît Minisini
9841e47829 [DEVELOPMENT ENVIRONMENT]
* NEW: Inserting a file in the project as symbolic link now tries to 
  create relative symbolic links.
* BUG: Fix an error when clicking on a broken link when inserting a new 
  file in the project.

[INTERPRETER]
* BUG: LINE INPUT does not prevent a following READ instruction from 
  reading all the bytes it wants anymore.


git-svn-id: svn://localhost/gambas/trunk@1647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 13:03:03 +00:00
Benoît Minisini
7dabc871a2 [CONFIGURATION]
* BUG: Do not abort installation if a component written in gambas cannot 
  be installed.
* BUG: Disable colorgcc, libtool does not support it.

[DEVELOPMENT ENVIRONMENT]
* BUG: Print the real size of directory contents when getting information 
  on a project directory.

[WIKI CGI SCRIPT]
* BUG: Some fixes in 'example' section and in view mode.

[INTERPRETER]
* BUG: Fix illegal memory access in locale-aware string comparison.
* BUG: Fix a possible crash in String.UCase() and String.LCase().

[GB.FORM]
* BUG: SidePanel arrow buttons are correctly drawn with gb.gtk now.

[GB.GTK]
* BUG: Fix the Image.MakeTransparent() method.
* BUG: Fix the arrangement of ScrollView container.
* BUG: Fix the memory leak in the Picture class.
* BUG: Remove the Window resize event compression.
* BUG: Gridview cells are correctly refreshed now when their Picture or 
  Font property change.

[GB.NET.CURL]
* BUG: The Status property is correctly set after an error now.

[GB.QT]
* BUG: Correctly clears the internal closed flag when opening a Window.
* BUG: WAIT does not take 100% CPU anymore.

[GB.QT.EXT]
* BUG: In Editor, the cursor could disappear when clicking. Fix that.

[GB.XML]
* BUG: The management of XML nodes was incorrect, and so was redesigned.


git-svn-id: svn://localhost/gambas/trunk@1646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 09:28:34 +00:00
David Villalobos Cambronero
50469dfc7c [GB.DB.MYSQL]
* NEw: Added the function CurrentUser to MySQL class, that
  returns the current user concatenated with the host.

git-svn-id: svn://localhost/gambas/trunk@1638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-10 21:07:44 +00:00
Benoît Minisini
66b5a20489 [GB.FORM.MDI]
* BUG: Do not try to activate a deleted window that is now invalid.


git-svn-id: svn://localhost/gambas/trunk@1634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-04 23:49:53 +00:00
Benoît Minisini
261de2bcdd [DEVELOPMENT ENVIRONMENT]
* BUG: Set the focus on the form when it becomes active.

[INTERPRETER]
* BUG: Fix locale-aware string comparisons, i.e. string comparisons that 
  use the gb.Language constant.

[GB.QT.EXT]
* BUG: In Editor, do not call the event loop when scrolling. That can 
  lead to infinite recursion.


git-svn-id: svn://localhost/gambas/trunk@1632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-04 23:46:15 +00:00
Benoît Minisini
c6fb7ec834 [INTERPRETER]
* NEW: New substitution syntax to have more then nine arguments. The new
  syntax is '&{N}' where N is the argument index, between 1 and 63.


git-svn-id: svn://localhost/gambas/trunk@1628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-04 14:07:53 +00:00
Benoît Minisini
bd1662716a [INTERPRETER]
* NEW: Make a dedicated tag field in the internal Gambas stream structure.
  That makes the component code cleaner.
* BUG: Void arguments does not trim argument list anymore in the EXEC 
  instruction.

[GB.NET]
* BUG: Setting SerialPort parity should not strip the eighth bit of data 
  bytes anymore.
* BUG: Fix SerialPort error messages.

[GB.NET.CURL]
* BUG: The component was redesigned to fix a crash in stream methods is 
  synchronous mode.


git-svn-id: svn://localhost/gambas/trunk@1627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-04 12:31:49 +00:00
David Villalobos Cambronero
d6d960e390 [DOC.CGI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-02 20:37:12 +00:00
David Villalobos Cambronero
392ecc77d2 [DEVELOPMENT ENVIROMET]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-02 20:35:56 +00:00
Benoît Minisini
2e9ad6e391 [DEVELOPMENT ENVIRONMENT]
* NEW: The look of container controls and embedder was modified.
* BUG: Displaying the property help on virtual controls does not crash 
  anymore.

[WIKI CGI SCRIPT]
* NEW: Changed the look of "only in 3.0" sections.

[INTERPRETER]
* BUG: Handle correctly additions between a small integer constant and a 
  string, by converting the string to a floating point number.

[GB.DESKTOP]
* BUG: DesktopWindow.State property and state methods are not public 
  anymore.
* NEW: DesktopWindow.MoveResize() method was removed, and now Move() takes
  Width and Height optional parameters.


git-svn-id: svn://localhost/gambas/trunk@1619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-01 13:31:32 +00:00
Benoît Minisini
8d9769a779 [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual control icons are searched in Gambas control directories.
* NEW: The directory where source package is done is remembered, by 
  project.

[WIKI CGI SCRIPT]
* NEW: Virtual classes are not creatable.

[GB.DESKTOP]
* NEW: Many enhancements to top-level windows management.
* NEW: The DesktopWatcher class allows to watch desktop changes and top-
  level window changes.

[GB.QT]
* BUG: Showing a window during an Open or Close event, and closing a 
  window during the Close event now do nothing.


git-svn-id: svn://localhost/gambas/trunk@1617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-29 22:32:27 +00:00
Benoît Minisini
a32e54a4e2 [DEVELOPMENT ENVIRONMENT]
* NEW: The option dialog has been resized.

[GB.QT]
* BUG: The window events management was redesigned, mainly by copying the 
  behaviour of gb.gtk. The Open event is now raised before the window is
  shown.
* BUG: Setting the Minimized, Maximized and FullScreen Window properties
  during the Open event now works as expected.
* BUG: The initial Move and Resize events of a window are not raised 
  immediately after the Open event, but delayed. Otherwise sometimes some 
  widgets are not correctly layouted.
* BUG: The Container.Children property does not return invalid controls 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 16:29:30 +00:00
Benoît Minisini
d0259d03e0 [CONFIGURATION]
* BUG: Forgot to add mime information files for Gambas server pages.


git-svn-id: svn://localhost/gambas/trunk@1611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 14:17:13 +00:00
Benoît Minisini
5c04e8dfea [GB.DESKTOP]
* NEW: Desktop.Path returns the desktop directory as defined by 
  freedesktop standards. The routine was provided by Roland Pierret, and 
  adapted by me.

[GB.QT.EXT]
* NEW: In Editor, show trailing spaces at end of lines with dots.
* BUG: Fix Editor drawing routine.


git-svn-id: svn://localhost/gambas/trunk@1609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 01:05:49 +00:00
Benoît Minisini
6b57f21ee5 [DEVELOPMENT ENVIRONMENT]
* NEW: Store the component version inside the .component files for 
  component projects.
* NEW: Package dependencies on component use the previous version stored 
  in the .component file if it is available. Otherwise the current Gambas 
  interpreter version is used.
* BUG: Do not increment version release if the packager wizard is 
  cancelled.
* NEW: Package dependencies on component use the previous version stored 
  in the .component file if it is available. Otherwise the current Gambas 
  interpreter version is used.
* NEW: The package wizard remembers the last directory used for storing 
  packages.
* BUG: The default directory where packages are stored is the home 
  directory now.
* BUG: Fix the signature display routine that sometimes underlined 
  incorrectly.
* BUG: Use version program at each project configuration write.
* NEW: A "paste special" function in the code editor, that allows to 
  insert plain text or HTML text from the clipboard, and can comment it,
  quote it as a Gambas string, or transform it into PRINT instructions.
* BUG: Some fix related to the now immediate invalidity of deleted forms.

[SCRIPTER]
* NEW: Support for gambas server pages!
* NEW: Server page are now run by a program named 'gbw2', which is just a 
  symbolic link to 'gbs2'.

[GB.GTK]
* BUG: Window.Picture property now works correctly when the window is 
  embedded inside a container.
* BUG: Embedded windows having a background picture are now correctly
  updated when they are resized.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: The combo-box behaves now like the qt one. Its first item is always 
  selected at startup.
* NEW: Now deleted forms become immediately invalid.

[GB.QT]
* BUG: Clipboard.Paste() now returns an UTF-8 string.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: Checking if the application must quit is deferred, so that closing 
  a form and opeing another one keeps the application running.
* NEW: Now deleted forms become immediately invalid.

[GB.QT.EXT]
* BUG: Fix the Editor drawing while scrolling.
* BUG: Fix conversion from cursor position to text column in Editor.
* BUG: Fix the Editor drawing when it has been scrolled to the right.
* BUG: Don't paste in Editor if there is nothing to paste.


git-svn-id: svn://localhost/gambas/trunk@1605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-26 02:25:29 +00:00
Benoît Minisini
e79e4cd192 [GB.QT]
* BUG: Block events when setting the number of rows and columns in 
  GridView. That prevents some bad crashes.


git-svn-id: svn://localhost/gambas/trunk@1602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-25 23:57:06 +00:00
Peter Landgren
a224313e1c [DEVELOPMENT ENVIRONMENT]
* NEW: Update of Swedish translations

git-svn-id: svn://localhost/gambas/trunk@1597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-25 09:20:14 +00:00
David Villalobos Cambronero
009463c394 [GB.DB.MYSQL]
* OPT: Store every query in a variable, so it can be retrived
  with _MySQL.Query.

git-svn-id: svn://localhost/gambas/trunk@1594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-24 22:07:53 +00:00
Benoît Minisini
ac1a4f5a4f [CONFIGURATION]
* BUG: The help installation should work again.


git-svn-id: svn://localhost/gambas/trunk@1577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-22 00:40:32 +00:00