summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-17* updated version numbers for next release.graemeg
2008-02-17* updated the documentation scripts.graemeg
* updated the version number for the next release. * Disabled all debug information.
2008-02-16* Implemented correct MouseEnter and MouseExit detectiongraemeg
under Winodws. Windows doesn't have such OS level events. * Added some safety net code around fpgSendMessage and fpgDeliverMessage methods.
2008-02-16* Fixed TfpgPageControl where the Left and Right buttons were visible at ↵graemeg
startup under Windows.
2008-02-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
2008-02-14* GDI: Implemented the new Clipboard class in Windows. Again graemeg
it needs some testing and debugging. But the basics seem to work. * Removed the old gfx_clipboard.pas unit.
2008-02-14* X11: fpGUI will now raise an exception if it can't open the X Display.graemeg
* X11: clipboard support has now been implemented to work across applications. It still needs more testing. eg: unicode copy and paste doesn't always work.
2008-02-14* Fixed minor selection rectangle painting bug in TfpgTreeview.graemeg
2008-02-13* Treeview component now has support for node imagesgraemeg
2008-02-13* Created a new ImageList unit and class.graemeg
2008-02-12* Applied patch #1890188 from Jean-Marc regarding gui_editcombo.pasgraemeg
* Removed gui_editcombo.pas from fpgui_package because I'm getting ready for a new release and only want to include stable units. It will get added again after the release.
2008-02-09* Applied Vladimir's TfpgEdit changes to TfpgMemo as well. We should really ↵graemeg
refactor text input components to share some code.
2008-02-09Applied two of Vladimir's patchesgraemeg
2008-02-09* Introduced to new types: TfpgChar and TfpgString.graemeg
* HandleKeyChar has it's first parameter set to TfpgChar. The start of full unicode text input support. At a later date other paramaters will start changing to the new types introduced.
2008-02-06Fixed the compiler error under Windows. That will teach me to test before I ↵graemeg
commit.
2008-02-06* Added a new unit gui_editcombo. This is still undergraemeg
heavy development. * Rename IsWinXP to IsWinXPOrLater. Also improved the check to support Windows Vista. * SetFirstItem() is now moved to the public section in gui_listbox.pas unit. * Updated the contributors list.
2008-02-05Applied patch from Slapshot fixing the TVFDPropertyEditor class. ↵graemeg
BackgroupColor property issue. * I reverted the gui_memo.pas changes from r504 to fix a cursor focus issue when the memo contains no text. I will attend to this issue soon, so we don't have to force adding a blank line.
2008-02-04* Removed the extra fpgTimers.Delete() call which caused a error an ↵graemeg
application exit. Thanks to Antonio for the hint.
2008-02-04* Applied patch from Jean-Marc creating new properties for ComboBox and ListBox.graemeg
* Modified the edittest example to show the new changes in action.
2008-02-01* Fixed old Color property to TextColor.graemeg
* Created new TfpgComponent class with TagPointer property. TagPointer is like TComponent.Tag but just a pointer instead of Integer.
2008-02-01* Menu items that are disabled now appear as selected when the mouse moves ↵graemeg
over them, but they are still not clickable. This is normal GUI behaviour in other toolkits as well.
2008-02-01* Fixed the IFDEF so that the libc unit is only included for Linux/x86 ↵graemeg
32-bit systems. FreeBSD and Linux/x86 64-bit can't use libc.
2008-02-01* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and ↵graemeg
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton. * Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
2008-01-31* TfpgColor is now a distinct type. Not just a longword alias.graemeg
* system or named colors like clWindowBackground are now correctly typed to TfpgColor. Hopefully this fixes the range check error under 64bit compilers. * Fixed some defaults for properties in the gfxbase unit. * Removed the unused (prototype) gfx_strings unit from the X11 fpgfx_package. * Fixed some files by adding the missing svn properties for eol styles.
2008-01-28* Applied Jean-Marc memo patch adding TextColor and BackgroundColor properties.graemeg
* Renamed the Color property to TextColor for RadioButton, Memo, DBLabel, Label, Edit and CheckBox. It's less confusing.
2008-01-28* GDI: Fixed the double click issue under Windows.graemeg
2008-01-28* Removed more debug code.graemeg
2008-01-28* Removed the unused debug code in ComboBox and ListBox units.graemeg
2008-01-26* Added a new Color property to RadioButton, Button and CheckBox.graemeg
The text color can now be changed per component. * Fixed up the default values for Color and BackgroundColor for a few components. * Extended the EditTest project to show the Color property in action.
2008-01-26* Fixed the X11 event handling by using thegraemeg
correct event structures for each event.
2008-01-26Applied patch from Jean-Marc allowing TfpgEdit's text color to be changed.graemeg
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-21* GDI: Fixed index out of bounds errors in ComboBox.graemeg
* GDI: Mouse up/down click now works similar to X11. * GDI: I still have prenty of debug writeln() statements and will only remove them once my testing is complete.
2008-01-21* Fixed some memory leaks in TfpgComboBox.graemeg
* Fixed the destruction order of TfpgComboBox. * Introduced DoRemoveWindowLookup() in gfxbase.pas so that we can offload some of the responsibility from DoReleaseWindowHandle() * Add two new debug methods to help debug fpGUI and fpGUI based applications. They are PrintCallTrace() and PrintCallTraceDbgln(). * Fixed 'Index out of bounds' error when quiting your application. * I included lots of debug output in this revision, so I can test under Windows. As soon as I confirmed everything works, I'll remove the debug output again.
2008-01-16* Fixed a bug where the Right and Centre mouse button dectection was wrong ↵graemeg
way round. * TfpgEdit now has a new PopupMenu property. If assigned that menu will appear when you Right click. If PopupMenu is nil, a default popup menu will appear with the usual Cut, Copy, Paste and Clear All items.
2008-01-14* Removed a debug writeln statement from gui_edit unit.graemeg
* Added the extra interpolation unit to fpgfx.pas so it can be auto compiled from the scripts in the src directory. * Added the missing extrafpc.cfg files from some example projects. * Renamed some of the examples main units to have the lpr extension. Consistancy with the other projects. * FreeBSD is now an official supported platform. I've compiled and ran all example and prototype projects. Everything works perfectly.
2008-01-14* ShowMessage can now Centre of Left Align the text.graemeg
* Long text with paragraphs are now handled and painted correctly in the MessageBox and Message Dialog.
2008-01-14* I wrapped libc unit and calls with IFDEF's so it should compile under ↵graemeg
FreeBSD now.
2008-01-12* Fixed MessageDialog crash on exit under Windows.graemeg
* Fixed the mbYesNoCancel button order in a MessageDialog. * Extended the FileDialog example for testing purposes of the MessageDialog class.
2008-01-11* Refactored some code so that MessageBox and MessageDialog can share some code.graemeg
* MessageDialog doesn't inherit from TfpgBaseDialog anymore. * Implemented all MessageDialog message types. * MessageDialog is pretty much working now. Buttons get created correcty. Returns the correct button clicked. Long text gets displayed and wrapped correctly. I still need to to some code cleanup and more testing and create an example program.
2008-01-11* TfpgMemo now allows the user to tab out of the component if UseTabs = False.graemeg
2008-01-11* TfpgWidget now has two new events. OnEnter and OnExit so the user can trap ↵graemeg
when a component receives or looses keyboard focus. TfpgEdit has a few new methods. Clear() which clears the Text. ClearSelection() which removes the selected text only. CopyToClipboard(), CutToClipboard() and PasteFromClipboard() is fairly obvious. TfpgEdit has some new properties. AutoSelect - in enabled (default) will auto select all text when the component receives keyboard focus. HideSelection - by default hides the selection rectangle when the components looses focus. If set to False the selections rectangle will be grayed - not the the user interfaces will look busy if many edit controls keep showing their selections, but now you have a choice.
2008-01-11* TfpgEdit now paints the selected text even if the component doesn't have ↵graemeg
focus. Different colors get used if it has focus or not.
2008-01-10* Made some nice progress with the MessageDialog class. Buttons are created ↵graemeg
dynamically. Captions get set and the default button gets set. I still have plenty to do, but it's progress.
2008-01-10Applied patch from Vladimir fixing button MouseEnter and MouseExit events.graemeg
2008-01-09* Started working on a fpGUI Message Dialog feature.graemeg
2008-01-07* Moved many methods from Public to Private or Protected in gui_menu.pasgraemeg
* Added a lot more sanity checks to prevent unnecessary processing. * Removed unnecessary requests for painting outside the HandlePaint method. * Menus are working again under Windows.
2008-01-04* GUI: Moved all MenuItem painting into the Paint event handler.graemeg
* GUI: MenuItems OnClick is now triggered on mouse button up (like all other toolkits). * GUI: Clicking outside a menu while it's open doesn't trigger the OnClick event anymore. * Examples: Extended the menu example to show when each menu item's OnClick was triggered. * All the above needs testing under Windows.
2008-01-03* Reworked the timing of when windows get removed from thegraemeg
internal lookup list. * Reordered some methods on destruction of a form. * fpGFX-X11 now reports lost windows for X11 events. * Added extra checks in the X11 event handling to make sure we have found a actual window before we try and process the event. This fixes the crashing of applications when you close a window by clicking the X button on System Menu.
2008-01-03* Applied gui_edit.pas patch from David Emersongraemeg