Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnWizards IDE Wizards
» Startup speed improvements + AV bugfix
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: Startup speed improvements + AV bugfix
AHUser
新警察
UID 1354
Digest Posts 0
Credits 11
Posts 8
点点分 11
Reading Access 10
Registered 2005-11-25
Status Offline
#1
Post at 2006-2-11 19:19
Profile
|
Blog
|
P.M.
Startup speed improvements + AV bugfix
If you disable a package in the IDE that also unloads a runtime package, the interior procedures of TCnFormFloatPropBar.UpdateControls (CnFormEnhancements.pas) are called with AObj = nil what causes the code to raise access violations.
The bugfix in the attachment fixes this by adding an "if AObj = nil then Exit" to these procedures.
When I start Delphi and the splash screen has disappeared, it takes a lot of time until the IDE is ready for user interaction. Without CnWizards the IDE reacts immediatelly after the splash screen has disappeared. The problem is in TUnitNameList.UpdateCaseFromModules (CnInputSymbolList.pas). There all units in the list are searched by linear search. I have changed this to BinSearch and now it's a lot faster.
Attachment
:
IdeEnhancements.zip
(2006-2-11 19:19, 1.7 K)
Download count 1548
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2006-2-12 19:25
Profile
|
Site
|
Blog
|
P.M.
Thanks!
Your patch has applied, you can download the 189 version for testing.
For the first problem, I modified CnOtaGetCurrDesignedForm funciton in CnWizUtils unit instead.
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 01:46
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008523 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats