summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-11-13Filegrid: Formatting of file size value is now fixed under Windows 7.Graeme Geldenhuys
Under Windows 7, the ',' character for thousand separator was replaced with a '?' character for some reason. Number formatting now uses a space char separator instead.
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-09As soon as a key is pressed in Grid, remove any hint windows.Graeme 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-31pdf: switching between sections did not always workJean-Marc Levecque
2012-10-30pdf: frames did not adapt to correct size and position for each sectionJean-Marc Levecque
If a report had several sections with different margins, headers, footers, orientation, frames did not adapt to the correct size and position to each section.
2012-10-30fixes bug where if treeview.Selection was not explicitly set, we could make ↵Graeme Geldenhuys
any selection.
2012-10-29Borderless Panel: TfpgPanel can now also have a flat /borderless look.Graeme Geldenhuys
Thanks to Michael van Canneyt <michael@freepascal.org> for the patch.
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-23edit: HandlePaint() now uses the theming engine to determine the border widths.Graeme Geldenhuys
No more hard-coded 2 pixel widths.
2012-10-23treeview: fixed bug where setting FontDesc had no affect on the treeview.Graeme Geldenhuys
I forgot the actually set the Font property of the Canvas. :-/
2012-10-19Code formatting fix: Replace tab character with spaces or fixing indentation ↵Graeme Geldenhuys
levels.
2012-10-19PageControl now has a new ActiveTabColor propertyGraeme Geldenhuys
We can now set the background color of the active tab so it is much more visible which tab is active.
2012-10-18minor dependency optimisations for fpmake with FPC 2.6.0Graeme Geldenhuys
These changes are not needed for FPC 2.7.1 and later, as fpmake has vastly improved in compiling performance with FPC trunk.
2012-10-18Moved some constants from fpg_main to fpg_constants unit.Graeme Geldenhuys
2012-10-18pdf: replace RTL function with fpGUI wrapper version.Graeme Geldenhuys
This allows for better Unicode support.
2012-10-18pdf report "Producer" property now shows fpGUI name and version number.Graeme Geldenhuys
2012-10-17Changes fpmake.pp file extension to .pasGraeme Geldenhuys
2012-10-17Fixes build error about units not for a specific target.Graeme Geldenhuys
Because the X11 and GDI targets have units with the same names (ie: fpg_impl.pas etc) the last enry overrides the platform target. So if we compile under Linux, it will complain that fpg_impl.pas is for the Windows target only. To work around this problem, we have to add some units in code blocks for specific targets.
2012-10-17Fixes copyright notice, description, licensing and minor code formatting in ↵Graeme Geldenhuys
fpmake build program.
2012-10-17Adds PDF report engine units to the fpmake build programGraeme Geldenhuys
2012-10-12Creates a fpGUI wrapper for RTL's RenameFile() function.Graeme Geldenhuys
2012-10-12Surface the TopRow propertyGraeme Geldenhuys
2012-10-12ESC key now cancels the InputQuery dialog.Graeme Geldenhuys
2012-10-12Correctly set the default values of TfpgBevel.Shape propertyGraeme Geldenhuys
2012-09-26You can now copy to clipboard the content of message dialogs.Graeme Geldenhuys
The TfpgMessageDialog and TfpgMessageBox dialogs now support the "copy to clipboard" keyboard shortcuts. This is nice and handy for pasting an error message into an email or something.
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-09-21pdf: fixes another compiler waring about an unused unit in uses clauseGraeme Geldenhuys
2012-09-21trackbar: bug fix. When setting the position, it never caused a repaint.Graeme Geldenhuys
2012-09-21trackbar: refactor the classes and introduced a new TfpgBaseTrackBar class.Graeme Geldenhuys
This process is not complete, but it already reduced a lot of code duplication.
2012-09-21trackbar: Fixed the focus rectangle flicker problem while dragging.Graeme Geldenhuys
2012-09-21trackbar: made sure all painting only occurs in the HandlePaint eventGraeme Geldenhuys
2012-09-16adds the missing 'reportengine' search path to extrafpc.cfgGraeme Geldenhuys
Recently we merged the PDF reporting engine code into the main source tree, but I forgot to update this compiler setting file.
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-29pdf: fixes compiler error under Windows.Graeme Geldenhuys
fpgOpenURL() will work in this case for both Linux and Windows, but it is not the ideal solution. As the TODO entry says, we ultimately need to implement a fpgViewFile() function.
2012-08-29pdf: Fixes compiler hint about unused uses clause under Windows.Graeme Geldenhuys
2012-08-28pdf: remove code duplication and use report.printpdf() insteadJean-Marc Levecque
2012-08-28pdf: Assigns default values to PrintPDF() parametersJean-Marc Levecque