Commit graph

1275 commits

Author SHA1 Message Date
Benoît Minisini
edf8b8f34a [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display a thumbnail for images too large or too high.
* NEW: Implement bookmarks for code editor only.
* NEW: Automatic local variable declaration is disabled by default.

[INTERPRETER]
* NEW: GB.Deprecated() is a new interpreter API that displays a warning
  message for deprecated functions at runtime. When the project is 
  debugged, an error is raised instead.

[GB.FORM]
* NEW: Deprecate Stock.List which has been replaced by Stock.Icons.

[GB.QT4]
* BUG: Fix the case of Action.Tooltip property name.

[GB.QT4.EXT]
* NEW: Editor: Support for bookmarks.
* OPT: Editor: Do not compute the character width table each time the font
  changes. Use a cache instead.
* NEW: Editor.BookmarkPicture is a new property for defining the picture 
  used for displaying bookmarks.
* NEW: Editor.FindNextBreakpoint() has been deprecated and replaced by the
  Editor.Breakpoints property, that returns an integer array of all lines
  having a breakpoint.
* NEW: Editor.Bookmars is a new property that returns an integer array of 
  all lines having a bookmark.
* NEW: Editor.CurrentLine is a new property for defining the current 
  executed line. It replaces Editor[].Current.
* NEW: Editor[].Bookmark is a new boolean property that defines if a 
  specific line has a bookmark.


git-svn-id: svn://localhost/gambas/trunk@5044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 17:02:22 +00:00
Benoît Minisini
62e84f1f3a [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic local variable declaration now supports OPEN, SHELL, EXEC,
  RAISE, PIPE, MEMORY and LOCK instructions; NEW operator; FOR ... TO 
  loops; FOR EACH ... IN loops; [ ... ] array and collection constructor.


git-svn-id: svn://localhost/gambas/trunk@5043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 23:49:55 +00:00
Benoît Minisini
2962c8323b [DEVELOPMENT ENVIRONMENT]
* NEW: Initial implementation of automatic local variable declaration.


git-svn-id: svn://localhost/gambas/trunk@5042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 17:56:24 +00:00
Benoît Minisini
a601dc8028 [DEVELOPMENT ENVIRONMENT]
* BUG: Using drag & drop on the project treeview now correctly initializes 
  folder contents.
* NEW: Make the packager wizard dialog smaller for small screens.


git-svn-id: svn://localhost/gambas/trunk@5036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 15:34:12 +00:00
Benoît Minisini
361f89dd57 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a directory in the project treeview should not segfault 
  anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.

[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming 
  mode.


git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 15:08:23 +00:00
Benoît Minisini
de959789e0 [GB.FORM.MDI]
* NEW: Little design fix in the shortcut configuration dialog.

[GB.GTK]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.

[GB.QT4]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.


git-svn-id: svn://localhost/gambas/trunk@5024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 23:39:29 +00:00
Benoît Minisini
b3810b7557 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.
* NEW: An option for hiding editor folding symbols.


git-svn-id: svn://localhost/gambas/trunk@5022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 10:33:31 +00:00
Benoît Minisini
f1cacc6caa [GB.QT4.EXT]
* NEW: Editor: Highlight saved modified lines and unsaved modified lines 
  differently.


git-svn-id: svn://localhost/gambas/trunk@5021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 09:04:41 +00:00
Benoît Minisini
143ce94b6a [DEVELOPMENT ENVIRONMENT]
* BUG: If a library or a component exports a form, then the special 
  properties ('_IsForm' and '_HiddenControls') are not taken into account.


git-svn-id: svn://localhost/gambas/trunk@5019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-08 19:36:15 +00:00
Benoît Minisini
d1eef06cf8 [DEVELOPMENT ENVIRONMENT]
* NEW: Translate all parts of error messages.

[INTERPRETER]
* NEW: Add an explicit error message when trying to override a class that 
  has already been used as a parent for another class.


git-svn-id: svn://localhost/gambas/trunk@5017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 20:21:02 +00:00
Benoît Minisini
aab10df306 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix insertion of predefined environment variables in the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@5014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 21:34:51 +00:00
Benoît Minisini
3ea09ada8a [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a component package now works correctly when the component 
  project has control icons.


git-svn-id: svn://localhost/gambas/trunk@5011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 19:52:07 +00:00
Charlie Reinl
a234a80bfe BUG : sorry for a lazy weelmouse copy
git-svn-id: svn://localhost/gambas/trunk@5007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-03 19:53:53 +00:00
Charlie Reinl
72d3a83c19 IDE:Bug ' this hack is because I can not load my projects into the IDE any more
' seames to be a problem with requirement 
  ' the worst is, once loaded they work well
  ' Charlie 03/08/2012  (after rev.5004)

M       .src/Component/CComponent.class

git-svn-id: svn://localhost/gambas/trunk@5006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-03 19:25:13 +00:00
Charlie Reinl
64193b185d git-svn-id: svn://localhost/gambas/trunk@5005 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2012-08-03 19:18:38 +00:00
Benoît Minisini
5865410b16 [DEVELOPMENT ENVIRONMENT]
* NEW: Unchecking a component in the project property dialog now shows a 
  message box that allows to automatically uncheck all other components
  that depend on it. It does not work with libraries. You must uncheck them
  by hand.
* BUG: Fix some error messages and french translations.

git-svn-id: svn://localhost/gambas/trunk@5003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 10:29:01 +00:00
Benoît Minisini
fd0e20a44a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor selection frame when scrolling.
* BUG: Fix crash when hitting CTRL+A in form editor.


git-svn-id: svn://localhost/gambas/trunk@5002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 08:58:37 +00:00
Benoît Minisini
7ed09707c0 [DEVELOPMENT ENVIRONMENT]
* NEW: New tool menu entry that sends a source archive of the projet by 
  e-mail. It is based on the Desktop.SendMail() method.


git-svn-id: svn://localhost/gambas/trunk@5001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-30 20:05:38 +00:00
Benoît Minisini
174c2747f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a circular reference.

[INTERPRETER]
* BUG: Fix error handling when freeing objects.

[GB.FORM]
* BUG: Stock.Themes now correctly checks that ~/.icons exists.


git-svn-id: svn://localhost/gambas/trunk@4996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-28 12:28:15 +00:00
Benoît Minisini
76c031f1f8 [GB.FORM]
* BUG: Fix LXDE icon theme support.
* BUG: Take "~/.icons" into account in the Stock.Themes property.


git-svn-id: svn://localhost/gambas/trunk@4995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 16:15:43 +00:00
Benoît Minisini
3c6c9260cb [GB.FORM]
* NEW: GridView: Support for column titles with multiple lines.


git-svn-id: svn://localhost/gambas/trunk@4994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 00:30:16 +00:00
Benoît Minisini
e747473a90 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated spanish translation.
* NEW: Controls having translatable properties (like 'Text') now get a new 
  virtual "Translate" property. If this property is FALSE, then the
  translatable properties will not be translated.
* BUG: Fix some spurious errors when refreshing classes and symbols 
  descriptions.

[GB.FORM]
* BUG: TabPanel buttons are correctly refreshed when their picture change.
* NEW: Remove the Stock.Theme property. Now the Application.Theme property
  is used directly. The content of Application.Theme can be either nothing,
  a desktop name, or a icon theme name.


git-svn-id: svn://localhost/gambas/trunk@4993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 08:37:27 +00:00
Benoît Minisini
5b2546816c [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the search list tab when it is not useful.


git-svn-id: svn://localhost/gambas/trunk@4992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 00:15:59 +00:00
Benoît Minisini
1157f00e94 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't remove a used method!


git-svn-id: svn://localhost/gambas/trunk@4990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 20:29:54 +00:00
Benoît Minisini
9fc6b03718 [DEVELOPMENT ENVIRONMENT]
* NEW: Each comment anywhere in the source code beginning with 'TODO:', 
  'FIXME:', or 'NOTE:' is automatically listed in a new tab named 'Tasks' 
  in the bottom debugging panel.

[INTERPRETER]
* BUG: Env[...] does not return a constant string anymore. Anyone can 
  change the environment in the background!


git-svn-id: svn://localhost/gambas/trunk@4989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 19:32:57 +00:00
Benoît Minisini
c831f663a1 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight KML files with HTML highlighting.
* BUG: Fix symbol scan of project classes with no parent.


git-svn-id: svn://localhost/gambas/trunk@4984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-23 13:18:18 +00:00
Benoît Minisini
c1cbd4825a [DEVELOPMENT ENVIRONMENT]
* OPT: Project libraries analyze results are cached now.
* NEW: When a library is added to project dependencies, the other libraries
  it depends on are added too recursively. And a library cannot be removed
  if another one depends on it.
* BUG: Fix a selection error when removing a container while keeping its 
  children.


git-svn-id: svn://localhost/gambas/trunk@4983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-23 01:54:39 +00:00
Benoît Minisini
e8d80f9f76 [GB.FORM]
* NEW: Stock.Icons property now replaces Stock.List property.
* NEW: Stock.Themes is a new property that returns the list of all icon 
  themes stored in '/usr/share/icons'.


git-svn-id: svn://localhost/gambas/trunk@4981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 14:46:19 +00:00
Benoît Minisini
ece7ad1bf5 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little GUI changes.
* BUG: Do not force the focus to the project filter, otherwise the project 
  tree is unusable.

[GB.FORM]
* NEW: Stock.Theme is a new property that allows to define the icon theme
  independently of Application.Theme.
* NEW: Both gnome and kde icon themes should be usable with any desktop 
  now.
* BUG: Icon themes based on svg files only are correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 13:57:19 +00:00
Benoît Minisini
938458a03e [CONFIGURATION]
* NEW: Switch to 3.2.90 version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of project classes that reimplements 
  another class.

[WEB SITE MAKER]
* BUG: Fix scrolling frames on Chrome.

[INTERPRETER]
* NEW: Args and Env classes are now shortcuts for Application.Args and 
  Application.Env properties.


git-svn-id: svn://localhost/gambas/trunk@4977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 20:43:10 +00:00
Benoît Minisini
e9fbb77562 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, the project icon on the right pane is 
  correctly refreshed now.

[GB.FORM]
* BUG: The Stock class now detects the Mate desktop, and use it as default 
  application theme if needed.
* NEW: The Stock class now prints debugging message if the environment
  variable GB_STOCK is set.



git-svn-id: svn://localhost/gambas/trunk@4970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-20 01:34:22 +00:00
Benoît Minisini
97718051b1 [DEVELOPMENT ENVIRONMENT]
* OPT: New optimizations in profile file size.
* NEW: PageUp and PageDown keys now work as expected in the project filter 
  box.

[INTERPRETER]
* NEW: Support for new profile file format.

[GB.DEBUG]
* OPT: New profile file format.

[GB.LIBXML]
* NEW: Make this component exclude gb.xml.

[GB.XML]
* NEW: Make this component exclude gb.libxml.


git-svn-id: svn://localhost/gambas/trunk@4961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-17 16:24:48 +00:00
Benoît Minisini
1d0ebd5999 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree filter box now tries to keep the focus.
* NEW: Hitting ENTER in the project filter box opens the current selected 
  file.
* NEW: Using arrows keys in the project filter box now moves the project
  tree cursor.
* NEW: CTRL+L now sets the focus back to the project filter box.
* NEW: Hitting ESC in the project filter box now resets the filter.
* NEW: Add support for gb.gsl component in the project creation dialog.

[INTERPRETER]
* NEW: Support for floating-point constants.
* BUG: The equality operators of the _operator interface now can return -1
  when a datatype is not supported.

[GB.COMPLEX]
* NEW: Remove methods that are implemented by the _operator interface.

[GB.QT4]
* OPT: Load clipboard format list only if the clipboard has changed.

[GB.GSL]
* NEW: Matrix can be compared with real or complex numbers. The number is
  then multiplied by the identity matrix before doing the comparison.


git-svn-id: svn://localhost/gambas/trunk@4958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-16 16:30:55 +00:00
Benoît Minisini
6931d13491 [GB.GSL]
* OPT: Optimize Complex arithmetic by avoiding unneeded object creations.


git-svn-id: svn://localhost/gambas/trunk@4940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 20:33:26 +00:00
Benoît Minisini
c1212ac95e [INTERPRETER]
* OPT: Remove a useless test in the macro that returns the class of an 
  object.
* OPT: Some little optimization in some type checks.


git-svn-id: svn://localhost/gambas/trunk@4939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 19:57:43 +00:00
Benoît Minisini
a3966cf195 [DEVELOPMENT ENVIRONMENT]
* BUG: Array of classes exported by a component are now correctly handled
  by the component interface analyzer.

[INTERPRETER]
* BUG: The _operators interface now correctly takes into account the
  "Float - Object" case.

[GB.GSL]
* NEW: Redesign of the Polynomial class. Now it implements a polynomial 
  that can switch between real and complex coefficients transparently.
* NEW: The ComplexPolynomial class has been removed.


git-svn-id: svn://localhost/gambas/trunk@4929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 00:13:00 +00:00
Benoît Minisini
fa552f69c1 [DEVELOPMENT ENVIRONMENT]
* NEW: New gb.complex component

[INTERPRETER]
* BUG: Automatic array conversion now works with not yet loaded array 
  classes.

[GB.COMPLEX]
* NEW: New component that implements a rudimentary management of complex 
  numbers. This component is automatically loaded if a complex number
  constant is encountered and no loaded component can already handle 
  complex numbers.


git-svn-id: svn://localhost/gambas/trunk@4924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-09 15:37:42 +00:00
Benoît Minisini
7a198731d2 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display spurious 'missing component' messages in the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@4905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 12:45:20 +00:00
Benoît Minisini
95a0f6c319 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash when a component required by a library is missing.


git-svn-id: svn://localhost/gambas/trunk@4901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-07 08:08:15 +00:00
Benoît Minisini
9ef8385dc9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display the signal description when the interpreter has crashed.
* BUG: Ghost frame and arrangement icons are now correctly updated when the 
  mouse leaves a form editor.


git-svn-id: svn://localhost/gambas/trunk@4893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-03 18:23:27 +00:00
Benoît Minisini
e76e7ee468 [DEVELOPMENT ENVIRONMENT]
* NEW: Allow to save and open a profile file.
* BUG: Correctly ignore ghost frame and arrangement icons when saving a 
  form.


git-svn-id: svn://localhost/gambas/trunk@4887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 23:33:14 +00:00
Benoît Minisini
ad19031dfc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix rectangular selection in form editor.


git-svn-id: svn://localhost/gambas/trunk@4885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 18:18:41 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* BUG: When a top-level source directory actually several components, 
  compile the sub-components *after* the main components. This is 
  especially important with gb.xml and gb.xml.rpc.


git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:51:54 +00:00
Benoît Minisini
056a3f560e [DEVELOPMENT ENVIRONMENT]
* BUG: In form editor and form hierarchy window, correctly ignore controls 
  that are edition helpers (handles, ghost frame...).


git-svn-id: svn://localhost/gambas/trunk@4883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:34:15 +00:00
Benoît Minisini
0d8a6bd737 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not apply the Ignore property in form editor.
* NEW: Some redesign in the way ghost frame, red containers frame and 
  arrangement icons are drawn.


git-svn-id: svn://localhost/gambas/trunk@4882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 14:14:46 +00:00
Benoît Minisini
5691edca65 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw a ghost frame around the current hovered control in the form 
  editor.


git-svn-id: svn://localhost/gambas/trunk@4879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-01 21:33:52 +00:00
Benoît Minisini
7cab7622bf [GB.DRAW]
* BUG: Fix Draw.Picture() when using the transformation matrix and not 
  specifying height or width.


git-svn-id: svn://localhost/gambas/trunk@4866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-27 18:06:10 +00:00
Benoît Minisini
23abebb931 [DEVELOPMENT ENVIRONMENT]
* NEW: The gb.form.stock component now can be explicitely checked in the
  project property dialog.
* NEW: The IDE now depends on gb.form.stock.


git-svn-id: svn://localhost/gambas/trunk@4853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-22 21:25:46 +00:00
Benoît Minisini
1b53072866 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not set the APPMENU_DISPLAY_BOTH environmental variable anymore.
  It seems to work now.

[EXAMPLES]
* NEW: Fractal: increase the maximum number of iterations when the zoom 
  level is higher.

[GB.GTK]
* BUG: Control.Hovered now works the same way as in gb.qt4.

[GB.FORM]
* NEW: SidePanel handles have a fixed width now (6 pixels).


git-svn-id: svn://localhost/gambas/trunk@4849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-19 09:29:59 +00:00
Benoît Minisini
5e0fdbfe7e [GB.FORM]
* NEW: ButtonBox use the new Style.BoxFrameWidth and Style.BoxFrameHeight
  properties to draw itself.

[GB.GTK]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* BUG: The DrawingArea draw event is raised before other internal drawing 
  events now, not after.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.

[GB.QT4]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.


git-svn-id: svn://localhost/gambas/trunk@4836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:27:32 +00:00