Age | Commit message (Collapse) | Author |
|
- fpgApplicationName() wrapper for SyUtils.ApplicationName
- TfpgINIFile reference ApplicationName, instead of fpgApplicationName
- In TfpgINIFile we forgot to encode the file name back to the system
encoding before we called Create().
|
|
I found a problem with the deadkey support - it broke keyboard input under
Windows. The original deadkey input issue seems to have been X11 specific,
so should be fixed at widget level, but rather in the fpg_x11.pas unit.
|
|
This reverts commit ccfd4b2ae0a9dfae0d19ae7ba673118af70c75da.
|
|
|
|
|
|
|
|
Even though I normally say I only support latest released FPC versions, this
is a small change.
|
|
|
|
This allows the developer to filter the file results by Files only,
Directories only, or both (default).
|
|
This allows us to read the image from a byte array,
just like we do with BMP images.
|
|
The global F1 (application help) shortcut handling
never looked at the ShiftState value. So if we had
a popup menu with F1->help; Ctrl+F1->About, the
second item's shortcut with be interpreted as F1 only.
|
|
I originally read it as a 4-byte color palette. This fixes the colors
of images (mostly), but there still seems to be some or other decoding
issues with larger than 65KB images.
|
|
They have a slightly different structure to Windows BMP files - now the
more common format.
|
|
Before it would have done a writeln() which would go unnoticed under
Linux, and cause an AV under Windows GUI apps.
|
|
Under *nix systems, if we can't find the direct location of docview, we
try the 'which docview' command. If we get a positive response, we know
docview is in the system path, and we can go ahead and launch it.
At least this doesn't instantly throw an exception when docview can't
be found on the first attempt.
|
|
|
|
|
|
This makes testing a bit easier on all platforms.
|
|
Before we only had the mouse hover effect on Flat buttons. But now the
Style can enable hover support for normal buttons too. Important for
Win7 and MacOSX like themes.
|
|
Rather late than never. ;-)
|
|
|
|
I've updated the actual *.bmp files ages ago, but forgot to update the
image byte arrays in fpGUI Toolkit.
While I was at it, I also translated some French names to English.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lazarus IDE had some issues navigating them otherwise.
|
|
|
|
localization.
I also updated all language files to include the latest resource string constants.
|
|
|
|
How the hell has this been around for so long and went undetected. :-/
|
|
We manualy do the range checking before we access the string array. So disable
the compiler range checking around the affected code.
|
|
Length() is a more 'lite" version than UTF8Length(), and in that code we don't need the
functionality of the latter.
|
|
|
|
|
|
|
|
|
|
We already done this for all the predefined colors, but somehow forgot about these.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
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.
|