Re: [fpc-devel] Determin file size - how?y
On 12/16/2011 02:10 PM, Michael Schnell wrote: I might be inclined to follow in case that there is a script that creates an combined CHM file for fpc language, rtl, lazarus IDE, LCL, (and ...) from the svn sources. Regarding the (and...). ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/16/2011 02:10 PM, Michael Schnell wrote: I might be inclined to follow in case that there is a script that creates an combined CHM file for fpc language, rtl, lazarus IDE, LCL, (and ...) from the svn sources. Regarding the (and...), The user should ba able to include things things like the synapse docu (e.g.: http://synapse.ararat.cz/doc/help/httpsend.html ) This of course suggests not to force creating some huge merged file (be it the complete CHM or just an index), but use a viewer with real-time merging capacities (such as the Delphi help viewer or fpDOC). -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/17/2011 10:58 AM, Marco van de Voort wrote: Not currently. But the problems wrt that are in the toplevel systems (latex and fpdoc), not CHM. In fact it seems to be the CHM viewer that (AFAIK) (other than the INF viewer) does not work on multiple files at the same time. I myself don't see much benefit in a unified copy. It violates the FPC-lazarus division. I do sometimes have doubts wrt the fcl-rtl division. Of course I agree. multiple files are more handy, but then the viewer needed to be able to do multi-file searching. And searching should work with multiple files too. You mean CHM-files. In fact the Delphi help viewer seems to do this. There are also possibilities to merge the indexes and TOCs of multiple CHM files afaik. Interesting. So _this_ should be done by a script rather than merging the files. So there is no immediate need to integrate the systems, but with the new fpdoc project support it might be possible. But I'm not planning on supporting such things and building them for releases. Thanks for your past and future work. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 16 December 2011 14:25, Michael Schnell wrote: On 12/16/2011 12:42 PM, Marco van de Voort wrote: It's fine, but like most built-in engines it is not google. Can it do and and or and search for multi word strings ? (In fact I don't know wheter DocView can do these...) Yes, DocView supports many search term formats... my phrase - Will seach for that exact phrase my phrase - will search for any of those two words. my +phare - will search for a topic that contains both works (not necessarly next to each other) my -phrase - will searchfor a topic that contains 'my', but not 'phrase' DocView also has a rating system - to indicate how exact / close the patch was. DocView also searches for variations of words if an exact phrase was not specified. Example: Here is the DocView search result for 'file +handling' using the RTL.INF file. http://opensoft.homeip.net:8080/~graemeg/docview_search_result.png Typing the two works 'file handling' (without any quotes) in the Index tab search field, would also have found the file handling routines help topic. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 16 December 2011 14:51, Marco van de Voort wrote: They are roughly from the same period, and nearly equivalent in any way. Not even close, but that is a debate best left for another time. And because the format isn't dead. Didn't Microsoft drop CHM format too? ;-) Anyway, INF is far from dead - in fact it is making a comeback with fpGUI. :) Also eComStation still exists, OS/2 installs still exist, and fpGUI based projects all use INF too. Dead is only if _nobody_ uses it any more - INF is far from that. I'm already working on a Object Pascal implemented INF compiler (though a open-source C++ version already exists), and extensions to the INF format. [No need for a response from you, I just wanted to correct your false statement.] -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 16 December 2011 15:10, Michael Schnell wrote: I might be inclined to follow in case that there is a script that creates an combined CHM file for fpc language, rtl, lazarus IDE, LCL, (and ...) from the svn sources. Which DocView can already do today with the INF files. ;-) $ docview rtl+fcl+lcl+ref [...but enough of the p**sing contest.] -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/19/2011 10:08 AM, Graeme Geldenhuys wrote: http://opensoft.homeip.net:8080/~graemeg/docview_search_result.png Sorry I cant see that due the the companies firewall blocking homeip. :-( You'd rather attach the picture to the message. :-) -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/19/2011 10:20 AM, Graeme Geldenhuys wrote: Which DocView can already do today with the INF files. ;-) Which in fact is the point of this (off-topic) discussion right now. :-) -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/19/2011 10:08 AM, Graeme Geldenhuys wrote: Yes, DocView supports many search term formats... my phrase - Will seach for that exact phrase my phrase - will search for any of those two words. my +phare - will search for a topic that contains both works (not necessarly next to each other) my -phrase - will searchfor a topic that contains 'my', but not 'phrase' Great ! Thanks for you help on help. (I hope that this explanation is right on the fingertips of anybody who installed DocView in Lazarus. Trying to check this I tied to compile the DocView project but I git: /usr/bin/ld: warning: /home/mschnell/Downloads/svn/fpGUI/docview/src/units/i386-linux/link.res contains output sections; did you forget -T? /usr/bin/ld: /home/mschnell/Downloads/svn/fpGUI/lib/i386-linux/fpg_x11.o: undefined reference to symbol 'FcFontSetDestroy' /usr/bin/ld: note: 'FcFontSetDestroy' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line /usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation docview.lpr(42,1) Error: Error while linking docview.lpr(42,1) Fatal: There were 1 errors compiling module, stopping obviously silly me forgot something essential (again) ) I sincerely hope that finally DocView will get fully integrated in the Lazarus IDE on the default distribution. DocView also has a rating system - to indicate how exact / close the patch was. DocView also searches for variations of words if an exact phrase was not specified. Example: Here is the DocView search result for 'file +handling' using the RTL.INF file. http://opensoft.homeip.net:8080/~graemeg/docview_search_result.png Typing the two works 'file handling' (without any quotes) in the Index tab search field, would also have found the file handling routines help topic. This does sound great. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
In our previous episode, Graeme Geldenhuys said: And because the format isn't dead. Didn't Microsoft drop CHM format too? ;-) Only for own use. Afaik it is still recommended for 3rd party usage in Windows 8. Anyway, INF is far from dead - in fact it is making a comeback with fpGUI. :) Also eComStation still exists, OS/2 installs still exist, and fpGUI based projects all use INF too Yes, and I still have access to a PDP too, so that is a real lively community too :-) Dead is only if _nobody_ uses it any more - INF is far from that. I'm already working on a Object Pascal implemented INF compiler (though a open-source C++ version already exists), and extensions to the INF format. [No need for a response from you, I just wanted to correct your false statement.] You wanted to express your own view on dead, which I don't share. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 19 December 2011 11:36, Michael Schnell wrote: Sorry I cant see that due the the companies firewall blocking homeip. :-( A few have reported this before. Just four more months and I'll have my own new domain, and not a DynDNS one. :) You'd rather attach the picture to the message. :-) I'm not sure about the size limit of attachments - hopefully 16KB is not too big for this mailing list. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net attachment: docview_search_result.png___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 19 December 2011 11:41, Michael Schnell wrote: Thanks for you help on help. It's all mentioned in the docview.inf help file that is included with the binary download of DocView. :) Trying to check this I tied to compile the DocView project but I git: /usr/bin/ld: warning: /home/mschnell/Downloads/svn/fpGUI/docview/src/units/i386-linux/link.res contains output sections; did you forget -T? /usr/bin/ld: /home/mschnell/Downloads/svn/fpGUI/lib/i386-linux/fpg_x11.o: undefined reference to symbol 'FcFontSetDestroy' /usr/bin/ld: note: 'FcFontSetDestroy' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line /usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation I have no idea why you keep struggling to compile projects, but from the above message, it seems you are missing the 'libfontconfig1-dev' package. If not, move your response the the fpc-pascal mailing list, or the fpgui.support newsgroup please. I'll try and help you further there. I sincerely hope that finally DocView will get fully integrated in the Lazarus IDE on the default distribution. I doubt it, DocView is not written with the LCL framework. But anybody is welcome to port the UI of docview to the LCL framework. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 19 December 2011 16:18, Michael Schnell wrote: Because I thought that during a discussion, I should use the latest version of DocView. So I tried to recompile the project (which of course deleted the executable file) ...[snip]... Yep. But I can't seem to easily install it. The RPM requires devel(libdl) which I also don't have. Yeah, it seems you development platform isn't setup correctly. I use Ubuntu on all my systems, which are DEB based, so I can't comment on RPM packages sorry. In a pinch, you can however download the latest binary of DocView from the fpGUI SourceForge project files. I supply binaries for Linux and Windows (the 'docview-xxx' files). This was released 2 weeks ago. http://sourceforge.net/projects/fpgui/files/fpGUI/0.8/ I seem to remember that I did compile docview some time ago, but I may be wrong. In fact it does not come with an svn update. 1) I don't use a SubVersion repository for fpGUI. 2) I don't include binaries in the source code repository. The only exceptions are the wipfc (INF compiler) binaries which I got from the OpenWatcom project. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/19/2011 03:53 PM, Graeme Geldenhuys wrote: http://sourceforge.net/projects/fpgui/files/fpGUI/0.8/ This of course did work. Thanks ! -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
In our previous episode, Michael Van Canneyt said: A search on file handling in rtl.chm returns a list of near 100 hits, some of which are really procedures. RenameFile is missing from that list, instead it contains many Reference for unit ... entries. I can't comment on the quality of the search engine in CHM. It's fine, but like most built-in engines it is not google. It doesn't have a rating system, or anything else that builds up experience to rank hits. Thus you probably won't find general phrases like file handling if there are no exact matches. The said problems are not problems with CHM, but simply very shallow and arbitrary tests. That doesn't mean that the CHM can't be improved (e.g. by putting more metadata in the fpdoc format so that fpdoc can use it in the various formats generation), but if you want to find problems or make comparisons with Google, you will always find problems. A possible solution would be to make the entry (home) page an overview page that provides links to unit list (the current homepage), and e.g. a page with overviews like for stringhandling and filehandling. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/16/2011 12:42 PM, Marco van de Voort wrote: It's fine, but like most built-in engines it is not google. Can it do and and or and search for multi word strings ? (In fact I don't know wheter DocView can do these...) -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
In our previous episode, Michael Schnell said: [ Charset ISO-8859-1 unsupported, converting... ] On 12/16/2011 12:42 PM, Marco van de Voort wrote: It's fine, but like most built-in engines it is not google. Can it do and and or and search for multi word strings ? Afaik default is AND. I don't know if it can do OR. (and I'm not sure if that is that relevant for a helpsystem) (In fact I don't know wheter DocView can do these...) They are roughly from the same period, and nearly equivalent in any way. So I assume the fulltext possibilities too. I chose for CHM because we got first class CHM fileformat generation possibilities donated, and many parts of the generator could be shared between html and CHM. And because the format isn't dead. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Determin file size - how?y
On 12/16/2011 01:51 PM, Marco van de Voort wrote: Afaik default is AND. I don't know if it can do OR. (and I'm not sure if that is that relevant for a helpsystem) Maybe or is not very important (but there are cases it can help), but I feel that and vs multi-word-string is necessary. I chose for CHM because we got first class CHM fileformat generation possibilities donated, and many parts of the generator could be shared between html and CHM. I might be inclined to follow in case that there is a script that creates an combined CHM file for fpc language, rtl, lazarus IDE, LCL, (and ...) from the svn sources. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel