Commit graph

1599 commits

Author SHA1 Message Date
Fabien Bodard
22629c8493 [GB.FORM]
* NEW: Changing the gnome map to make it working with freedesktop standart for
  icons name (so the same as kde4)

[GB.FORM.STOCK]
* NEW: Begin to add some icon in 32x32 to have a better render when the
  toolbar is large.





git-svn-id: svn://localhost/gambas/trunk@3145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 20:22:17 +00:00
Benoît Minisini
cfaeb4fc90 [GB.FORM]
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.


git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 13:50:53 +00:00
Benoît Minisini
7ab4ba3041 [GB.QT4]
* BUG: Try to load translations better.


git-svn-id: svn://localhost/gambas/trunk@3143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:13:41 +00:00
Benoît Minisini
5ac608f3ef [GB.QT4]
* BUG: Hardcode some translations directories when searching for Qt 
  translation files: '/usr/lib/qt4/translations' and 
  '/usr/share/qt4/translations'.


git-svn-id: svn://localhost/gambas/trunk@3142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:04:28 +00:00
Benoît Minisini
27ce882d1e [GB.FORM]
* NEW: DateChooser use Sunday as first day of the week when the current 
  language is 'C' or 'en_US'.


git-svn-id: svn://localhost/gambas/trunk@3140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 15:51:25 +00:00
Benoît Minisini
b61b4a108b [INTERPRETER]
* BUG: Prevent Process objects to try to raise their Read event when 
  they were killed.


git-svn-id: svn://localhost/gambas/trunk@3139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 14:45:10 +00:00
Benoît Minisini
93faf536ae [GB.DBUS]
* BUG: Handle NULL as method argument without crashing.


git-svn-id: svn://localhost/gambas/trunk@3138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 12:09:16 +00:00
Benoît Minisini
2fc24c7513 [EXAMPLES]
* NEW: In DBusExplorer, handle all native DBus datatypes in signatures.


git-svn-id: svn://localhost/gambas/trunk@3137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:35:17 +00:00
Benoît Minisini
377a146a9a [EXAMPLES]
* NEW: Output signatures are more readable now.
* BUG: Objects on system bus are correctly browsed now.


git-svn-id: svn://localhost/gambas/trunk@3136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:26:47 +00:00
Benoît Minisini
0a79862457 [GB.GTK]
* BUG: Splitter layout is initialized so that all new panes are visible.
* BUG: Separators whose width or height is one pixel are correctly drawn 
  now.
* BUG: Control.MoveScaled() and Control.ResizeScaled() work correctly now 
  when their width or height argument is zero.
* BUG: Buttons autoresize works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:14:27 +00:00
Benoît Minisini
e389bcfa9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when closing the procedure list with F6.

[EXAMPLES]
* BUG: Fix the display of method signatures in the DBusExplorer example.

[GB.WEB]
* NEW: Disable HTTP compression if 'gzip' is not installed.


git-svn-id: svn://localhost/gambas/trunk@3134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 20:56:29 +00:00
Benoît Minisini
c1a2603c70 [INTERPRETER]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@3133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 11:35:34 +00:00
Benoît Minisini
19a21789e6 [INTERPRETER]
* OPT: Association between file descriptors and callbacks use a direct 
  index now.


git-svn-id: svn://localhost/gambas/trunk@3132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 11:23:19 +00:00
Benoît Minisini
85b08d28ba [INTERPRETER]
* BUG: ARRAY_add_void() function now correctly adds a void element in the 
  array after an element has been previously removed. That bug made the 
  event loop mad in some cases!


git-svn-id: svn://localhost/gambas/trunk@3131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 09:18:33 +00:00
Benoît Minisini
9307500dcb [GB.NET]
* BUG: Use the target port correctly when writing to an UdpSocket.
* BUG: Zero is a possible file descriptor for an UdpSocket.


git-svn-id: svn://localhost/gambas/trunk@3130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 15:27:47 +00:00
Benoît Minisini
e60daf35b1 [GB.NET]
* BUG: Make the component compile on 32 bits OS.


git-svn-id: svn://localhost/gambas/trunk@3129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:59:05 +00:00
Benoît Minisini
eb94949c92 [DEVELOPMENT ENVIRONMENT]
* NEW: More snippets for declaring local variables: "di" declares an 
  integer variable, "ds" a string variable...

[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect() 
  method takes it into account now.

[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event 
  handler.

[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is 
  buffered, and if the HTTP client can handle it of course.


git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:56:55 +00:00
Benoît Minisini
012c31e8fd [GB.NET]
* BUG: Fix an apparently useless referencement in DnsClient.


git-svn-id: svn://localhost/gambas/trunk@3127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 21:33:24 +00:00
Benoît Minisini
808cafc1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Main window layout follows main toolbar size correctly again.

[GB.FORM.MDI]
* NEW: Toolbar are now configured through a popup menu. The toolbar handle
  has been removed.

[GB.QT4]
* BUG: AutoResize property now works in both dimensions for horizontal and 
  vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@3126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 14:46:43 +00:00
Charlie Reinl
cb5549e320 BUG : MPrettyCode , "End If" was not taken into cClose list
git-svn-id: svn://localhost/gambas/trunk@3125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-18 22:04:15 +00:00
Benoît Minisini
f673289045 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a pretty printer button in the code editor.


git-svn-id: svn://localhost/gambas/trunk@3124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 14:34:37 +00:00
Benoît Minisini
a7bbd9ac90 [DEVELOPMENT ENVIRONMENT]
* BUG: Redesign the main window toolbar so that it does not bug anymore 
  when being configured.


git-svn-id: svn://localhost/gambas/trunk@3123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 11:34:21 +00:00
David Villalobos Cambronero
01b024d77d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 22:17:40 +00:00
Benoît Minisini
b2e5a3979f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the project tree view.

[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.

[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.


git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 21:56:11 +00:00
Benoît Minisini
9b7aa9c650 [INTERPRETER]
* BUG: Fix an unitialized structure field in extern functions management.


git-svn-id: svn://localhost/gambas/trunk@3119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 14:47:18 +00:00
Benoît Minisini
2fbab44da9 [DEVELOPMENT ENVIRONMENT]
* NEW: New project files not added to the subversion repository are now 
  always visible when refreshing the project tree.


git-svn-id: svn://localhost/gambas/trunk@3118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 12:18:50 +00:00
Benoît Minisini
82206cf4c9 [DEVELOPMENT ENVIRONMENT]
* NEW: Chaning the case of class names is allowed now.

git-svn-id: svn://localhost/gambas/trunk@3117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:54:02 +00:00
Benoît Minisini
9152169c0b [EXAMPLES]
* BUG: The MoviePlayer example works again.

[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@3116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:02:11 +00:00
Benoît Minisini
40ae8310f2 [GB.FORM]
* BUG: MenuButton behaves more like a normal button.

[GB.QT4]
* BUG: Fix style drawing methods.


git-svn-id: svn://localhost/gambas/trunk@3115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 09:58:39 +00:00
David Villalobos Cambronero
5de667b8fa [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 02:46:17 +00:00
Benoît Minisini
07efe53bdf [DEVELOPMENT ENVIRONMENT]
* NEW: Use expanders in the project option dialog.

[GB.FORM.MDI]
* BUG: Do not draw toolbar handle with style methods anymore. It is not 
  good for many styles.


git-svn-id: svn://localhost/gambas/trunk@3113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 00:19:33 +00:00
Benoît Minisini
3b263fce5b [GB.QT4]
* BUG: Fix ScrollView arrangement routine.


git-svn-id: svn://localhost/gambas/trunk@3112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 23:59:35 +00:00
Benoît Minisini
b620f3a8bd [DEVELOPMENT ENVIRONMENT]
* NEW: Put the breakpoint and watch buttons inside the code editor.
* NEW: Use another icon for breakpoints.

[GB.FORM]
* BUG: MenuButton does not react to mouse events when disabled now.

[GB.FORM.MDI]
* NEW: Use style methods to draw the toolbar handle.
* BUG: Dragging toolbar buttons work with Qt 4.7.

[GB.GTK]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Do not try again to get information about a widget when a window is 
  needed and the widget is not yet realized.

[GB.QT4]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Now windows not yet shown can be closed even if a modal window is 
  currently active.

[GB.QT4.EXT]
* NEW: Little changes in Editor margin drawing routine.


git-svn-id: svn://localhost/gambas/trunk@3111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 21:45:23 +00:00
Benoît Minisini
abffa75889 [INTERPRETER]
* BUG: Fix many array methods that crashed when taking abnormal 'start' or 
  'length' arguments. Now they raise errors.


git-svn-id: svn://localhost/gambas/trunk@3110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 20:51:42 +00:00
Benoît Minisini
13c7314713 [GB.GTK]
* BUG: Correctly release Menu tags.


git-svn-id: svn://localhost/gambas/trunk@3109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 16:04:58 +00:00
Benoît Minisini
c5b0b38771 [GB.GTK]
* BUG: Correctly display menubars again.


git-svn-id: svn://localhost/gambas/trunk@3108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:59:51 +00:00
Benoît Minisini
4f574b001e [INTERPRETER]
* BUG: The debugger does not crash anymore when activated at startup.

[GB.FORM]
* BUG: The MenuButton now only reacts to the left mouse button.

[GB.GTK]
* BUG: Remove some debugging messages from ColumnView.Settings property.
* BUG: Do not try to get informations about a widget when a window is 
  needed and the widget is not yet realized.
* BUG: Fix the Control.Cursor property.
* BUG: Control.Hovered now returns FALSE when the control is not visible.
* BUG: Creating the menubar does not make all window children visible 
  anymore.

[GB.QT4]
* BUG: Control.Hovered now returns FALSE when the control is not visible.


git-svn-id: svn://localhost/gambas/trunk@3107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:28:27 +00:00
Benoît Minisini
25fd457dc8 [GB.FORM]
* NEW: MenuButton has been redesigned to use a DrawingArea only.

[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container 
  children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.

[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.


git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 11:29:44 +00:00
Benoît Minisini
0fced172a7 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the code editor menu when the project is running.

[GB.FORM.MDI]
* NEW: The Workspace.ButtonPosition property has been removed.
* NEW: The Workspace tabstrip now uses embedded close buttons.

[GB.IMAGE]
* NEW: The Image.Gray() method has been renamed as Image.Desaturate().
* NEW: The Image.Transparent() method has been renamed as Image.Erase().

[GB.IMAGE.EFFECT]
* NEW: The Image.Gray() and Image.Desaturate() methods have been removed.


git-svn-id: svn://localhost/gambas/trunk@3105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 19:57:06 +00:00
Benoît Minisini
0ec66f23e6 [GB.QT4]
* BUG: Button with AutoResize set correctly expand with their text.


git-svn-id: svn://localhost/gambas/trunk@3104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 19:19:10 +00:00
Benoît Minisini
9b08741c29 [GB.GTK]
* BUG: Draw.Style() now respects clipping.


git-svn-id: svn://localhost/gambas/trunk@3103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 11:30:01 +00:00
Benoît Minisini
b3351fb0e0 [DEVELOPMENT ENVIRONMENT]
* NEW: A new option to use utility windows or normal windows for option
  dialog, search window and help browser.

[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.

[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.

[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.

[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.


git-svn-id: svn://localhost/gambas/trunk@3102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 10:43:37 +00:00
Benoît Minisini
93e19ca274 [GB.IMAGE]
* NEW: Image.DrawAlpha() is a new method that replace the alpha components 
  of an image by the alpha components of another image, where the other 
  image is more transparent.


git-svn-id: svn://localhost/gambas/trunk@3101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-12 19:13:44 +00:00
Benoît Minisini
3965ebc8a8 [GB.QT4]
* BUG: Draw.Style.Separator correctly honors verticality.


git-svn-id: svn://localhost/gambas/trunk@3100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-11 09:24:04 +00:00
Benoît Minisini
989e4da2dc [GB.GTK]
* BUG: The Control.Tracking property should work on all controls now.


git-svn-id: svn://localhost/gambas/trunk@3099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-10 19:06:52 +00:00
Fabien Bodard
30628c1222 [GB.DB.FORM]
* Bug: replace the removed function Font.Width by the new one Font.TextWidth


git-svn-id: svn://localhost/gambas/trunk@3098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-08 17:21:22 +00:00
Benoît Minisini
d9cae60bbe [GB.DRAW]
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the 
  focus, and Draw.Hover for widgets flied over by the mouse.


git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 14:36:45 +00:00
Benoît Minisini
055e187a6a [DEVELOPMENT ENVIRONMENT]
* NEW: In Gambas, javascript, HTML and CSS editor, a button to insert 
  a color definition, or a color already defined in the current source 
  code.
* NEW: Allow links with title ([<link>|<title>]) in help comment syntax.

[GB.FORM]
* BUG: In FileView, file sizes are really written with 1 Kib = 1024 bytes.
* BUG: MenuButton has an Action property again.
* BUG: MenuButton raise its basic events.

[GB.IMAGE]
* BUG: COlor.Darker() works correctly for black, white and gray colors now.

[GB.IMAGE.IO]
* BUG: Image.Save() quality is correctly handled. For PNG format, the 
  quality is actually the compression level, between 0 and 9.

[GB.QT4.WEBKIT]
* NEW: WebFrame.HTML is a new property that returns the HTML contents of a 
  specific frame.
* NEW: WebFrame.Text  is a new property that returns the text inside a 
  specific frame.

[GB.WEB]
* NEW: When the session is abandonned, the Session_Abandon() static public 
  method is called in the startup class.


git-svn-id: svn://localhost/gambas/trunk@3096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 11:49:57 +00:00
Laurent Carlier
e75d1e59cf [DEVELOPMENT ENVIRONMENT]
* BUG: Now archlinux packages are correctly generated.

Some features like extra files or libraries are not yet implemented


git-svn-id: svn://localhost/gambas/trunk@3095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-05 21:52:01 +00:00
Benoît Minisini
ae26406cbd [GB.FORM]
* BUG: DirChooser correctly initializes the bookmark button when reading 
  its state from a settings file.
* BUG: ValueBox raises basic events now.


git-svn-id: svn://localhost/gambas/trunk@3094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 22:30:00 +00:00