Hi everyone,
I recently moved in with a friend of mine, so my progress has
perhaps been under-par this last week. However, I did still
accomplish a lot in terms of preparation for the core library.
My latest accomplishments:
__RENDERING LIBRARY__
-- Sifted through the core code to understand how rendering the layout works
-- Made a fair amount of notes detailing the inner-workings of
fetching and plotting
-- Determined that plotting should be moved first
-- Began moving plotting-related files to a separate directory and
separating dependencies
-- Altered the code related to pretiling bitmaps; this will be moved
to the rendering lib as it's not necessary in netsurf directly
-- Created a callback method for bitmap functions to remove bitmap
dependencies in the library
__NETSURF__
-- Altered bitmap code to remove pretiling (this is handled by the
rendering library)
-- Made general changes get NetSurf compiling to ensure there were no
regressions in the updates
Currently the library is not stand-alone. I've moved it out to
another directory to remove dependencies, but I'm working through them
one at a time. As I make changes I replace the necessary files in my
branch of NetSurf to ensure things are still functional. There will
be changes to the bitmap-related code in NetSurf because the rendering
library needs it's own bitmap handling--i.e. caller passes bitmap data
to be plotted and the rendering library pretiles it and draws it.
This relieves NetSurf's need for pretiling in gtk/gtk_bitmap.c and
surely the RISC OS code as well--I haven't looked, yet--as it will be
implemented in the core library.
Things I need help with:
-- Testing of the GIF and BMP libraries under RISC OS to ensure proper
functionality
-- Comments, ideas, and criticisms as far as API, naming conventions, etc.
Current agenda:
-- Documentation for GIF library still needs updating
-- BMP library could use a few of the tweaks that were done to the GIF
library; i.e. "Caller is now only required to provide 'critical'
bitmap callbacks"
-- Continue to relieve dependencies regarding plotting and move on to
the box-tree structure handling the layout
Comments and concerns:
I've been slightly absentee this week having moved in with a
friend. I will primarily be continuing development on the
rendering/layout code over the rest of the summer. If anyone has any
questions or concerns you can respond here or leave me a message on
IRC.
Sean