Commit Graph

155 Commits

Author SHA1 Message Date
6b45e73d46 * fix compatibility with FPC 3.0 (Thaddy)
git-svn-id: https://svn.code.sf.net/p/kolmck/code@155 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2017-01-18 07:58:04 +00:00
4bf5d66775 * KOLEcmListEdit - some fixes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@154 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2017-01-12 12:59:05 +00:00
0c52a18306 * TKOLMainMenu - some fixes
* TKOLListView.SetupLast - crash fix
* TBitmap.RLESaveToFile\RLESaveToStream\WriteBitmap - memory leak fix, thx to Dimaxx
+ TList.ReleaseItems - new method
+ TStrList.Remove - new method
+ TStrList.RemoveNoCase - new method
+ TStrList.GetRandomItem - new method
+ TIniFile.GetSectionNamesStr - new method

git-svn-id: https://svn.code.sf.net/p/kolmck/code@153 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2017-01-12 12:57:40 +00:00
6124dca457 KOL.pas:
+ WinVer - detect windows 8-10
* WndProc_LVSubitemDraw - some bad-fix
mirror.pas:
* TKOLMainMenu>1 hangup BDS in design time

git-svn-id: https://svn.code.sf.net/p/kolmck/code@152 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2015-08-25 15:36:36 +00:00
94665a4c38 * updates\fixes UXVisualStyle for designer mode
* KOL.pas: fix WStrRScan function
* KOL.pas: fix ClipboardHasText function
* KOL.pas: fix TBitmap.CopyToClipboard method
+ KOL.pas: +TBitmap.CopyToClipboardAsDIB

git-svn-id: https://svn.code.sf.net/p/kolmck/code@151 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2015-04-30 14:42:15 +00:00
d0d9975aab + missed dpks (D2010, DXE's)
+ KOL: TVSortChildrenCB for TreeView
* mckCtrlDraw: fix types for XE7

git-svn-id: https://svn.code.sf.net/p/kolmck/code@150 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-21 16:31:42 +00:00
09a575c01b * updates for ux designer mode, supported controls: button, groupbox, checkbox, radiobox, edit, memo, richedit, listbox, combobox, progressbar, listview, treeview
git-svn-id: https://svn.code.sf.net/p/kolmck/code@149 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-16 08:50:47 +00:00
6ee2903e91 * fix res warning
git-svn-id: https://svn.code.sf.net/p/kolmck/code@148 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-10 05:57:10 +00:00
fe48e64341 * updates UXVisualStyle for designer mode
* fix some warnings for D2009+
* fix crash when using toolbar buttons with 1 char length

git-svn-id: https://svn.code.sf.net/p/kolmck/code@147 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-04 10:53:59 +00:00
7befee4430 + fresh packages for addons
git-svn-id: https://svn.code.sf.net/p/kolmck/code@146 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-04 10:47:47 +00:00
0e80f52e2f - del old modules
* fix some warnings in D2009+ versions

git-svn-id: https://svn.code.sf.net/p/kolmck/code@145 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-04 10:46:29 +00:00
7e8e9d66ff tinyPNG.pas, mckEcmListEdit.pas, mckCCtrls.pas:
* fixs for UNICODE_CTRLS define

KOLZLibBzip.pas:

* fix missed file (thanks to Awkward)

git-svn-id: https://svn.code.sf.net/p/kolmck/code@144 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 16:20:28 +00:00
3fe3e37c4b * package reload
git-svn-id: https://svn.code.sf.net/p/kolmck/code@143 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 11:02:08 +00:00
6f8da34b33 * some fixes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@142 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 10:59:01 +00:00
e37802a4d5 * some fixes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@141 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 10:58:03 +00:00
70dda1a9a1 * some fixes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@140 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 10:56:45 +00:00
a94d2b45c7 * some fixes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@139 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 10:55:36 +00:00
fe96fa0950 Merge with unofficial 3.22 version compatible with fpc 2.6.4 and 2.7.1 i386 and x64 compilers by "Dmitri K dmiko@mail333.com (dmiko)" principal work
and "Thaddy de Koning thaddy@thaddy.com" (merge 3.22)

KOL:
* a LOT of declarations\fixes for x64\FPC support (by dmiko and Thaddy)
+ TList.SortEx - for custom sorting Items
+ TStrList.IndexOfName_NoCaseFast, TStrList.IndexOfName_Fast, TStrList.Values_NocaseFast[], TStrList.Values_Fast[] - faster than TStrList.IndexOfName\Values\etc..
+ TStrList.Remove\RemoveByName - Removes first entry of a Value\LineName in the list
+ TStrList.IsEmpty - check list empty 
+ TStrList.Add2\Insert2\Delete2\Items2[Idx, Col]\Swap2\IndexOf2\Count2\ColsCount - work with TStrList like with table[Idx, Col]
+ TStrListEx.SortEx - for custom sorting Items with Objects
* SVN_BUG#1: TStrListEx.SortEx - breaks objects association fixed (thanks to tacituseu)
* SVN_BUG#2: TControl.FreeCharFormatRec - fixed STATIC_RICHEDIT_DATA define (by tacituseu)
* TControl.LVColInsert - return inserted col index
+ TControl.LVGetHeader - Gets the handle to the header control used by the list-view control
+ TControl.LVSubItemAtPos - Return index of subitem at the given position
+ TControl.LVIndexOfEx - Returns first list view item index with subitem ACol matching S
+ TControl.TVItemInsert - extended version of TVInsert: can set images and set ItemData
* NewReadWriteFileStream - smaller code by use winapi flag ofOpenAlways instead FileExists function
* TMenu.Destroy\RemoveSubMenu - fixed memory leak on destroy (by dotnet20)
* CallDefFrameProc - fixed crash when use MDI
- ASM: TStrList.AddStrings\LoadFromStream\MergeFromFile\SaveToFile - switched off because maybe can get crash (need tests)
* PAS: TStrList.LoadFromStream\SaveToFile - fixed
* TStrList.IndexOfName - small speedup
* TStrList.IndexOfName_NoCase - this code "while (p^ <> #0) and (p^ <= ' ') do inc( p );" is deleted, because sometimes get deadlock (wtf code doing!?)
* ASM: WndProcTreeView - fixed TV_DRAG_RBUTTON define
+ TFastStrListEx.NameDelimiter - like in TStrList
+ TFastStrListEx.SetValue - like in TStrList

MCK:
* updated to MCK v3.23 (with some fixes)
* MCKAppExpert200x wizard - fixed unit name 
* TKOLListView.SetupLast - fixed crash 
+ TKOLListView.OnLVCustomDraw - added event assign
+ TKOLMemo.Paint\WYSIWIGPaintImplemented - add visual style for memo in designer mode
+ !!!ALPHA VERSION!!!: ux visual style mode for some controls in designer mode (PaintType: ptWYSIWIG) (WinXP minimum req.)

err.pas:
* moved from addons to kolmck folder 
* fixed exception.message in IDE
* source code formating

common:
* cleaning...
* updated readmes
* dpk packages replaced and renamed (KOLMCKXXXX.dpk)

maybe forgot something...

KOLAddons package will be updated later..

git-svn-id: https://svn.code.sf.net/p/kolmck/code@138 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 10:48:30 +00:00
75cb04e69f mckCtrls.pas:
* some fixes
* fixed crash in TKOLListView.SetupLast
+ TKOLListView.OnLVCustomDraw
+ TKOLMemo.Paint\WYSIWIGPaintImplemented add visual style for memo in designer mode

mckCtrlDraw.pas:
+ ux visual style mode for some controls in designer mode (PaintType: ptWYSIWIG) alpha version!!! (WinXP minimum req.)

git-svn-id: https://svn.code.sf.net/p/kolmck/code@137 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:39:14 +00:00
4530193046 * some declarations for x64 support
+ TFastStrListEx.NameDelimiter like in TStrList
+ TFastStrListEx.SetValue like in TStrList

git-svn-id: https://svn.code.sf.net/p/kolmck/code@136 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:30:35 +00:00
dd23fc06aa * fix some declarations for x64 support
git-svn-id: https://svn.code.sf.net/p/kolmck/code@135 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:27:30 +00:00
1cd1ce8bcc * fix some declarations for x64 support
git-svn-id: https://svn.code.sf.net/p/kolmck/code@134 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:27:02 +00:00
0f41e320b2 3.20 version + some changes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@133 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:26:29 +00:00
8a2cf167f6 + added some missing types\const
* fixed some declarations for x64 support

git-svn-id: https://svn.code.sf.net/p/kolmck/code@132 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:23:00 +00:00
163c0e1a73 * fix some declarations for x64 support
git-svn-id: https://svn.code.sf.net/p/kolmck/code@131 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:22:02 +00:00
cb7f421737 * fix some types
git-svn-id: https://svn.code.sf.net/p/kolmck/code@130 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:20:42 +00:00
701041e47b FPC 2.6.4 and 2.7.1 i386 and x64 support from unofficial version by Dmitri K dmiko@mail333.com (dmiko) principal work and Thaddy de Koning thaddy@thaddy.com
git-svn-id: https://svn.code.sf.net/p/kolmck/code@129 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:18:38 +00:00
efc54cfbaf git-svn-id: https://svn.code.sf.net/p/kolmck/code@128 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07 2014-12-03 09:14:31 +00:00
a17b2165d1 KOL_err 3.00.G with changes:
* fix show exception.message in IDE
* source code formating

git-svn-id: https://svn.code.sf.net/p/kolmck/code@127 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:13:15 +00:00
0378b41404 git-svn-id: https://svn.code.sf.net/p/kolmck/code@126 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07 2014-12-03 09:09:32 +00:00
5add7d51a1 + XE5-XE7 defines
* FPC defines

git-svn-id: https://svn.code.sf.net/p/kolmck/code@125 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 09:07:38 +00:00
e2bebba230 * fixed unit name
git-svn-id: https://svn.code.sf.net/p/kolmck/code@124 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:58:09 +00:00
cb0dea0599 git-svn-id: https://svn.code.sf.net/p/kolmck/code@123 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07 2014-12-03 08:56:04 +00:00
ee94b5a811 packages
git-svn-id: https://svn.code.sf.net/p/kolmck/code@122 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:55:08 +00:00
4d2704dcbd will be move..
git-svn-id: https://svn.code.sf.net/p/kolmck/code@121 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:51:51 +00:00
73c088ce13 formatted source code
git-svn-id: https://svn.code.sf.net/p/kolmck/code@120 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:46:57 +00:00
6bff0274cd no changes
git-svn-id: https://svn.code.sf.net/p/kolmck/code@119 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:45:03 +00:00
34eacb0677 clean
git-svn-id: https://svn.code.sf.net/p/kolmck/code@118 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:44:05 +00:00
b47333c67b clean
git-svn-id: https://svn.code.sf.net/p/kolmck/code@117 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:36:02 +00:00
5e290f946e clean
git-svn-id: https://svn.code.sf.net/p/kolmck/code@116 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:34:59 +00:00
96b1bebc36 clean
git-svn-id: https://svn.code.sf.net/p/kolmck/code@115 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:32:41 +00:00
9b9f4acc81 clean
git-svn-id: https://svn.code.sf.net/p/kolmck/code@114 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2014-12-03 08:31:15 +00:00
3dda00d3ed git-svn-id: https://svn.code.sf.net/p/kolmck/code@113 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07 2014-12-03 08:29:22 +00:00
ab1255291e 3.18
git-svn-id: https://svn.code.sf.net/p/kolmck/code@112 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2012-05-05 04:56:06 +00:00
eebab3adbf * lvoEditLabel + formCompact = crash
git-svn-id: https://svn.code.sf.net/p/kolmck/code@111 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2011-12-08 14:12:03 +00:00
8255c47a3d +XE2 x32
git-svn-id: https://svn.code.sf.net/p/kolmck/code@110 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2011-11-29 08:02:49 +00:00
65c5217ec4 treeview label edit fix
git-svn-id: https://svn.code.sf.net/p/kolmck/code@109 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2011-11-21 15:28:20 +00:00
0f9b11b138 3.15
git-svn-id: https://svn.code.sf.net/p/kolmck/code@108 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2011-11-02 16:34:07 +00:00
db2cb380c7 missed files
git-svn-id: https://svn.code.sf.net/p/kolmck/code@107 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
2011-08-15 04:26:01 +00:00
27c37729b6 git-svn-id: https://svn.code.sf.net/p/kolmck/code@106 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07 2011-08-09 05:08:58 +00:00