Commit graph

1331 commits

Author SHA1 Message Date
Benoît Minisini
25ad3928cc [CONFIGURATION]
* NEW: Detect PowerPC architecture.

[INTERPRETER]
* OPT: As old static arrays have been removed, a new little optimization 
  is possible in array reading and writing functions.


git-svn-id: svn://localhost/gambas/trunk@2950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-19 15:05:45 +00:00
Benoît Minisini
a2850ebc91 [CONFIGURATION]
* BUG: Do not compile database manager anymore, it has been deprecated.
* BUG: Compile the gb.dbus component.

[INTERPRETER]
* NEW: Pointer is a real datatype now.
* NEW: Static arrays came back. They are now like real array classes, 
  except that they are not resizable.
* NEW: IsPointer() is a new function that tells if an expression is a 
  pointer.
* NEW: All XXXX?() function synonymous were removed. Use the IsXXXX() 
  version instead.
* NEW: Remove now useless source files.

[COMPILER]
* NEW: Static arrays came back, with actually the same syntax as before.

[EXAMPLES]
* BUG: Fix the examples according to the new array syntax.



git-svn-id: svn://localhost/gambas/trunk@2949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-19 12:43:57 +00:00
David Villalobos Cambronero
9ccdbce7dd [GB.FROM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-17 21:55:56 +00:00
David Villalobos Cambronero
75758d32ca git-svn-id: svn://localhost/gambas/trunk@2947 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-05-17 21:54:24 +00:00
Benoît Minisini
ce64eaa189 [DEVELOPMENT ENVIRONMENT]
* BUG: The DrawingArea.Transparent property has been removed, do not use it 
  anymore!


git-svn-id: svn://localhost/gambas/trunk@2946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-17 11:52:53 +00:00
Benoît Minisini
a8efb8045f [INTERPRETER]
* NEW: Support for "static" arrays is finally removed.

[COMPILER]
* NEW: Support for "static" arrays is finally removed.



git-svn-id: svn://localhost/gambas/trunk@2945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:30:54 +00:00
Benoît Minisini
ca37913578 [DEVELOPMENT ENVIRONMENT]
* BUG: Search string is correctly highlighted in all cases now.

[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.

[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables 
  with dimensions. The IDE and component source code were modified 
  according to that change.

[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:17:04 +00:00
Benoît Minisini
ae06242603 [COMPILER]
* BUG: Translated strings can be splitted on several lines like normal 
  strings now.


git-svn-id: svn://localhost/gambas/trunk@2943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 11:51:49 +00:00
Benoît Minisini
2fd1ea3b59 [INTERPRETER]
* BUG: Correctly detect when being run as 'gbr3'.


git-svn-id: svn://localhost/gambas/trunk@2942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-10 11:20:47 +00:00
Benoît Minisini
a1c3fa1617 [INTERPRETER]
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking 
  mode, then Eof() will wait for the data before testing if something can 
  be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always 
  available.

[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
  with the PIPE instruction.

[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or 
  show the colormap.

[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.


git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 20:17:29 +00:00
Benoît Minisini
a11213a59c [GB.GTK]
* BUG: It's better without the debugging messages.


git-svn-id: svn://localhost/gambas/trunk@2939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 15:47:49 +00:00
Benoît Minisini
3002ca88cf [GB.GTK]
* BUG: Fix a memory leak when loading an image without transparency.


git-svn-id: svn://localhost/gambas/trunk@2938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 15:36:10 +00:00
Benoît Minisini
c61aa8d978 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for enumerations.
* BUG: Clearing project history works again.

[COMPILER]
* NEW: Support for enumerations.


git-svn-id: svn://localhost/gambas/trunk@2935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 20:58:55 +00:00
Benoît Minisini
1727304958 [DEVELOPMENT ENVIRONMENT]
* NEW: Shift+Enter disables automatic insertion of control structure 
  instructions.

[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel 
  and MenuButton controls, so that it works with gb.gtk.

[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling 
  algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.

[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.


git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 14:26:07 +00:00
Benoît Minisini
148b6fa965 [DEVELOPMENT ENVIRONMENT]
* NEW: Default snippets are now immutable.


git-svn-id: svn://localhost/gambas/trunk@2933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 22:56:52 +00:00
Benoît Minisini
ccf9bb3c50 [DEVELOPMENT ENVIRONMENT]
* NEW: Better code fragments.


git-svn-id: svn://localhost/gambas/trunk@2932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 22:15:00 +00:00
Benoît Minisini
24f12621eb [DEVELOPMENT ENVIRONMENT]
* NEW: Code snippet configuration in the option dialog.
* NEW: Automatic insertion of control structures.

[GB.SETTINGS]
* NEW: The Settings class can now load settings files located inside the 
  project.

[GB.QT4.EXT]
* BUG: Selected text is now correctly deleted in block mode in the Editor 
  class.


git-svn-id: svn://localhost/gambas/trunk@2931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 21:22:50 +00:00
Benoît Minisini
a010d693d3 [DEVELOPMENT ENVIRONMENT]
* NEW: Some fixes in code snippets.
* NEW: Raise the automatic completion of special methods only when three 
  characters were typed.


git-svn-id: svn://localhost/gambas/trunk@2930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 12:30:10 +00:00
Benoît Minisini
98c0d81aad [CONFIGURATION]
* BUG: Fix the creation of the gbw3 symbolic link.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an error in arrangement icon management.
* NEW: Merge all form editor toolbars.
* NEW: Support for code snippets. Type "fo" and TAB to see it. Not yet
  finished.

[INTERPRETER]
* NEW: Standard format for numbers now displays all the decimal digits.

[GB.QT4.EXT]
* BUG: Fix a possible crash in Editor selection management.


git-svn-id: svn://localhost/gambas/trunk@2929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 11:46:02 +00:00
Benoît Minisini
1faa45e317 [COMPILER]
* BUG: Correctly detect self-referenced components.


git-svn-id: svn://localhost/gambas/trunk@2928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 10:19:13 +00:00
Benoît Minisini
a4ec140d8a [GB.QT4.EXT]
* BUG: Fix some little problems in block selection/insertion mode.


git-svn-id: svn://localhost/gambas/trunk@2926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 18:48:43 +00:00
Benoît Minisini
9bc6316917 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix display of arrangement icon again in the form editor.
* NEW: Two new toolbar buttons in the form editor to center selected 
  controls either horizontally or vertically.


git-svn-id: svn://localhost/gambas/trunk@2925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 16:42:17 +00:00
Benoît Minisini
d1873301d0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the display of arrangement icons.
* OPT: Keep a reference on the root control is the form editor.
* BUG: Loading recent files should never crash anymore now.
* BUG: Start fixing project creation.

[INTERPRETER]
* BUG: Don't load a component if its name is the same as the main project.

[GB.QT4]
* BUG: Mouse buttons properties work again during a MouseRelease event.


git-svn-id: svn://localhost/gambas/trunk@2924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 12:54:45 +00:00
Benoît Minisini
8d7b99daed [GB.FORM.STOCK]
* BUG: Forgot to add the .component file.


git-svn-id: svn://localhost/gambas/trunk@2923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 21:39:06 +00:00
Benoît Minisini
32a0c4f54e [GB.QT4]
* BUG: Hidden menubar is not visible anymore.


git-svn-id: svn://localhost/gambas/trunk@2922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 11:58:43 +00:00
Fabien Bodard
7c3cb5d029 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a little bug


git-svn-id: svn://localhost/gambas/trunk@2921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 06:51:30 +00:00
Benoît Minisini
cc6dfc0e33 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix and enhance Gambas 2 project conversion.

[GB.QT4]
* BUG: Allow control resizing whatever the arrangement of its container, 
  provided that its Ignore property is set.


git-svn-id: svn://localhost/gambas/trunk@2920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 00:17:12 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
Benoît Minisini
618df42b55 [GB.QT4]
* BUG: Remove the popupmenu hack, it triggers menu using the Escape key as 
  a shortcut, and it seems not to be useful anymore.


git-svn-id: svn://localhost/gambas/trunk@2918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 22:43:53 +00:00
David Villalobos Cambronero
09a7da93e2 git-svn-id: svn://localhost/gambas/trunk@2917 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-26 14:02:40 +00:00
Benoît Minisini
1c0a7fb168 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some icons.
* NEW: Do not define a name for components that should not be visible in 
  the project property dialog.

[GB.FORM]
* BUG: Fix loading of stock icons.
* BUG: Fix the mapping of some Gnome icons.


git-svn-id: svn://localhost/gambas/trunk@2916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 13:59:05 +00:00
Benoît Minisini
c4bba37392 [GB.FORM]
* NEW: Remove useless icons.

[GB.FORM.STOCK]
* NEW: This new components just store a default set of stock icons. It is
  loaded by gb.form only if needed.


git-svn-id: svn://localhost/gambas/trunk@2915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 12:29:49 +00:00
Benoît Minisini
b011fb064d [GB.FORM]
* NEW: Remove stock icon.
* NEW: The default stock icon will be stored in another component.

git-svn-id: svn://localhost/gambas/trunk@2914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 11:29:45 +00:00
Benoît Minisini
5d70e7ad54 [GB.IMAGE.IO]
* BUG: Load non-square image without crashing!


git-svn-id: svn://localhost/gambas/trunk@2913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 09:43:10 +00:00
Benoît Minisini
e02caaf252 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not show a form in the treeview if no component implements its 
  family.

[INTERPRETER]
* NEW: Detect overridden classes, and automatically convert the return 
  datatype of Gambas and native functions using an overridden class.
* NEW: Convert overridden classes in the NEW instruction.


git-svn-id: svn://localhost/gambas/trunk@2912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 09:36:47 +00:00
Benoît Minisini
52ac0bdfee [DEVELOPMENT ENVIRONMENT]
* BUG: Do not trim pasted text when using special paste.

[INTERPRETER]
* NEW: Format() can format Float number with up to 16 digits now.

[GB.QT4.EXT]
* NEW: Support for an insert & block mode. This mode is toggled with the
  "Insert" key.


git-svn-id: svn://localhost/gambas/trunk@2911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 23:04:27 +00:00
Benoît Minisini
ba1788cd5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly hide the reload button in the form editor when it should 
  be hidden.
* NEW: Take libraries into account in the auto-completion.

[GB.QT4.EXT]
* BUG: Center the cursor when requested, even if the cursor does not move.


git-svn-id: svn://localhost/gambas/trunk@2910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 16:04:42 +00:00
Benoît Minisini
d49fe17d83 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove any use of Component.UserPath and any reference to "user 
  component".
* NEW: "libraries" management. Libraries are defined in a new tab of the
  projet property dialog. At the moment, libraries exported classes are not
  taken into account by the automatic completion.
* NEW: The ESC key now closes the help browser.
* BUG: Correctly translate compilation error messages.

[INTERPRETER]
* NEW: "libraries" management.
* NEW: The Component.UserPath property has been removed.
* BUG: Evaluating "Application.Path" or "Application.Name" on the command 
  line does not crash anymore.

[COMPILER]
* BUG: Enhance translation of some error messages.
* NEW: Take libraries into account for exported class declarations.

[ARCHIVER]
* NEW: new "-x" option to extract a file from an archive.

[GB.QT4.EXT]
* NEW: Be more clever when deciding if a line has been modified after 
  having its last character deleted.


git-svn-id: svn://localhost/gambas/trunk@2909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 10:46:57 +00:00
Benoît Minisini
2e8429a800 [GB.GTK]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.

[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.


git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-21 01:25:19 +00:00
David Villalobos Cambronero
143d920ea6 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:11:55 +00:00
David Villalobos Cambronero
d7daff1aaa [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:10:00 +00:00
David Villalobos Cambronero
9fe247a5b3 [GB.FROM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:08:02 +00:00
David Villalobos Cambronero
33b9fd2c74 [GB.FROM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:05:55 +00:00
David Villalobos Cambronero
1d1aae770f [GB.DB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:04:15 +00:00
Benoît Minisini
0d5bb25a55 [DEVELOPMENT ENVIRONMENT]
* BUG: Errors on immediate debugging expressions are correctly displayed 
  now.

[WEB SITE MAKER]
* BUG: "mailto:" links are correctly generated now.

[INTERPRETER]
* NEW: The 'u' and 'uu' date formats do not display a point anymore. The
  point must be specified explicitely in the format string.


git-svn-id: svn://localhost/gambas/trunk@2900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 13:28:40 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +00:00
Benoît Minisini
5e58b18181 [GB.CAIRO]
* NEW: Toy text API has been implemented with Cairo.Font.* properties, 
  Cairo.Text() and Cairo.TextExtents() methods, and two new classes, 
  CairoFontExtents and CairoTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-18 21:19:33 +00:00
Benoît Minisini
060e7b81aa [DEVELOPMENT ENVIRONMENT]
* BUG: The ESC key closes the search dialog in all cases now.
* BUG: Ignoring comments and/or strings now correctly work on every 
  highlighted project file.
* BUG: Correctly detect class private symbols when doing automatic 
  completion.
* BUG: Correctly scan exported classes that reimplement another class 
  located in a component.

[GB.QT4.EXT]
* NEW: Editor.Lines[].Purge() is new method to retrieve a line without 
  strings and/or comments.


git-svn-id: svn://localhost/gambas/trunk@2897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 22:25:55 +00:00
David Villalobos Cambronero
191d16daa3 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 14:11:27 +00:00
David Villalobos Cambronero
4c3cae8327 * NEW: Deleted some commented lines.
* NEW: Created the class _Maintenance, now you can: Analyze, Check, Checksum
  Repair and Optimize tables.

git-svn-id: svn://localhost/gambas/trunk@2895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 18:30:54 +00:00