gSUB - Subtitle application for Dreambox
========================================
Author: Gruffy
Contact: gruffypuffy1234 AT hotmail DOT com

Release notes
=============
1.08
----
 - Improved "fallback to WebIF" added in 1.07 so that it also detects "playback" and hence
   can use the RecDelay. Note that I still urge you to use an image which produces the 
   /tmp/pmt.tmp as this is far better for gSUB. 
 - Added a check on the DVB Subs timeout value. If it is not set by the stream, 2SUB will
   set a max timeout of 5 seconds. We will see if this solves the "staying DVB subs".
   
1.07
----
 - Reworked how the paltette is used. Firstly, it is not at all used until you actually
   start a DVB Subtitle. This means that if you don't have (use) any channels with DVB
   subs, gSUB will work as before. 
   Secondly, each time you change channel coming from DVB Subs, gSUB will restore the
   full palette from the skin. (Used to be only the 256-16=240 colors.)
   Third, I have tried to add more intelligence in detecting the "default" skin. The 
   problem with this one is that it is not stored in the config settings and the image
   makers normally hard code the file into Enigma...problem for me. But if you go into
   enigma select another skin, reboot, goes back and selects the default again, reboot, 
   then gSUB will see it in the config file.
 - The new PLi has no /tmp/pmt.tmp...so gSUB did not work here. I tried to add some kind
   of fallback mode for this. When there is no pmt.tmp, gSUB will use the WebIF to find
   the info it needs...so this mean spam is enabled again. Might not be good for recordings
   etc in PLi...and it might not work...I don't use PLi so I have not tested it... :-)
 - About 32 bit mode on PLi...nope, I have only a 500 and a 7025 box and thus I cannot at
   all run this (not available on 500). So until I can test it it is not likely to happen...
   sorry for this, but I feel it is difficult enough and try to have gSUB to run on as 
   many images as possible, but this is a little too much change for me currently. 

1.06
----
 - Fixed bug where timeout on DVB Subtitles were not working perfectly.
 - Fixed some polish characters.

1.05
----
 - DVB Subtitle: Redraw bug...a lot of flickering etc on CANAL+ Polen
 - DVB Subtitle: If transmitted without CLUT colors were messed up. Now fixed.
 - Palette reading from skin was incorrect, now fixed.
 
1.04
----
 - Relinked the 2SUB binary so that it is statically linked to xmltree instead. Will get the
   binary about double size, but the dependency problem with libxmltree.so.0 is gone...

1.03
----
 - Added 16:9 and 4:3 detecting...was missing before, sorry about that.
 
1.02
----
 - Hopefully fixed bug where transparency was lost...
 
1.01
----
 - Fixed bug with background was not alligned to the text. Porting issues in the framebuffer class.
 
1.00
----
 - Major update to gSUB! I have used the last version of the 7025 version 2SUB and ported
   that back to 500, 5600, 7000 and 7020. 
 - Added support for DVB Subtitles!
 - Using the /tmp/pmt.tmp to gather info instead of spamming WebIF. So, an image which produces
   this file is now a requirement. So it is only using the WebIF for audio updates and that is
   not at all as much CPU demanding for the box.
 - Added new setting in GUI to select if gSUB shall prefer DVB subtitles or Teletext.

 KNOWN ISSUES:
  - As mentioned before...requires /tmp/pmt.tmp
  - Suspend while recording feature is currently disabled but still visible in GUI.

------------------------------------------------------------------------------------------

0.91
----
 - Cleaned up logging again (after debug releases 0.89 and 0.90). 
 - Polish language should be fine now.
 
0.90
----
 - Updated with new translation for polish...test release.
 
0.89
----
 - Fixed bug where characters (in some languages) caused a space char and the Italic mode on.
 - Added more French channels to gSUB.channels
 - Changed default render mode to 'outline only' from 'background only' in gSUB.conf
 - Enabled debugging of gSUB...NOTE THIS RELEASE IS NOT FOR PUBLIC RELEASE! Too much logging going on.
 
0.88
----
 - Added detection of Teletext stream is sending the same text twice. This will remove flickering when
   gSUB draws this twice without this detection.
 - Added double buffer rendering. Improving rendering a lot. You will NOT see any drawing until it is
   completely finished.
   
0.87
----
 - Only recompiled and striped loggings. Forgot that in 0.86.
 
0.86
----
 - Increased the priority levels to the same as <0.81 releases. Also added an update to PES filters.
 
0.85
----
 - But...the bug was not fixed. Now...I both think and really hope that it is gone!
 
0.84
----
 - Bug with missing rows (and as I thought it was sending commercials...NOT! My fault!) should be fixed 
   in this relese. (Introduced in 0.82 when PES rewrite was done...)
   
0.83
----
 - Fixed the TV1000 bug found by Kim...it seems like TV1000 is transmitting commercials on the same page
   as its subtitles...lol...well filtered away now anyway.
   
0.82
----
 - Totally rewritten PES filtering to minimize memory usage and CPU usage. Needs HEAVY testing...
 - Fixed "glitch" bug where rendered text sometimes were rendered two times and this caused a "blink/glitch".
   This is now fixed as the new PES filtering is in place.
 - Added updated gSUB.channels file...thanx Gaj!
   
0.81
----
 - Totally rewritten how gSUB translates special characters for different languages.
 - Added Lithuanian, Latvian and polish as this is now possible.
 
0.80
----
 - Added a third rendering mode. Background AND outlines at the same time. This also forced
   me to add a new color in the GUI, you now have TextColor, OutlineColor and BackgroundColor. 
   And you can select render mode: Outline, Background or Outline&Background
   
0.79
----
 - First try of fixing the "search through gSUB.audio & gSUB.channels" bug. This bug made
   the secondary language selected not to work in gSUB.audio and gSUB.channels as expected.
   Hopefully this will correct this. Time & test will tell...
   
0.78
----
 - Removed the visibility of the password totally...now you can ONLY enter 
   a new one...but never see what you have written...paranoia? :-)
  
0.77
----
 - Fixed typo in new GUI edit box.
 - Changed the password to be hidden in main menu...now TOP SECRET ;-)

0.76
----
 - Fixed bug in italic rendering. Now '>' etc are rendered as ' ' [SPACE].
 - Added support for editing of WebLogin, WebPassword and WebPort in GUI.
 
0.75
----
 - Added "_" as tag for italic rendering.

0.74
----
 - Fixed bug for rendering subs with color coding. 
 - Added more channels in gSUB.channels
 
0.73
 - First version with Italic support...needs testing!
 - Added some support for Estonian language...still not 100% on converting 
   all characters...but a lot better at least.
   
0.72
----
 - Fixed bug in 16:9 or 4:3 detection.

0.71
----
 - Changed StartX, StartY to use steps in 10 (used to be 20).
 - Added support for different Y pos, font size and row space in 4:3 and 16:9 transmissions.
 
0.70
----
 - Added selectable outline size 1,2 or 3 pixels.
 - Added autostart option. 'Daemon and gSUB' or 'Daemon only'.
 
0.69
----
 - Fixed typos in several files gSUB.audio etc.
 - First attempt to fix "non-clearing" bug. Need help with tests!

0.68
----
 - Updated gSUB.audio with more settings.
 
0.67
----
 - Added new feature to color selection. If you press "OK" on TextColor or Background/Outline
   color you will get a question if you would like to "automatically set foreground/background
   color from the selected Enigma skin". This means that it is now very fast to finde these
   from inside the GUI.

0.66
----
 - Fixed bug with outline rendering...now much better!
 - Fixed bug with "blinking" subs...now much better!

0.65
----
 - Added colored rectangles in GUI on the color selections so that once can see what
   color is selected without the need of save and restart gSUB and see the result.
   NOTE: The colors on each index will be different depending on what skin you have
   selected! If you change skin, please go in and reselect the colors you like for
   this skin.

0.64
----
 - Added new search settings for gSUB.channels and gSUB.audio, see readme file.
   NOTE!!! This means that gSUB.XXX files from 0.63 and lower DOES NOT work with
   this version anymore. Make sure to update these as well!
 - Changed the daemon to use /var/bin/gSUB as start path. This is to not require
   gSUB in the path...but negative is that it MUST be installed to /var/bin!

0.63
----
- Fixed bug where audio settings did not work if the channel had no teletext.

0.62
----
- Changed the gSUB.channles setting to be in either OFF, FALLBACK or OVERRIDE mode.
  OFF - Don't use the file at all
  FALLBACK - Use the file if NO subs found.
  OVERRIDE - Use the file BEFORE trying to find subs. Good for some wrongly coded
             french channels for example.
- Fixed the scan crash bug...the bug is actually in Enigma, but this is a workaround
  that probably is good enough. Let's hope for the best.

0.61
----
- Added GUI setting for enable/disable gSUB.audio

0.60
----
- Added support for audio selection through gSUB.audio file. Check in this
  file for how to add audio selection.
  
0.59
----
- Rewritten how gSUB is launched/spawned totally.
  gSUB is now both a "spawning daemon" as well as the "subtitle application".
  Execute "gSUB --help" to see the options.
  NOTE: You shall still autostart gSUB from init scripts with "gSUB &", this will
  however start a gSUB starter daemon, and this will launch gSUB. The GUI will then
  send signals to the daemon to start new instances when needed. Hopefully this will
  help against the crashes of Enigma we have seen...

0.58
----
- Added translator table for french.
- Added new "Suspend While recording" option. Select between OFF/Sleep/Kill gSUB while
  recording. The Kill option requires that you manually do a RESTART on it when recording
  has finished and you want to use gSUB again.

0.57
----
- Fixed Disney channel bug.
- Fixed multilanguage selection, should improve spanish channels.
- Changed multithreading a bit...
- Added config option to enable/disable gSUB.channels file.

0.56
----
- Recompiled and changed plugin to handle the new CVS images that has the
  changed "listbox" class.

0.55
----
- Changed internal code of gSUB to deal with slow WebIF better.

0.54
----
- Fixed channel change bug...was introduced when added language setting in
  the gSUB.channels file.
- Changed Spanish translation table.

0.53
----
- Added language setting to gSUB.channels IMPORTANT!!! CHECK THIS FILE BELOW!
- Get rid of start_gSUB    VERY IMPORTANT!!! NOT USED ANYMORE!
- Added "kill" button.
- Added Spanish charset.

0.52
----
- Fixed stupid crashbug in 0.51 GUI...argh...bad bad bad me!

0.51
----
- Fixed "clearing of subs" when changing channel
- Added "suspend while recording"
- Added web port selection (in file gSUB.conf only, not in GUI)
- Added support for Dutch, Spanish and Italian in GUI only. Will
  probably render some chars incorrectly...as mentioned before, please
  send these to me so that can implement a translation table!

0.50
----
- Changed how StartX, StartY etc are used. Also added a RowSpace feature.
- This release contains the first config plugin. Please test a lot for me!
- Got rid of libxmltree dependency...now runs good on 7020 again.
- Small bugs fixed.
