Commit Graph

8449 Commits

Author SHA1 Message Date
mattias
1207c0e3f4 gtk2 intf: replaced exception mask with functions from math unit
git-svn-id: trunk@15785 -
2008-07-15 17:47:30 +00:00
tombo
3e0f21b461 LCL carbon: implemented Bitmap.Canvas.GetPixels
git-svn-id: trunk@15781 -
2008-07-14 13:16:07 +00:00
tombo
c85ebeb48d Add info if bitmap format is not supported for creating canvas handle.
git-svn-id: trunk@15779 -
2008-07-14 11:45:57 +00:00
marc
19919c7035 * Fixed loading of old graphic streams
* Added TIcon.AssignImage, so one image of an icon can be changed

git-svn-id: trunk@15775 -
2008-07-14 00:40:42 +00:00
mattias
a5f211b8cc tk2: fixed SetLayoutText string comparison
git-svn-id: trunk@15774 -
2008-07-13 22:14:39 +00:00
marc
e8e5ebb797 * removed old (nonworking) compatebility code
git-svn-id: trunk@15772 -
2008-07-13 21:04:30 +00:00
mattias
ebd4d40039 fixed encoding
git-svn-id: trunk@15771 -
2008-07-13 20:52:25 +00:00
mattias
5bd40abaab LCL: fixed GuessEncoding iterating UTF-8 characters
git-svn-id: trunk@15770 -
2008-07-13 20:19:57 +00:00
mattias
b223dbff27 LCL: removed obsolete TAbstractReader
git-svn-id: trunk@15767 -
2008-07-13 18:59:39 +00:00
marc
a0853e7841 * Return alpha description when asked for
git-svn-id: trunk@15765 -
2008-07-13 18:47:07 +00:00
mattias
26f698131e LCL: added check for UTF-8 invalid characters #128-#191, bug #11648
git-svn-id: trunk@15764 -
2008-07-13 18:46:55 +00:00
mattias
fbcc1bc581 gtk2 intf: improved layout text optimization by length parameter
git-svn-id: trunk@15763 -
2008-07-13 15:44:56 +00:00
mattias
7e001b2934 gtk2 intf: fixed mem leak of creating pango layout for DC, bug #9259
git-svn-id: trunk@15762 -
2008-07-13 15:37:03 +00:00
mattias
4dedc3c8ec gtk2: removed quark code
git-svn-id: trunk@15761 -
2008-07-13 11:30:13 +00:00
mattias
cadf49eda8 gtk1: replaced idle function with begin/endupdate, bug #1477
git-svn-id: trunk@15759 -
2008-07-13 10:17:13 +00:00
mattias
50c3731145 gtk2 intf: implemented optimization for textout with the same text from Luiz
git-svn-id: trunk@15758 -
2008-07-13 09:21:33 +00:00
mattias
1a90e139a9 trnalations: german: updates from Joerg Braun
git-svn-id: trunk@15757 -
2008-07-12 11:34:34 +00:00
mattias
4b03c13f5a trnalations: german: updates from Joerg Braun
git-svn-id: trunk@15756 -
2008-07-12 10:57:45 +00:00
paul
6c80e93299 lcl: fix typo in the trackbar code which cause inability to set Max = Min
git-svn-id: trunk@15755 -
2008-07-12 05:42:50 +00:00
marc
832f32e752 * mask alpha channel when device has no alpha support
git-svn-id: trunk@15754 -
2008-07-12 00:36:14 +00:00
mattias
976269a47b gtk2 intf: use Set8087CW in AppInit to avoid crash on ubuntu human theme
git-svn-id: trunk@15753 -
2008-07-11 17:19:30 +00:00
paul
f181d04615 lcl: set FDataOwner to true in IntfImage after freeing data - fixes memory leak in the .ico reader
git-svn-id: trunk@15752 -
2008-07-11 16:49:57 +00:00
paul
a97246aad9 gtk2: set fpu control word globally for gtk2-win32, or it will crash on setting form or application icon. remove old places where I did that.
git-svn-id: trunk@15750 -
2008-07-11 15:46:00 +00:00
paul
6f4939f96d qt: don't use exact QFont handles but create a new copy of them - this way we protect ourself from handle owner destruction (#0011615)
git-svn-id: trunk@15746 -
2008-07-11 14:38:13 +00:00
paul
92fb8c2d5e gtk: add default values for SM_CXICON and friends
git-svn-id: trunk@15736 -
2008-07-10 13:57:39 +00:00
paul
012a16ffd7 gtk2: ifdef textout speed improvement - it brings some problems (#0011523)
git-svn-id: trunk@15735 -
2008-07-10 13:55:06 +00:00
vincents
788fa12d18 LCL: added support for converting to and from codepage 866 (issue #11608) from Alexandr Gridnev
git-svn-id: trunk@15728 -
2008-07-10 06:40:50 +00:00
jesus
a1eb9d8f7f LCL, fixed selection change while dragging
git-svn-id: trunk@15727 -
2008-07-10 01:21:58 +00:00
mattias
02181f508e gtk1: fixed regression: gtk list IndexOf locked the change vents
git-svn-id: trunk@15725 -
2008-07-09 15:00:23 +00:00
vincents
97c1684037 LCL: improved logic to retrieve WheelScrollLines.
win32 widget set: use Mouse.WheelScrollLines to determine the mouse wheel scroll lines.

git-svn-id: trunk@15717 -
2008-07-09 09:07:53 +00:00
marc
c1820846a9 Issue #11571:
* on Carbon color  DC bitmaps are always 32bpp, our description specifies this, bitmapinfo should skip alpha when no alpha present
* only reduce bitsperpixel to 24bit on win32

git-svn-id: trunk@15714 -
2008-07-09 00:10:47 +00:00
jesus
772684f5d0 LCL, implemented extended selection in dbgrid with multiselect option
git-svn-id: trunk@15713 -
2008-07-08 21:12:32 +00:00
vincents
4ee45a7631 LCL: reverted accidental commits of r15706 #d49446d842
git-svn-id: trunk@15707 -
2008-07-08 16:48:59 +00:00
vincents
d49446d842 LCL: fixed typo in postscriptcanvas (bug #11629)
git-svn-id: trunk@15706 -
2008-07-08 16:45:16 +00:00
vincents
04866ed972 win32 interface: use system information about the number of lines to scroll with wheel mouse (bug #7316)
git-svn-id: trunk@15703 -
2008-07-08 12:57:30 +00:00
vincents
ae5a3cc7b8 win32 interface: fixed calculating text size on bitbtns (bug #11618)
git-svn-id: trunk@15690 -
2008-07-07 08:09:30 +00:00
paul
b13da039c9 qt: fix bitmap related crash from Luiz (#0011614)
git-svn-id: trunk@15687 -
2008-07-07 02:00:54 +00:00
vincents
899a6b0d07 win32 interface: take extra precaution to prevent range check errors if the LCL attempts to put an invalid UTF8 string on the clipboard (bug #11609)
git-svn-id: trunk@15685 -
2008-07-06 19:53:34 +00:00
marc
be03b6c68d * Updated Russian translation by Maxim Ganetsky
git-svn-id: trunk@15677 -
2008-07-04 23:27:21 +00:00
vincents
96850f6525 win32 interface: fixed range check errors from Martin Friebe (bug #11607)
git-svn-id: trunk@15676 -
2008-07-04 21:26:32 +00:00
tombo
29ea8899f8 LCL: fixed range check errors
git-svn-id: trunk@15674 -
2008-07-04 14:02:11 +00:00
vincents
84ac43fd45 fpgui widget set: fixed compilation with fpc 2.3.1
git-svn-id: trunk@15671 -
2008-07-04 09:42:05 +00:00
vincents
b836129186 fpgui widget set: allow components to be visible at runtime from Graeme (issue #11606)
git-svn-id: trunk@15669 -
2008-07-04 08:54:57 +00:00
marc
e90a4cab8b * fixed transparency of speedbutton glyph (issue #11571)
git-svn-id: trunk@15668 -
2008-07-03 23:47:36 +00:00
vincents
492e1d41d8 win32 interface: don't focus wincontrol on left click explicitly, the LCL and windows itself can handle that on their own, fixes bug #1773
git-svn-id: trunk@15658 -
2008-07-02 19:20:24 +00:00
tombo
899c458ad0 LCL graphics:
- implemented TPicture saving to different format
- improved picture formats management, added more JPEG extensions
LCL picture dialogs:
- added function for retrieving extension from selected filter

git-svn-id: trunk@15653 -
2008-07-02 12:12:10 +00:00
vincents
f86a356548 LCL: fixed FindInvalidUTF8Character from Martin Friebe (bug #11575)
git-svn-id: trunk@15650 -
2008-07-02 10:34:42 +00:00
paul
17a18c93f0 gtk2: move some code lines
git-svn-id: trunk@15649 -
2008-07-02 08:45:28 +00:00
vincents
23f6d38d68 win32 interface: implemented unicode handling of old style file open dialog (bug #11593)
git-svn-id: trunk@15647 -
2008-07-02 07:26:22 +00:00
paul
2a5dbf5d28 gtk: fix similar memory leaks
git-svn-id: trunk@15646 -
2008-07-02 07:04:14 +00:00