Commit graph

1498 commits

Author SHA1 Message Date
Benoît Minisini
6fcb091e9a [DEVELOPMENT ENVIRONMENT]
* NEW: New design of the system information dialog.


git-svn-id: svn://localhost/gambas/trunk@5745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 20:06:25 +00:00
Benoît Minisini
9332afbbea [DEVELOPMENT ENVIRONMENT]
* NEW: Add a file properties view in the CSV import dialog.

[INFORMER]
* BUG: Write boolean constants in information files as "T" and "", not 
  "True" and "False". It breaks things.

[GB.FORM]
* NEW: The file properties dialog has an automatic preview tab for image 
  files.

[GB.DB.FORM]
* NEW: The DataView control can edit blob fields now.


git-svn-id: svn://localhost/gambas/trunk@5736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 11:02:32 +00:00
Benoît Minisini
aaf6e45351 [DEVELOPMENT ENVIRONMENT]
* NEW: Project statistics came back in the file property dialog.

[GB.DESKTOP]
* BUG: Correctly use the XDG data directories in DesktopFile and DesktopMime 
  classes.
* BUG: Correctly search mime icons in DesktopMime.GetIcon().

[GB.FORM]
* NEW: Add a detailed view toggle button to the FileChooser and DirChooser 
  controls.


git-svn-id: svn://localhost/gambas/trunk@5726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-11 09:41:39 +00:00
Benoît Minisini
29ab774c1c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the frame position when dragging a control from the toolbar on 
  a container.
* NEW: The project file properties dialog is now based on the new 
  FileProperties control.

[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
  register cleanup routines that are called when an error is raised between
  the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.

[INFORMER]
* BUG: The value of  Float constants is now correctly dumped in *.info 
  files.

[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.

[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where 
  the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where 
  the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where 
  the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory 
  where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file 
  extension.

[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a 
  specific file or directory. It automatically computes the size of 
  directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its 
  layout.
* NEW: The stock icon map now can declare specific icons for specific 
  widget themes.

[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.

[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.

[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as 
  Editor.LineNumberOffset.


git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-10 22:17:27 +00:00
Benoît Minisini
2150e2404b [DEVELOPMENT ENVIRONMENT]
* NEW: The file information dialog now allows to revert it individually (if 
  the project is managed by subversion).
* BUG: Do not crash if a file cannot be associated with any mime type.


git-svn-id: svn://localhost/gambas/trunk@5724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-08 17:42:19 +00:00
Benoît Minisini
2c3cdf51b3 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save profiling preferences when closing the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@5714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 16:37:10 +00:00
Benoît Minisini
d6857e2926 [DEVELOPMENT ENVIRONMENT]
* BUG: The '.lang' directory should be correctly put under version control 
  when a project become translatable.

[EXAMPLES]
* NEW: MediaPlayer: Allow to choose the video device.


git-svn-id: svn://localhost/gambas/trunk@5711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 14:22:09 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* NEW: When installing the Gambas font, don't use the deprecated 
  '~/.fonts.conf' file anymore.

[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
  balance.

[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
  image brightness, contrast, hue, saturation... It actually returns a
  virtual array of balance "channels", each one having a minimum value, a
  maximum value, a current value and a name.

[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is 
  stored in the Request.Contents property.


git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 12:42:52 +00:00
Radek Fryšták
de58e0cad0 [EXAMPLES]
* NEW: update czech translate.

[GB.ARGS]
* NEW: update czech translate.

[GB.FORM.DIALOG]
* NEW: update czech translate.

[GB.FORM.MDI]
* NEW: update czech translate.

[GB.DB.FORM]
* NEW: update czech translate.

[GB.REPORT]
* NEW: update czech translate.

[GB.NET.POP3]
* NEW: update czech translate.


git-svn-id: svn://localhost/gambas/trunk@5705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 15:47:32 +00:00
Radek Fryšták
7aabc4cb2b [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 14:01:25 +00:00
Benoît Minisini
ecffcb1a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the background of special methods in the code editor 
  procedure list.

[EXAMPLES]
* NEW: MediaPlayer: Add a button to display the contents of the first video
  device (/dev/video0).

[GB.MEDIA]
* BUG: The MediaPlayer.Input property is actually read-only.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 16:57:34 +00:00
Benoît Minisini
063cf446e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Subversion support now correctly handles project directories that
  have symbolic links in it.

[EXAMPLES]
* BUG: Fractal: commit a missing new file.

[WIKI CGI SCRIPT]
* BUG: Fix an english mistake without altering the translations.


git-svn-id: svn://localhost/gambas/trunk@5688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-31 13:22:26 +00:00
Benoît Minisini
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
Benoît Minisini
1601ba5519 [DEVELOPMENT ENVIRONMENT]
* BUG: If the master of the form editor selection is removed, select a new
  master in the renaming selection if possible. Otherwise, the selection is
  not in a coherent state, which makes undo/redo crash.


git-svn-id: svn://localhost/gambas/trunk@5683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-27 08:16:30 +00:00
Benoît Minisini
9684c17a96 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Undo/Redo of newly created controls having a Text property.


git-svn-id: svn://localhost/gambas/trunk@5682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 11:40:25 +00:00
Benoît Minisini
daaf410362 [DEVELOPMENT ENVIRONMENT]
* NEW: If the IDE throws an uncatched error, try to save all modified files
  before aborting.

[INTERPRETER]
* NEW: If a static public method named Application_Error() is defined in 
  the startup class, then this method will be called when an unhandled 
  error is thrown, just before the program is aborted.


git-svn-id: svn://localhost/gambas/trunk@5678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 14:00:40 +00:00
Benoît Minisini
1da147d6e5 [CONFIGURATION]
* NEW: The trunk version is now put in the 'config.h' file of the /main 
  source directory. No compilation flag is used anymore.
* NEW: All Gambad executables return the trunk revision number when they 
  are called with the '-V' option.

[GB.WEB]
* BUG: The Request.Fields property now can be read without reading the 
  value of a request field first.


git-svn-id: svn://localhost/gambas/trunk@5674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 23:03:48 +00:00
Sebastian Kulesz
a9d259432e [DEVELOPMENT ENVIROMENT]
* NEW: Updated Spanish tranlation. Reverted some changes in last
  commit and fixed some strings.



git-svn-id: svn://localhost/gambas/trunk@5660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 21:07:11 +00:00
David Villalobos Cambronero
913840b5b7 [DEVELOPMENT ENVIROMENT]\n* NEW: Spanish tranlation updated.
git-svn-id: svn://localhost/gambas/trunk@5658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 20:19:00 +00:00
Benoît Minisini
15be301e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot an arrangement icon.


git-svn-id: svn://localhost/gambas/trunk@5653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-11 18:27:30 +00:00
Benoît Minisini
4a4b69dc4e [DEVELOPMENT ENVIRONMENT]
* BUG: Icon selection dialog filter works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 12:17:22 +00:00
Benoît Minisini
a7855016ca [DEVELOPMENT ENVIRONMENT]
* NEW: "Compress all" and "Uncompress all" action on project sub-
  directories.
* BUG: Do not crash when checking for completion in text editor.

[INTERPRETER]
* BUG: Void string contants work correctly now.

[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
  32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.

[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
  account inside <style> and <script> markups.

[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
  links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.

[GB.FORM.STOCK]
* NEW: Default icons for some mime types.

[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size 
  anymore.

[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a 
  RichText property.

[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
  current webpage with the <<...>> markup.



git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 21:27:11 +00:00
Bruce Bruen
1666b0a477 [DEVELOPMENT ENVIRONMENT]
* NEW: Added "lxterminal" to the list of xterminal options

git-svn-id: svn://localhost/gambas/trunk@5619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-13 02:34:03 +00:00
Benoît Minisini
8f054e7655 [DEVELOPMENT ENVIRONMENT]
* NEW: Allow a component to have a requirement on the XML implementation 
  feature (i.e. 'gb.xml' or 'gb.libxml').


git-svn-id: svn://localhost/gambas/trunk@5617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-10 11:07:38 +00:00
Benoît Minisini
9d5fbfa84d [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly raise an error when opening a void form file.


git-svn-id: svn://localhost/gambas/trunk@5616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:41:13 +00:00
Benoît Minisini
0e7ca733b8 [GB.DESKTOP]
* BUG: Desktop.SendMail() does not quote the "-" character in e-mail 
  addresses anymore.


git-svn-id: svn://localhost/gambas/trunk@5613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 13:21:29 +00:00
Benoît Minisini
d11346ef5b [DEVELOPMENT ENVIRONMENT]
* NEW: Display a warning at project loading when some libraries are missing.
* BUG: Prevent from selecting two different libraries with the same name.

[GB.JIT]
* BUG: Fix compilation error.


git-svn-id: svn://localhost/gambas/trunk@5607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-01 10:35:25 +00:00
Benoît Minisini
b3640ae064 [DEVELOPMENT ENVIRONMENT]
* NEW: The 'Project -> Refresh' menu entry now reloads the symbol 
  information of all components and libraries used by the project.


git-svn-id: svn://localhost/gambas/trunk@5602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 02:01:17 +00:00
Benoît Minisini
31a185f7e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Add translations for details of the E_CHILD error message.

[INTERPRETER]
* NEW: If the program name of EXEC is an absolute path, immediately raise 
  an error if it does not exist.


git-svn-id: svn://localhost/gambas/trunk@5597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-28 21:33:19 +00:00
Benoît Minisini
da707d38a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Search result list now displays the procedure name.
* NEW: System information now tells libcurl version.


git-svn-id: svn://localhost/gambas/trunk@5587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-23 18:38:23 +00:00
Benoît Minisini
9f696c8352 [GB.GUI.BASE]
* BUG: Draw.FillStyle has been implemented.

[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.


git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 00:48:55 +00:00
Radek Fryšták
8323d5386d [DEVELOPMENT ENVIRONMENT]
* NEX: check and update czech translate


git-svn-id: svn://localhost/gambas/trunk@5579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-14 19:51:16 +00:00
Benoît Minisini
84f819541a [GB.GUI.BASE]
* BUG: The default ColumnView sorting now correctly takes the column into 
  account.


git-svn-id: svn://localhost/gambas/trunk@5568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 15:31:17 +00:00
Benoît Minisini
c9d70b9301 [DEVELOPMENT ENVIRONMENT]
* NEW: The subversion dialog is not closed automatically anymore when 
  hitting ENTER.


git-svn-id: svn://localhost/gambas/trunk@5562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 17:13:07 +00:00
Benoît Minisini
7752fa8cfd [EXAMPLES]
* BUG: Fix PdfPresentation example.

[GB.DESKTOP]
* NEW: Try to use gnome keyring on XFCE.


git-svn-id: svn://localhost/gambas/trunk@5550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-13 00:20:28 +00:00
Benoît Minisini
af5bdc6f45 [GB.DB.MYSQL]
* BUG: Database charset is correctly reset when an automatic reconnect 
  occurs.

[GB.FORM]
* OPT: LCDLabel highlight is now drawn with the Image.Fuzzy() method.

[GB.QT4]
* NEW: The drag & drop frame is now transparent.
* BUG: The drag & drop frame is now correctly hidden in all cases when dnd 
  operation is finished.


git-svn-id: svn://localhost/gambas/trunk@5539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-09 23:41:41 +00:00
Sebastian Kulesz
e76dbf60ae [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation.



git-svn-id: svn://localhost/gambas/trunk@5536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-04 03:50:31 +00:00
Benoît Minisini
15feb5ef99 [DEVELOPMENT ENVIRONMENT]
* BUG: The 'clean up' action of the subversion management dialog is now run 
  on the repository root, not just on the parent directory of the project.
* NEW: When dragging a control from the toolbox to the form editor, a 
  target frame is drawn now.


git-svn-id: svn://localhost/gambas/trunk@5533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-03 18:17:52 +00:00
Benoît Minisini
65e8c03a7a [DEVELOPMENT ENVIRONMENT]
* NEW: Clean up and fix the patch dialogs.
* NEW: Put the patch actions in their own sub-menu.
* NEW: Add an option in the patch wizard to automatically generate the 
  patch file name.


git-svn-id: svn://localhost/gambas/trunk@5531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-02 03:09:55 +00:00
Tobias Boege
41cf42c003 [DEVELOPMENT ENVIRONMENT]
* NEW: Patch: Use more wide-spread a/ and b/ as old and new source names
* NEW: FMakePatch: Enhance wizard
* OPT: Struct destructor problem was fixed



git-svn-id: svn://localhost/gambas/trunk@5526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-29 21:15:16 +00:00
Benoît Minisini
29bb7544ea [DEVELOPMENT ENVIRONMENT]
* BUG: Double-clicking a project in the project open dialog opens it again.


git-svn-id: svn://localhost/gambas/trunk@5524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 20:53:01 +00:00
Benoît Minisini
1170daa9d7 [DEVELOPMENT ENVIRONMENT]
* NEW: Create a ProjectChooser control that can be shared between the 
  project open dialog and the patch wizard (for example).


git-svn-id: svn://localhost/gambas/trunk@5523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 19:28:31 +00:00
Tobias Boege
3ee9d91054 [DEVELOPMENT ENVIRONMENT]
* NEW: Show FPatch modal
* NEW: FMakePatch: Use Activate() events to go to next Wizard step
* BUG: FPatch: Fix SidePanel collapse
* BUG: FPatch: Enlarge buttons
* BUG: Patch: Ignore more generated files (now necessary without CleanUp()).
  Use temporary file to not pollute the diff command with them
* BUG: Mark a string translatable
* OPT: Patch: Use "tar" other options instead of --transform



git-svn-id: svn://localhost/gambas/trunk@5522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 16:45:40 +00:00
Benoît Minisini
3bdc61c9f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Move the patch source files into their own directory.
* NEW: Little design changes in the patch wizard.
* NEW: Change the icons used for the patch actions.

[GB.FORM]
* BUG: SidePanel does not crash anymore when clicking on a side button.
* BUG: FileView.Filter does not "eat" the filter array affected to the 
  property anymore.


git-svn-id: svn://localhost/gambas/trunk@5521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 15:00:13 +00:00
Tobias Boege
96eeedee94 [DEVELOPMENT ENVIRONMENT]
* NEW: The "Patch..." menu item opens a Wizard now.
* NEW: Support all kinds of source archives and a project directory as old
  source for a patch
* NEW: Ignore .settings and all files configured to be ignored
* NEW: Add titles and icons to the new forms
* BUG: Move the "Patch project..." menu item under "Project"
* BUG: FPatch does not crash anymore when a hunk does not carry a filename
* BUG: Don't try to copy contents of an empty backup directory
* BUG: Don't make archives of arbitrary directories anymore
* OPT: Copy old and new source to temporary directory before calling "patch"
* OPT: Don't clean the current project up unnecessarily
* NEW: Add Project.MakeSourceArchiveFromTo() method



git-svn-id: svn://localhost/gambas/trunk@5520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 14:09:55 +00:00
Benoît Minisini
cee6e90273 [GB.WEB]
* BUG: JSON.Encode() can encode arrays again.


git-svn-id: svn://localhost/gambas/trunk@5518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-26 11:09:40 +00:00
Tobias Boege
aaa33dc68f [DEVELOPMENT ENVIRONMENT]
* NEW: Add patch management
* NEW: Patches can be generated for old source archives to be patched to the
  currently opened project
* NEW: Patches can be applied/reverted to/from the current project
* NEW: Each patch hunk can individually be inspected and (de)selected before
  committing the operation
* NEW: Multiple patches can be queued in the dialog



git-svn-id: svn://localhost/gambas/trunk@5517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-25 23:14:42 +00:00
Benoît Minisini
51223bab13 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a project source archive works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-22 02:13:23 +00:00
Benoît Minisini
aebd42822d [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance Gambas 2 -> Gambas 3 project conversion.
* BUG: Correctly refresh the window titile if the project conversion fails.


git-svn-id: svn://localhost/gambas/trunk@5513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-20 16:16:09 +00:00
Benoît Minisini
3e0fd780fe [DEVELOPMENT ENVIRONMENT]
* NEW: Remove 'PUBLIC' keyword from 'PUBLIC PROPERTY' in Gambas2 to Gambas3 
  project conversion.


git-svn-id: svn://localhost/gambas/trunk@5512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-20 00:42:16 +00:00