Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-17 | TfpgCaret doesn't need it's timer enabled at creation. | Graeme Geldenhuys | |
Now the internal blink timer only gets activating when a Canvas is assigned. | |||
2011-08-17 | Fixed KeycodeToText that overwrote the ShiftState of previous values. | Graeme Geldenhuys | |
2011-08-17 | GDI: Fixed the rubbish timer implementation. | Graeme Geldenhuys | |
I was clearly smoking something that day! Anyway, the GDI timer is now correctly implemented, and doesn't push up the CPU load any more. No matter how long the timer runs for. The timer is much more accurate/consistent in firing as well. :-) | |||
2011-08-17 | TfpgTimer refactoring. | Graeme Geldenhuys | |
Refactored the TfpgTimer by introducing a TfpgBaseTimer and X11 & GDI Timer descendants. This now allows use to add platform specific extensions to the timer implementation. | |||
2011-08-17 | richview: to prevent "index out of bounds" errors while RV is empty. | Graeme Geldenhuys | |
2011-08-16 | richview: extra check to make sure LineIndex is in range. | Graeme Geldenhuys | |
This shoud prevent the 'Index out of bounds' errors. | |||
2011-08-12 | Removed hard-coded Code Generation option in lazarus package. | Graeme Geldenhuys | |
2011-08-11 | richview: improved the scrollbar textwidth and SB max value calculations. | Graeme Geldenhuys | |
This helps those odd borderline cases, so now the scrollbar always seems appropriate when it is visible. | |||
2011-08-11 | RichView: Correctly calculate the HScrollBar Max value. | Graeme Geldenhuys | |
Now that we correctly the FLayout.Width value this change could now be made. | |||
2011-08-11 | richview: ExtractNextTextElement() changed to support UTF-8 characters | Graeme Geldenhuys | |
- Ultimately this is so we can fix the Layout.Width problem when UTF-8 characters are used in INF documents. eg: the FPC ref.inf file. - UTF-8 characters can be greater than one byte, so we had to make some changes. - Changed some usages of Char to TfpgChar TODO: - CopyPlainTextToBuffer() implementation has been commented, until we can rewrite it for use with fpGUI. This is a big changes, but I tested DocView with numerous INF documents and all seems well. | |||
2011-08-11 | richview: we should be looking at SB Width or Height property | Graeme Geldenhuys | |
instead we should be looking at the overall FScrollBarWidth field value which defines the Width or Height of all Scrollbars in RichView. | |||
2011-08-11 | changed string parameter to TfpgString type | Graeme Geldenhuys | |
2011-08-11 | richview: fixes right alignment of images | Graeme Geldenhuys | |
When we reach the end of a line, we shouldn't always default alignment back to Left - I think. Anyway, this changes makes the output in DocView look the same as IBM's iview program. | |||
2011-08-11 | richview: correct the localion where we call to update scrollbar coords. | Graeme Geldenhuys | |
2011-08-11 | minor code formatting, improved code comments | Graeme Geldenhuys | |
2011-08-11 | richview: fixes the painting bug of bottom/right corner rectangle | Graeme Geldenhuys | |
Refactored the code, so we only use UpdateScrollBarCoords() method. | |||
2011-08-11 | corrected the bottom/right corner color for RichView. | Graeme Geldenhuys | |
It's the rectangle between the two scrollbars. | |||
2011-08-11 | add and remove comments | Graeme Geldenhuys | |
- added a unit header comment - removed old code comments not needed any more - removed old debug lines | |||
2011-08-11 | regexpr: sync'ed changes from Lazarus synedit component directory | Graeme Geldenhuys | |
- fixes the spelling of 'useful' - Many 64-bit support fixes. Mainly Integer vs PtrInt changes - Correct implementation of TRegExpr.GetMatch() - extra debugging measures | |||
2011-08-11 | ide: improved syntax highlighting, and extending it. | Graeme Geldenhuys | |
We now support comments correctly, compiler defines, strings, decimal and hex numbers. | |||
2011-08-10 | ide: apply newly selected fonts to open editors. This is still WIP. | Graeme Geldenhuys | |
2011-08-09 | ide: huge speed improvement in syntax highlighting | Graeme Geldenhuys | |
Getting font resources are very costly. So now we cache the font used for reserved keyword highlighting and simple reuse it, instead of creating and freeing it for each line (like we did up 'till now). This caused a MASSIVE speed increase! :-D | |||
2011-08-09 | ide: improves syntax highlighting even more | Graeme Geldenhuys | |
- multiple matches in the same line are now supported - regex reserved keyword matching is now case-insensitive | |||
2011-08-09 | ide: removed unused (old) code we don't need any more. | Graeme Geldenhuys | |
This was used before we implemented regex syntax highlighting. | |||
2011-08-09 | ide: syntax highlighting improvements by adding reserved keywords to regex | Graeme Geldenhuys | |
- Also improved correct highlighting by using word boundaries in regex. | |||
2011-08-09 | ide: adds syntax highlighting support for {...} style comments. | Graeme Geldenhuys | |
2011-08-09 | ide project settings: improved compiler options for better debugging | Graeme Geldenhuys | |
2011-08-08 | richview: minor refactoring of code and fixing of one memory leak. | Graeme Geldenhuys | |
2011-08-08 | bug: 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-05 | docview: updated the very out of date todo list file. | Graeme Geldenhuys | |
2011-08-04 | added extrasfpc.cfg file for x11_wininfo app. | Graeme Geldenhuys | |
2011-08-04 | created template unit output directory for ATS contributed app. | Graeme Geldenhuys | |
2011-08-04 | minor fixes to examples due to Item[] to Items[] change. | Graeme Geldenhuys | |
2011-08-04 | imagelist Item[] property changed to plural Items[] | Graeme Geldenhuys | |
This is consistent with other components in the RTL, FCL and even fpGUI itself. | |||
2011-07-29 | docview: 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-29 | docview: implemented TBookmark.Save method. | Graeme Geldenhuys | |
2011-07-28 | docview: call DoSearch directly when search is done via -k or -n parameter. | Graeme Geldenhuys | |
2011-07-28 | docview: 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-28 | correction of minor spelling mistakes | Graeme Geldenhuys | |
2011-07-28 | docs: fixed EOL style characters for fpg_base.xml | Graeme Geldenhuys | |
2011-07-28 | docs update mentioning support for OpenSolaris. | Graeme Geldenhuys | |
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using FPC 2.4.4. | |||
2011-07-28 | Changed IFDEF around users unit in uses clause. | Graeme Geldenhuys | |
It seems FPC only supports users.pp unit in Linux. Making this changes allows use to compile fpGUI under OpenSolaris too! | |||
2011-07-28 | added missing fpc config file so we can compile fpgIDE from the command line. | Graeme Geldenhuys | |
2011-07-27 | BaseGrid and Home/End key handling and focused cells. | Graeme Geldenhuys | |
We never used to check if we are allowed to set the FFocusCol, we just assumed we are allowed. Now we try each column while calling CanSelectCell() in each iteration so we select the first available column. | |||
2011-07-27 | BaseGrid.HandleKeyPress and consume variable behaviour has changed. | Graeme Geldenhuys | |
Old behaviour we simply forced Consumed = True and later Consumed = False. This has a very good chance of overwriting the origin consume value. We now only set consume to True, if it is really so. | |||
2011-07-27 | docview 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-26 | docview: fixed spelling mistake in code comments | Graeme Geldenhuys | |
2011-07-26 | docview: 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-26 | docview: 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-26 | docview help: more grammar improvements. | Graeme Geldenhuys | |