Commit graph

4617 commits

Author SHA1 Message Date
David Villalobos Cambronero
951dd3127f [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@6191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-04 19:20:47 +00:00
Tobias Boege
b0e1b58d10 [GB.INOTIFY]
* BUG: Don't re-typedef CINFO.



git-svn-id: svn://localhost/gambas/trunk@6190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-03 22:07:32 +00:00
Benoît Minisini
0d2aac1e38 [INTERPRETER]
* NEW: Use vfork() instead of fork() to implement EXEC and SHELL, so that 
  when the child process cannot run the child program for any reason, the 
  error is immediately catched.
* BUG: Fix a possible file descriptor leak when using LOCK.


git-svn-id: svn://localhost/gambas/trunk@6189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-02 20:18:06 +00:00
Fabien Bodard
834560dc5b [GB.REPORT]
* BUG: Remove bug on setting


git-svn-id: svn://localhost/gambas/trunk@6188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-25 16:00:24 +00:00
Fabien Bodard
959e775ef7 [GB.REPORT]
* NEW: The report Preview form now save it's preferences.


git-svn-id: svn://localhost/gambas/trunk@6187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-25 15:00:14 +00:00
Benoît Minisini
1335e8ccdd [EXAMPLES]
* BUG: MediaPlayer: Buttons images are correctly resized at startup.


git-svn-id: svn://localhost/gambas/trunk@6186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 23:25:12 +00:00
Benoît Minisini
00fcff2b30 [GB.MEDIA]
* BUG: MediaPlayer works again.
* BUG: MediaPipeline.Stop() tries to send an EOS message at most during 
  250 ms. A warning message is printed if the EOS message has not been 
  sent.


git-svn-id: svn://localhost/gambas/trunk@6185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 23:24:24 +00:00
Fabien Bodard
16c4eb96a8 [GB.REPORT]
* BUG: ReportVBox is fully rewritten (some bugs will follow
  be carefull)


git-svn-id: svn://localhost/gambas/trunk@6182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 15:08:57 +00:00
Benoît Minisini
480d01ff9f [EXAMPLES]
* NEW: Add the new RandomColorSort example, made by Louis W. Adams, Jr. and 
  fixed by myself.



git-svn-id: svn://localhost/gambas/trunk@6181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 00:42:00 +00:00
Benoît Minisini
473e786bca [WIKI]
* BUG: Fix view mode style sheet.
* NEW: Implement the "todo" command.
* BUG: When a page does not exist in the current language, use the english 
  page instead.
* NEW: Add an "historic" button that switches to historic mode.


git-svn-id: svn://localhost/gambas/trunk@6180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-23 22:56:24 +00:00
Benoît Minisini
3b46313b12 [WIKI]
* NEW: Implement the page history browser. Not perfect yet...
* BUG: Fix the file name of archived pages.

[EXAMPLES]
* BUG: SmallWiki: Fix the file name of archived pages.


git-svn-id: svn://localhost/gambas/trunk@6179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-23 17:04:17 +00:00
Fabien Bodard
2c2077a50f [GB.REPORT]
* NEW: Now report have a new default event _Open that allow
  to initialize all the report data and structure.
* NEW: Begin to implement the ReportGridView Widget
* OPT: some cleanning in the code arrangement.


git-svn-id: svn://localhost/gambas/trunk@6178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-23 11:01:47 +00:00
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