Kbtv2 ChangeLog =============== 20080624: Gui/kbtv2.desktop.in [new file], Makefile, multimedia/kbtv2-gui-qt4/pkg-plist - create and install .desktop file - also install kbtv icon (needed for desktop/menu entries) 20080623: backends/saa/saa.c - adapt to open and close the audio device on every operation 20080622: Core/Makefile, Gui/kbtv_about.py, multimedia/kbtv2/files/bsd.kbtv.mk - version to v2.0, development has taken long enough (over a year!) - todo before release: 1. open and close saa audio device with every operation (appears needed, and that silly sif2 stuff might be not needed after all, but I'll leave that in for now) 2. gui: add a .desktop file and install it 3. some known issues remain unfixed, this is FOSS after all :) 20080531: Core/Makefile, Gui/kbtv_about.py, multimedia/kbtv2/files/bsd.kbtv.mk - version bump to v1.97 - released v1.96 as RC3 20080530: README - remove frequency list enter method docu 20080530: Gui/kbtv_channels.py - remove (comment out) the manual frequency list enter method 20080529: README - update WRT frequency API change, completes API change - add note about qtconfig-qt4 20080529: Core/chanlist.py - add some code so that an existing chanlist (MHz) can be used, and convert frequencies to kHz Gui/kbtv_channels.py - QDoubleSpinBox -> QSpinBox (MHz -> kHz) 20080529: Gui/kbtv_recorder.py, Gui/kbtv.qrc, Gui/pics/document-open-folder.png (new) - re-add icon that had gone AWOL 20080529: Gui/kbtv_channels.py - fourth step WRT frequency API change, adapt GUI and finetune code to use QDoubleSpinBox with steps 0.25 and tuneable between -1.0 and +1.0 Frequencies in the GUI are floats now. 20080529: backends/saa/saa.[c][h], backends/bktr/bktr.[c][h], backends/cxm/cxm.[c][h] - third step WRT frequency API change from MHz -> kHz, all defined frequencies, both vars and constants are now all in kHz. Needed to make saa tuning work better. All my cable channels are .00 MHz and stupid me never noticed that with .25/.75 frequencies the second divider didn't get programmed correctly! 20080529: Core/avctrl.py - second step WRT frequency API change from MHz -> kHz, TunerCtrl class' pydoc 20080528: Core/chanlist.py - first steps WRT frequency API change from MHz -> kHz, change chanlist class and the channelset freqs (to kHz) 20080527: backends/saa/saa.c - in video_set_source(): if not tuner, mute sound 20080527: scripts/kbtv2-setup - fix regression 's/DRIVERS/BACKENDS/' 20080519: Gui/kbtv.py - comment out the code that puts the picture actions in the toolbar, looks better with clearlooks and is not an often used function 20080519: Gui/kbtv.py - after avc exists (setDevice), go through the mixer channels and remove nonexistant ones from the action collection 20080519: Gui/kbtv.py - when looking at wininfo I noticed what I had already seen when watching TV: if kbtv starts up with small size, the height becomes 231 not 240. The origin of this glitch is not understood ATM, work around by going to medium size first, then small 20080519: Gui/kbtv.py - write video window id to ~/kbtv/kbtv.wid on startup (this can be used for example to grab imagery without needing any IPC crap) 20080519: metaport multimedia/kbtv2/files/bsd.kbtv.mk - version bump to v1.96 - add _MK_VERSION=20080519 to keep the mk versioned 20080519: Core/Makefile, Gui/kbtv_about.py - version bump to v1.96 20080517: ports, misc - roll final kbtv-1.95 and ports tarball - make some new snapshots for the website - release v1.95 as RC2 20080517: Gui/kbtv_documentation.py - use monospace font for displaying the README 20080517: README - add blurb about saa (un)supported tuners 20080517: backends/saa.c - some more dancing in the dark wrt tv audio - note to self: possibly FMDMSEL may also be needed 20080428: backends/saa.[h][c], Core/avctrl.py, Core/hardware.py, Gui/kbtv.py, Gui/kbtv_hwconfig.py, Gui/kbtv/kbtv_settings.py: - remove __set_sif() in backend, instead have a function audio_set_standard() in all backends, which for saa makes it possible to select A2/NICAM (if applicable at all) - add NOP audio_[get][set]_standard() functions to other TV backends - add a retrievable HW specific variable for audio standard (mod) to the config - use it in kbtv.py and kbtv_hwconfig.py - in hwconfig.py, show an extra 'Audio' groupbox where the user can choose between A2/NICAM (if impossible choice, no effect) 20080428: backends/saa.[h][c]: - Again, sif audio: Function argument type must match FREQ_SND_* type (doh!), set freq2 if B/G for stereo, expand definition of __set_sif() accordingly and add a define for it (I would get audio mixed with noise with what seems to be the correct way to set freq1, and spec indicates that 2nd sif for B/G stereo is 5.74 MHz -- also, playing with numbers pointed to 5.74) 20080424: backends/saa/saa.[h][c]: - Try to get audio (sif) working with saa for other than PAL B/G 20080421: Gui/kbtv.py: various GUI improvements: - Use proper icon to restore windowed mode when in fullscreen - Make toolbar movable (not floatable) between top and bottom - Disable context menu that would make it possible to hide the toolbar which is undisirable - Show proper icon if sound is muted - In the Help menu put doc entry first, then separator, then about - Show a suitable icon in statusbar if 'No devices' - Hide statusbar in pseudo-fullscreen mode 20080420: kbtv2 metaport: files/bsd.kbtv.mk Bump version to 1.95 other ports: Change 'drivers' to 'backends' in relevant plists 20080420: various in Gui, README Import (most, not all) icons from kde4/oxygen, add CC/LGPL note in README. Use a new dir for this called 'pics' 20080420: various in Core, Gui, Makefile Change 'driver' to 'backend' everywhere in the code Bump version to 1.95 20080307: README, ports Update doc and makesums and release v1.94 as RC1 20080307: drivers/cxm/cxm.c In the viewer init where the SDL timer gets set, set the ticker to -1 again, was 40 (accidentally reverted without me noticing). This is likely much more important for A/V sync than anything else I've done (see below 20080306). Test this on 6/i386 and 7/amd64 20080307: Gui/kbtv.py Disable pwc hwconfig again, defer to later when more webcam backends get added because that likely requires revision anyway 20080307: drivers/saa/saa.h, drivers/saa/saa.c For D/K, define the B and C databytes as suggested by Yuri 20080306: drivers/cxm/ffcxm.c Make A/V sync keeping more agressive by tweaking various timing parameters (all at the beginning of the file). It can still get slightly out of sync if it has had to compensate for several CPU spikes after another (e.g. opening several browser tabs of fairly heavy pages). Best thing to do is to tune up and down then. 20080306: drivers/bktr/bktr.c Bktr backend improvement attempts were fruitless, sorry 20080305: kbtv2 metaport Fix typo that prevented kmod-bktr to be pulled in if requested 20080305: Gui/kbtv.py Enable pwc hwconfig again 20080305: contrib/BSD/pvrxxx_port_20070423_patches.tbz: patch-modules__cxm__cxm__Makefile Fix serious cxm-kmod regression by modifying the Makefile fix that was needed for fbsd7 (20080301) because on 6 this breaks the build. Re-roll patchfile and tarball 20080305: kbtv2-kmod-bktr port Do away with i386 exclusion in the Makefile 20080305: Core/Makefile, Gui/kbtv_about.py Version bump to v1.94 20080304: README, ports Update doc and makesums and release v1.93 as beta3 20080303: saa works beautifully on FreeBSD7/amd64 (no HW accelleration) \o/ In fact, it's the best working backend of all. Next up is testing on i386 again for any regressions, and trying to improve the backends for bktr (contrast, deinterlace), cxm (startup, sync), pwc (config in GUI). This is a good time for beta3. 20080302: kmod/saa/patches/patch-kmod__saa713x.c bus_setup_intr() again, kmod-saa now compiles on FreeBSD7/amd64 20080302: configure To check for ffmpeg, look for the ffmpeg command rather than ffplay Found when building backend, cxm now works on FreeBSD7/amd64 \o/ 20080301: Makefile Add patch-modules__cxm__cxm__cx25840-firmware.c to CXM_PATCHFILES Now the kmod-cxm compiles on FreeBSD7/amd64 without any warnings 20080301: contrib/BSD/pvrxxx_port_20070423_patches.tbz: add new patchfile patch-modules__cxm__cxm__cx25840-firmware.c Line 146: warning: cast from pointer to integer of different size Cast to intptr_t (arch specific) instead of int, re-roll tarball 20080301: contrib/BSD/pvrxxx_port_20070423_patches.tbz: patch-dev__cxm__cxm.c Fix bus_setup_intr() call for FreeBSD7 (API change, see sys/bus.h), re-roll patchfile and tarball 20080301: contrib/BSD/pvrxxx_port_20070423_patches.tbz: patch-modules__cxm__cxm__Makefile Another build error, explicitly add -I/usr/include to Makefile: fbsd-compat.h:62:23: error: inttypes.h: No such file or directory Re-roll patchfile and tarball 20080301: contrib/BSD/pvrxxx_port_20070423_patches.tbz: patch-dev__cxm__cxm.h First cxm GCC4 build fix: The declaration in line 228 of extern const struct cxm_tuner cxm_tuners[]; must be moved down until after the cxm_tuner type is declared, re-roll patchfile and tarball 20080301: Tested pwc on FreeBSD7/amd64, it just works \o/ 20080301: drivers/bktr/bktr.c as well as the others Fix mixer bug, which caused ioctl warnings like this on amd64: WARNING pid 7937 (python): ioctl sign-extension ioctl ffffffffc0044d06 Ioctl request argument must be unsigned long. 20080301: Update README about the new kbtv2-kmod-bktr port 20080829: Makefile, configure, kmod/bktr/Makefile, kbtv2-kmod-bktr (new port) On amd64 bktr module isn't present by default. Add a port for this using already present infrastructure so that people can easily (re-)build and install the bktr kld via this port. Adjust metaport accordingly (don't pull in kmod-bktr by default though) 20080829: scripts/kbtv2-setup Test with bktr revealed that it's advisory to reboot, add notice. Test with bktr also revealed that the iic kld is added to loader.conf. This is wrong (but harmless). Need to figure out where this comes from (saa/bktr confusion somewhere?) Note that this was seen with bktr only, no saa yet. The good news: FreeBSD7/amd64 works with bktr \o/ 20080829: Start on FreeBSD7/amd64, using working copy of 1.93 20080227: drivers/saa/saa.c Turn off the NTSC flag in audio_spec if switching to PAL. Unfortunately it doesn't seem to help for D/K, leave it in for now as it may be benificial for NTSC. 20080223-20080227: drivers/saa/saa.h, drivers/saa/saa.c Work on infrastructure for Microtune support, actual init and tuning not yet implemented (currently under study). Work on setting audio intermediate frequency correctly so that other than B/G standard will hopefully work too. 20080222: Gui/kbtv.py, Gui/kbtv.qrc, Gui/images/no_devices.png (new) If there are no devices at all, show a pixmap instead. 20080222: Gui/kbtv.py Fix problem in createMenus() with device selection at startup if said device is disabled, e.g. by kldunloading the kernel module: Make sure to avoid IndexError (catch it), and select the first device in that case. 20080222: Core/Makefile, Gui/kbtv_about.py Version bump to v1.93 20080220: Saa/mk3 tuning finally works after cold boot \o/ Update README and kbtv2-kmod-saa port (plist) Release v1.92 as beta2 20080220: scripts/cxm, scripts/saa_tuner Simplify rc scripts, make them look a bit more like others 20080220: Core/util.py Add rc script from latter to setup 20080220: scripts/saa_tuner, scripts/saa_tuner_init (new) Install rc script which calls saa_tuner_init to make saa/mk3 work after cold boot. This gets installed by kmod-saa 20080219: Core/avctrl.py Don't set any defaults for tunertype or standard here 20080219: drivers/saa/saa.c Various to try fix tuning on saa/mk3 after cold boot 20080219: Gui/kbtv_recorder.py Really fix first-run bug by creating ~/.kbtv/ if missing 20080219: Gui/kbtv.py Fix first-run bug in tuneTo() if chanlist is empty (statusbar) 20080218: drivers/saa/saa.c In tuner_set_standard() remove conditional __init_mk3(), instead always call __init_mk3() if tuner type is set to mk3. 20080218: Gui/kbtv_hardware.py, scripts/kbtv2-setup Show A/V decoder chip vendor and product for saa devices again 20080218: Gui/kbtv.py Fix known bug, mixerchannel must also be set in setDevice() 20080218: Gui/kbtv.py Fix first-run bug, recorder init (if ~/.kbtv missing) 20080218: Core/Makefile, Gui/kbtv_about.py Version bump to v1.92 20080209: Release v1.91 and kbtv2 ports as first beta