Commit graph

4155 commits

Author SHA1 Message Date
Benoît Minisini
9c15e92a17 [WIKI]
* NEW: Add translations from the old wiki.
* BUG: Fix error table css.
* BUG: Add some space between columns in symbol table.
* BUG: Fix class automatic description.
* BUG: Some fixes in old wiki conversion.

[GB.MARKDOWN]
* NEW: To print a single backquote between two backquotes, write it twice.


git-svn-id: svn://localhost/gambas/trunk@6177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 23:19:28 +00:00
Benoît Minisini
ef4b9f0357 [DEVELOPMENT ENVIRONMENT]
* NEW: The 'F2' key now can jump from a GOTO or GOSUB instruction to its 
  target label.


git-svn-id: svn://localhost/gambas/trunk@6176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 22:42:34 +00:00
Benoît Minisini
3ee4f05071 [DEVELOPMENT ENVIRONMENT]
* BUG: All forms types are supposed to be their own event observer.


git-svn-id: svn://localhost/gambas/trunk@6175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 15:13:42 +00:00
Benoît Minisini
38bfca59c9 [GB.MARKDOWN]
* BUG: Fix markup mismatch detection again. Now markup mismatch does not 
  raise an error anymore. It prints it inside the page.


git-svn-id: svn://localhost/gambas/trunk@6174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 01:23:18 +00:00
Benoît Minisini
88762a4e47 [GB.MARKDOWN]
* BUG: Fix markup mismatch detection again.


git-svn-id: svn://localhost/gambas/trunk@6173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:50:35 +00:00
Benoît Minisini
83d7271afc [GB.MARKDOWN]
* BUG: Fix markup mismatch detection.


git-svn-id: svn://localhost/gambas/trunk@6172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:42:03 +00:00
Benoît Minisini
c802ae2ba8 [WIKI]
* BUG: Fix the special methods syntax.
* BUG: Fix the class symbols table.

[GB.MARKDOWN]
* NEW: <img>, <br> and <hr> markups don't need to be closed anymore.


git-svn-id: svn://localhost/gambas/trunk@6171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-22 00:33:46 +00:00
Benoît Minisini
960ddb4c14 [WIKI]
* NEW: Some cosmetic fixes.
* NEW: Implement the read-only view mode.
* BUG: Correctly handle current language in links.

[GB.MARKDOWN]
* NEW: The [[ ... ]] syntax now uses the "table" class by default for the 
  <table> markup.


git-svn-id: svn://localhost/gambas/trunk@6170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-21 23:33:07 +00:00
Benoît Minisini
5caf76d001 [WIKI]
* BUG: Tuning of the old wiki conversion.
* NEW: Change the wiki structure. The Gambas information files and 
  component files are put in the 'info' sub-directory.

[EXAMPLES]
* NEW: LCDLabel: New example.

[GB.FORM]
* BUG: ButtonBox button is correctly disabled when the Enabled property is 
  cleared.

[GB.MARKDOWN]
* NEW: Two new callbacks : one called when entering a table, one when 
  exiting.


git-svn-id: svn://localhost/gambas/trunk@6169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-21 22:17:25 +00:00
Fabien Bodard
6ded35d4c1 [GB.REPORT]
* OPT: ReportView drawing not use Svgimage, this avoid 
  qt4 svg rendering bugs.


git-svn-id: svn://localhost/gambas/trunk@6168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-20 20:25:46 +00:00
Fabien Bodard
b6916025e1 [GB.REPORT]
* BUG: The report engine have a new scaling routne based
  on the document size and not on the device resolution.
* NEW: ReportLabel now use Angle in degree ... be carfull 
  if you are alread using this property it will affect
* BUG: Remove gb.map use


git-svn-id: svn://localhost/gambas/trunk@6167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-19 21:11:59 +00:00
Henrique
57d1391171 [DEVELOPMENT ENVIRONMENT]
* NEW: Added the shortcut information in the buttons on the translate form.
* NEW: Updated the Brazilian Portuguese translation.



git-svn-id: svn://localhost/gambas/trunk@6166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-18 16:56:26 +00:00
Benoît Minisini
3406237f44 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix integer properties reading when loading a form.


git-svn-id: svn://localhost/gambas/trunk@6165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-18 13:27:00 +00:00
Benoît Minisini
32940a1a70 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for "Angle" properties. These properties are integer 
  properties that represent an angle in degrees. Radians are not supported 
  at the moment.


git-svn-id: svn://localhost/gambas/trunk@6164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-17 22:09:13 +00:00
Benoît Minisini
34cd87e0d9 [GB.GTK]
* BUG: Fix a Slider warning when setting the MinValue or MaxValue property.

[GB.GTK3]
* BUG: Painting a DrawingArea is done with the correct origin now.


git-svn-id: svn://localhost/gambas/trunk@6163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 23:12:50 +00:00
Benoît Minisini
513aac869e [GB.GTK]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.

[GB.GTK3]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.
* BUG: Printer.Configure() now correctly returns FALSE if the "Print" 
  button has been pressed.


git-svn-id: svn://localhost/gambas/trunk@6162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 18:00:32 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
Benoît Minisini
551ff27eee [GB.MEDIA]
* NEW: If the MediaControl type contains a '/' character, then a 
  MediaFilter is created using that type as filter.
* NEW: Properties having the "Caps" type are now handled everywhere.


git-svn-id: svn://localhost/gambas/trunk@6160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 00:04:44 +00:00
Benoît Minisini
92bd9756a8 [GB.MEDIA]
* BUG: Fix how the end of stream is sent when stopping a pipeline.


git-svn-id: svn://localhost/gambas/trunk@6159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 13:18:28 +00:00
Benoît Minisini
fbf7420851 [GB.MEDIA]
* NEW: MediaPipeline constructor now takes the message bus polling 
  frequency as an optional argument.
* NEW: MediaPipeline.Stop() now force EOS on sources before stopping the
  pipeline.


git-svn-id: svn://localhost/gambas/trunk@6158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 12:38:25 +00:00
Benoît Minisini
33ccdc039a [GB.COMPLEX]
* BUG: Conversion from complex to number now returns the real part if the 
  imaginary part is null, and raises an error otherwise. It does not return
  the complex modulus anymore. Use Abs() for that.


git-svn-id: svn://localhost/gambas/trunk@6157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-14 23:17:45 +00:00
Benoît Minisini
7406ebb743 [GB.GSL]
* BUG: Conversion from complex to number now returns the real part if the 
  imaginary part is null, and raises an error otherwise. It does not return
  the complex modulus anymore. Use Abs() for that.


git-svn-id: svn://localhost/gambas/trunk@6156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-14 23:16:24 +00:00
Bruce Bruen
e83fe0bcd0 [GB.DESKTOP]
[BUG] Small change to xdg-email for LXDE so it doesn't open the
  web browser if there is a default email application.

git-svn-id: svn://localhost/gambas/trunk@6155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-13 11:56:04 +00:00
Benoît Minisini
66ce4042d2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the analyze of exported classes that override a class from a 
  component.


git-svn-id: svn://localhost/gambas/trunk@6154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-13 00:47:54 +00:00
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Fabien Bodard
06803f31e1 [GB.REPORT]
BUG: Now Duplex modes are correctly setting in ReportPreview
BUG: ReportFrame set clipping inside the borders



git-svn-id: svn://localhost/gambas/trunk@6152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 17:34:27 +00:00
Benoît Minisini
a3286b55eb [GB.COMPRESS.ZLIB]
* BUG: Fix file compression routine when the file size is a multiple of the 
  internal buffer size.


git-svn-id: svn://localhost/gambas/trunk@6151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 16:27:35 +00:00
Tobias Boege
d4ec08a74c [DEVELOPMENT ENVIRONMENT]
* NEW: FMakePatch: Save chosen paths (old source archive, old project, patch
  file name) in the project's .settings.
* NEW: FPatch: Save last loaded patch in .settings.
* NEW: Re-read the entire project after patching/reverting since a patch can
  change version numbers, components used, etc..
* BUG: Patch: the gambas-patch-ignore file is now chmod'd to rw-------.



git-svn-id: svn://localhost/gambas/trunk@6149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 14:34:45 +00:00
Fabien Bodard
b1078f7ae8 [GB.REPORT]
* OPT: BE CAREFFULL, Now if ReportObject Width and Height are not
  set, then the ReportObject si autoResized. This will help
  a lot new users to understand the report layout.
* BUG: Some bugs corrected on the reportPreview.
* NEW: Begin to implement a Shadow for ReportFrame Objects.
  It have the same way to work than the CSS3 box shadow.
  XOffset, YOffset, Spread, Color. Actually only the class 
  have been implemented... I need to say to the engine how to use
  it :-)
  


git-svn-id: svn://localhost/gambas/trunk@6148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 14:09:24 +00:00
Tobias Boege
da8305456c [GB.INOTIFY]
* NEW: Rename the PathWatch class to Watch.
* NEW: Generalise the events raised by the class for future portability.
* NEW: Add static properties Name, IsDir, Unmount and Cookie and remove the
  corresponding event handler arguments.
* NEW: Do not automatically reference a Watch anymore to keep it sane.
* BUG: Automatic detection of watch events works now (#6115).
* BUG: Invalidate Watch objects when the kernel tells us to.
* BUG: Don't enter an infinite loop if some event bits are not recognised.
* OPT: Use hash tables to improve lookups.



git-svn-id: svn://localhost/gambas/trunk@6147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 21:23:05 +00:00
Benoît Minisini
5a61180b86 [CONFIGURATION]
* NEW: Dutch translation updated in many places.

[DEVELOPMENT ENVIRONMENT]
* NEW: New option to run a program inside a true virtual terminal, but its 
  standard error output is redirected to the IDE console.

[WIKI]
* NEW: New Gambas wiki CGI script. It aims at replacing the current wiki. 
  Currently in development...

[INTERPRETER]
* NEW: A new '-t' hidden command-line argument to support redirecting the
  standard error output to a named pipe.

[GB.IMAGE]
* BUG: Link with the mathematic library as the pow() function is used for
  the image gamma filter.

[GB.MARKDOWN]
* NEW: Markdown.Line is a new property that returns the current line if an 
  error occurs while converting markdown syntax to HTML.
* NEW: Support for custom commands "{@...}".
* NEW: The quote characters has the same effect as the backquote character, 
  except that markdown is allowed inside.

[GB.QT4]
* BUG: Clipboard.Paste() now returns the image when there is both image and 
  text inside the clipboard.



git-svn-id: svn://localhost/gambas/trunk@6146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 16:00:13 +00:00
Benoît Minisini
69b70827b5 [GB.WEB]
* BUG: Fix the JSON.Decode() method signature.
* BUG: JSON.Null is now a read-only property.

git-svn-id: svn://localhost/gambas/trunk@6145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 10:55:26 +00:00
Fabien Bodard
18d2bb3f5f [GB.REPORT]
OPT: Add icons for ReportDrawingArea and ReportViewer widget


git-svn-id: svn://localhost/gambas/trunk@6144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 08:28:35 +00:00
Fabien Bodard
f376a6909c [GB.REPORT]
* BUG: The custom panel is now enabled when report.paper
  is custom.


git-svn-id: svn://localhost/gambas/trunk@6143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 08:05:57 +00:00
Fabien Bodard
0d97cd6716 [GB.REPORT]
* NEW: A new widget ReportDrawingArea allow to draw freely on
  the report page. It have an event draw that provide the size of 
  the drawing (depending on the paint device resolution too.
  Sometime you  can use ReportUnits.DesktopScale ratio to fix 
  the size). 
  A cached property, allow to call the event only when the device
  resolution change, it is usefull when a draw need a lot of
  computing.
* NEW: MTool and Units have been merged to create a new shared 
  module: ReportUnits. It provide functions for unit convertions
 depended on paint resolution (for pixel convertion use it in a
 paint session)
 A property DesktopScale provide a ratio between Desktop pixel
 size and printer size.
* BUG: Add again forgotten files.



git-svn-id: svn://localhost/gambas/trunk@6142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 07:21:49 +00:00
Fabien Bodard
db51ba6c2d [GB.REPORT]
BUG: Remove an accidentaly forgotten debug line.


git-svn-id: svn://localhost/gambas/trunk@6141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 06:20:06 +00:00
Benoît Minisini
a2f19c2558 [EXAMPLES]
* NEW: Add a new WaveGenerator example that plays a sinusoid wave whose
  frequency can be modified in realtime with a slider.
* BUG: SmallWiki: Backport fixes from gb.markdown.

git-svn-id: svn://localhost/gambas/trunk@6140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 02:32:47 +00:00
Benoît Minisini
115fd6c470 [GB.MEDIA]
* BUG: When a MediaPipeline is freed, the pipeline is first stopped before 
  being put to the null state. Otherwise GStreamer freezes.


git-svn-id: svn://localhost/gambas/trunk@6139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 02:30:00 +00:00
Benoît Minisini
e89cf75bac [GB.GTK]
* BUG: Fix the default size of message boxes.


git-svn-id: svn://localhost/gambas/trunk@6138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 22:25:04 +00:00
Fabien Bodard
67f41e9b3c [GB.REPORT]
BUG: Add missing files


git-svn-id: svn://localhost/gambas/trunk@6137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 20:35:45 +00:00
Fabien Bodard
d7ae458ba6 [GB.REPORT]
* NEW: A new widget ReportView (Need polish for external use)
* NEW: A new report preview windows. It embedd all the printing tools
  and can reflect all the printing options in real time 
  Page size, Gray scale and a range property like in the known text 
  editors (1;3;8-9)
* OPT: many other improvement like the possibility now to a 
  report to be initialised with an or more arguments.
* BUG: the report custom size bug is solved.
* OPT: I need more and more user to debug and share ideas on this component.



git-svn-id: svn://localhost/gambas/trunk@6136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 14:21:05 +00:00
Tobias Boege
f24c9c7f3a [GB.NCURSES]
* BUG: Reset the "watched fd" variable when a watch ends.



git-svn-id: svn://localhost/gambas/trunk@6135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-05 16:27:23 +00:00
Benoît Minisini
aadf50a477 [GB.GTK]
* BUG: The printer configuration dialog does not crash anymore.
* BUG: Remove some GLib warnings when displaying the printer configuration 
  dialog.


git-svn-id: svn://localhost/gambas/trunk@6134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-05 01:06:37 +00:00
Tobias Boege
75f6bda782 [GB.NCURSES]
* NEW: Add Key.Esc constant to catch escape key (without needing to know
  that it's ASCII 0x1b).



git-svn-id: svn://localhost/gambas/trunk@6133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-04 20:02:50 +00:00
Tobias Boege
f4c1e52c6d [GB.NCURSES]
* BUG: Initialise the Screen singleton's properties.



git-svn-id: svn://localhost/gambas/trunk@6132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-04 19:42:05 +00:00
Tobias Boege
b598d4d94a [GB.NCURSES]
* BUG: Respect Window.Attributes when changing Window.{Fore,Back}ground.



git-svn-id: svn://localhost/gambas/trunk@6131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-04 18:37:29 +00:00
Tobias Boege
3602e25387 [GB.NCURSES]
* BUG: Window.Ask() now returns the chosen letter (and not its index) as
  it's documented and ought to be (returning the index does not ease
  translation very much but makes program flow much less obvious).

[EXAMPLES]
* NEW: Pong: Update uses of Window.Ask().



git-svn-id: svn://localhost/gambas/trunk@6130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-04 16:48:54 +00:00
Benoît Minisini
cd9babdeeb [EXAMPLES]
* NEW: Embed the gb.markdown code so that the example can be tested on the
  stable version of Gambas. This is temporary!


git-svn-id: svn://localhost/gambas/trunk@6128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-03 18:32:43 +00:00
Benoît Minisini
1d2147f99c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't freeze when loading an older version of a component project 
  that misses some classes implemented in the newer versions of the 
  component.


git-svn-id: svn://localhost/gambas/trunk@6127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 14:38:51 +00:00
Benoît Minisini
ba56007672 [CONFIGURATION]
* BUG: Add gb.markdown to the 'order' file that lists all components 
  written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 14:14:02 +00:00