Commit Graph

40 Commits

Author SHA1 Message Date
martin
c1d49b5369 LCL: NewInstance, search for WsClass, always call RegisterNewWSComp(Self). Issue #37360 Note 0124494
git-svn-id: trunk@63689 -
2020-08-04 11:20:05 +00:00
martin
dff5dd0577 LCL: Simplify NewInstance, search for WsClass. Issue #37360 Note 0124494
git-svn-id: trunk@63688 -
2020-08-04 11:20:03 +00:00
juha
8abfe4423f LCL: Refactor RegisterWSComponent parameter ANewRegistration into a procedure RegisterNewWSComp.
git-svn-id: trunk@63671 -
2020-07-29 18:28:57 +00:00
juha
efdce59d90 LCL: Optimize component registration and TLCLComponent.NewInstance. Issue #37360, patch from BrunoK.
git-svn-id: trunk@63619 -
2020-07-22 08:34:07 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
mattias
f7c4861200 lcl: comment
git-svn-id: trunk@56207 -
2017-10-26 14:16:50 +00:00
mattias
c824f9135d LCL: added DebugTLCLComponentDestroy
git-svn-id: trunk@54853 -
2017-05-10 14:40:55 +00:00
juha
c44a316e99 LCL: Improve a debug msg when destroying a component with LCLRefCount>0.
git-svn-id: trunk@51948 -
2016-03-15 11:22:21 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
e579fe52a4 lcl: clean up
git-svn-id: trunk@40268 -
2013-02-11 21:15:42 +00:00
juha
995b5a3d55 Use a record of signed SmallInts to prevent range check errors. Still about issue #22760
git-svn-id: trunk@38476 -
2012-09-02 00:32:29 +00:00
juha
9b6e54b588 Revert r38465 #f26e63161d and use typecasts to prevent range errors. Should fix issue #22760
git-svn-id: trunk@38469 -
2012-08-31 22:38:46 +00:00
juha
f26e63161d Use signed instead of unsigned integer in a structure to prevent range check errors. Issue #22760
git-svn-id: trunk@38465 -
2012-08-31 16:19:36 +00:00
mattias
48ffc83655 lcl: fixed typo
git-svn-id: trunk@36048 -
2012-03-15 22:55:13 +00:00
sekelsenmat
e8b84a2b50 Adds a new virtual method to allow descendents to override their WSClass
git-svn-id: trunk@31868 -
2011-08-05 08:36:21 +00:00
blikblum
8450373c5d lcl: remove workaround to old fpc bug in BeforeDestruction
git-svn-id: trunk@25837 -
2010-06-02 09:39:49 +00:00
mattias
240161aeb1 IDE: po output directory setting: do not use longen/shortenfilename, bug #16278
git-svn-id: trunk@24681 -
2010-04-17 19:14:22 +00:00
mattias
f0afca08f5 LCL: reduced debugging under wince
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +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
mattias
8a04802fc6 LCL: added TLCLComponent.LCLRefCount, TApplication.ReleaseComponent now delays free until DeliverMessage completed
git-svn-id: trunk@18578 -
2009-02-05 12:23:33 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07: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
mattias
41a2ef9338 LCL: reduced warnings
git-svn-id: trunk@13694 -
2008-01-09 20:07:34 +00:00
mattias
b0ad5fd977 LCL+gtk intf: improved debugging missing FWidgetSetClass and fixed crash on calling SetCCCallbacks in TGtkWSCustomControl.CreateHandle
git-svn-id: trunk@13509 -
2007-12-28 20:52:21 +00:00
marc
f9054e88c2 * Moved handle -> reference for TRegion
git-svn-id: trunk@13266 -
2007-12-11 00:33:26 +00:00
marc
425f7eb912 * Start handle rework. Splitup of internal WS referencedata and public widgetsetspecific references (handle/pointer/XID/...)
git-svn-id: trunk@13178 -
2007-12-06 01:17:52 +00:00
paul
c8de8a54bc - TLCLHandleComponent should not try to destroy handle if did not create it
git-svn-id: trunk@11193 -
2007-05-25 07:34:35 +00:00
paul
d090ceaad0 - some fixes in new imagelist implementation
git-svn-id: trunk@10926 -
2007-04-10 03:12:23 +00:00
marc
1dfeafc69c * Native imagelists - part 3 add&remove
git-svn-id: trunk@10925 -
2007-04-09 23:17:44 +00:00
paul
1119942290 - TLCLHandleComponent modified: added 2 virtual methods: WSCreateHandle and WSDestroyHandle
git-svn-id: trunk@10921 -
2007-04-09 07:03:40 +00:00
marc
2333200355 * Introduced a handlebased component baseclass
* Start of a Widgetset based imagelist

git-svn-id: trunk@10610 -
2007-02-07 23:36:22 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
042e4992ac fixed checking package Makefile.fpc ignoring space differences
git-svn-id: trunk@8547 -
2006-01-18 00:02:36 +00:00
marc
7de4dd1e7e * made Widgetsetclass and wsprivate public
git-svn-id: trunk@7906 -
2005-10-03 21:24:38 +00:00
mattias
d2d3030a60 implemented creating classes at run time from any TComponent descendant
git-svn-id: trunk@6272 -
2004-11-20 11:20:06 +00:00
mattias
784902b92a TXMLPropStorage basically working
git-svn-id: trunk@5704 -
2004-07-25 01:04:45 +00:00
marc
c4afc3033d * Implemented most of TListColoum/Item in the Ws for gtk and win32
git-svn-id: trunk@5667 -
2004-07-11 17:20:47 +00:00
mattias
ec7c457451 added new lcl/widgetset dir to codetools defines
git-svn-id: trunk@5316 -
2004-03-17 13:23:34 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00