Version 16 of Tk9

Updated 2006-08-22 23:30:32

This serves as a place for the official Tk 9.

If you're interested in the stuff that was previously here see: NexTk.

If the Xv code still fails, don't fret, because you can run the demo! (Please let me know if it does fail, because it's supposed to automatically fallback to MIT-SHM.) You can do:

 export NEXTK_DISABLE_XV=1 
 tclkit8.5 NexTk_demo5b.kit

   TODO:
  1. Apply some of the ideas that Torsten suggested.
  2. Speedup the rendering by possibly exporting some of the structure extension, and doing more of it in C. Right now the core loop of the compositor is written in Tcl (proc rendertree).
  3. Create a clock widget.
  4. Create a button widget.

2006.08.17

  1. I almost have the entry widget fully functional.
  2. I changed the rendering engine to improve performance and quality.
  3. I added YUY2 image support for use with the Xv X extension. This means that we get some hardware assistance when rendering.
  4. The input subsystem is now being used in the demo, and being fed by some 8.5 compat code.

Here's a new screenshot: http://www.xmission.com/~georgeps/implementation/software/demo/tk9_WIP.png

Items left to do:

  1. Input system changes for supporting rotated widgets in the -buttonpress structure element callbacks. This will involve taking into account all of the rotations of windows and subwindows.
  2. Make the entry widget resize its container properly for the height of the text.
  3. Documentation for the extensions.
  4. Demo changes to allow the user to create new windows, with images, or without.

2006.08.08

I have ported the base widget that hosts Tk9 within Tk8.x to Windows. I'm now regularly building Windows DLLs with the MinGW cross compiler from pkgsrc. There are many changes I've made to the C extensions. I also had to modify the tk9_demo.vfs files to work in Windows, and created an archmap.tcl for having the Starkit support multiple platforms.

Here's a link to the Starkit that supports NetBSD x86, Linux x86, and Windows for 8.5a4 tclkits:

http://www.xmission.com/~georgeps/implementation/software/demo/tk9_demo2.kit

Thanks to Pat Thoyts and RS for testing in Windows, and elsewhere.

DKF suggested that I change the name to NexTk1. I like the sound of NexTk.

I'm thinking seriously about finishing my notes on the nv driver for X, so that I can mmap the memory, setup the card, and use this as my window system. I was thinking that I could use a modified Xvfb with this code to support X11 apps in my own window system.

It's probably time to profile the code in the demo. Some hot spots may exist in the C code or the demo itself. The grid engine is basically finished for now I think. Once I get it working in real world apps I think that will be the real test of it.