Commit graph

3483 commits

Author SHA1 Message Date
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
Benoît Minisini
1937a67353 [DEVELOPMENT ENVIRONMENT]
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable 
  declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.

[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
  of an UTF-8 string.

[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
  emitted if it overrides a global symbol.

[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their 
  contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
  visible.


git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 18:36:59 +00:00
Benoît Minisini
1aa9bfb464 [DEVELOPMENT ENVIRONMENT]
* NEW: A new option for not restoring files when loading a project.


git-svn-id: svn://localhost/gambas/trunk@5127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 00:34:30 +00:00
Benoît Minisini
8059e72f19 [DEVELOPMENT ENVIRONMENT]
* BUG: Function signatures now support the new syntax that allows to put
  braces around arguments to let the compiler ignore them.


git-svn-id: svn://localhost/gambas/trunk@5126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 00:21:10 +00:00
Benoît Minisini
28c9d6d59b [COMPILER]
* NEW: Make one warning for each symbol kind that is overridden.

[GB.DB.FORM]
* BUG: Fix warnings.

[GB.DESKTOP]
* BUG: Fix some warnings.

[GB.EVAL.HIGHLIGHT]
* BUG: Correctly rewrite the following keywords with no spurious space 
  after: TRUE, FALSE, NULL, +INF, -INF.

[GB.FORM]
* BUG: Fix warnings.

[GB.FORM.MDI]
* BUG: Fix warnings.

[GB.WEB]
* BUG: Fix warnings.


git-svn-id: svn://localhost/gambas/trunk@5125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 23:11:11 +00:00
Sebastian Kulesz
73aa9c0de0 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.



git-svn-id: svn://localhost/gambas/trunk@5124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 17:21:03 +00:00
Fabien Bodard
ce0339b02a [GB.REPORT]
OPT: Cleanup, remove all the unused variables.


git-svn-id: svn://localhost/gambas/trunk@5123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 15:29:16 +00:00
Benoît Minisini
0026fb1489 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for compiler warnings.
* BUG: Fix all detected warnings.

[COMPILER]
* NEW: A new compiler option '-w' to let it emit warnings.
* NEW: Emit warnings for unused variables, arguments, functions and for 
  local symbols that override global symbols. Public symbols are of course 
  not taken into account.
* NEW: If an argument is surrounded by braces, no warning will be emitted
  if the argument is not used.

[GB.EVAL]
* NEW: OPTIONAL keyword is always followed by a space now when rewriting 
  Gambas code.


git-svn-id: svn://localhost/gambas/trunk@5122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 07:29:39 +00:00
Benoît Minisini
dde26cb313 [DEVELOPMENT ENVIRONMENT]
* BUG: Moving, renaming or deleting a source file now should correctly
  refresh the search list, the breakpoint list and the task list.

[GB.FORM]
* NEW: ScrollArea draws a focus border when it has focus.

[GB.NET.POP3]
* NEW: Make Pop3Client a virtual control like SmtpClient.


git-svn-id: svn://localhost/gambas/trunk@5121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 23:40:59 +00:00
Benoît Minisini
dc08832e13 [DEVELOPMENT ENVIRONMENT]
* BUG: Singature of methods with a variable number of arguments are 
  correctly generated now.
* BUG: Markup syntax: Emphasis inside lists always works now.
* NEW: Markup syntax: Line breaks were implemented.
* BUG: Markup syntax: '[]' does not generate a void link anymore, but just 
  the two brackets "as is".



git-svn-id: svn://localhost/gambas/trunk@5120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 11:42:23 +00:00
Benoît Minisini
69cc4041b5 [GB.MIME]
* NEW: Mime.Encode() and Mime.Decode() are two new methods to encode to and
  decode from base64, quoted-printable or uuencode encoding.
* NEW: Support for message parts. The MimePart.Message property will return
  the MimeMessage embedded inside the part.


git-svn-id: svn://localhost/gambas/trunk@5119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 18:11:47 +00:00
Benoît Minisini
81cb724030 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix new markup syntax.


git-svn-id: svn://localhost/gambas/trunk@5118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 15:03:09 +00:00
Benoît Minisini
a08c8e65f0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little icons in the project property component tab show the 
  state of each component (stable, not finished, unstable).
* NEW: The help comments are now interpreted with a new "Gambas markup 
  syntax" inspired from markdown syntax. People that have written comments
  in the old syntax will cry...


git-svn-id: svn://localhost/gambas/trunk@5117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 12:12:46 +00:00
Fabien Bodard
91b5cc2270 [GB.REPORT]
* OPT: Set default value on control Width and Height (10 mm)


git-svn-id: svn://localhost/gambas/trunk@5116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 09:30:44 +00:00
Benoît Minisini
9478faa8d7 [COMPILER]
* BUG: Last change was not a good idea. Local variables should be able to 
  override global variables. When the compiler will be able to emit 
  warnings, that could make a good warning of course...


git-svn-id: svn://localhost/gambas/trunk@5115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 00:38:34 +00:00
Benoît Minisini
5d2a8b172e [COMPILER]
* BUG: Prevent local variables from hiding global variables.


git-svn-id: svn://localhost/gambas/trunk@5114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 00:20:29 +00:00