summaryrefslogtreecommitdiff
path: root/docview
AgeCommit message (Collapse)Author
2011-08-11richview: fixes the painting bug of bottom/right corner rectangleGraeme Geldenhuys
Refactored the code, so we only use UpdateScrollBarCoords() method.
2011-08-11corrected the bottom/right corner color for RichView.Graeme Geldenhuys
It's the rectangle between the two scrollbars.
2011-08-11add and remove commentsGraeme Geldenhuys
- added a unit header comment - removed old code comments not needed any more - removed old debug lines
2011-08-08richview: minor refactoring of code and fixing of one memory leak.Graeme Geldenhuys
2011-08-08bug: forgot to check in this change. Item[] -> Items[]Graeme Geldenhuys
A recent commit forced this change so it is consistent with fpGUI and RTL usage of array property.
2011-08-05docview: updated the very out of date todo list file.Graeme Geldenhuys
2011-07-29docview: implemented saving and loading of bookmarks per file.Graeme Geldenhuys
- A new toolbar button is added in the main form. - The Bookmarks menu is correctly updated - Closing a help file correctly clears the bookmarks menu too.
2011-07-29docview: implemented TBookmark.Save method.Graeme Geldenhuys
2011-07-28docview: call DoSearch directly when search is done via -k or -n parameter.Graeme Geldenhuys
2011-07-28docview: fix status message when no search matches are found.Graeme Geldenhuys
It incorrectly showed "1 match found" due to the message we added to the search result listbox.
2011-07-28correction of minor spelling mistakesGraeme Geldenhuys
2011-07-27docview installation and mime-type registration.Graeme Geldenhuys
I created a install.sh script that registers DocView in the Gnome Applications menu, registers the INF file mime-type and associated icon (so it looks nice in Nautilus).
2011-07-26docview: fixed spelling mistake in code commentsGraeme Geldenhuys
2011-07-26docview: fixes the AV that occurs when you switch INF files that had notes.Graeme Geldenhuys
The ClearNotes() function was correctly called, I just forgot to implement it. :-(
2011-07-26docview: bug fix in font substitutions.Graeme Geldenhuys
I defined a incorrect default font value. The Fixed Font Substitutes are supposed to reference the fonts as defined in the IPF file, which will then get substituted with the user's selected fixed font.
2011-07-26docview help: more grammar improvements.Graeme Geldenhuys
2011-07-25docview help: Replaced the work 'DocView' with a &dv. marco.Graeme Geldenhuys
Now we have the product name 'DocView' written in a consistent manner throughout the document. It is now easy to change in the future too.
2011-07-25docview help: improved some grammar in the help text.Graeme Geldenhuys
2011-07-25docview help: fixed the formatting of example text.Graeme Geldenhuys
- corrected the indentation level of example code - added two missing paragraph symbols that should have appeared after example text.
2011-07-25docview: -n parameter validationGraeme Geldenhuys
We now gracefully handle invalid -n parameter values, and notify the enduser of such a problem - instead of just crashing out.
2011-07-25docview: 1st parameter handling improvementGraeme Geldenhuys
We now try and detect if a valid filename was passed as the first parameter. If not (eg: some other -XXX parameter) then we simply ignore it.
2011-07-24docview: adjusted Margin Size Style to Avg Char Width.Graeme Geldenhuys
This gives an overall improved margin size. In future we should make this user selectable in Docview's Preferences dialog.
2011-07-24docview: various RichTextStyleUnit fixesGraeme Geldenhuys
- Rename Settings parameter to ASettings. This is to prevent possible confusion with the Settings global variable. - ApplyStyleTag had many issues, applying the style changes to the wrong properties. Manyly, styling was applied to the ASettings parameter when they should have been applied to the Style parameter. - Code formatting improvements.
2011-07-24docview: rename paramater so as to prevent confusion with a global variableGraeme Geldenhuys
Settings is a global variable for RichView component. I renamed the parameter Settings to ASettings so as to prevent any possible confusion between the two.
2011-07-24docview: code formatting improvements. Mainly indentation in case statements.Graeme Geldenhuys
2011-07-24docview: deleted unused or commented codeGraeme Geldenhuys
2011-07-24docview: bug fix where font description had two fontsize values defined.Graeme Geldenhuys
2011-07-23docview: minor code formatting improvements.Graeme Geldenhuys
2011-07-23docview: FontNameSize has a duplicate font size elementGraeme Geldenhuys
The global variable DefaultTopicFont already contained the font size, so we didn't need to append it.
2011-07-23TRichTextLayout & TLayoutLine code reworked to classes instead of arraysGraeme Geldenhuys
- TLayoutLine changed from a record type to a data class - Implemented TLayoutLineList class instead of using a dynamic array for TLayoutLine storage. - Changed all related code to reference the object list correctly.
2011-07-23wip stashGraeme Geldenhuys
2011-07-23fixes compiler errors after bring 'fonts_refactor' branch up to speedGraeme Geldenhuys
2011-07-23Major refactoring in the CanvasFontManager unit. Work-in-Progress!Graeme Geldenhuys
The CanvasFontManager unit has totally been reworked to use the native TfpgFont class instead of TLogicalFont, TFontFace etc... The code is a lot more simplified now and DocView can actually display content but there are some width wrapping issues and AV's on changing topics. This will be fixed next.
2011-07-18docview: new helper item in Tools menu. Showing environment variables that ↵Graeme Geldenhuys
DV uses.
2011-07-13docview: added various bookmark related methods. eg: Load, Save, Add etc.Graeme Geldenhuys
2011-07-13Added a new unit and class to describe a "bookmark" object.Graeme Geldenhuys
2011-04-07Another article on reading the INF fileGraeme Geldenhuys
2011-04-07More documentation on the INF file formatGraeme Geldenhuys
2011-04-06docdump: fixes the TOC entry offset values in hex and bytes.Graeme Geldenhuys
The offset is now the offset in bytes from the start of the INF file.
2011-04-06docdump: make sure all counters are 0-basedGraeme Geldenhuys
It might look better for humans if counting is 1-based, but for reference with the INF file structure, lets keep all the docdump output 0-based.
2011-04-06docdump: processing of the INF dictionaryGraeme Geldenhuys
2011-04-06minor code improvements to docview's SearchTable unit.Graeme Geldenhuys
2011-04-06Docview: new debug item to dump the INF dictionary to file.Graeme Geldenhuys
2011-04-06minor code improvement for readability.Graeme Geldenhuys
2011-04-06Cleanup of the unit and code comments.Graeme Geldenhuys
2011-04-06Just to make sure us humans understand what must happen. ;-)Graeme Geldenhuys
2011-04-06More detailed info about FTS data in INF help files.Graeme Geldenhuys
2011-03-26fixed a typo in docview's help source.Graeme Geldenhuys
2011-03-26Minor code changes so docview is compilable with FPC 2.5.1Graeme Geldenhuys
Thanks to Michael van Canneyt for the patch.
2011-02-23docview: add missing button hints on toolbar.Graeme Geldenhuys