summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-13x11: implemented window grouping support used by some X11 window managers.Graeme Geldenhuys
2011-09-13new utility function to get the current executable nameGraeme Geldenhuys
2011-09-07Changed the password char from asterisk to unicode black circleGraeme Geldenhuys
2011-09-02Corrected the timing when AfterCreate is called in TfpgFrameGraeme Geldenhuys
2011-08-31add sharing options when opening po files.Graeme Geldenhuys
This doesn't have any affect under Linux, but it might under Windows.
2011-08-31pofile unit now uses the UTF-8 safe file functions.Graeme Geldenhuys
2011-08-31updates KeycodeToText() to use the new resource string constants.Graeme Geldenhuys
2011-08-31adds resource string constants for menu key shortcuts.Graeme Geldenhuys
- also updated the translation include files. ready for translation.
2011-08-26x11: removed trailing whitespaceGraeme Geldenhuys
2011-08-26x11: fixed a compiler hint about an invalid/unsafe typecast.Graeme Geldenhuys
2011-08-24bugfix in PageControl keypress handling. Consume incorrectly set.Graeme Geldenhuys
We incorrectly set the consumed variable, and called inherited unnecessarily. This is now improved.
2011-08-24menu: correctly handle keyboard shortcut events nowGraeme Geldenhuys
Before the menu only used to process the Alt+<key> events for the mainmenu bar (top level menus). Now we recursively run through all menu items looking for a hotkey match.
2011-08-24forms: HandleKeyPress() is replaced my DoKeyShortcut()Graeme Geldenhuys
This is done because DoKeyShortcut() clearly says what it does. It only processes keyboard shortcut events.
2011-08-24added begin..end block to make code more readable.Graeme Geldenhuys
2011-08-24bugfix: Menu key never set consumed = True in key press processingGraeme Geldenhuys
2011-08-24reworked TfpgWidget.MsgKeyPress() to correctly handle keyboard shortcuts.Graeme Geldenhuys
processing order is now as follows; - widget that keypress occured it trys to handle the event. - then to keyboard shortcut processing for the widget's children - then work back towards the top-level form giving chance for keyboard navigation (tabstop) processing. eg: pressing Tab key - then let the top level form to keyboard shortcut processing eg: allowing MainMenu to process the event. - then allow the top level for to process OnKeyPress if such an event handler is implemented. - then if the top level form is not the MainForm, and the current top level form is not shown model, allow the application.mainform to process the keyshortcut in it's main menu.
2011-08-24Introduced DoKeyShortcut() into TfpgWidgetGraeme Geldenhuys
This is similar to HandleKeyPress() but takes into account the original widget that started the process, so it doesn't process that widget or its children twice.
2011-08-24Shift comes after Ctrl or AltGraeme Geldenhuys
In KeycodeToText(), 'Shift+' came before Ctrl or Alt. This is not normal practice, so I moved it.
2011-08-18Added TfpgFrame to fpGUI.Graeme Geldenhuys
This is a UI Designer friendly component that allows you to embed frames "Windows" inside other windows.
2011-08-17hint window timer field variable renamed.Graeme Geldenhuys
- Renamed the timer field variable from T_Chrono to FTimer. - Renamed the OnTimer event handler from T_ChronoFini to HintTimerFired - Disabled the timer *before* hinding the hint window. This prevents those add AV's that occur when you close an application. - No need to explicityl disable the timer in HintWindow destructor. When you free a timer, it automatically gets disabled.
2011-08-17TfpgCaret doesn't need it's timer enabled at creation.Graeme Geldenhuys
Now the internal blink timer only gets activating when a Canvas is assigned.
2011-08-17Fixed KeycodeToText that overwrote the ShiftState of previous values.Graeme Geldenhuys
2011-08-17GDI: Fixed the rubbish timer implementation.Graeme Geldenhuys
I was clearly smoking something that day! Anyway, the GDI timer is now correctly implemented, and doesn't push up the CPU load any more. No matter how long the timer runs for. The timer is much more accurate/consistent in firing as well. :-)
2011-08-17TfpgTimer refactoring.Graeme Geldenhuys
Refactored the TfpgTimer by introducing a TfpgBaseTimer and X11 & GDI Timer descendants. This now allows use to add platform specific extensions to the timer implementation.
2011-08-11changed string parameter to TfpgString typeGraeme Geldenhuys
2011-08-04imagelist Item[] property changed to plural Items[]Graeme Geldenhuys
This is consistent with other components in the RTL, FCL and even fpGUI itself.
2011-07-28docs update mentioning support for OpenSolaris.Graeme Geldenhuys
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using FPC 2.4.4.
2011-07-28Changed IFDEF around users unit in uses clause.Graeme Geldenhuys
It seems FPC only supports users.pp unit in Linux. Making this changes allows use to compile fpGUI under OpenSolaris too!
2011-07-27BaseGrid and Home/End key handling and focused cells.Graeme Geldenhuys
We never used to check if we are allowed to set the FFocusCol, we just assumed we are allowed. Now we try each column while calling CanSelectCell() in each iteration so we select the first available column.
2011-07-27BaseGrid.HandleKeyPress and consume variable behaviour has changed.Graeme Geldenhuys
Old behaviour we simply forced Consumed = True and later Consumed = False. This has a very good chance of overwriting the origin consume value. We now only set consume to True, if it is really so.
2011-07-25parameter handling improvementsGraeme Geldenhuys
Old behaviour was that we simply assumed the first parameter will be the X11 -display parameter. This is just WRONG! We now query the parameter list for the value of -display, that's if it exists in the first place.
2011-07-23wip stashGraeme Geldenhuys
2011-07-16added timestamp varibale to Mouse Parameter record structure.Graeme Geldenhuys
This is a placeholder for future use.
2011-07-14GDI: minor change to IUnknown interface code for FPC 2.5.1 compatibilityGraeme Geldenhuys
2011-07-13calendar improvement: removed unnecessary drawing linesGraeme Geldenhuys
A slightly tweaked DrawButtonFace() is all that is really required.
2011-07-13changes in preparation for FPC Trunk support.Graeme Geldenhuys
Prevents a possible compiler error.
2011-07-13calendar bugfix: we excluded minyear and maxyear from valid rangeGraeme Geldenhuys
This meant that sometimes we couldn't select the desired date.
2011-07-12minor code comment for future considerationGraeme Geldenhuys
2011-07-12commented 2 line of code which really isn't needed in the menu painting processGraeme Geldenhuys
2011-07-12minor fixing of the heigh of the database selection combobox.Graeme Geldenhuys
2011-07-12Added a new Database property to the DB Login Form.Graeme Geldenhuys
this allows us easy access to what database the user selected.
2011-07-12Only call btnOK event handler if we had successful authentication.Graeme Geldenhuys
This gives the user another chance to log in.
2011-07-06Numlock gets treated as a ShitfState in X11. Now disabled.Graeme Geldenhuys
See the comments in the code. This fixes lots of code that checks for the ShiftState values in key press events.
2011-06-21prevent duplicate FocusChanged events firing.Graeme Geldenhuys
Calling FollowFocus already calls CheckFocusChanged.
2011-06-20Wrap Begin/EndUpdate in try..finally blocks.Graeme Geldenhuys
This will make sure that EndUpdate is called, even if we get an error somewhere in between.
2011-06-20bug: a scrolled grid with smoothscroll enabled did not allow columns to be ↵Graeme Geldenhuys
resized. - My calculations was totally out of wack! Now it works as it should. - Also made sure scrollbars are correctly updated if Beginupdate..Endupdate is used.
2011-06-20bug: fixed grid horizontal scrollbar size when smoothscroll is enabled.Graeme Geldenhuys
The horizontal scrollbar was always the same size as the width of the grid, so it couldn't actually scroll columns.
2011-06-17gdi implementation of GetWindowStateGraeme Geldenhuys
Now we can retrieve the WindowState of TfpgForm under both Linux and Windows.
2011-06-17minor code formatting changesGraeme Geldenhuys
2011-06-17Introduced a new property TfpgWindowBase.WindowStateGraeme Geldenhuys
This is an initial implementation for Linux only. Currently this property is read-only, but that alone is already very useful. Next I'll implement the Windows support, and later the read-write support.