Commit Graph

9 Commits

Author SHA1 Message Date
Don Ho
9ad71107e9 [BUG_FIXED] Lock some operations for data integrality.
Use mutex of Yuni library to lock critical operation for the
compatibility of windows xp sp2.
For more info of Yuni library: https://github.com/libyuni
2015-06-12 22:10:37 +02:00
NN
6de87e3ecc Add _WIN32_WINNT=0x0501 to defines list. 2015-06-03 07:16:01 +03:00
Don Ho
bc94d07766 [UPDATE] Unprecompile headers (part 4 - final) 2015-06-03 00:55:28 +02:00
Andreas Jönsson
2a7ef2ecf0 Guard long-running operations with a mutex
The session snapshot feature runs in its own thread and access to
Scintilla etc is not thread-safe. As a *temporary* and *non-exhaustive*
fix we guard some long-running operations (undo, redo, replace, sort)
with a mutex to prevent data corruption.
2015-05-26 15:58:46 +02:00
Robert Dailey
5c69e59187 Enable multiprocessor build
Project now utilizes the /MP compiler switch to perform
parallelized builds. The number of parallel builds performed
is determined on a per-machine basis based on available
logical CPUs.

Long term this will provide the best performance output to
code maintainability ratio compared to just enabling
precompiled headers.

Using my personal machine (8 cores), I got the following
timings (Debug configuration):

* Normal build           : 89 seconds
* Multi-processor build  : 28 seconds
* PCH enabled            : 27 seconds

Note that the multi-processor build timings can be further
reduced with proper dependency management and removal of
existing precompiled header file (precompiledHeaders.h).

Specific Changes:

* Precompiled header support disabled (not compatible with
  /MP flag).
* precompiledHeader.cpp deleted.
* Solution File added.
* Minimal Rebuild (/Gm) disabled (ignored when /MP is on).

precompiledHeaders.h still exists because it contains a ton of
inclusions required by lots of files. A second and less trivial
cleanup will involve removing the precompiledHeaders.h file and
individually correcting and satisfying dependencies in each source
file in the code base.
2015-05-17 22:34:34 -05:00
Don Ho
c420316fe8 [RELEASE] Notepad++ 6.7.2 Release.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1321 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-27 22:21:49 +00:00
Don Ho
019f5eea7d [UPDATE] fix some uninitialized variables issues.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1298 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-29 17:57:38 +00:00
Don Ho
daf42f1d62 [BUG_FIXED] Fix document list panel has no selection while start up.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1280 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-25 19:44:57 +00:00
Don Ho
b50d2a9a29 [NEW] Add VS 2013 support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1278 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-14 22:29:23 +00:00