Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-10 | Removed old constants not needed any more - they are now standard in FPC's RTL. | Graeme Geldenhuys | |
2012-12-03 | Updates the classes naming convension fro TGfx to Tfpg | Graeme Geldenhuys | |
How the hell has this been around for so long and went undetected. :-/ | |||
2012-11-30 | Silence the compiler about range checking. | Graeme Geldenhuys | |
We manualy do the range checking before we access the string array. So disable the compiler range checking around the affected code. | |||
2012-11-30 | Minor optimisation for UTF8Insert() | Graeme Geldenhuys | |
Length() is a more 'lite" version than UTF8Length(), and in that code we don't need the functionality of the latter. | |||
2012-11-30 | Fixes UTF8 functions for 64-bit compliance. | Graeme Geldenhuys | |
2012-11-30 | optimised UTF8CStringToUTF8String | Graeme Geldenhuys | |
2012-11-30 | Fixes compiler warning about using a deprecated type... TFPColor | Graeme Geldenhuys | |
2012-11-30 | Fixes compiler hint about unused unit | Graeme Geldenhuys | |
2012-11-22 | Adds alpha channel values to all the named colors. | Graeme Geldenhuys | |
We already done this for all the predefined colors, but somehow forgot about these. | |||
2012-11-22 | Fixes line ending issues | Graeme Geldenhuys | |
2012-11-20 | It seems I was wrong, the .Height property is indeed the correct value to use. | Graeme Geldenhuys | |
Some fonts like "Anonymous Pro" have characters like ( or ) that is larger (taller) than capital letters. Using the .Height property make multi-line text with ( or ) symbols not touch. This issue was noted in the TfpgTextEdit widget used in Maximus IDE. | |||
2012-11-13 | Fixes a memory leak when reading a PNG image from a Stream. | Graeme Geldenhuys | |
2012-11-13 | Implements WakeMainThread for Windows. | Graeme Geldenhuys | |
Multi-threaded apps under Windows requires the main thread to be woken up periodically. We now simply hook into the Classes.WakeMainThread function which is automatically called by TThread.Synchronize. I did the same testing under X11, but it doesn't seem needed there. If we do find a case for this under X11, it is easy to implement. | |||
2012-11-13 | File Search Result Name was never correctly converted from OS encoding to UTF-8 | Graeme Geldenhuys | |
2012-11-09 | Moved Menu-key press handling up the class hierarchy to TfpgWidget. | Graeme Geldenhuys | |
No need for so much code duplication. This also means that widgets like TfpgStringGrid now have keyMenu keypress behaviour. Basically any widget that supports a PopupMenu. | |||
2012-10-26 | Adds a System Tray Icon implementation for X11. | Graeme Geldenhuys | |
This has been a long awaited feature. There is still some functionality missing and some more tweaks that need to be applied, but this implementation does work. It has been tested under JWM (Joe's Window Manager), MATE (Gnome2 fork) and KDE 4.8.x The Windows implementation will follow shortly. | |||
2012-10-26 | Adds a new "Can Adjust Position" parameter to TfpgPopupWindow.ShowAt() call. | Graeme Geldenhuys | |
Sometimes we want to display a popup window, but would like the framework to take into account the desktop screen size. If the popup window would display outside the bounds of the screen, we would like fpGUI to reposition the popup window to be fully visible. This will be used in the System Tray Icon implemenation. This parameter defaults to False, so the behaviour is exactly like it was before this changes. | |||
2012-10-25 | minor changes for Xlib api usage. | Graeme Geldenhuys | |
I'm not sure if this changes is needed any more for the latest FPC though. Anyway, now it is consistent with most other usages of Xlib API and boolean values. | |||
2012-10-25 | Fixes compiler hint about TWMStateType not being used, but when in fact it ↵ | Graeme Geldenhuys | |
is being used. Hopefully this code changes make it more clear. | |||
2012-10-25 | Adds missing clearing of record structure before use. | Graeme Geldenhuys | |
The XLib man pages clearly state that the TXEvent structure must be cleared to 0 values before use. | |||
2012-10-25 | minor code formatting fixes | Graeme Geldenhuys | |
2012-10-25 | Fixes compiler hints about unused local variables. | Graeme Geldenhuys | |
2012-10-18 | Moved some constants from fpg_main to fpg_constants unit. | Graeme Geldenhuys | |
2012-10-12 | Creates a fpGUI wrapper for RTL's RenameFile() function. | Graeme Geldenhuys | |
2012-09-26 | gdi: oops, fixed code where I check the variable before I actually assign ↵ | Graeme Geldenhuys | |
something to it. | |||
2012-09-26 | fixes spelling mistake in code comment. | Graeme Geldenhuys | |
2012-09-21 | gdi: Corrected the implemenation of Canvas.GetPixel() | Graeme Geldenhuys | |
We referenced the write device context. FGC is the temporary buffer used for double buffering. FWinGC is the actual DC of the window. | |||
2012-09-21 | gdi: corrected the WinColorTofpgColor() implementation. | Graeme Geldenhuys | |
2012-09-21 | gdi: re-ordered the code in a more logical way, to ease reading. | Graeme Geldenhuys | |
2012-08-31 | Implements loading PNG images from a Stream or Resource. | Graeme Geldenhuys | |
Thanks to Dibo for this contribution. | |||
2012-08-31 | Refactored the png loading code. | Graeme Geldenhuys | |
Extracted the code that does the conversion from FPC's FPImage to fpGUI's TfpgImage. Thanks to Dibo for this patch. | |||
2012-08-28 | TfpgWidget: Implements a new OnMouseScroll event | Graeme Geldenhuys | |
2012-08-23 | gdi: The IDropSource signature has changed in FPC > 2.6.0 | Graeme Geldenhuys | |
Once the next stable FPC is released, then we can remove this again. | |||
2012-08-21 | changes param type from String to TfpgString | Graeme Geldenhuys | |
2012-08-16 | Merge remote-tracking branch 'github/master' | Graeme Geldenhuys | |
2012-08-16 | x11: Improved to code's intention and meaning. | Graeme Geldenhuys | |
2012-08-16 | x11: Supported ATOMS are now actually populated. | Graeme Geldenhuys | |
Unknowingly the NetWindow features were broken, eg: Fullscreen didn't work etc because they exit too early out of the functions due to an empty FAtomSupported[] | |||
2012-08-16 | improved the clarity of one code comment. | Graeme Geldenhuys | |
2012-08-16 | minor code formatting changes. | Graeme Geldenhuys | |
2012-08-16 | F1 is not hard-coded as the help key any more. | Graeme Geldenhuys | |
fpgApplication.HelpKey is now actually used in fpGUI, and it will invoke the help. | |||
2012-08-16 | Make sure TfpgString is based on AnsiString. | Graeme Geldenhuys | |
With the FPC 2.7.1 having some form of Unicode support, and the String typing being redefined... defining TfpgString as AnsiString, we know fpGUI will continue running as normal. | |||
2012-08-09 | bugfix: gdi fullscreen - form was larger than screen dimensions. | Graeme Geldenhuys | |
This went unnoticed for a very long time, Mhen a from was set to fullscreen, after it was already displayed (not at creation time), then the size of the form was slightly bigger that the screen resolution. I corrected the Win32 API calls, and now the form has the correct size at all times. | |||
2012-08-01 | Updates te fpgui_toolkit.lpk (lazarus packages) with the reporting engine units. | Graeme Geldenhuys | |
* I also updated the windows version of the package with some missing units. | |||
2012-07-31 | jpg: fixes compiler hint about usage of deprecated TFPColor type. | Graeme Geldenhuys | |
2012-07-31 | TfpgGDIWindow.ActivateWindow now uses SetWindowPos instead of ↵ | Graeme Geldenhuys | |
SetForegroundWindow. The code and intent seems to be correct, but even though I set the flag SWP_NOZORDER (so the behaviour is consistent with Linux X11), Windows seems to ignore that flag and still bring the active window to the front. | |||
2012-07-31 | Windows GDI BringToFront() behaviour is now consistent with Linux X11 | Graeme Geldenhuys | |
The window is brought to the front, but not activated. | |||
2012-07-31 | x11; FcFontSetDestroy() is defined in libfontconfig, not libXft. | Graeme Geldenhuys | |
I confirmed this using OpenSuse 12.1 as a test. | |||
2012-07-17 | TfpgWidget now consumes the F1 keypress to invoke context sensitive help. | Graeme Geldenhuys | |
2012-07-17 | Extra debug output added to TfpgWidget.HandleAlignments | Graeme Geldenhuys | |
2012-06-29 | More sanity checks before calling the help viewer. | Graeme Geldenhuys | |
Instead of just going with the assumption that the docview executable exists, check for it first, before we go any further. Calling TProcess.Execute with a non-existing executable gives an unwanted error in our applications. |