Commit graph

141 commits

Author SHA1 Message Date
Benoît Minisini
4e47ae1785 [EXAMPLES]
* NEW: Painting example now uses a splitter.

[GB.GTK]
* BUG: Try to correctly initialize the splitter layout. Do not work yet!


git-svn-id: svn://localhost/gambas/trunk@2548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 13:19:34 +00:00
Fabien Bodard
e183563213 [GB.GTK]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position

[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position



git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 11:09:25 +00:00
Benoît Minisini
8bd9372f83 [GB.GTK]
* BUG: Fix the Paint.LineWidth, Paint.Dash and Paint.DashOffset properties.
  Now the dash positions and the dash offset are in line width units.

[GB.QT4]
* BUG: Paint.Begin correctly initializes the default line join style.
* BUG: Draw.Begin now fails if the device is being painted somewhere else.


git-svn-id: svn://localhost/gambas/trunk@2545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 02:15:00 +00:00
Benoît Minisini
be7b2620de [GB.GTK]
* BUG: Paint.Arc() has been fixed.

[GB.QT4]
* BUG: Paint.Begin() now starts with a solid black brush.


git-svn-id: svn://localhost/gambas/trunk@2544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 00:12:09 +00:00
Benoît Minisini
79e76072d1 [WIKI CGI SCRIPT]
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.

[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after 
  having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal 
  point, like in SVG standard.

[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.

[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 23:18:43 +00:00
Benoît Minisini
8e7661d2c6 [GB.DRAW]
* BUG: Paint.RichText() has been removed.

[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.

[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 21:42:40 +00:00
Benoît Minisini
71af715f2a [GB.GTK]
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment 
  argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.

[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.


git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:08:06 +00:00
Benoît Minisini
ef53dddcfd [GB.DRAW]
* BUG: Fix a memory leak in Paint class transformation matrix management.

[GB.GTK]
* BUG: Paint.Image works correctly now.
* BUG: The PaintBrush matrix works the same way as in gb.qt4 now, i.e. it 
  is inverted compared with Cairo!


git-svn-id: svn://localhost/gambas/trunk@2538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 02:26:30 +00:00
Benoît Minisini
e644006626 [WIKI CGI SCRIPT]
* BUG: Handle cyclic dependencies between components correctly.

[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.

[GB.GTK]
* NEW: Start implementing the Paint interface.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 01:21:39 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +00:00
Benoît Minisini
20bfee43f4 [DEVELOPMENT ENVIRONMENT]
* OPT: Use a TextLabel to represent a WebView in the form editor.
* BUG: Fix help browser zoom.

[WIKI CGI SCRIPT]
* NEW: A new Url option (nocache) to prevent HTML caching.
* NEW: gb.qt4 documentation is automatically redirected to the old gb.qt 
  one. And the gb.gtk and gb.gui documentation are redirected to gb.qt4, 
  then gb.qt. Links are correctly converted too.

[GB.DB.FORM]
* BUG: The Color.Mix method has been renamed as Color.Merge. Fix that.

[GB.QT4.WEBKIT]
* NEW: NewFrame is a new event raised by the WebView control when it 
  creates a new frame.
* BUG: The Click event now works, and has one argument that indicates which 
  frame changes its URL.


git-svn-id: svn://localhost/gambas/trunk@2479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 17:45:23 +00:00
Benoît Minisini
96b97d9f16 [EXAMPLES]
* BUG: Fix the use of Dialog.Filter in the Picture Database example.

[GB.GTK]
* BUG: Splitter works again.

[GB.QT4]
* BUG: The Dialog.Filter property works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 20:56:56 +00:00
Benoît Minisini
056094e27e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed.

[WIKI CGI SCRIPT]
* NEW: Display the CC-BY-SA logo on all pages.

[GB.FORM]
* BUG: Revert constructor arguments where it is needed.

[GB.GTK]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox.

[GB.QT4]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox. Beware that most of Qt4 style do not implement them!


git-svn-id: svn://localhost/gambas/trunk@2449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:30:37 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Benoît Minisini
b73debd6b9 [GB.GTK]
* BUG: Frame label inherits foreground color correctly.


git-svn-id: svn://localhost/gambas/trunk@2423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 14:47:28 +00:00
Benoît Minisini
f56c5e6e48 [DEVELOPMENT ENVIRONMENT]
* BUG: Inheritance is correctly detected now when you put comments on the 
  "INHERITS" line.

[WIKI CGI SCRIPT]
* BUG: Fix language flag links for component pages.

[GB.GTK]
* BUG: Control.Reparent() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-14 12:20:35 +00:00
Fabien Bodard
0b0df86bc6 [GB.QT4]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.

[GB.GTK]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.



git-svn-id: svn://localhost/gambas/trunk@2415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-10 13:41:32 +00:00
Benoît Minisini
21ae742c1d [GB.GTK]
* BUG: Disable GDK native windows on GTK+ 2.18. It makes gb.gtk fail in 
  many places.


git-svn-id: svn://localhost/gambas/trunk@2411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-04 18:16:35 +00:00
Benoît Minisini
ac8e6dcce7 [SCRIPTER]
* BUG: The scripter compiles correctly again.

[GB.GTK]
* BUG: Fix the behaviour of ComboBox, so that it behaves the same way as 
  in gb.qt.
* BUG: TextBox.Insert() correctly deletes the selected text before 
  inserting the new one.


git-svn-id: svn://localhost/gambas/trunk@2396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:36:56 +00:00
Benoît Minisini
25c43c72c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation updated.

[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does 
  not crash the interpreter event loop anymore.

[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-12 10:38:35 +00:00
Benoît Minisini
c17951fcd3 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of 
  the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a 
  string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string 
  is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a 
  string matches one of the strings between square brackets, each one being
  separated by a comma.

[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events 
  anymore.

[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.


git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 09:28:52 +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
Benoît Minisini
a309dffd70 [GB.GTK]
* BUG: Fix input method handling.
* NEW: Application_KeyPress global event handler has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 01:50:48 +00:00
Benoît Minisini
550ead384c [GB.GTK]
* NEW: Remove useless old basic event handlers.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@2334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:49: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
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
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
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
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
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +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
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
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
Benoît Minisini
8cb003abfb [DEVELOPMENT ENVIRONMENT]
* BUG: Enable form poup menu when clicking on a control in the form editor.
* BUG: Do not display backup files in the "Connection" project folder.

[WEB SITE MAKER]
* NEW: Add a link to the installation instructions for specific 
  distributions in the download page.

[GB.EVAL.HIGHLIGHT]
* BUG: In WebPage highlighting, allow the <% ... %> markups anywhere in the 
  page.

[GB.GTK]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.

[GB.QT]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.

[GB.QT4]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.
* BUG: Workaround a bug in QT4 that prevented ScrollView for being arranged 
  in some cases.


git-svn-id: svn://localhost/gambas/trunk@2146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-22 18:20:25 +00:00
Benoît Minisini
ad2d199830 [GB.GTK]
* NEW: Use GtkComboBoxEntry to implement read-write combo-box, so that they 
  have a standard look.
* BUG: Move windows before showing them, so that they do not flicker the 
  first time they are shown.


git-svn-id: svn://localhost/gambas/trunk@2144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 19:55:22 +00:00
Benoît Minisini
fa8ba3d4c1 [INTERPRETER]
* BUG: Raise a memory error when trying to allocate a too large 
  array.

[GB.GTK]
* BUG: Fix the management of cell spanning.

[GB.QT4]
* BUG: Fix the management of cell spanning.


git-svn-id: svn://localhost/gambas/trunk@2143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 13:14:01 +00:00
Benoît Minisini
7b287f19eb [GB.GTK]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns.
* BUG: The Indent property of containers is correctly initialized now.

[GB.QT4]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns. Beware 
  that the feature was not implemented in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 10:54:53 +00:00
Benoît Minisini
cfd564e4a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e. 
  string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less 
  easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.

[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a 
  "database URL" to the constructor. For example: 
  "mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
  This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
  the value, and do nothing with it. It's up to you to use the information
  later if you need.

[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays 
  "BLOB" in the cell with a darker background.

[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in 
  Qt that updated two lines when it was asked for one only.


git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-17 01:29:39 +00:00
Benoît Minisini
49430cc409 [GB.GTK]
* BUG: Fix all controls that use a GtkScrolledWindow.
* BUG: Fix Control.Raise() and Control.Lower() with controls using a 
  GtkScrolledWindow.
* BUG: The ClientWidth and ClientHeight properties of TreeView, ListView 
  and ColumnView controls were implemented.


git-svn-id: svn://localhost/gambas/trunk@2126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-15 16:26:04 +00:00
Benoît Minisini
d171dbfc3e [GB.GTK]
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.

[GB.QT4]
* BUG: Remove the GridView.Rows[].Visible property and the
  GridView.Rows[].EnsureVisible method. Everything is done with Gambas
  code.
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.
* BUG: ToolButton and Button with AutoResize set now will automatically 
  shrink to fit their contents.


git-svn-id: svn://localhost/gambas/trunk@2109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 23:15:18 +00:00
Benoît Minisini
d0d6425a54 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to always enable only the right popup menu, and only that one. 
  But is sometimes fails at the moment.
* BUG: The completion list computes its height correctly now.
* NEW: Beginning of the database manager integration.
* BUG: When creating a new data file, ensure that the proposed name does 
  not exist.

[GB.GTK]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.

[GB.FORM]
* NEW: ButtonBox is a new control that is a TextBox with a button on its 
  right.
* NEW: Two new stock icons: 'computer' and 'server'.

[GB.QT4]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-11 00:45:49 +00:00
Benoît Minisini
f10e3056dd [DEVELOPMENT ENVIRONMENT]
* NEW: A menu for showing a specific tab of a MultiContainer.
* BUG: Fix a crash while scanning a class if the project is a component
  and if it is self-checked, which happens as soon as it is locally
  installed.

[GB.GTK]
* BUG: The Window.Sticky property now really returns a boolean.

[GB.QT]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.

[GB.QT4]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.
* BUG: The Window Open event is now raised for embedded windows that are
  shown implicitely because their parent were shown.

[GB.XML]
* BUG: Fix a memory leak in Xml.ToString().
* BUG: The encoding argument of Xml.ToString() is now taken into account.
* BUG: Xml.ToString() now uses the UTF-8 charset by default.


git-svn-id: svn://localhost/gambas/trunk@2099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:44:06 +00:00
Benoît Minisini
cb01337b46 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix source file import.
* NEW: New menu entries for inserting HTLM and CSS files.
* BUG: Fix file chooser filter in the file creation dialog.
* BUG: Do not open read-only projects having the old source structure.

[GB.EVAL.HIGHLIGHT]
* NEW: A new component to centralize Editor highlighting routines.

[GB.QT4]
* BUG: Always defer ScrollView layout to prevent strange crashes.



git-svn-id: svn://localhost/gambas/trunk@2079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 11:04:10 +00:00
Benoît Minisini
5e79f7228e [CONFIGURATION]
* BUG: Fix the GB_COMPONENT() macro so that it defines XXX_LDFLAGS and 
  XXX_LIB variables as in the GB_COMPONENT_PKG_CONFIG() macro. The 
  Makefile.am files of components were fixed accordingly.

[GB.DB.FIREBIRD]
* NEW: Switch to ibpp 2.5.3.1.
* BUG: Link the driver to the fbclient library.

[GB.GTK]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT4]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented. The previous change incorrectly talked about 
  TreeView.ParentKey and ColumnView.ParentKey.


git-svn-id: svn://localhost/gambas/trunk@2066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 23:41:55 +00:00
Benoît Minisini
d0b3aecc0b [DEVELOPMENT ENVIRONMENT]
* NEW: Project source files are now stored in the ".src" project 
  sub-directory.
* NEW: Project source files can be organized from the project treeview by 
  creating directories, moving source files with drag and drop or copy and
  paste.
* NEW: The hall of fame now uses some sort of blur effect.
* BUG: The breakpoint list should be accurate in all situations now.
* NEW: Showing the bottom status bar is now an entry in the "View" menu.

[INTERPRETER]
* BUG: Fix a possible crash in database component classes having 
  sub-collections, like Result.Fields.

[COMPILER]
* NEW: Support for projects whose sources are stored in the ".src" 
  sub-directory.

[GB.GTK]
* BUG: Frame.Font now works correctly.
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.

[GB.NET]
* BUG: Fix a possible crash in the Socket class at connection.

[GB.QT]
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.

[GB.QT4]
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.
* NEW: TreeView and ColumnView got a new property, ParentKey, that returns 
  the key of the current item parent.
* BUG: Menu shortcuts are correctly disabled now, when a parent menu is 
  disabled.


git-svn-id: svn://localhost/gambas/trunk@2063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 20:15:26 +00:00
Benoît Minisini
293c0e19a7 [DEVELOPMENT ENVIRONMENT]
* BUG: Prevent a possible crash when closing a debug info window that is 
  long to be filled.
* NEW: Fix the interface of the extra files TableView in the packager 
  wizard: the current line is highlighted, and a the file selector is
  opened on a double click instead of a single click.
* BUG: Do not reload the main form while closing the project.

[GB.GTK]
* NEW: Button, ToolButton and ToggleButton AutoResize property was 
  implemented.
* BUG: The Action class does not act on invalid controls anymore.

[GB.FORM.MDI]
* BUG: Closing the last opened window in a Workspace shows the dark 
  background again.

[GB.QT]
* BUG: The Action class does not act on invalid controls anymore.

[GB.QT4]
* BUG: The Action class does not act on invalid controls anymore.


git-svn-id: svn://localhost/gambas/trunk@2055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-28 21:34:44 +00:00
Benoît Minisini
81bf4acb02 [DEVELOPMENT ENVIRONMENT]
* BUG: Close and actually delete project files when closing the project.

[GB.GTK]
* BUG: Fix a possible crash when setting the TextBox.Text property with a 
  null string.

[GB.QT4]
* BUG: Start fixing drag & drop on controls having scrollbars.
* BUG: Fix a crash in focus management.
* BUG: The ListBox.Remove() method works now.
* BUG: Fix menu management.
* BUG: The Menu.Checked property works now.
* BUG: Do not exit application when displaying the abort error message. It 
  crashes.
* BUG: TabStrip is correctly layouted the first time it is shown now.


git-svn-id: svn://localhost/gambas/trunk@2040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-24 10:00:10 +00:00