Commit Graph

54 Commits

Author SHA1 Message Date
paul
07c85a5453 lcl: fix CreateParams for TPreviewFileControl
git-svn-id: trunk@25228 -
2010-05-07 00:44:13 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
2d12587b11 lcl: TPreviewFileControl should not remove WS_CHILD in CreateParams since it is a child control
git-svn-id: trunk@25198 -
2010-05-05 00:33:54 +00:00
mattias
4135aa5ec6 LCL: TCalendarDialog: enabled AutoSize, bug #16305
git-svn-id: trunk@24782 -
2010-04-21 07:38:19 +00:00
mattias
ad982bfee9 LCL: TCalculatorForm, TCustomDockForm, TSynBaseCompletionForm, ShowInputDialog: combine creation
git-svn-id: trunk@24422 -
2010-04-05 00:03:39 +00:00
paul
5dbecdbe8d lcl: move few const arrays from the unit section to a methods where they are really used
git-svn-id: trunk@23640 -
2010-02-05 09:39:18 +00:00
paul
f8a1f56fb6 lcl: don't use initialization section with resources in extdlgs, include resources only if calculator panel is used.
git-svn-id: trunk@23638 -
2010-02-05 09:19:06 +00:00
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
5a3f0457dd lcl: don't close calendar dialog and calendar popup form on double click if user clicked on wrong parts of calendar (issue #0009722)
git-svn-id: trunk@19126 -
2009-03-27 03:25:20 +00:00
paul
802244bbfa lcl: cleanup TCalendarDialog
git-svn-id: trunk@19088 -
2009-03-24 10:11:29 +00:00
paul
68603b956b lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
d7d65211b7 lcl: cleanup
git-svn-id: trunk@18512 -
2009-01-31 10:37:31 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
vincents
2d5ba04966 LCL: don't add scrollbars to calendar dialog
git-svn-id: trunk@16825 -
2008-10-01 10:22:04 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
b3f92f1005 lcl: fix TCalcButton
- AsFloat now does not raise an exception if value is empty
 - fix calculator form creation

git-svn-id: trunk@16177 -
2008-08-21 14:01:54 +00:00
mattias
fc3340556a LCL: fixed encoding
git-svn-id: trunk@15983 -
2008-08-07 14:16:17 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +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
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
mattias
0d29c31f7c gtk2 intf: implemented selection change for file dialogs
git-svn-id: trunk@12632 -
2007-10-29 22:47:46 +00:00
mattias
1d517decaf IDE: fixed auto code templates to not always add the typed character, IDE: fixed resetting IDE ToolStatus, fixing crash when double clicking on install package button, IDEIntf: added property OpenEditorsOnCodeToolChange to allow tools to cleanly change sources (this fixes the bug of quickfix items not working with temporary files)
git-svn-id: trunk@12613 -
2007-10-27 18:26:35 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
vincents
bd03f62f68 LCL calendar dialog:
+ added DialogPosition property (#8885)
+ double clicking the calendar closes the dialog 

git-svn-id: trunk@11150 -
2007-05-16 08:38:20 +00:00
vincents
a168e7a228 LCL: don't capitalize keywords (e.g Property -> property)
git-svn-id: trunk@11043 -
2007-05-01 17:32:12 +00:00
vincents
cee4c76647 disable autosize for calendardialogform, because it doesn't work correctly
git-svn-id: trunk@9350 -
2006-05-24 21:14:32 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
3761e86eeb autosize calendarform (issue #1205)
git-svn-id: trunk@7846 -
2005-09-28 10:13:57 +00:00
vincents
0b932a761a added default and cancel button to calendar dialog
git-svn-id: trunk@7836 -
2005-09-26 13:57:17 +00:00
mattias
c2188e25a6 renamed TCalculatorPanel.TextChanged to TextChange
git-svn-id: trunk@7758 -
2005-09-20 18:08:08 +00:00
mattias
e1b84e31df added OpenDialog Filters from Salvatore Coppola
git-svn-id: trunk@7003 -
2005-03-21 09:14:17 +00:00
mattias
0c61b784a6 fixed TCalendar resizing problems from Salvatore
git-svn-id: trunk@6842 -
2005-02-25 18:16:41 +00:00
vincents
d864b6e663 Enlarged TCalendarDialogForm, so that it is large enough to contain the win32 calendar.
git-svn-id: trunk@6259 -
2004-11-17 12:22:38 +00:00
vincents
bcf90ce19b splitted off unit FileUtil, it doesn't depend on other LCL units
git-svn-id: trunk@6080 -
2004-09-27 21:45:44 +00:00
mattias
4cb794d4d7 added OnUTF8KeyPresss
git-svn-id: trunk@5895 -
2004-08-30 16:37:58 +00:00
mattias
28e09a231e localized graphprop editor form and replaced opensavedialog with opensavepicturedialog
git-svn-id: trunk@5866 -
2004-08-26 22:12:39 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mazen
c4db8f2797 + TCharater type used to allow UTF8 keyboard with gtk2
git-svn-id: trunk@5781 -
2004-08-13 16:40:47 +00:00
mattias
cd9a3b8c9f added TCustomButton, TCustomBitBtn, TCustomSpeedButton
git-svn-id: trunk@5682 -
2004-07-15 10:43:39 +00:00
mattias
a444f136c2 replaced writeln by debugln
git-svn-id: trunk@5455 -
2004-05-11 11:42:27 +00:00
mattias
0b7e7ec113 fixed TCalendarDialog.DialogTitle
git-svn-id: trunk@5365 -
2004-04-03 13:10:20 +00:00
micha
8881c2270a fix a lot of range check errors win32
git-svn-id: trunk@4986 -
2003-12-29 14:22:22 +00:00
mattias
d90dafe5fe set colors to default values
git-svn-id: trunk@4980 -
2003-12-28 02:40:50 +00:00
mattias
459b1c939c fixed many range check warnings
git-svn-id: trunk@4951 -
2003-12-25 14:17:07 +00:00
mattias
2b6d885985 added TCalendarDialog and TCalculatorDialog from Michael V.C.
git-svn-id: trunk@4949 -
2003-12-23 23:38:11 +00:00