summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-23listbox: Rather use BeginUpdate..EndUpdateGraeme Geldenhuys
This will call UpdateScrollBar and Repaint anyways.
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-21docview: fixes a memory leak in font handling.Graeme Geldenhuys
We checked for the same fontdesc, but never for the same instance. So the NewFont instance might not have been freed, causing the memory leak.
2012-08-21memo: removes unnecessary code. The Memo field was just a reference.Graeme Geldenhuys
This also fixes a strange "lost pointer reference" issue under Windows. Not sure what FPC is doing there.
2012-08-21docview: fixes a memory leak.Graeme Geldenhuys
2012-08-16Merge remote-tracking branch 'github/master'Graeme Geldenhuys
2012-08-16pdf preview: minor code formatting.Graeme Geldenhuys
I just grouped the widgets based on there parent widget. This way it is easier to find the widgets I wanted to modify.
2012-08-16pdf preview: fix the horizontal alignment of the Integer Edit widgets.Graeme Geldenhuys
The now match the horizontal alignment of adjacent buttons.
2012-08-16pdf preview: label text is now horizontally aligned with other text.Graeme Geldenhuys
Specifying a 0 width meant the AutoSize = True kicked in, and the width and height was adjusted, giving the uneven horizontal alignment with other widgets.
2012-08-16pdf preview window now has more standardised color scheme.Graeme Geldenhuys
This also means that it will adhere to custom fpGUI themes.
2012-08-16pdf preview form is now sizable.Graeme Geldenhuys
On my 2560x1440 pixels display, fullscreen and unsizeable is just not nice.
2012-08-16pdf: all preview form related properties are now in one place in the code.Graeme Geldenhuys
2012-08-16pdf: Save dialog now uses English filter text.Graeme Geldenhuys
This will be localised soon.
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-02report: applied fpGUI coding style to "print preview" unit.Graeme Geldenhuys
2012-08-02report: Fixes a cause of corrupt memoryGraeme Geldenhuys
The images use in a PDF report get freed later. But if we used internally registered image, the report engine frees those images, even though they might still be needed elsewhere in the application. So for that reason we "clone" the internal image, which the report engine can safely free.
2012-08-02tools: Image Conversion tool - implements the 'Convert' button.Graeme Geldenhuys
We are now not forced to only use DND to activate the conversion process.
2012-08-02Prevents a possible AV when the Memo reference might already have been set ↵Graeme Geldenhuys
to nil. This could happen in some cases when the TfpgMemo is destroyed while contain text.
2012-08-02pdf: applied the fpGUI code style to the reporting engine units.Graeme Geldenhuys
I used JCF to automate the process, but always double check and test the code afterwards. While double checking, I also added some quick TODO notes about code that must be improved.
2012-08-02pdf: Adds the missing compiler directive that we are using AnsiStrings in fpGUI.Graeme Geldenhuys
2012-08-02removes unused units from the uses clause.Graeme Geldenhuys
2012-08-02Updates the PDF reporting units to contain the standard fpGUI copyright notice.Graeme Geldenhuys
I also extended the descriptions of each unit, and made sure the credit of creating these units go to Jean-Marc Levecque.
2012-08-02Applies the fpGUI coding style to the PDF Reporting Demo.Graeme Geldenhuys
2012-08-02Adds my config file for the Jedi Code Formatter (jcf).Graeme Geldenhuys
JCF is a open source tool available on SourceForge, that does really good code formatting. I use this tool to clean up my code formatting every now and again. This config file contains the rules I use for the fpGUI coding style.
2012-08-02Fixes compiler warning about unused local variables.Graeme Geldenhuys
2012-08-02Removes the unnecessary fpg_report.lpk package files.Graeme Geldenhuys
* also updates the PDF Report demo project, removing the fpg_report.lpk dependency.
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-08-01Moves the PDF report engine & demo into the main source tree.Graeme Geldenhuys
2012-07-31jpg: fixes compiler hint about usage of deprecated TFPColor type.Graeme Geldenhuys
2012-07-31grid: Adds some missing mouse events to the published section.Graeme Geldenhuys
2012-07-31filedialog: widgets were not perfectly spaced in the horizontal area.Graeme Geldenhuys
* Increased the width of most widgets by 2 pixels. Now left and right border spacing is equal. * Increased the grid height by 2 pixels, just to give grid content some extra space.
2012-07-31Fixes a potential memory leak.Graeme Geldenhuys
I say potential, because FDropDown is free immediately after it is not needed any more, but if for some reason it wasn't, then we should free it in the destructor of the widget.
2012-07-31progressbar: text percentage is now only calculated when really needed.Graeme Geldenhuys
2012-07-31replaces tab character indentation with 2-space indentation.Graeme Geldenhuys
2012-07-31pdf: fixes compiler hints about unused local variables.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-31pdf demo: fixed a minor spelling mistake in the text output.Graeme Geldenhuys
2012-07-31pdf demo: extended demo output to mention the position in mm.Graeme Geldenhuys
2012-07-31pdf: The Author metadata is now the result of ApplicationName()Graeme Geldenhuys
2012-07-31documented the BringToFront and ActivateWindow methods.Graeme Geldenhuys
2012-07-31x11; FcFontSetDestroy() is defined in libfontconfig, not libXft.Graeme Geldenhuys
I confirmed this using OpenSuse 12.1 as a test.
2012-07-31Adds *.ttf font support to the PDF report engine.Jean-Marc Levecque