Commit graph

508 commits

Author SHA1 Message Date
Benoît Minisini
940d5f83ad [GB.GUI]
* NEW: Use gb.qt4 when the current desktop is KDE4.

[GB.QT4]
* BUG: Watcher now correctly catches the destruction of its watched 
  control.


git-svn-id: svn://localhost/gambas/trunk@2053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 22:02:18 +00:00
Benoît Minisini
a85cf7f35f [GB.QT4]
* BUG: Do not crash when containers are arranged during a recursive widget 
  deletion.


git-svn-id: svn://localhost/gambas/trunk@2052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 16:40:40 +00:00
Benoît Minisini
d2ead79ba4 [GB.QT4]
* BUG: Menu.Enabled works now.
* BUG: Shortcuts are correctly disabled when a parent menu is disabled.


git-svn-id: svn://localhost/gambas/trunk@2051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 15:25:11 +00:00
Benoît Minisini
ad2963b717 [GB.FORM.MDI]
* OPT: Some optimizations in Workspace.

[GB.QT.EXT]
* BUG: Editor.ShowWord() was fixed.

[GB.QT4.EXT]
* BUG: Editor.ShowWord() was fixed.


git-svn-id: svn://localhost/gambas/trunk@2050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 12:18:39 +00:00
Benoît Minisini
f68e2f6d8a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the FSelectExtraFile dialog layout.
* BUG: Some little fixes in the file selection in the extra files tab of 
  the packager wizard.

[GB.FORM]
* NEW: Do not display the shrimp logo anymore.
* BUG: DirView now supports an hidden directory as root.

[GB.FORM.MDI]
* BUG: Ensure that the Open event is raised for new MDI child windows.

[GB.QT4]
* BUG: Buttons icon are not shrinked anymore.


git-svn-id: svn://localhost/gambas/trunk@2046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-26 11:36:52 +00:00
Philippe Séraphin
a3ef51e919 [DEVELOPMENT ENVIRONMENT]
* BUG: fix bug in tab ExtraFiles in BuildPackageWizard


git-svn-id: svn://localhost/gambas/trunk@2045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-26 09:06:23 +00:00
Philippe Séraphin
8590c22fd5 [DEVELOPMENT ENVIRONMENT]
* NEW: Add ExtraFiles Tab in BuildPackage Wizard


git-svn-id: svn://localhost/gambas/trunk@2042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-25 14:52:05 +00:00
Benoît Minisini
7cc1e34ad7 [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in the option dialog layout.

[GB.FORM]
* BUG: SidePanel keeps open again in design mode.

[GB.FORM.MDI]
* BUG: Hide newly embedded windows explicitely again.

[GB.QT4]
* BUG: Menu.Checked and Menu.Toggle properties now should work as expected.
* BUG: New TabStrip tabs are explicitely hidden at creation.


git-svn-id: svn://localhost/gambas/trunk@2041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-25 14:22:49 +00:00
Benoît Minisini
81bf4acb02 [DEVELOPMENT ENVIRONMENT]
* BUG: Close and actually delete project files when closing the project.

[GB.GTK]
* BUG: Fix a possible crash when setting the TextBox.Text property with a 
  null string.

[GB.QT4]
* BUG: Start fixing drag & drop on controls having scrollbars.
* BUG: Fix a crash in focus management.
* BUG: The ListBox.Remove() method works now.
* BUG: Fix menu management.
* BUG: The Menu.Checked property works now.
* BUG: Do not exit application when displaying the abort error message. It 
  crashes.
* BUG: TabStrip is correctly layouted the first time it is shown now.


git-svn-id: svn://localhost/gambas/trunk@2040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-24 10:00:10 +00:00
Benoît Minisini
a9890772d4 [GB.QT4.EXT]
* BUG: Support for input methods and non-ascii characters in the Editor.


git-svn-id: svn://localhost/gambas/trunk@2038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 22:08:22 +00:00
Benoît Minisini
d6afe8fc32 [GB.QT4]
* BUG: Fix a crash occuring during multicontainer deletion.


git-svn-id: svn://localhost/gambas/trunk@2037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 21:27:10 +00:00
Benoît Minisini
915fdb9816 [DEVELOPMENT ENVIRONMENT]
* NEW: Use gb.qt4 and gb.qt4.ext now.
* BUG: Popup menus must be visible, otherwise shortcuts are not active.

[GB.FORM]
* NEW: ListContainer now raises a Scroll event when it is scrolled.

[GB.NET.CURL]
* BUG: The first header string was not 'nul' terminated.

[GB.QT4]
* BUG: ScrollView does not scroll anymore when one of its children is 
  resized.
* BUG: Prevent a crash in ScrollView in some situations.


git-svn-id: svn://localhost/gambas/trunk@2036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 20:49:57 +00:00
Benoît Minisini
5f8e273edf [DEVELOPMENT ENVIRONMENT]
* BUG: The button that switches between form and class editor is not shown 
  anymore when a module or a class is edited.

[GB.GTK]
* BUG: Font management was redesigned. It does not leak memory anymore,
  and now behaves like in gb.qt.
* BUG: Tristate CheckBox controls now work as expected.
* BUG: Destroy pending deleted controls before entering the event loop, to
  avoid some memory leaks if the event loop is immediately aborted.
* BUG: Detach destroyed controls from their event listener, as in gb.qt.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But 
  the menu must be visible. To create an hidden active top-level menu, just 
  set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.

[GB.QT]
* BUG: Font properties are correctly inherited between containers and 
  children controls.
* BUG: Showing a tray icon does not eat focus events anymore.
* NEW: Top-level menus with a void Text property are not shown anymore.

[GB.QT4]
* BUG: Font properties are correctly inherited between containers and 
  children controls.
* BUG: Shortcut management was fixed.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But 
  the menu must be visible. To create an hidden active top-level menu, just 
  set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.


git-svn-id: svn://localhost/gambas/trunk@2034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 11:16:34 +00:00
Laurent Carlier
3388814ec1 [GB.CORBA]
* BUG: Fix building with gcc 4.4.0



git-svn-id: svn://localhost/gambas/trunk@2030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-19 18:43:28 +00:00
Laurent Carlier
fc3df55372 [GB.DB.SQLITE2]
* BUG: Fix strchr() casting with next gcc 4.4 release.

[GB.DB.SQLITE3]
* BUG: Fix strchr() casting with next gcc 4.4 release.



git-svn-id: svn://localhost/gambas/trunk@2029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-19 14:51:09 +00:00
Benoît Minisini
c62f94adc3 [GB.QT4.EXT]
* NEW: Editor.ShowWord() is a new method that highlights a piece of text on 
  a specific line. 


git-svn-id: svn://localhost/gambas/trunk@2028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-19 11:01:24 +00:00
Benoît Minisini
32bf31484c [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly center the option dialog at startup.

[INTERPRETER]
* BUG: Fix compilation on 64 bits systems.

[GB.FORM]
* BUG: Side panel buttons were implemented differently to have a good look 
  in all GUI components.

[GB.QT4.EXT]
* NEW: Editor.ShowString() is a new method to define a string that will be 
  highlighted everywhere it is found.


git-svn-id: svn://localhost/gambas/trunk@2027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-18 23:47:56 +00:00
Benoît Minisini
a2fb031a1d [GB.QT.EXT]
* NEW: Editor.ShowWord() is a new method that highlights a piece of text on 
  a specific line.


git-svn-id: svn://localhost/gambas/trunk@2026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-18 22:48:55 +00:00
Benoît Minisini
d35c59fbc8 [GB.FORM.MDI]
* BUG: Some changes because disabled controls can't receive drops in gb.qt4 
  and gb.gtk.

[GB.QT4]
* NEW: Drag.Data now uses the first data format by default instead of 
  "text/plain". Drag.Paste() and Clipboard.Paste() were changed the same 
  way.
* BUG: ScrollView now works correctly.
* BUG: Drag and Drop was fixed.


git-svn-id: svn://localhost/gambas/trunk@2024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-18 05:40:33 +00:00
Benoît Minisini
0e7ea449b5 [INTERPRETER]
* BUG: Freeing a collection does not crash anymore if a collection item is 
  removed during the process.
* BUG: Static variables are correctly inherited now.


git-svn-id: svn://localhost/gambas/trunk@2023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-17 14:13:50 +00:00
Benoît Minisini
b6097b30d7 [INTERPRETER]
* NEW: Some enhancements in memory allocation debugging.

[GB.QT]
* BUG: Form.Load() method now really work, by using reparenting. The fix 
  may be backported to Gambas 2.

[GB.QT4]
* BUG: Window.Mask and Window.Picture work correctly now.
* BUG: TextArea background is accurate now.
* BUG: Mouse event properties of the Mouse class now return the expected 
  value.
* BUG: Tray icons now work correctly.
* BUG: Form.Load() method now really work.
* BUG: Windows are correctly closed.


git-svn-id: svn://localhost/gambas/trunk@2020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-16 00:17:25 +00:00
Benoît Minisini
5ae3b26777 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix old Gambas 2 code yet present in the svn conflict dialog box.


git-svn-id: svn://localhost/gambas/trunk@2019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-15 22:56:35 +00:00
Benoît Minisini
7b7b730aae [DEVELOPMENT ENVIRONMENT]
* BUG: Project versioning buttons are visible again!


git-svn-id: svn://localhost/gambas/trunk@2018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-15 11:38:29 +00:00
Laurent Carlier
b0d6a69eaa [CONFIGURATION]
* BUG: Fix GB_COMPONENT_SEARCH() macro. GB_COMPONENT was never reached when GB_PKG_COMPONENT failed.
  Remove also unneeded messages in GB_PKG_COMPONENT() when called from GB_COMPONENT_SEARCH().

This should fix gb.opengl configuration problem (thx Garulfounix for reporting the bug!).


git-svn-id: svn://localhost/gambas/trunk@2017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-14 21:47:20 +00:00
Laurent Carlier
2cd20dfc3e [GB.OPENGL]
* BUG: Add generic search for libglu, should fix building on Ubuntu Jaunty.



git-svn-id: svn://localhost/gambas/trunk@2016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-13 18:13:51 +00:00
Benoît Minisini
dbaccd820f [COMPILER]
* BUG: Unexpected END SUB or END FUNCTION are really detected now.

[GB.QT4]
* BUG: Color management has been fixed.
* BUG: Many fixes in the following classes: Panel, Menu, Picture, Window, TabStrip, 


git-svn-id: svn://localhost/gambas/trunk@2015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-11 21:33:17 +00:00
Benoît Minisini
349424f629 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the online help if an help page is not found locally.
* BUG: The editor procedure combo-box now keeps the focus when it is 
  opened.

[GB.QT]
* BUG: Fix the Clipboard class.

[GB.QT4]
* BUG: Clipboard.Copy() now works correctly if the mimetype is not 
  specified.
* BUG: Closing the last window does not quit the application unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-10 22:41:11 +00:00
Benoît Minisini
24d4ae508c [GB.QT4.EXT]
* NEW: The shared source files symbolic links.


git-svn-id: svn://localhost/gambas/trunk@2010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-07 22:15:39 +00:00
Benoît Minisini
3af28b2eb7 [GB.GTK]
* NEW: The Application.Tooltip.Delay property was removed.

[GB.QT]
* NEW: The Application.Tooltip.Delay property was removed.

[GB.QT4]
* NEW: Backport features from gb.qt.
* BUG: The background and foreground color management is almost fixed.
* BUG: Panel frames is fixed.
* BUG: ToolButton icon size is fixed.
* BUG: ListBox background is fixed.
* BUG: GridView grid color is fixed.

[GB.QT4.EXT]
* NEW: Backport features from gb.qt.ext.
* NEW: Some source files are now shared with gb.qt.ext.


git-svn-id: svn://localhost/gambas/trunk@2009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-07 22:10:14 +00:00
Benoît Minisini
c01d490030 [GB.NET]
* NEW: Some code refactoring.
* BUG: EAGAIN does not cancel the Write event. It is a non-blocking socket 
  that would block, and so the Write event must be raised again.


git-svn-id: svn://localhost/gambas/trunk@2006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-07 01:04:58 +00:00
Benoît Minisini
2cbf018690 [GB.GTK]
* BUG: Fix the file descriptor watch manager again.

[GB.NET]
* BUG: If writing on Socket fails, do not raise the Write event.


git-svn-id: svn://localhost/gambas/trunk@2005 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-07 00:01:59 +00:00
Benoît Minisini
36742ae3ac [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in real-time search highlighting.

[INTERPRETER]
* BUG: Fix the behaviour of the file descriptor watch manager.
* NEW: All streams now have a Tag property.

[EXAMPLES]
* NEW: ServerSocket and ClientSocket examples were modified to test the new
  event of the Socket class.

[GB.GTK]
* BUG: Fix the behaviour of the file descriptor watch manager.

[GB.NET]
* NEW: Socket now has a Write event. This event is raised after something 
  has been written on the socket, *and* if writing is possible again.

[GB.QT]
* BUG: Fix the behaviour of the file descriptor watch manager.


git-svn-id: svn://localhost/gambas/trunk@2004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-06 23:31:48 +00:00
Benoît Minisini
a20dee32ec [DEVELOPMENT ENVIRONMENT]
* NEW: Search strings are now highlighted in real-time.

[GB.QT.EXT]
* NEW: Editor.ShowString() is a new method to define a string that will be 
  highlighted everywhere it is found.


git-svn-id: svn://localhost/gambas/trunk@2002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-05 15:05:34 +00:00
Benoît Minisini
dbd841e9e6 [GB.GTK]
* BUG: Fix focus handling when SetFocus is called inside a GotFocus or 
  LostFocus event handler.

[GB.QT]
* BUG: Fix focus handling when SetFocus is called inside a GotFocus or 
  LostFocus event handler.


git-svn-id: svn://localhost/gambas/trunk@2001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-05 08:34:50 +00:00
Benoît Minisini
8b6c50667a [GB.QT]
* BUG: Fix GotFocus and LostFocus event generation.

[GB.GTK]
* BUG: Controls using the base style color (like TextBox, TextArea...) do
  not take the background color of their parent by default.
* BUG: Reparenting a top-level window, or putting it inside a Workspace
  does not show hidden menus anymore.
* BUG: Handle focus events the same way as in gb.qt.
* BUG: Fix the Cursor class, and the Control.Cursor property.


git-svn-id: svn://localhost/gambas/trunk@1999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-04 21:34:57 +00:00
Benoît Minisini
a8b9a82250 [GB.QT.EXT]
* BUG: Editor.Lines[].Refresh() now immediately refreshes the syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@1995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-03 00:10:07 +00:00
Laurent Carlier
7913b97814 [GB.OPENGL]
* NEW: Use pkg-config for configuring 
  


git-svn-id: svn://localhost/gambas/trunk@1993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-02 21:19:45 +00:00
David Villalobos Cambronero
bba779e7eb [MAKE WEB SITE]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-01 22:46:01 +00:00
Benoît Minisini
de427452f6 [WEB SITE MAKER]
* BUG: Put the language flags higher in the page so that they are visible
  on small screens.

[GB.FORM.DIALOG]
* NEW: The save file dialog has a new "automatic extension" check-box.
* NEW: Dialog.AutoExt is a new property to set if we want the save file 
  dialog to automatically set the file extension from the currently 
  selected filter.

[GB.GTK]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT.EXT]
* NEW: Editor.Lines[].Refresh is a new method to refresh a line and 
  highlight it again.


git-svn-id: svn://localhost/gambas/trunk@1990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-01 22:27:50 +00:00
Fabien Bodard
d5b040f0c0 [GB.QT.EXT]
* NEW: Editor.PosToLine(Y as Integer) return the line from the Y mouse position
       and Editor.PosToColumn(X As Integer, Y As Integer) return the column from the mouse X,Y position.


 -Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    gb.qt/src/ext/CEditor.cpp


git-svn-id: svn://localhost/gambas/trunk@1988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-30 23:13:33 +00:00
Benoît Minisini
0c14eb0bdb [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the project stack size option.

[INTERPRETER]
* NEW: Make the stack grow as needed. Note that the stack will never 
  shrink.

[GB.DEBUG]
* BUG: This component now compiles correctly.


git-svn-id: svn://localhost/gambas/trunk@1987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-27 18:42:48 +00:00
Benoît Minisini
f532a37249 [CONFIGURATION]
* NEW: WARNING! The bytecode has changed, so every project needs to be
  recompiled.

[WEB SITE MAKER]
* NEW: Some more translations.

[INTERPRETER]
* NEW: Assign() is a new function. It is like Eval(), except that the
  expression can be an assignment.

[GB.EVAL]
* NEW: Implementation of the new Assign() function.
* NEW: The Expression.Compile() method takes a new optional boolean 
  argument that indicates if we are compiling an assignment or not.

[GB.NET.CURL]
* BUG: A asynchronous transfer that ends do not stop the other ones 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-26 22:34:39 +00:00
David Villalobos Cambronero
ab079c2e54 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-26 14:01:06 +00:00
David Villalobos Cambronero
e1b00adaaa [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-26 13:47:13 +00:00
Benoît Minisini
db58eb7fa1 [DEVELOPMENT ENVIRONMENT]
* NEW: A message is displayed now when the search list is void.
* NEW: Some debugger icons were changed.
* NEW: Support for debugger frame change. When you click twice in the stack
  backtrace, now the debugger information is refreshed according to the
  current stack frame.

[WIKI CGI SCRIPT]
* NEW: Extern links are now always opened in a new window.

[WEB SITE MAKER]
* BUG: Some fixes in link generation
* NEW: Some new translated strings.

[GB.DEBUG]
* NEW: A command to change the current frame.


git-svn-id: svn://localhost/gambas/trunk@1979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-25 21:51:48 +00:00
Benoît Minisini
637b19afb9 [INTERPRETER]
* NEW: Do not call the "_init" static initializer of exported classes at
  component load. Do it when the class is used for the first time.


git-svn-id: svn://localhost/gambas/trunk@1977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-25 13:43:44 +00:00
Benoît Minisini
8acc835d1b [GB.DEBUG]
* NEW: Try to open the debugger fifo until 500 ms elapse.



git-svn-id: svn://localhost/gambas/trunk@1975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 19:20:33 +00:00
David Villalobos Cambronero
6dd80949e3 [WIKI CGI SCRIPT]
* Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 16:14:29 +00:00
David Villalobos Cambronero
6a40acea8f [WEB SITE MAKER]
* NEW: Spanish translation updated.
* OPT: Added David Villalobos as translator in the Autors list.
* BUG: Corrected the second name for Jose L. Redrejo

git-svn-id: svn://localhost/gambas/trunk@1973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 16:07:41 +00:00
David Villalobos Cambronero
7d86379bed [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 15:41:38 +00:00