[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes (Message Passing)
I made a lot of changes to the tree today -- my copy seems to still work,
but I'm checking to make sure I didn't forget any files (I probably did).
I moved a lot of code over to using the new message passing by id and type
scheme (Content Messages and Status Messages are now sent via our new
method). The only thing left is to move Data Messages over, and to remove
a lot of dead files in the mnemonic tree.
I also removed REDIRECT support (because it was duplicated in about three
different places). HTTPHandler still handles the NewURL internally, but
I'm not sure what triggers that as opposed to a redirect. I'll puzzle
that out sometime later.
OK, so if you really want to help this project out, you could write a
DataMessage message type (really really easy, just look at midStatus) and
replace all instances of DataMessage in the tree with the new one.
Then get rid of the old message manager, remove all the old messages
(which aren't used), and start converting more parts of the tree to
message passing.
I also added a message type HandleURL which is sent now to all protocol
handlers to ask who wants to handle a given URL. I noticed while doing
this that the ProtocolHandler.h file is filled with a lot of ancient
cruft... someone might want to remove some of it.
Andrew