Commit graph

746 commits

Author SHA1 Message Date
Benoît Minisini
cdcf6cdac9 [DEVELOPMENT ENVIRONMENT]
* BUG: Code indentation routine correctly handles structures now.

[INTERPRETER]
* NEW: Object.LastEventName has been deprecated, and replaced by 
  the Param.EventName property.
* BUG: IsFloat() is now a synonymous for IsNumber().
* BUG: Intrinsic functions description has been updated.

[COMPILER]
* NEW: "\e" is a new string escape sequence equivalent to "\x1B".

[GB.FORM]
* NEW: Use the new Control.Proxy property instead of internal observers
  inside compound controls (ValueBox, ButtonBox, MenuButton).

[GB.GTK]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.

[GB.QT4]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.


git-svn-id: svn://localhost/gambas/trunk@3387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-21 14:05:42 +00:00
Benoît Minisini
16cf4c045b [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash during structure declaration analyze, when the 
  structure name has been forgotten.


git-svn-id: svn://localhost/gambas/trunk@3384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-20 12:32:19 +00:00
Benoît Minisini
776937cb72 [DEVELOPMENT ENVIRONMENT]
* NEW: Define preprocessor color for all highlighting themes.

[COMPILER]
* NEW: The maximum number of constants in a class is now 65536.

[INTERPRETER]
* NEW: The maximum number of constants in a class is now 65536.


git-svn-id: svn://localhost/gambas/trunk@3383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-20 03:56:43 +00:00
Jordi Sayol
93646d4c1c [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[EXAMPLES]
* NEW: Lighttable Help Catalan translation added.
* NEW: GNUBoxWorld Catalan translation updated.



git-svn-id: svn://localhost/gambas/trunk@3381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-20 02:37:02 +00:00
Benoît Minisini
b38df04095 [DEVELOPMENT ENVIRONMENT]
* NEW: In icon editor, the width of the selection frame now follows the 
  zoom level.
* NEW: Support for preprocessor highlighting.

[COMPILER]
* NEW: Integrated preprocessor. The following commands are supported:
  #If <expr>, #Else If <expr>, #Else and #Endif. <expr> can be a 
  combination of constants (OS_LINUX, OS_FREEBSD, ARCH_X86, ARCH_X86...),
  parenthesis, 'And' & 'Or' operators, version test (VERSION >= "3.0").
  This is work in progress.

[GB.EVAL]
* NEW: A new highlighting color for the preprocessor.

[GB.QT4.EXT]
* NEW: A new highlighting color for the preprocessor in Editor control.


git-svn-id: svn://localhost/gambas/trunk@3374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-18 04:27:59 +00:00
Jordi Sayol
50e9e81c5f [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.

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

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

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

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

[EXAMPLES]
* NEW: Catalan translation of all examples updated.



git-svn-id: svn://localhost/gambas/trunk@3373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-17 00:24:35 +00:00
Jordi Sayol
c5e8667fdf [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.

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

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

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

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

[EXAMPLES]
* NEW: Catalan translation of all examples updated.



git-svn-id: svn://localhost/gambas/trunk@3371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-16 01:58:02 +00:00
Benoît Minisini
6f440dc030 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the icon editor.

[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.

[INFORMER]
* BUG: Fix a file descriptor leak.

[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or 
  equal than 6.

[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
  property with a string array.

[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image 
  object.
* NEW: Draw.Image() does not do a smooth transformation the image is 
  enlarged in both dimensions, and if the new size is a multiple of the old
  size.
* OPT: DrawingArea with the default background color now does not repaint
  its background before calling the Draw event.

[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().


git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-15 15:55:16 +00:00
Benoît Minisini
a45e7bc86d [DEVELOPMENT ENVIRONMENT]
* NEW: Allow to add additional lines to the *.desktop configuration file in
  the packager.


git-svn-id: svn://localhost/gambas/trunk@3367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-14 14:29:23 +00:00
Benoît Minisini
8af22eafce [DEVELOPMENT ENVIRONMENT]
* NEW: Fix the packager mimetypes label and update the french translation.


git-svn-id: svn://localhost/gambas/trunk@3366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-14 10:58:54 +00:00
Benoît Minisini
c25cee0bd2 [DEVELOPMENT ENVIRONMENT]
* NEW: Mimetypes handled by the application can be specified in the 
  packager now.


git-svn-id: svn://localhost/gambas/trunk@3365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-14 10:46:52 +00:00
Benoît Minisini
7334fb87a0 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw the class name into the icon of project exported controls.
* NEW: A search box in the hierarchy tree.
* BUG: Deleting project files works correctly again.

[GB.FORM]
* NEW: ButtonBox.Editor is a new property that returns the internal TextBox
  used by the control.


git-svn-id: svn://localhost/gambas/trunk@3364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-14 10:12:49 +00:00
Benoît Minisini
9595b58109 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use the deprecated DrawingArea.Merge property anymore.

[GB.QT4]
* BUG: The component should compile correctly now.


git-svn-id: svn://localhost/gambas/trunk@3360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 14:00:28 +00:00
Benoît Minisini
b15fea4e1b [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display the internal self-component in the project property 
  component list.

[GB.FORM]
* NEW: Bookmarks are editable now.


git-svn-id: svn://localhost/gambas/trunk@3355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-11 01:55:35 +00:00
Benoît Minisini
98628b539d [DEVELOPMENT ENVIRONMENT]
* BUG: Clicking with the right mouse button on a toolbox control now 
  correctly raises the help on that control.


git-svn-id: svn://localhost/gambas/trunk@3354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-10 01:57:34 +00:00
Benoît Minisini
278b393018 [DEVELOPMENT ENVIRONMENT]
* NEW: Exported project classes that are controls are now automatically 
  visible in the control toolbar.
* NEW: Compiling the project now automatically refreshes the control 
  toolbar when needed.

[INTERPRETER]
* BUG: File.SetExt() now works correctly with files whose name begins with
  a dot.

[GB.QT4]
* BUG: The frame width of raised or sunken borders used by some Container 
  classes now should correctly follow the style.


git-svn-id: svn://localhost/gambas/trunk@3352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-09 03:15:42 +00:00
Benoît Minisini
34bb499ae7 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the menu entry "add a project link".

[GB.GTK]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.

[GB.QT4]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.


git-svn-id: svn://localhost/gambas/trunk@3349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 22:13:02 +00:00
Benoît Minisini
1354ca2af7 [GB.DB.ODBC]
* BUG: Table existence should be checked correctly now.

[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image 
  easily.

[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is 
  taken into account when painting on a Printer object.


git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:20:40 +00:00
Benoît Minisini
26b363c96f [WIKI CGI SCRIPT]
* NEW: Button to "flattr" Gambas.

[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.

[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference 
  to a function.

[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write 
  "integer".

[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.

[GB.QT4]
* BUG: The font size of printed texts is now correct.


git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-05 20:17:24 +00:00
Benoît Minisini
b61b72ca10 [DEVELOPMENT ENVIRONMENT]
* BUG: Project files that are symbolic links are always read-only now.


git-svn-id: svn://localhost/gambas/trunk@3336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 14:04:39 +00:00
David Villalobos Cambronero
e0fdfd2fdc [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-29 16:11:25 +00:00
Benoît Minisini
2a252a9d4e [DEVELOPMENT ENVIRONMENT]
* BUG: Replace IsBoolean(x) by TypeOf(x) = gb.Boolean.


git-svn-id: svn://localhost/gambas/trunk@3334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-29 10:50:46 +00:00
Benoît Minisini
76208aea23 [WIKI CGI SCRIPT]
* NEW: Version support for all wiki pages.
* NEW: Adding "#X" behind a title page make indexes ignore that page when 
  version X is requested.
* NEW: Version 2 is blue and version 3 is red.

[GB.DB.FORM]
* BUG: IsObject() has been removed, so do differently now.

[GB.GTK]
* BUG: Cursor is correctly updated with the value of Application.Busy now.


git-svn-id: svn://localhost/gambas/trunk@3333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 19:08:51 +00:00
Benoît Minisini
088aa594b2 [DEVELOPMENT ENVIRONMENT]
* NEW: In a red mood...


git-svn-id: svn://localhost/gambas/trunk@3332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 10:31:10 +00:00
Benoît Minisini
ebc7714e3f [DEVELOPMENT ENVIRONMENT]
* BUG: Search hihghlighting is correctly refreshed now when a new project
  is opened.


git-svn-id: svn://localhost/gambas/trunk@3330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 09:55:48 +00:00
Benoît Minisini
0c1e5e1dbf [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display control name inside virtual control.
* BUG: Do not display control name inside buttons having a picture and no 
  text.


git-svn-id: svn://localhost/gambas/trunk@3324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 00:48:43 +00:00
Benoît Minisini
030523326f [INTERPRETER]
* NEW: Mem$() is a new function that returns a string from the internal 
  memory representation of a value.
* NEW: BoolPtr() has been replaced by Bool@(), BytePtr() has been replaced 
  by Byte@(), and so on...
* NEW: StrPtr() has been replaced by String@().

[EXAMPLES]
* NEW: Search support in the WebBrowser example.


git-svn-id: svn://localhost/gambas/trunk@3318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 01:30:36 +00:00
Benoît Minisini
45edd9fcdd [CONFIGURATION]
* NEw: Remove the now useless database manager project.


git-svn-id: svn://localhost/gambas/trunk@3317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 23:24:35 +00:00
Benoît Minisini
a631ecf0e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Help browser does not skip taskbar anymore when not being an utility 
  window.


git-svn-id: svn://localhost/gambas/trunk@3311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 17:56:47 +00:00
Benoît Minisini
394964119c [DEVELOPMENT ENVIRONMENT]
* NEW: When creating an executable, keep debugging symbols by default.


git-svn-id: svn://localhost/gambas/trunk@3309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 12:01:58 +00:00
Benoît Minisini
d22be159d5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display control names inside ToolButton and ToggleButton 
  controls.
* BUG: Correctly remove bytecode file when renaming a source file.


git-svn-id: svn://localhost/gambas/trunk@3308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 11:57:54 +00:00
Fabien Bodard
7436071810 [DEVELOPMENT ENVIRONMENT]
* OPT: Add the _attach entry in the FCompletion special method array


git-svn-id: svn://localhost/gambas/trunk@3302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-19 08:20:14 +00:00
Matti
f6d634845d [DEVELOPMENT ENVIRONMENT]
* OPT: Update of German Translation

[MAKEWEBSITE]
* OPT: Update of German Translation

[GB.DB.FORM]
* OPT: Update of German Translation

[GB.FORM]
* OPT: Update of German Translation

[GB.FORM.MDI]
* OPT: Update of German Translation

[DOC.CGI]
* OPT: Update of German Translation

[TEXTEDIT EXAMPLE]
* OPT: Update of German Translation

[TREEVIEV EXAMPLE]
* NEW: German Translation

[CONCENT EXAMPLE]
* NEW: German Translation

[TIPS OF THE DAY]
* OPT: Update of German Translation



git-svn-id: svn://localhost/gambas/trunk@3300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 19:29:27 +00:00
Benoît Minisini
e65391a4ce [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly refresh the ComboBox name in the form editor.


git-svn-id: svn://localhost/gambas/trunk@3299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 15:11:22 +00:00
Benoît Minisini
79c2777bb4 [DEVELOPMENT ENVIRONMENT]
* NEW: In the form editor, display the name inside controls only if the 
  Text property is not defined.


git-svn-id: svn://localhost/gambas/trunk@3298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 15:07:08 +00:00
Benoît Minisini
3f15248208 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash when trying to fill the help window of a control.


git-svn-id: svn://localhost/gambas/trunk@3297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 10:22:07 +00:00
Benoît Minisini
8873a0e1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle all compiler error messages.

[INTERPRETER]
* NEW: Full management of the Single datatype.
* BUG: VarPtr() now works on Single local variables.
* BUG: Remove useless Tag property. It is defined in the Stream class now.
* BUG: Correctly free the Tag property in the Stream class.

[GB.GTK]
* BUG: Rich-text string management has been fixed. The ampersand character, 
  the "&amp;", "&gt;" and "&lt;" entites are correctly interpreted now.

[GB.NET.CURL]
* BUG: Remove useless Tag property. It is defined in the Stream class now.

[EXAMPLES]
* NEW: The WebBrowser example has a download manager now.


git-svn-id: svn://localhost/gambas/trunk@3296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-16 01:49:18 +00:00
Benoît Minisini
6dca374ff0 [DEVELOPMENT ENVIRONMENT]
* BUG: Variable help comments are now taken into account when displaying 
  contextual help.


git-svn-id: svn://localhost/gambas/trunk@3293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-13 01:14:26 +00:00
Benoît Minisini
982b9ad52d [DEVELOPMENT ENVIRONMENT]
* NEW: A search field in the menu editor.

[EXAMPLES]
* NEW: The WebBrowser example has been modified to use the new features of
  the gb.qt4.webkit component.

[GB.QT4.WEBKIT]
* NEW: Cookie is a new class that represents a cookie.
* NEW: WebView.Cookies is a new property for returning all cookies in the 
  browser cookie jar. Setting that property has to be done yet.
* NEW: WebView.HitTest() is a new method that tests what is located at the
  specified position of the web page. The result of the is test is returned
  as a WebHitTest object.
* NEW: WebHitTest is new class that represents the result of a hit test on
  a web page. YOu can know if you are on a link, an image, or something 
  else, and if that content is selected or editable.


git-svn-id: svn://localhost/gambas/trunk@3290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-11 17:43:14 +00:00
Benoît Minisini
6b689a8955 [DEVELOPMENT ENVIRONMENT]
* NEW: Computes the number of lines of code in the project information 
  dialog.

[GB.FORM]
* NEW: the name of the "m-player" icon is now "media-player".


git-svn-id: svn://localhost/gambas/trunk@3289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 22:11:33 +00:00
Benoît Minisini
9ce9756973 [DEVELOPMENT ENVIRONMENT]
* NEW: The component properties of the project has now its own 
  configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@3288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 21:56:40 +00:00
Benoît Minisini
03692503ef [DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog tries its best to automatically check 
  dependencies when a component is selected. Dependencies automatically
  added but not explicitely checked by the user are displayed with a gray 
  check mark instead of a black one.


git-svn-id: svn://localhost/gambas/trunk@3287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 18:06:52 +00:00
Benoît Minisini
453236f17f [DEVELOPMENTE ENVIRONMENT]
* BUG: A "=" character was missing in the menu file generated by the 
  Debian/Ubuntu packager.

[INTERPRETER]
* BUG: Fix two incorrect optional function declarations.


git-svn-id: svn://localhost/gambas/trunk@3286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 15:57:25 +00:00
Benoît Minisini
61e2103bb6 [DEVELOPMENT ENVIRONMENT]
* NEW: Polish the new search list.
* NEW: Hide the search window when a line is selected in the search list.
* BUG: The search list correctly follow file modifications again.


git-svn-id: svn://localhost/gambas/trunk@3283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 23:46:41 +00:00
Benoît Minisini
9f53c73d5e [DEVELOPMENT ENVIRONMENT]
* NEW: The browse project search list is now located in the debug panel.


git-svn-id: svn://localhost/gambas/trunk@3282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 22:17:49 +00:00
Benoît Minisini
df22763cfe [DEVELOPMENT ENVIRONMENT]
* BUG: Using the left or right key on the search browse list does not 
  crash anymore.
* BUG: When cleaning up the project, remove "core" files too.


git-svn-id: svn://localhost/gambas/trunk@3281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 14:57:03 +00:00
Benoît Minisini
5ecb5203d1 [GB.FORM.MDI]
* BUG: Many clean-ups in the MDI management.

[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now 
  correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children 
  controls anymore.

[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.

[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.


git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 11:41:59 +00:00
Benoît Minisini
6715fc3d5e [DEVELOPMENT ENVIRONMENT]
* BUG: Handle compiler error messages with no line number correctly again.


git-svn-id: svn://localhost/gambas/trunk@3274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-01 12:43:03 +00:00
Benoît Minisini
583fcf419d [DEVELOPMENT ENVIRONMENT]
* NEW: Change the project tree background color when a filter is active.
* BUG: Do not display false circular inheritance errors when a filter is 
  active.
* NEW: Hide the debug panel when a database connection window is active.


git-svn-id: svn://localhost/gambas/trunk@3271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 19:36:29 +00:00
Benoît Minisini
6ca7977d5b [DEVELOPMENT ENVIRONMENT]
* BUG: Code pretty printer does not eat comment lines anymore.


git-svn-id: svn://localhost/gambas/trunk@3269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 13:07:56 +00:00