Commit graph

440 commits

Author SHA1 Message Date
Benoît Minisini
43f892d7e5 * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:55:21 +00:00
Benoît Minisini
7b268567bd * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:25:31 +00:00
Benoît Minisini
94b00a418c * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:24:04 +00:00
Benoît Minisini
ee7c8ceb7f * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:12:50 +00:00
Benoît Minisini
0007553ca4 * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 23:05:09 +00:00
Benoît Minisini
384268e3b5 * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 23:04:23 +00:00
David Villalobos Cambronero
1cc3e4a24e [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 19:46:17 +00:00
David Villalobos Cambronero
8f83480228 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 15:07:43 +00:00
David Villalobos Cambronero
bdddeaf76e [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-22 22:50:53 +00:00
Benoît Minisini
f3df1daa86 [DEVELOPMENT ENVIRONMENT]
* NEW: Runtime error messages are now translatable. At least those that
  have an error code. Custom error messages coming from component are not
  translatable yet.
* NEW: French translation of runtime error messages.

[INTERPRETER]
* NEW: When running in debugging mode, error messages are formatted to be
  easily translatable.


git-svn-id: svn://localhost/gambas/trunk@2347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-22 22:10:38 +00:00
Benoît Minisini
916c559a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for translated compiler error messages.
* NEW: French translatio of compiler error messages.

[COMPILER]
* BUG: Fix many error messages so that they are easily translatable.
* NEW: A new option, "-e", to output translatable error messages instead of 
  full ones.


git-svn-id: svn://localhost/gambas/trunk@2346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-21 16:57:21 +00:00
Benoît Minisini
26ab06c228 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Read/Write syntax.

[INTERPRETER]
* NEW: New Read/Write syntax.
* NEW: IsVariant() returns if its argument is a Variant.

[COMPILER]
* NEW: New Read/Write syntax.
* NEW: Support for the old read syntax.

[WIKI CGI SCRIPT]
* NEW: Allow query arguments ("?v3" for example) inside wiki links.
* NEW: New look for the table of contents.
* BUG: Non-translated pages display again.

[GB.WEB]
* NEW: Use the new Read/Write syntax.


git-svn-id: svn://localhost/gambas/trunk@2344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-20 17:32:12 +00:00
Benoît Minisini
4ac4e570c9 [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming a edited form works correctly now.
* NEW: Project are now locked with the LOCK instruction, not with files.
  Consequently, if the IDE crashes, the edited project is automatically 
  unlocked.


git-svn-id: svn://localhost/gambas/trunk@2342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:59:11 +00:00
David Villalobos Cambronero
083eaf8f6a [DEVELOPMENTE ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:55:37 +00:00
Benoît Minisini
429b36408e [CONFIGURATION]
* BUG: Forgot to recursively compile gb.image.imlib in the top-level 
  Makefile.am file.

[DEVELOPMENT ENVIRONMENT]
* NEW: All controls have a new "Public" property that tells the compiler 
  to declare this control public.
* NEW: Runtime and compilation errors are now display inside a balloon.
* BUG: Fix the use of old Gambas 2 Open syntax.

[WIKI CGI SCRIPT]
* NEW: New look. No blue anymore!
* NEW: All pages under the '/comp' path now can be switched between 2.0 and 
  3.0 version.
* BUG: Many fixes in links including the version number.
* NEW: An administration button to force a refresh of all pages the next 
  time they are requested.
* NEW: Alt+Shift+S is a shortcut for saving page on Firefox.
* NEW: Inherited symbols are now displayed before other symbols in a class 
  description.

[GB.GTK]
* BUG: Changing the value of the Sorted property in TreeView, ColumnView,
  ListView and ListBox does not crash anymore.

[GB.QT4]
* BUG: Do not use the menu focus hack when showing a window. The current 
  active control loses its focus otherwise.
* BUG: Enumerating Window.Controls works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:32:55 +00:00
David Villalobos Cambronero
97ad035273 [DEVELOPMENT ENVIROMENT]
NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 15:32:09 +00:00
Benoît Minisini
b73c99d385 [GB.GTK]
* NEW: Thanks to an hack based on a global event handler, disabled controls 
  now answer events like in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:42:11 +00:00
Benoît Minisini
2bdd0617d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving and renaming tables having indexes works in all cases now.
* BUG: The "..." button of the property sheet works again.
* BUG: The IDE title is correctly updated when the project version changes.

[GB.DB.FORM]
* BUG: The DataView control now is correctly refreshed when its underlying 
  connection is changed.

[GB.GTK]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.

[GB.QT4]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.


git-svn-id: svn://localhost/gambas/trunk@2331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-11 23:56:56 +00:00
Benoît Minisini
11906ba89a [DEVELOPMENT ENVIRONMENT]
* NEW: Renaming a control now automatically renames the identifier in the 
  source code.

[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape 
  characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
  now use the new Settings storage facilities and return a Variant[].

[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
  now.

[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.

[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
  be stored and retrieved.


git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-10 19:30:41 +00:00
Benoît Minisini
a32c845caa [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in the interaction between the hierarchy tree and the 
  property sheet in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-09 10:20:09 +00:00
Benoît Minisini
026c739f3d [DEVELOPMENT ENVIRONMENT]
* NEW: New control property type "Menu", for properties that receive a 
  popup menu name.
* NEW: New paste button with a menu in the code editor.

[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
  and a popup menu attached.

[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.

[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as 
  their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.

[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done 
  when the widget is visible, which is not pretty.


git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-08 12:22:03 +00:00
David Villalobos Cambronero
f6f0147fd4 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-07 21:55:32 +00:00
Benoît Minisini
d189a2031f [GB.FORM]
* NEW: The ColorChooser control has a working color picker now.

[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.

[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.


git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 15:57:54 +00:00
Benoît Minisini
9d85501cad [DEVELOPMENT ENVIRONMENT]
* NEW: The Toolbox toggle shortcut is now SHIFT+F4.
* NEW: F6 now shows the procedure list in the code editor.

[GB.IMAGE]
* BUG: ColorInfo is back. Otherwise component properties hides default 
  color constants!



git-svn-id: svn://localhost/gambas/trunk@2316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 09:25:18 +00:00
Benoît Minisini
33b1d29dfa [DEVELOPMENT ENVIRONMENT]
* NEW: New procedure list popup in the code editor.
* BUG: Keep case of "Exclude" and "Requires" component properties.
* BUG: Images edited by an external program are correctly watched again.

[GB.IMAGE]
* NEW: Color is a now a true class that replaced the old ColorInfo class.
* NEW: Color class component properties are both readable and writable now.
* NEW: Color.Color is a property that returns the color value from the
  color components defined in the Color object.


git-svn-id: svn://localhost/gambas/trunk@2315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 01:21:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Benoît Minisini
66ea6ef95e [DEVELOPMENT ENVIRONMENT]
* NEW: Connection editors do not display the read-only flag in their title, 
  as it is useless.
* NEW: Cosmetic changes in the welcome and open project dialogs.
* NEW: Display the version of the current project in the IDE title.

git-svn-id: svn://localhost/gambas/trunk@2308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-03 22:11:17 +00:00
Benoît Minisini
a893f16465 [DEVELOPMENT ENVIRONMENT]
* BUG: Pressing the Escape key should hide panels *and* give the focus back
  to the active file correctly.

[INTERPRETER]
* BUG: Fix an uninitialized value in the date formatting routine.

[GB.DB.FORM]
* NEW: DataSource now raises a Change event when its current record changes
  or is refreshed.

[GB.NET]
* BUG: Fix an uninitialized value in SerialPort class, when retrieving the 
  port signal status.


git-svn-id: svn://localhost/gambas/trunk@2307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-02 23:17:05 +00:00
Benoît Minisini
f0b39ad212 [DEVELOPMENT ENVIRONMENT]
* BUG: Image.Mirror() now works in place.

[GB.GTK]
* NEW: Color.LightForeground has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 09:29:40 +00:00
Benoît Minisini
ac548e8734 [CONFIGURATION]
* BUG: Compile files with maximum optimization correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Remove The Form_Close event handler in the FHelp form. It did 
  stupid things indirectly.

[WIKI CGI SCRIPT]
* NEW: Enhancements to support 2.0 and 3.0 descriptions on the same page.

[GB.FORM]
* NEW: Enhance the ColorChooser control.

[GB.FORM.MDI]
* BUG: Fix the Toolbar layout algorithm.

[GB.IMAGE]
* BUG: Image.Colorize() works again.

[GB.IMAGE.EFFECT]
* NEW: This component includes image filtering and effect routines. This is 
  the old gb.image component from Gambas 2. Everything is not working 
  correctly at the moment.

[GB.QT4]
* NEW: Color.LightForeground returns the light foreground color used for
  drawing separators and plain panel borders.
* BUG: Prevent crashes coming from the fact that Qt deletes child widgets 
  before emiting the destroy signal on the parent.


git-svn-id: svn://localhost/gambas/trunk@2296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 01:14:13 +00:00
Benoît Minisini
b03141a81e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix crash when displaying help after something has been selected.


git-svn-id: svn://localhost/gambas/trunk@2292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 15:37:28 +00:00
Fabien Bodard
326f5432d2 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the help window is correctly handled


git-svn-id: svn://localhost/gambas/trunk@2289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 20:35:20 +00:00
Fabien Bodard
a8610c4832 [DEVELOPMENT ENVIRONMENT]
* NEW: The popup help is now a dockable form like the console one


git-svn-id: svn://localhost/gambas/trunk@2288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 19:57:09 +00:00
Benoît Minisini
9f1feee8ff [CONFIGURATION]
* BUG: Fix the way some source files are compiled with different 
  compilation flags in the interpreter and in the gb.image component.


git-svn-id: svn://localhost/gambas/trunk@2285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 14:16:32 +00:00
Benoît Minisini
9b05d386e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore error messages from the debugger if one is currently 
  displayed.
* BUG: Browse examples is more reliable now.
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.GTK]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.

[GB.FORM]
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.IMAGE.IMLIB]
* NEW: Imlib image cache is disabled.
* NEW: Image.Rotate() returns a smoothly rotated image.
* NEW: Image.Stretch() returns a smoothly stretched image.
* NEW: Image.Blur() blurs an image.
* NEW: Image.Sharpen() sharpens an image.
* NEW: Image.Draw() blends an image into another one.

[GB.QT4]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.


git-svn-id: svn://localhost/gambas/trunk@2283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-29 23:26:44 +00:00
Benoît Minisini
a18348f8cd [DEVELOPMENT ENVIRONMENT]
* NEW: In the open project dialog, you can now uncompress archives by 
  double-clicking on it. There is a confirmation message of course.

[GB.IMAGE.IMLIB]
* NEW: I want to use ImLib2 to enhance the image component. Does nothing at
  the moment!


git-svn-id: svn://localhost/gambas/trunk@2282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 21:42:11 +00:00
Benoît Minisini
5995c33772 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize the "Show Tooltip" option when displaying the 
  preferences dialog.

[GB.QT.EXT]
* BUG: Editor.PosToColumn() correctly detects if the position if after the 
  end of the line now.


git-svn-id: svn://localhost/gambas/trunk@2281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 15:12:22 +00:00
Benoît Minisini
ccf2a2c99f [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Separator property of ToolBar and SidePanel.

[GB.DB.FORM]
* NEW: DataView.Border is a new property to define if the border of the
  DataView is visible or not.

[GB.FORM]
* NEW: SidePanel.Separator is a new property that displays a separator 
  beside the panel when set to True.

[GB.FORM.MDI]
* NEW: ToolBar.Separator is a new property that displays a separator under 
  the toolbar when set to True.


git-svn-id: svn://localhost/gambas/trunk@2280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 14:56:35 +00:00
David Villalobos Cambronero
7afb84ad8f [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 14:58:46 +00:00
Benoît Minisini
bd15563f2f [DEVELOPMENT ENVIRONMENT]
* NEW: Double-click is needed to modify a value in the debugger. But now
  you can't reset an object value to NULL. Something to fix later...

[GB.DEBUG]
* BUG: Fix an uninitialized value that made the debugger crash when 
  trying to see if an object can act like an array.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler >= 0.11.3.


git-svn-id: svn://localhost/gambas/trunk@2268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:30:23 +00:00
Fabien Bodard
81fcbc10e4 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the popup help is showed even if the panDebug is not visible.


git-svn-id: svn://localhost/gambas/trunk@2267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 20:39:27 +00:00
Benoît Minisini
8bb2091ab0 [CONFIGURATION]
* BUG: Fix the Makefile.am files of /main/lib sub-directories.

[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your 
  component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field 
  in debugger windows while debugging.

[INTERPRETER]
* NEW: Support for local and global variable assignment.

[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global 
  variables now.

[GB.EVAL]
* NEW: Support for local and global variable assignment.

[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic 
  keyboard navigation.

(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 14:19:32 +00:00
Fabien Bodard
a5668e9f87 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help look fine on every case.


git-svn-id: svn://localhost/gambas/trunk@2261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 17:34:32 +00:00
Benoît Minisini
5bb47fc9aa [DEVELOPMENT ENVIRONMENT]
* NEW: Some little cosmetic changes.
* BUG: Do not use gb.UseLanguage anymore.

[INTERPRETER]
* NEW: The gb.UseLanguage and gb.Case constants have been removed.
* NEW: Array.Find() methods now take an optional argument that defines the 
  search start index.
* NEW: gb.Like is a new comparison mode that internally uses the LIKE 
  operator.


git-svn-id: svn://localhost/gambas/trunk@2260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 12:17:31 +00:00
Benoît Minisini
dad1cff347 [GB.QT4]
* NEW: Window without borders now ask to not be managed by the window 
  manager. Consequently, they are not activated when shown, and do not get 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 10:11:25 +00:00
Fabien Bodard
63d792ebad [DEVELOPMENT ENVIRONMENT]
* BUG: The ide does not crash on some mouse position 
  during the help search


git-svn-id: svn://localhost/gambas/trunk@2258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 08:44:26 +00:00
Benoît Minisini
080f1d20b9 [GB.QT4.EXT]
* NEW: Editor.PosToColumn() and Editor.PosToLine() now return -1 when the 
  mouse cannot be mapped to a cursor position.


git-svn-id: svn://localhost/gambas/trunk@2256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 20:52:17 +00:00
Benoît Minisini
6efb184d9a [DEVELOPMENT ENVIRONMENT]
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide 
  (or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.

[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been 
  replaced by "Ambigous brackets".

[GB.IMAGE]
* NEW: Remove Image.Transform().

[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.

[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or 
  Control.ResizeScaled() is zero, then the effective width (or height) will 
  be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification, 
  DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in 
  the foreground.


git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 19:43:40 +00:00
Fabien Bodard
e24c16588f [DEVELOPMENT ENVIRONMENT]
* NEW: The words are highlighted


git-svn-id: svn://localhost/gambas/trunk@2254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 17:24:13 +00:00
Fabien Bodard
911e1d6e8e [DEVELOPMENT ENVIRONMENT]
* NEW: Now the popup help is a popup top window. The help is showed 
  when you are staying on a word more than one second with the mouse.

[GB.QT4.EXT]
* NEW: The function PosToCol of the editor now return false if the mouse 
  is not on the text.




git-svn-id: svn://localhost/gambas/trunk@2252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:35:28 +00:00
Benoît Minisini
e5f3d190c7 [GB.QT4]
* BUG: The AutoResize property of Button and ToolButton now works 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@2249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 19:51:32 +00:00
Benoît Minisini
a5b5e01aa7 [DEVELOPMENT ENVIRONMENT]
* BUG: In the menu editor, shortcuts are now correctly saved in all cases.

[GB.FORM.MDI]
* NEW: Ctrl+PgUp and Ctrl+PgDown are two new shortcuts to move to the 
  previous or next tab in the Workspace control.


git-svn-id: svn://localhost/gambas/trunk@2246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 09:10:49 +00:00
Benoît Minisini
dba4051fb0 [DEVELOPMENT ENVIRONMENT]
* NEW: Brakpoint tab has been redesigned.
* BUG: Unchecking the gb.db component in a project having Connection 
  objects does not crash anymore when refreshing the project tree.

[INTERPRETER]
* BUG: Setting a breakpoint on the startup class works again.

[GB.DEBUG]
* BUG: Setting a breakpoint on the startup class works again.

[GB.FORM]
* BUG: Fix the use of the new Image.Mirror() function.

[GB.IMAGE]
* NEW: Image.Transform() is a just a test. Do not use it.

[GB.QT4]
* BUG: When a debugger event has been received, do not manipulate the GUI 
  if the application object has not been created yet.


git-svn-id: svn://localhost/gambas/trunk@2244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 22:36:54 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Mehmet Başdemir
e44c393457 [DEVELOPMENT ENVIRONMENT]
* NEW: Turkish translation of Gambas IDE has been completely finished.

git-svn-id: svn://localhost/gambas/trunk@2235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 09:55:29 +00:00
Benoît Minisini
8fa23b6351 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little changes in the "cool" buttons and in the project item 
  control.
* BUG: Fix the console embedding flash when the debugger starts.

[INTERPRETER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent 
  to the compiler.

[COMPILER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent 
  to the compiler.

[GB.FORM]
* OPT: ListContainer.Clear() now locks the container, as there is no need 
  to arrange its children while clearing it.


git-svn-id: svn://localhost/gambas/trunk@2230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-10 10:16:58 +00:00
Mehmet Başdemir
1f47320a4f Turkish Translation of Website.
git-svn-id: svn://localhost/gambas/trunk@2228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:07:07 +00:00
Benoît Minisini
9761b82d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Try to lower the number of lines displayed in the GUI by removing 
  borders and using Separators instead.
* BUG: F11 should work correctly just after the IDE has been loaded now.

[EXAMPLES]
* NEW: In the PdfViewer example, zooming with the mouse wheel is now 
  smooth.

[GB.FORM.MDI]
* NEW: Remove one pixel padding in Workspace and Toolbar.

[GB.IMAGE]
* NEW: Color.Mix has been replaced by Color.Merge.

[GB.QT4]
* NEW: Remove useless Color methods and properties that are now defined in
  the gb.image component.

[GB.QT4.EXT]
* NEW: Editor has a new boolean property Border.


git-svn-id: svn://localhost/gambas/trunk@2227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:01:59 +00:00
Benoît Minisini
0082ebc8db [GB.DBUS]
* BUG: Fix the "DBus class declared twice" error. The DBus class in the C 
  part has been renamed "_DBus" so that it does not conflict anymore with 
  the DBus class declared in the gambas part.


git-svn-id: svn://localhost/gambas/trunk@2223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 18:14:26 +00:00
Benoît Minisini
80a20e2336 [EXAMPLES]
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to 
  the child shell.

[INTERPRETER]
* BUG: Remove some warning messages.

[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-06 00:34:49 +00:00
Benoît Minisini
caa1b5aac6 [INTERPRETER]
* NEW: The _unknown() method is now correctly called when reading *and* 
  writing unknown properties. _unknown() is called with no arguments when
  reading the property, and with one argument (the new property value) when 
  writing it.
* BUG: Classes declared in the Gambas part of a component now should 
  correctly override classes declared in the C/C++ part.

[GB.DBUS]
* NEW: Hide native methods of the DBus class.
* NEW: The syntax for calling a method is:
  DBus[<Application>][<Object>,<Interface>].<Method>(<Arguments>)
  <Application> can be prefixed by "system://" to access the system bus.
* NEW: Properties are readable and writable with this syntax:
  DBus[<Application>][<Object>,<Interface>].<Property>
* NEW: DBusVariant is a new class that allows to send a Variant to a DBus 
  method by specifying is DBus type. Otherwise, when using Variant 
  directly, the associated DBus type is guessed automatically, which may 
  not be accurate is some cases.


git-svn-id: svn://localhost/gambas/trunk@2218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-05 16:14:08 +00:00
Benoît Minisini
3833fdd995 [DEVELOPMENT ENVIRONMENT]
* BUG: The IDE does not crash anymore when a project is read-only, you 
  double-click on a control in the form editor, and no event handler is 
  found.


git-svn-id: svn://localhost/gambas/trunk@2217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-05 00:14:41 +00:00
Benoît Minisini
ee2d930fd8 [DEVELOPMENT ENVIRONMENT]
* NEW: Chinese translation updated.
* BUG: The import function of the translation dialog does not forget some 
  translations anymore.

[WICI CGI SCRIPT]
* NEW: Chinese translation updated.

[WEB SITE MAKER]
* NEW: Chinese translation updated.

[GB.DB.FORM]
* NEW: Chinese translation updated.

[GB.FORM]
* NEW: Chinese translation updated.

[GB.FORM.DIALOG]
* NEW: Chinese translation updated.

[GB.FORM.MDI]
* NEW: Chinese translation updated.

[GB.QT4]
* NEW: ComboBox.Sorted has been implemented.
* NEW: The welcome dialog animation is run only if the mouse is over it. 
  Gambas must be kind with slow CPUs.



git-svn-id: svn://localhost/gambas/trunk@2216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 23:58:51 +00:00
David Villalobos Cambronero
e6a9c5fa90 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 18:26:36 +00:00
Benoît Minisini
e862619957 [CONFIGURATION]
* NEW: Update libtool and configuration file to their last version.

[DEVELOPMENT ENVIRONMENT]
* BUG: The right translation columns in the translation dialog now keep 
  being visible after a language change.

[WEB SITE MAKER]
* NEW: Chinese translation made by Liang Wei.


git-svn-id: svn://localhost/gambas/trunk@2212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:46:32 +00:00
Benoît Minisini
ec084f4211 [WEB SITE MAKER]
* NEW: Prepare the web site for turkish translation.


git-svn-id: svn://localhost/gambas/trunk@2207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 23:05:08 +00:00
Benoît Minisini
dc8e806ae7 [DEVELOPMENT ENVIRONMENT]
* NEW: Arabic translation updated.

[INTERPRETER]
* NEW: A new method in the interpreter API to read a value in memory and 
  store it in a Gambas value slot.

[GB.DB.ODBC]
* BUG: Fix a warning.


git-svn-id: svn://localhost/gambas/trunk@2206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 22:48:08 +00:00
Fabien Bodard
45a968480d [DEVELOPMENT ENVIRONMENT]
* BUG: Now the local help link save the cursor position before open the 
  targeted class.


git-svn-id: svn://localhost/gambas/trunk@2204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 10:55:34 +00:00
Fabien Bodard
ec40aef9ae [DEVELOPMENT ENVIRONMENT]
* BUG: Correct an error on the help show way


git-svn-id: svn://localhost/gambas/trunk@2201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-01 09:14:45 +00:00
Fabien Bodard
a2ea9ce4a3 git-svn-id: svn://localhost/gambas/trunk@2200 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2009-08-01 09:12:57 +00:00
David Villalobos Cambronero
dd5aecbfc5 [MAKE WEB SITE]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-31 16:20:38 +00:00
David Villalobos Cambronero
45f548d882 [DEVELOPMENT ENVIROMENT]
* NEW:Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 22:36:29 +00:00
Benoît Minisini
06282813f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the project refreshing routine that made edited data files 
  read-only and unsaveable.

[WEB SITE MAKER]
* NEW: Arabic translation made by Daif Alotaibi.
* NEW: Support for right-to-left written languages.

[GB.DBUS]
* NEW: A new component to talk with D-Bus. But it cannot do anything at 
  the moment.

[GB.QT4]
* BUG: Expanded an item in a TreeView by code now shows the children as if 
  you did it by user interaction.


git-svn-id: svn://localhost/gambas/trunk@2197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 21:42:46 +00:00
Fabien Bodard
0e34ad63ca [DEVELOPMENT ENVIRONMENT]
* NEW: A new option allow to desactivate the help popup.


git-svn-id: svn://localhost/gambas/trunk@2196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 20:35:50 +00:00
Fabien Bodard
027f6186c0 [DEVELOPMENT ENVIRONMENT]
* BUG: Now we can have the help for symbole with a $ at the end


git-svn-id: svn://localhost/gambas/trunk@2195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 19:41:34 +00:00
Fabien Bodard
263b03d1be [DEVELOPMENT ENVIRONMENT]
* NEW: Now the controls declared in the form editor can be directly shown
 in the form editor from a link in the local help


git-svn-id: svn://localhost/gambas/trunk@2194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 19:22:55 +00:00
Daif Al-Otaibi
9184fbe716 [MAKE WEB SITE]
* NEW: Arabic translation updated.

git-svn-id: svn://localhost/gambas/trunk@2193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 18:18:45 +00:00
David Villalobos Cambronero
eee88fa2ba [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-29 18:57:44 +00:00
Benoît Minisini
aaf84a376a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the crash when displaying debugging windows at program startup.


git-svn-id: svn://localhost/gambas/trunk@2190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-29 12:04:27 +00:00
Benoît Minisini
aa590f69ee [WEB SITE MAKER]
* BUG: The architecture page is correctly generated now.

[GB.FORM.MDI]
* BUG: The Workspace menu now works correctly if two windows have the same 
  title.
* NEW: A new entry in the Workspace menu for sorting tabs by title.


git-svn-id: svn://localhost/gambas/trunk@2182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-27 23:06:11 +00:00
David Villalobos Cambronero
ba9fa8a115 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-27 15:12:25 +00:00
Benoît Minisini
fba5d80c35 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the GridView[].RowSpan property in the find list to enhance its 
  look.
* BUG: Try to delay the help popup show, but it seems to fix nothing...
* NEW: An option in the project creation dialog that opens the newly 
  created project in another window.
* NEW: Double-clicking in a debug window gridview row now displays the 
  value inside a balloon. This way, very long values can be read entirely.
* NEW: The connection properties dialog allows to create or remove 
  databases.
* BUG: Fix the embedding of the output window.

[GB.DB.FORM]
* BUG: Prevent DataView rows from being too large.

[GB.QT4]
* BUG: Fix a stupid bug that sometimes made a window top-only unexpectedly.


git-svn-id: svn://localhost/gambas/trunk@2179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-27 09:32:17 +00:00
Peter Landgren
e697dfe89e [DEVELOPMENT ENVIRONMENT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 17:48:35 +00:00
Benoît Minisini
e8e807ee2b [CONFIGURATION]
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid 
  pkg-config configuration files.

[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project 
  compilation.

[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character 
  inside.

[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to 
  False does not interfer with the global key event handler.


git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 12:38:20 +00:00
Fabien Bodard
9f51810617 [DEVELOPMENT ENVIRONMENT]
* NEW: More complete help


git-svn-id: svn://localhost/gambas/trunk@2172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-25 22:20:54 +00:00
Fabien Bodard
d372d0c235 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the local help is showed as popup if the help tab is not selected.



git-svn-id: svn://localhost/gambas/trunk@2169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-25 15:10:14 +00:00
Benoît Minisini
ec58b8297f [DEVELOPMENT ENVIRONMENT]
* BUG: Prevent the symbol analyze from crashing if a project function has a 
  syntax error in its declaration.


git-svn-id: svn://localhost/gambas/trunk@2167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-25 12:38:36 +00:00
Fabien Bodard
2568642c5b [DEVELOPMENT ENVIRONMENT]
* NEW: Local symbol help now accept multiline


git-svn-id: svn://localhost/gambas/trunk@2163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 21:19:19 +00:00
Fabien Bodard
087547a6c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Local symbol help begin to work


git-svn-id: svn://localhost/gambas/trunk@2162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 15:50:38 +00:00
Benoît Minisini
a510b0b4d1 [SCRIPTER]
* BUG: Make it compile again.

[GB.QT4.WEBKIT]
* NEW: WebFrame is a new class that recursively describes WebView frames.
* NEW: WebView.Frame is a new property that returns the WebView main frame.
* NEW: WebView.Current is a new property that returns the WebView current
  frame.


git-svn-id: svn://localhost/gambas/trunk@2159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 13:05:24 +00:00
Benoît Minisini
e340d5271c [DEVELOPMENT ENVIRONMENT]
* BUG: Clear database passwords when opening a new project.


git-svn-id: svn://localhost/gambas/trunk@2157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 23:57:15 +00:00
Benoît Minisini
ca1bdc4b43 [DEVELOPMENT ENVIRONMENT]
* BUG: Database passwords are now stored in memory if they are not saved 
  to the desktop password database.



git-svn-id: svn://localhost/gambas/trunk@2156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 23:51:34 +00:00
Benoît Minisini
d51f8dbb72 [DEVELOPMENT ENVIRONMENT]
* BUG: When connecting to the database, really use the password even if it 
  is not stored in the desktop password database.


git-svn-id: svn://localhost/gambas/trunk@2155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 22:53:26 +00:00
Benoît Minisini
c43ce9eb34 [CONFIGURATION]
* BUG: Fix some test in configuration script that could be syntactically 
  incorrect in some situations.

[GB.GTK]
* NEW: TabStrip[].Children[] now returns a child of a specific TabStrip tab
  from its index.


git-svn-id: svn://localhost/gambas/trunk@2153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 22:42:39 +00:00
Fabien Bodard
933737dd6f [DEVELOPMENT ENVIRONMENT]
* BUG: Correct an error, and work on all the help


git-svn-id: svn://localhost/gambas/trunk@2152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 21:33:41 +00:00
Fabien Bodard
39b7b7a0b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help is given when you select a word, like in debug
  mode and only when the help tab is selected.


git-svn-id: svn://localhost/gambas/trunk@2151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 21:22:53 +00:00
Benoît Minisini
6c773074e0 [EXAMPLES]
* NEW: The WebBrowser example now uses the qt4 webkit component.

[WIKI CGI SCRIPT]
* NEW: Add hungarian to the list of languages.

[GB.DESKTOP]
* BUG: Fix a 64-bit OS related bug when getting a window property.

[GB.QT4]
* NEW: TabStrip[].Children[] now returns a child of a specific TabStrip tab
  from its index.

[GB.QT4.WEBKIT]
* NEW: A new component that has one control, WebView, which is a full
  WebKit browser.



git-svn-id: svn://localhost/gambas/trunk@2150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 16:53:06 +00:00
Fabien Bodard
13a6023769 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help on a keyword and some symbol is showed on 
  the bottom of the interface when you do a shift dblclick on a word.
 


git-svn-id: svn://localhost/gambas/trunk@2149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 15:45:31 +00:00
Fabien Bodard
472937092a [DEVELOPMENT ENVIRONMENT]
* NEW: Now the developper integrated help is detected.
It work on SUB, FUNCTION, and Global variables. 
It need to begin with '/# and end with #/
(but it just store the first line Number for now. it's not finished.)
Exemple: 

'/# Help for My sub #/
PUBLIC SUB MySub()
END



git-svn-id: svn://localhost/gambas/trunk@2148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 07:54:12 +00:00