Commit graph

3748 commits

Author SHA1 Message Date
Benoît Minisini
0d36fabf2a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix loading of component information when the current project is the
  Gambas part of a Gambas component.
* BUG: Opening a project in another window should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@5182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 09:11:06 +00:00
Benoît Minisini
c117da905e [GB.DESKTOP]
* BUG: The Gambas part of the component must not use the gb.form component.


git-svn-id: svn://localhost/gambas/trunk@5181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 08:27:13 +00:00
Benoît Minisini
d76f3be8f5 [GB.DBUS]
* NEW: Add the DBus error message to the Gambas error message when 
  registering or unregistering fails.


git-svn-id: svn://localhost/gambas/trunk@5180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 08:21:27 +00:00
Benoît Minisini
3f8c71a8db [DEVELOPMENT ENVIRONMENT]
* BUG: Handle official components projects like 'gb.web' better.

[GB.WEB]
* BUG: Fix gb.web compilation.


git-svn-id: svn://localhost/gambas/trunk@5179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 14:33:38 +00:00
Benoît Minisini
57764a966b [DEVELOPMENT ENVIRONMENT]
* BUG: Indent & unident buttons now work in text editors.


git-svn-id: svn://localhost/gambas/trunk@5178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 13:55:47 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
a707a2cb8e [DEVELOPMENT ENVIRONMENT]
* NEW: Modify the behaviour of the "Replace" command. Now the text is 
  searched only if it has not been just replaced.


git-svn-id: svn://localhost/gambas/trunk@5176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-19 19:05:37 +00:00
Benoît Minisini
cf5a5d8c8f [GB.GTK]
* BUG: Copying an image to clipboard does not corrupt the image anymore.


git-svn-id: svn://localhost/gambas/trunk@5175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-18 09:31:36 +00:00
Benoît Minisini
9dd14f1a47 [GB.DESKTOP]
* BUG: Fix DesktopWindow.Resize() method.


git-svn-id: svn://localhost/gambas/trunk@5174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 19:05:18 +00:00
Benoît Minisini
cbad814159 [GB.DESKTOP]
* BUG: DesktopWindow.X and Desktop.Y now return the correct window 
  position, provided that the window manager follows the EWMH freedesktop
  standard of course.


git-svn-id: svn://localhost/gambas/trunk@5173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 14:22:26 +00:00
Benoît Minisini
22a119f0a6 [DEVELOPMENT ENVIRONMENT]
* BUG: When saving a project with another name, the ExecPath and SourcePath 
  options of the target project are reset, and the target project is 
  cleaned up.


git-svn-id: svn://localhost/gambas/trunk@5172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 13:41:50 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Adrien Prokopowicz
22972ba5ce [GB.XML.HTML]
* BUG: The HTML parser now really correctly raises an error if the document is incomplete (no doctype/root element).

[GB.XML]
* BUG: Errors that doesn't give any position in the parsed data are correctly raised now.

git-svn-id: svn://localhost/gambas/trunk@5169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 21:25:33 +00:00
Adrien Prokopowicz
0d0e541e38 [GB.XML.HTML]
* BUG: The HTML parser now correctly raises an error if the document is incomplete (no doctype/root element).

git-svn-id: svn://localhost/gambas/trunk@5168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 21:02:17 +00:00
Benoît Minisini
7cba8c08e0 [INTERPRETER]
* OPT: Conversion between byte index and UTF-8 character index of the last 
  string has been optimized when that last string is big.

[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That 
  optimization should be handled by the interpreter automatically.


git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 02:17:12 +00:00
Benoît Minisini
3e08610bea [DEVELOPMENT ENVIRONMENT]
* BUG: Project 'Save as' now preserves symbolic links.


git-svn-id: svn://localhost/gambas/trunk@5166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-14 23:49:33 +00:00
Adrien Prokopowicz
f95fed96d8 [GB.XML]
* BUG: Error messages are correctly shown now
* BUG: The Base and Favicon properties do not crash anymore if the matching node is not found.

git-svn-id: svn://localhost/gambas/trunk@5165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-14 01:05:13 +00:00
Benoît Minisini
167a8fa4a6 [GB.GTK]
* OPT: Don't arrange the parent if a move & resize operation actually 
  changes nothing.
* OPT: When showing or hiding a control, check that we actually change the
  visibility of the widget and do nothing if we don't.


git-svn-id: svn://localhost/gambas/trunk@5164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-13 00:45:52 +00:00
Sebastian Kulesz
93445a0bce [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation.

Thanks to jguardon for some of the suggestions.


git-svn-id: svn://localhost/gambas/trunk@5163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 20:57:14 +00:00
Benoît Minisini
f46b297fd6 [DEVELOPMENT ENVIRONMENT]
* NEW: Small redesign of the welcome dialog again.

[EXAMPLES]
* BUG: Fix HighlightEditor example.
* NEW: Descriptions of some examples.


git-svn-id: svn://localhost/gambas/trunk@5162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 18:50:45 +00:00
Benoît Minisini
56a835a162 [DEVELOPMENT ENVIRONMENT]
* NEW: Small changes in the welcome dialog design.

[GB.FORM]
* NEW: In FileChooser and DirChooser, replace the little arrow that goes 
  up to the parent directory by a normal button.

[GB.GTK]
* BUG: Fix Mouse.ScreenX and Mouse.ScreenY.


git-svn-id: svn://localhost/gambas/trunk@5161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 15:32:26 +00:00
Benoît Minisini
1756d43796 [DEVELOPMENT ENVIRONMENT]
* OPT: Delay the welcome dialog project list layouting as much as possible.


git-svn-id: svn://localhost/gambas/trunk@5159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 02:45:49 +00:00
Benoît Minisini
e33d728ac3 [GB.GTK]
* BUG: Fix event management of modal dialogs.


git-svn-id: svn://localhost/gambas/trunk@5158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 20:59:20 +00:00
Benoît Minisini
7b3299201a [GB.GTK]
* BUG: Setting Window.FullScreen does not show the window if the window was
  not visible.


git-svn-id: svn://localhost/gambas/trunk@5157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 18:34:30 +00:00
Benoît Minisini
4771826650 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix binary file detection that made file browsing sometimes ignore 
  some text files.
* BUG: When opening a project in another window, try to find the IDE 
  executable with and wuthout the ".gambas" extension.

[GB.GTK]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 15:05:08 +00:00
Bruce Bruen
6d083338c7 [DEVELOPMENT ENVIRONMENT]
* BUG: Altered order of code in Package.Make so the CHANGELOG is saved before creating the package.

git-svn-id: svn://localhost/gambas/trunk@5155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 08:29:50 +00:00
Benoît Minisini
21dc0f5bf5 [GB.GTK]
* BUG: Fix dialog modality.
* BUG: The Window.Center() method now takes the available desktop into 
  account, not the entire screen.
* BUG: Fix filled ellipse drawing.

[GB.QT4]
* BUG: SpinBox Background property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@5154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 22:07:48 +00:00
Fabien Bodard
a2bbad79c3 [GBORT]
* BUG: The default Width/Height are now setting in the right way



git-svn-id: svn://localhost/gambas/trunk@5153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 20:17:38 +00:00
Benoît Minisini
006eb4dfd1 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in automatic variable declaration.

[GB.DESKTOP]
* BUG: $XDG_DATA_DIRS is now taken into account when browsing mime cache 
  files.

[GB.FORM]
* BUG: Clicking on a TabPanel tab raises the Click event after taking the 
  focus now.


git-svn-id: svn://localhost/gambas/trunk@5152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 13:05:34 +00:00
Benoît Minisini
c21ae3d19d [DEVELOPMENT ENVIRONMENT]
* BUG: Support for the "Unfinished" string in component description file.
* BUG: Be more clever when searching the gambas IDE executable to launch it
  for opening a project in another window.


git-svn-id: svn://localhost/gambas/trunk@5148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 20:59:50 +00:00
Tobias Boege
4f57ded502 [CONFIGURATION]
* NEW: Rename gb.adt to gb.data
* NEW: Mark gb.data as "Unfinished"

[GB.DATA]
* OPT: Block all changes from my working copy until they are mature. The
  interface is considered to be stable (although some details in behaviour
  will change); this justifies the "unfinished" state.



git-svn-id: svn://localhost/gambas/trunk@5147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 20:20:47 +00:00
Benoît Minisini
5cce4518b6 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when computing the size of a project item.


git-svn-id: svn://localhost/gambas/trunk@5146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 17:30:25 +00:00
Benoît Minisini
c7bdcd4947 [INTERPRETER]
* BUG: Fix error handler calls.


git-svn-id: svn://localhost/gambas/trunk@5145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-09 17:24:54 +00:00
Benoît Minisini
6faa6fc510 [DEVELOPMENT ENVIRONMENT]
* BUG: Be more careful when renaming the code after a control rename.

[GB.DESKTOP]
* BUG: Search in LXDE mime info cache files first if the current desktop 
  is LXDE.



git-svn-id: svn://localhost/gambas/trunk@5144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 23:42:34 +00:00
Benoît Minisini
78081342bc [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming a control now should only rename accurate symbols in source 
  code.


git-svn-id: svn://localhost/gambas/trunk@5143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 08:15:26 +00:00
Benoît Minisini
cb9042fbad [GB.MIME]
* NEW: Try to detect gmime-2.4 if gmime-2.6 is not available.


git-svn-id: svn://localhost/gambas/trunk@5142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 00:57:34 +00:00
Benoît Minisini
fad5bdba3b [CONFIGURATION]
* NEW: Switch version to 3.3.


git-svn-id: svn://localhost/gambas/trunk@5141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-08 00:06:18 +00:00
Adrien Prokopowicz
c7229ee28d [GB.XML]
* BUG: The XmlReader.Node.Atributtes is a read-only collection.

git-svn-id: svn://localhost/gambas/trunk@5140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 17:19:20 +00:00
Benoît Minisini
efccab9dc4 [GB.QT4]
* BUG: Fix TextArea foreground color management.


git-svn-id: svn://localhost/gambas/trunk@5139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 16:44:09 +00:00
Benoît Minisini
e6af67cffa [DEVELOPMENT ENVIRONMENT]
* BUG: Take the value of "automatic declare local variables" option into 
  account correctly.


git-svn-id: svn://localhost/gambas/trunk@5138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 12:58:09 +00:00
Benoît Minisini
e3cc0a986d [GB.DESKTOP]
* BUG: Support for LXDE mime application cache.

[GB.WEB]
* NEW: Flush the output before calling Response.End if the response is not 
  buffered.


git-svn-id: svn://localhost/gambas/trunk@5137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 01:15:18 +00:00
Benoît Minisini
60a4cee44d [GB.FORM]
* BUG: Fix TabPanel tab closing.


git-svn-id: svn://localhost/gambas/trunk@5136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 17:18:00 +00:00
Benoît Minisini
2d5b69b334 [GB.NET.POP3]
* NEW: Let's be mad and mark the component as "stable".


git-svn-id: svn://localhost/gambas/trunk@5135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 16:21:20 +00:00
Benoît Minisini
3ba6513b6d [INTERPRETER]
* BUG: Fix the enumeration API. GB.ListEnum() has been replaced by 
  GB.BeginEnum() and GB.EndEnum(), that save the state of the internal
  current enumeration.

[GB.MIME]
* BUG: Raise an error when the MimeMessage constructor fails while parsing
  a message.

[GB.NET.POP3]
* BUG: _Pop3Client_Message must not inherit MimeMessage.
* NEW: _Pop3Client_Message has a new Message property that returns the 
  decoded MimeMessage.
* NEW: _Pop3Client_Message has a new Deleted property that returns if the
  message has been deleted.
* NEW: _Pop3Client_Message has a new Id property that returns the 
  message id, which is its index plus one.
* NEW: _Pop3Client_Message has a new Index property that returns the 
  message index, which is its id minus one.
* BUG: Hides protocol dependent routines.
* NEW: The error returned by the Pop3 client is directly used for the error 
  message.
* OPT: Remove duplicated code in TCPClient and SSLCLient. Centralize it in 
  the PopClient parent class.
* BUG: Fix the single line response reading of SSLClient.
* BUG: Fix the multiple line response reading of SSLClient and TCPClient.
* BUG: Do not display password on the standard error in debugging mode, but 
  eight "*" characters instead.
* NEW: Many methods do not return a boolean status, but raise an error 
  instead.
* BUG: Methods that return their result as a boolean status now return TRUE
  if they fail, not if they succeed (this is the Gambas convention).
* BUG: Fix the Pop3CLient.List() method.
* NEW: Rename the Pop3Client UniqueId() method as ListUniqueId().
* BUG: Fix the Pop3Client.ListUniqueId() method.


git-svn-id: svn://localhost/gambas/trunk@5134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 16:20:54 +00:00
Benoît Minisini
5d6a1d14ee [DEVELOPMENT ENVIRONMENT]
* NEW: Display the project description in project items now.

[GB.FORM]
* NEW: Draw the TabPanel focus differently again.


git-svn-id: svn://localhost/gambas/trunk@5133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 13:42:06 +00:00
Sebastian Kulesz
7ce8dcacc7 [GB.NET.POP3]
* BUG: Add gb.mime as dependency
* OPT: Messages now inherit MIMEMessage
* BUG: Comment out debug messages



git-svn-id: svn://localhost/gambas/trunk@5132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 04:46:23 +00:00
Benoît Minisini
cc1c99990b [GB.FORM]
* NEW: Draw the TabPanel focus differently again.
* BUG: For some reason, clicking on a tab didn't give the focus to the tab 
  button on gb.gtk.

[GB.GTK]
* BUG: Fix the Stock class.


git-svn-id: svn://localhost/gambas/trunk@5131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 02:02:01 +00:00
Benoît Minisini
e9cf364f99 [GB.DESKTOP]
* BUG: DesktopFile now correctly takes the current language into account 
  when extracting application names.


git-svn-id: svn://localhost/gambas/trunk@5130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 01:04:41 +00:00
Benoît Minisini
3a0a6f4913 [DEVELOPMENT ENVIRONMENT]
* NEW: "Open with" menu now is based on the *.desktop files of applications
  that are installed on the system.

[GB.DESKTOP]
* NEW: DesktopFile is a new class that load *.desktop application files.
* NEW: DesktopFile.FindMime() is a static method that returns a list of
  DesktopFile that can handle a specific mime type.

[GB.FORM]
* BUG: Some fixes in the stock icon map file.
* NEW: Add a new "program" stock icon.

[GB.FORM.STOCK]
* NEW: Add a "program" stock icon.


git-svn-id: svn://localhost/gambas/trunk@5129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 00:38:04 +00:00