summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2012-11-30Fixes UTF8 functions for 64-bit compliance.Graeme Geldenhuys
2012-11-30optimised UTF8CStringToUTF8StringGraeme Geldenhuys
2012-11-30Fixes compiler warning about using a deprecated type... TFPColorGraeme Geldenhuys
2012-11-30Fixes compiler hint about unused unitGraeme Geldenhuys
2012-11-22Adds 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-22Fixes line ending issuesGraeme Geldenhuys
2012-11-20It 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-13Fixes a memory leak when reading a PNG image from a Stream.Graeme Geldenhuys
2012-11-13Implements 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-13File Search Result Name was never correctly converted from OS encoding to UTF-8Graeme Geldenhuys
2012-11-09Moved 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-26Adds 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-26Adds 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-25minor 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-25Fixes 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-25Adds 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-25minor code formatting fixesGraeme Geldenhuys
2012-10-25Fixes compiler hints about unused local variables.Graeme Geldenhuys
2012-10-18Moved some constants from fpg_main to fpg_constants unit.Graeme Geldenhuys
2012-10-12Creates a fpGUI wrapper for RTL's RenameFile() function.Graeme Geldenhuys
2012-09-26gdi: oops, fixed code where I check the variable before I actually assign ↵Graeme Geldenhuys
something to it.
2012-09-26fixes spelling mistake in code comment.Graeme Geldenhuys
2012-09-21gdi: 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-21gdi: corrected the WinColorTofpgColor() implementation.Graeme Geldenhuys
2012-09-21gdi: re-ordered the code in a more logical way, to ease reading.Graeme Geldenhuys
2012-08-31Implements loading PNG images from a Stream or Resource.Graeme Geldenhuys
Thanks to Dibo for this contribution.
2012-08-31Refactored 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-28TfpgWidget: Implements a new OnMouseScroll eventGraeme Geldenhuys
2012-08-23gdi: The IDropSource signature has changed in FPC > 2.6.0Graeme Geldenhuys
Once the next stable FPC is released, then we can remove this again.
2012-08-21changes param type from String to TfpgStringGraeme Geldenhuys
2012-08-16Merge remote-tracking branch 'github/master'Graeme Geldenhuys
2012-08-16x11: Improved to code's intention and meaning.Graeme Geldenhuys
2012-08-16x11: 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-16improved the clarity of one code comment.Graeme Geldenhuys
2012-08-16minor code formatting changes.Graeme Geldenhuys
2012-08-16F1 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-16Make 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-09bugfix: 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-01Updates 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-31jpg: fixes compiler hint about usage of deprecated TFPColor type.Graeme Geldenhuys
2012-07-31TfpgGDIWindow.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-31Windows GDI BringToFront() behaviour is now consistent with Linux X11Graeme Geldenhuys
The window is brought to the front, but not activated.
2012-07-31x11; FcFontSetDestroy() is defined in libfontconfig, not libXft.Graeme Geldenhuys
I confirmed this using OpenSuse 12.1 as a test.
2012-07-17TfpgWidget now consumes the F1 keypress to invoke context sensitive help.Graeme Geldenhuys
2012-07-17Extra debug output added to TfpgWidget.HandleAlignmentsGraeme Geldenhuys
2012-06-29More 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.
2012-06-29Added new Exception classes for use in fpGUI.Graeme Geldenhuys
The thinking behind this is so that we can trap fpGUI specific exceptions in our applications if we wanted to. Thus handling them slightly different to other exceptions.
2012-06-29new resource string added to fpGUIGraeme Geldenhuys
2012-04-25gdi: minor changes to make sure fpGUI compiles under Win64Graeme Geldenhuys
2012-04-10x11: adds a new compiler define in the lazarus package to control AggPas ↵Graeme Geldenhuys
support.