Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Free Pascal questions | 2.2.2 test | FP IDE test @marcov (Developers)

posted by marcov, 29.10.2008, 15:40

> > I'm currently playing with the IDE, but most of my plans there are
> non-dos
> > related. (mostly .chm support and getting proper palette dialog
> support,
> > backport that from C++ version).
> >
> > But the IDE is more of a hobby, some other FPC tasks have priority.
>
> Great! The palette dialog is definitely a must!
> Now I have to set the palette in version 1.0.10 and manulaly copy the
> [colors] section into FP.INI file of 2.2.2 version.

It's a wild idea, so don't hold your breath. Till now I only spent 20min looking at the C++ code and saying, well.. maybe.

> About CHM support: will be possible to load any (not FPC related) CHM
> file? Is possible to say that DOS world has a first CHM reader?

I doubt it is the first. It is not that hard. The problem is not chm but html.

A CHM is simply a compressed archive format with a few records in the header (name of the index etc). In it is HTML and one XML index.

The XML is pretty wellformed and trivial to parse, so not the problem

The HTML is the problem. Loading an arbitrary CHM is the same as making a perfect html browser. So the question is how far to go with that? There can even be activex in there.

So no, I don't plan to advocate this as a generic CHM reader. I'll fix it for FPC as far as I get done, and am willing to apply patches that I can oversee, and that don't hurt the real deal (parsing FPC helpfiles) too much. That's about it.

I hope to have a snapshot ready soon.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 385 users online (0 registered, 385 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum