OSDN Git Service

winmerge-jp/winmerge-jp.git
6 years agoMerge pull request #44 from GreyMerlin/master
Takashi Sawanaka [Fri, 13 Oct 2017 14:52:49 +0000 (23:52 +0900)]
Merge pull request #44 from GreyMerlin/master

Level 4 Warning Cleanup, first attempt

6 years agoCleanup2: C4456 "Decl hides previous local decl"
GreyMerlin [Fri, 13 Oct 2017 03:12:19 +0000 (20:12 -0700)]
Cleanup2: C4456 "Decl hides previous local decl"

 * Remove a number of C4456 (level=4) warnings.  Declarations hiding
previous local declarations is generally sloppy/dangerous practice.
 * This commit now eliminates these warnings from WinMerge (but not
from the 'poco' sub-projects.

6 years agoCleanup2: C4456 "Decl hides previous local decl"
GreyMerlin [Mon, 9 Oct 2017 18:07:22 +0000 (11:07 -0700)]
Cleanup2: C4456 "Decl hides previous local decl"

 * Remove a number of C4456 (level=4) warnings.  Declarations hiding
previous local declarations is generally sloppy/dangerous practice.
 * and a few other minor cleanup changes

6 years agoCleanup2: use named item for empty DirItem.size
GreyMerlin [Tue, 10 Oct 2017 23:38:30 +0000 (16:38 -0700)]
Cleanup2: use named item for empty DirItem.size

 * Clarifies code and eliminates warning "C4245: conversion from
'int' to 'Poco::File::FileSize', signed/unsigned mismatch"

6 years agoCleanup2: Cleanup 'Output Style' declarations
GreyMerlin [Thu, 12 Oct 2017 01:49:07 +0000 (18:49 -0700)]
Cleanup2: Cleanup 'Output Style' declarations

 * Output Style values (selecting how to format patches that are
generated by the `Tools|Generate Patch` menu dialog) were defined in two
unrelated places (with slightly different names), but need to have the
identical values.
 * Furthermore, five of the eight values are not used by WinMerge.
 * And- the values may get stored into the Registry, so they cannot be
accidentally changed in the future.

 * These changes simplify this situation by basing both definitions on
the `diff.h` values, while leaving the two name groups both existing.
 * All declarations and references to the five unused values are
commented-out

6 years agoCleanup2: Uninitialized Local Variables
GreyMerlin [Thu, 12 Oct 2017 23:03:54 +0000 (16:03 -0700)]
Cleanup2: Uninitialized Local Variables

I've set warning level = 4 for the WinMerge project (but not for the
three 'poco' projects).  It generates LOTS of warnings; many categories
are not interesting and I certainly do not recommend that the Level=4
become an official setting.  But some warning categories do seem
important, either functionally or aesthetically.   So, I'll slowly be
working on the ones that I think are interesting...

 * L4 warning C4701: "potentially uninitialized local variable used".
This commit eliminates all occurrences from WinMerge and UnitTests
projects (but not from the 'poco' projects).

6 years agoCleanup2: More Build security checking options
GreyMerlin [Thu, 12 Oct 2017 21:40:15 +0000 (14:40 -0700)]
Cleanup2: More Build security checking options

 * Add SDLCheck=true to all compilations for additional "Security
Checking".  See
https://docs.microsoft.com/en-us/cpp/build/reference/sdl-enable-additional-security-checks
 * Make sure that <BufferSecurityCheck>=true.  It had been set to false
for the three poco projects.
 * Both VS2015 and VS2017 project files are changed.

6 years agoMerge pull request #43 from GreyMerlin/master
Takashi Sawanaka [Thu, 12 Oct 2017 22:41:10 +0000 (07:41 +0900)]
Merge pull request #43 from GreyMerlin/master

Some `size_t` should be `ptrdiff_t`,

6 years agoCleanup2: gtest/* files into Solution Explorer
GreyMerlin [Tue, 10 Oct 2017 21:13:39 +0000 (14:13 -0700)]
Cleanup2: gtest/* files into Solution Explorer

 * Add the ./External/gtest/*.h and *.cc files into the UnitTests
Solution Explorer, with appropriate sub-folders
 * The various *.cc files (except for gtest-all.cc) are marked with
  the 'ExcludedFromBuild' = True  because they are #included
and not compiled directly.
 * Changes are for both VS2015 and VS2017.

6 years agoCleanup: Fixup 1: some size_t should be ptrdiff_t
GreyMerlin [Sun, 8 Oct 2017 22:28:58 +0000 (15:28 -0700)]
Cleanup: Fixup 1: some size_t should be ptrdiff_t

 * Some recent type changes to size_t should have been to ptrdiff_t
(which is signed).
 * In particular, str_pos(), get_coding() and fget_coding() in
  cs2cs.cpp use the value -2 as a return flag.  This was being
improperly handled via size_t.
 * Finding this change led to areas with similar problems, in particular
* next and prev in DirrRangeInfo{} struct
* Open and Close in RxMatchRes{} struct.

6 years agoUpdate frhed revision to 43fbdca
Takashi Sawanaka [Mon, 9 Oct 2017 15:07:49 +0000 (00:07 +0900)]
Update frhed revision to 43fbdca

6 years agoWinMerge.*.sln: Add Test solution configuration
Takashi Sawanaka [Sun, 8 Oct 2017 11:25:37 +0000 (20:25 +0900)]
WinMerge.*.sln: Add Test solution configuration

6 years agoShellExtension: Bump revision to 1.17.0.0
Takashi Sawanaka [Sun, 8 Oct 2017 10:16:30 +0000 (19:16 +0900)]
ShellExtension: Bump revision to 1.17.0.0

6 years agoShellExtension: Make ShellExtension buildable without the source code of WinMerge
Takashi Sawanaka [Sun, 8 Oct 2017 09:20:53 +0000 (18:20 +0900)]
ShellExtension: Make ShellExtension buildable without the source code of WinMerge

6 years agoMerge7z: Add Merge7.vs2017.*
Takashi Sawanaka [Sun, 8 Oct 2017 07:49:52 +0000 (16:49 +0900)]
Merge7z: Add Merge7.vs2017.*

6 years agoMerge7z: Rename Merge7z.* to Merge.vs2015.*
Takashi Sawanaka [Sun, 8 Oct 2017 07:47:39 +0000 (16:47 +0900)]
Merge7z: Rename Merge7z.* to Merge.vs2015.*

6 years agoUse template version of secure functions
Takashi Sawanaka [Fri, 6 Oct 2017 15:05:14 +0000 (00:05 +0900)]
Use template version of secure functions

6 years agoMerge pull request #42 from GreyMerlin/master
Takashi Sawanaka [Fri, 6 Oct 2017 13:04:07 +0000 (22:04 +0900)]
Merge pull request #42 from GreyMerlin/master

Compile & Link without Level=3 warnings

6 years agoCleanup: Last minute tweaks...
GreyMerlin [Thu, 5 Oct 2017 20:57:07 +0000 (13:57 -0700)]
Cleanup: Last minute tweaks...

 * change a few more functions from long to size_t
 * add a few ASSERT statements where appropriate.  These make sure that
casting a size_t to an int or long will not truncate large values.
 * refactor a few places where the size_t changes could be better
 * fix one usage of _tsplitpath_s() that was wrong.

6 years agoCleanup: UnitTests compiles w/o warnings
GreyMerlin [Thu, 5 Oct 2017 07:16:44 +0000 (00:16 -0700)]
Cleanup: UnitTests compiles w/o warnings

 * Project properties changed to use /EHa (Async) for all configurations
 * Debug|X64 changed to use Edit-and-Continue
 * Changes made to both VS2017 and VS2015

6 years agoFix: Don't mark Tree Mode as checked if disabled
GreyMerlin [Wed, 4 Oct 2017 23:26:25 +0000 (16:26 -0700)]
Fix: Don't mark Tree Mode as checked if disabled

 * Symptom: in the View menu, the Tree Mode entry could be marked with
the check mark, even if the menu item has been disabled (by
un-selecting the Include Folders item on the File Open dialog).
This is confusing.

 * Fix: test m_bRecursive (i.e. Include Subfolders) to determine if
SetCheck(FALSE) or SetCheck(m_bTreeMode) is needed.

6 years agoCleanup: copy vs2017 *.filters changes to vs2015
GreyMerlin [Wed, 4 Oct 2017 23:09:00 +0000 (16:09 -0700)]
Cleanup: copy vs2017 *.filters changes to vs2015

 * a recent small change to Merge.vs2017.vcxproj.filters is copied to
the corresponding vs2015 file.

6 years agoBugfix: passing NULL to strlen() causes fault
GreyMerlin [Wed, 4 Oct 2017 23:05:06 +0000 (16:05 -0700)]
Bugfix: passing NULL to strlen() causes fault

 * Symptom: a _DEBUG build could fault when calling
strlen(switch_string) in procedure begin_output().

 * Analysis: switch_string (an external char*) might never be give a
value if there are no command-line parameters.

 * Quick Solution: declare local char* mySwitch initialized with either
a copy of switch_string pointer or a pointer to the empty literal ""

6 years agoCleanup: remove all level-3 warnings
GreyMerlin [Wed, 4 Oct 2017 22:47:33 +0000 (15:47 -0700)]
Cleanup: remove all level-3 warnings

 * Eliminate 4996 deprecation warnings by appropriate function name and
parameter changes...
StrDup() -> _tcsdup()
strdup() -> _strdup()
_tfopen() -> _tfopen_s()
_topen() -> tsopen_s()
read() -> _read()
close() -> _close()
_itot() -> _itot_s()
_tcsncpy() -> _tcsncpy_s()
_tcscpy() -> _tcscpy_s()
_i64tot() -> _i64tot_s()
_stscanf() -> _stscanf_s()
localtime() -> localtime_s()
_tcslwr() -> _tcslwr_s()

 * remove unnecessary #pragma warning(disable:4355)

 * All changes tested for both vs2015 and vs2017

6 years agoCleanup poco: Remove level-3 and linker warnings
GreyMerlin [Wed, 4 Oct 2017 22:18:00 +0000 (15:18 -0700)]
Cleanup poco: Remove level-3 and linker warnings

 Foundation ...
 * Delete all #pragma warning specifications
 * Repaired all instances of 4996 deprecation warnings...
std::sprintf() -> ::sprintf_s()
controlfp() -> ::controlfp_s()
localtime() -> ::localtime_s()
std::sscanf() -> ::sscanf_s()
 * Remove debug-only warning in UUID.cpp by replacing swap_ranges()
with explicit loop on swap()
 * Remove linking to ws2_32.lib; it provided no features but caused
warnings with iphlpapi.lib
 * Removed ByteOrder.cpp, String.cpp, SignalHandler.cpp from
Foundation compilation as they provided no accessible code.

XML ...
  * Remove XMLString.cpp from XML compilation; it provides no accessible
code.

Util ...
 * Change std::sprintf() to ::sprintf_s()

WinMerge...
 * All changes tested for both vs2015 and vs2017

6 years agoCleanup `size_t`: Fewer `#pragma warning` directives
GreyMerlin [Sun, 1 Oct 2017 23:09:39 +0000 (16:09 -0700)]
Cleanup `size_t`: Fewer `#pragma warning` directives

 * Remove various `#pragma warning` directives that relate to
signed/unsigned

4018 - signed/unsigned mismatch
4100 - unreferenced formal parameter
4189 - local variable initialized but unreferenced
4244 - argument conversion, loss of data
4355 - `this` used in base member list
4512 - assignment operator could not be generated
4520 - non-existing error !!
4711 - inlining notice (off by default)

 * use `size_t` as appropriate to eliminate warnings exposed above.
 * use `static_cast<int>` as appropriate

Additional, unrelated ...
 * `_AFX_NO_MFC_CONTROLS_IN_DIALOGS`was used twice for 'X64 Release'
configuration.

6 years agoCleanup: Eliminate _CRT_xxx deprecation (3)
GreyMerlin [Sun, 1 Oct 2017 18:29:41 +0000 (11:29 -0700)]
Cleanup: Eliminate _CRT_xxx deprecation (3)

 * lost in recent merge with Sdottaka's latest commit:
3f0ab7f9cf3e84ca81af1090d9d0c1dcb8efef9c
 *This again eliminates these symbols in the *.vcxproj files ...
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_WARNINGS
_CRT_SECURE_NO_DEPRECATE

6 years agoCleanup: Misc `size_t` related issues
GreyMerlin [Sun, 1 Oct 2017 17:27:01 +0000 (10:27 -0700)]
Cleanup: Misc `size_t` related issues

 * eliminate conversion warnings for `size_t` related expressions.
 * convert various `int` and `long` to `size_t`
 * add `static_cast<int>` or add `static_cast<long>` as appropriate
 * classical `(int)`-style casting is used in *.c files, of course

While this commit changes various parameters and data items to `size_t`,
the focus of these changes was to completely eliminate the various
warnings. This code is still fundamentally restricted to 2GB of text.

There is still much work to do to generalize the fundamentals of
WinMerge to be fully `size_t` capable (for the X64 platform).

6 years agoCleanup: Eliminate 'C4091' warnings
GreyMerlin [Sat, 30 Sep 2017 21:19:00 +0000 (14:19 -0700)]
Cleanup: Eliminate 'C4091' warnings

The "warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS'
when no variable is declared" is generated within the Microsoft
<shlobj.h> include file, but only for "toolsets" that support XP.  I
have no idea why this is true?!?!

 * A `#pragma warning` now is pushed and popped around all
`#include <shlobj.h>` statements to prevent this meaningless
and obnoxious warning message.

6 years agoCleanup CrystalEdit: `size_t` related issues
GreyMerlin [Sat, 30 Sep 2017 20:25:10 +0000 (13:25 -0700)]
Cleanup CrystalEdit: `size_t` related issues

 * eliminate conversion warnings for `size_t` related expressions.
 * convert various `int` and `long` to `size_t`
 * add `static_cast<int>` or add `static_cast<long>` as appropriate
 * classical `(int)` casting is used in ASSERT, for simple convenience.
 * add a few ASSERT() statements to assure that various `size_t` values
remain within the positive `int` value range.
 * Since `-1` is often used as a "size flag", these changes now
explicitly test for `x != -1` rather than `x >= 0`

While this commit changes various parameters and data items to `size_t`,
the focus of these changes was to completely eliminate the various
warnings. This code is still fundamentally restricted to 2GB of text.

There is still much work to do to generalize the fundamentals of
CrystalEdit to be fully `size_t` capable (for the X64 platform).  Two
items of important note:
  1. MFC's CPOINT structure is limited to `LONG` values.
   The `.x` member should become `size_t`.
2. MFC's CSTRING data is limited to `int` maximum length

6 years agoCleanup poco/XML: `size_t` related warnings
GreyMerlin [Sat, 30 Sep 2017 19:17:27 +0000 (12:17 -0700)]
Cleanup poco/XML: `size_t` related warnings

 * properly cast return type for `XML_GetCurrentByteIndex`

6 years agoCleanup: Eliminate _CRT_xxx deprecation (2)
GreyMerlin [Sat, 30 Sep 2017 19:00:00 +0000 (12:00 -0700)]
Cleanup: Eliminate _CRT_xxx deprecation (2)

 * lost in Merge with -jp-141

6 years agoCleanup poco/Foundation: 'size_t' related warnings
GreyMerlin [Fri, 29 Sep 2017 22:21:56 +0000 (15:21 -0700)]
Cleanup poco/Foundation: 'size_t' related warnings

 * eliminate conversion warnings for `size_t` related expressions.
 * convert a few `int` to `size_t`
 * SharedMemory files `_size` is now LONGLONG and mappings are correctly
created for files larger than 65kb.

6 years agoCleanup: Eliminate _CRT_xxx deprecation situations
GreyMerlin [Mon, 25 Sep 2017 05:01:38 +0000 (22:01 -0700)]
Cleanup: Eliminate _CRT_xxx deprecation situations

* The VC compiler began emitting Warnings for various deprecated CRT and
POSIX function names beginning with VS2005.  It was convenient to
ignore these warnings by defining the following preprocessor symbols in
the *.vcxproj files ...
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_WARNINGS
_CRT_SECURE_NO_DEPRECATE

 * This change eliminates those symbol definitions, and appropriately
upgrades the code to properly use the modern, security enhanced,
functions.
 * Most of the existing code properly uses TCHAR, however some areas
explicitly use 'wchar_t' and some areas still use the old 'char' type.
 * The areas that still use 'char' need further investigation and
possible repair as the rest of the program completely uses Unicode.

6 years agoCleanup: Remove useless AFX_INSERT_LOCATION
GreyMerlin [Sat, 23 Sep 2017 23:51:04 +0000 (16:51 -0700)]
Cleanup: Remove useless AFX_INSERT_LOCATION

 * Most *.h files do not have MFC's AFX_INSERT_LOCATION indicator
 * And its generally useless
 * Now its gone, with general cleanup at the end of *.h files

6 years agoCleanup: Eliminate silly *.inl files in CCrystalEdit
GreyMerlin [Sat, 23 Sep 2017 23:37:27 +0000 (16:37 -0700)]
Cleanup: Eliminate silly *.inl files in CCrystalEdit

 * Elimination #defines for INLINE that always ended up blank
 * Merged code from *.inl files into appropriate *.h files
 * Eliminate ancient CE_DLL_BUILD stuff
 * Appropriate changes to *.vcxproj and *.vcxproj.filters files to
account for removal of the five *.inl files, for both
VS2015 and VS2017

6 years agoUse '#pragma once' in more .h files
GreyMerlin [Sat, 23 Sep 2017 01:00:48 +0000 (18:00 -0700)]
Use '#pragma once' in more .h files

6 years agoUnicodeString.cpp: Fix crash when generating HTML report. 2.14.0+-jp-142
Takashi Sawanaka [Tue, 3 Oct 2017 15:06:13 +0000 (00:06 +0900)]
UnicodeString.cpp: Fix crash when generating HTML report.

6 years agoRemove git_clone.cmd
Takashi Sawanaka [Sun, 1 Oct 2017 13:22:10 +0000 (22:22 +0900)]
Remove git_clone.cmd

6 years agoFix the revisions of external sources
Takashi Sawanaka [Sun, 1 Oct 2017 13:21:32 +0000 (22:21 +0900)]
Fix the revisions of external sources

6 years agoBuildArc.cmd: No need to zip installer. (it was due to a restriction of geocities...
Takashi Sawanaka [Sun, 1 Oct 2017 11:32:48 +0000 (20:32 +0900)]
BuildArc.cmd: No need to zip installer. (it was due to a restriction of geocities.co.jp)

6 years agoDo not create installer in BuildBin.*.cmd
Takashi Sawanaka [Sun, 1 Oct 2017 11:09:01 +0000 (20:09 +0900)]
Do not create installer in BuildBin.*.cmd

6 years agoRemove BuildAll2.cmd, BuildBin.cmd, WinMerge.sln and Merge.vcxproj*
Takashi Sawanaka [Sun, 1 Oct 2017 10:55:06 +0000 (19:55 +0900)]
Remove BuildAll2.cmd, BuildBin.cmd, WinMerge.sln and Merge.vcxproj*
Use *.vs2015.* or *.vs2017.* instead of above

6 years agoRestore htmlhelp build to use saxon instead of xsltproc
Takashi Sawanaka [Sun, 1 Oct 2017 09:55:50 +0000 (18:55 +0900)]
Restore htmlhelp build to use saxon instead of xsltproc

6 years agoFix search marker not working if 'Match case' checkbox is unchecked
Takashi Sawanaka [Sat, 30 Sep 2017 07:53:19 +0000 (16:53 +0900)]
Fix search marker not working if 'Match case' checkbox is unchecked

6 years agoForgot to add ctextmarkerdlg.{h,cpp} Github#40
Takashi Sawanaka [Sat, 30 Sep 2017 07:46:31 +0000 (16:46 +0900)]
Forgot to add ctextmarkerdlg.{h,cpp} Github#40

6 years agoFix untranslated strings
Takashi Sawanaka [Sat, 30 Sep 2017 07:45:04 +0000 (16:45 +0900)]
Fix untranslated strings

6 years agotemporarily set revision to 2.15.2.0
Takashi Sawanaka [Fri, 29 Sep 2017 20:14:02 +0000 (05:14 +0900)]
temporarily set revision to 2.15.2.0

6 years agoRemove Japanese help
Takashi Sawanaka [Fri, 29 Sep 2017 15:17:05 +0000 (00:17 +0900)]
Remove Japanese help

6 years agoRestore Help menu
Takashi Sawanaka [Fri, 29 Sep 2017 15:07:54 +0000 (00:07 +0900)]
Restore Help menu

6 years agoRestore URL
Takashi Sawanaka [Fri, 29 Sep 2017 14:41:57 +0000 (23:41 +0900)]
Restore URL

6 years agoMerge
Takashi Sawanaka [Fri, 29 Sep 2017 13:22:37 +0000 (22:22 +0900)]
Merge

6 years agoAdded tag 2.14.0+-jp-141 for changeset cee70b23e6ae
Takashi Sawanaka [Thu, 28 Sep 2017 23:07:44 +0000 (08:07 +0900)]
Added tag 2.14.0+-jp-141 for changeset cee70b23e6ae

6 years agoMerged in jdunne525/winmerge-v2 (pull request #1)
Takashi Sawanaka [Mon, 25 Sep 2017 16:14:17 +0000 (16:14 +0000)]
Merged in jdunne525/winmerge-v2 (pull request #1)

More on Issue #73 Fixed the -dl -dm and -dr description parameters for conflict files (for both 2 way and 3 way conflict files).

Approved-by: Takashi Sawanaka <sdottaka@users.sourceforge.net>
6 years agoBump revision to 2.14.0+-jp-141 2.14.0+-jp-141
Takashi Sawanaka [Mon, 25 Sep 2017 16:08:58 +0000 (01:08 +0900)]
Bump revision to 2.14.0+-jp-141

6 years agoAdd some tests
Takashi Sawanaka [Mon, 25 Sep 2017 16:08:39 +0000 (01:08 +0900)]
Add some tests

6 years agoeditlib: Implement Marker feature(2)
Takashi Sawanaka [Mon, 25 Sep 2017 16:07:26 +0000 (01:07 +0900)]
editlib: Implement Marker feature(2)

6 years agoMore on Issue #73 Fixed the -dl -dm and -dr description parameters for conflict files...
Joseph Dunne [Mon, 25 Sep 2017 15:00:12 +0000 (10:00 -0500)]
More on Issue #73 Fixed the -dl -dm and -dr description parameters for conflict files (for both 2 way and 3 way conflict files).

6 years agoFolderCompare: Fix crash when recomparing selected items
Takashi Sawanaka [Sun, 24 Sep 2017 15:54:24 +0000 (00:54 +0900)]
FolderCompare: Fix crash when recomparing selected items

6 years agoFix issue #77: Drag'n'Drop files with result 'identical'
Takashi Sawanaka [Sun, 24 Sep 2017 15:50:56 +0000 (00:50 +0900)]
Fix issue #77: Drag'n'Drop files with result 'identical'

6 years agoFix issue #73: Command line parameter /dr doesn't work with conflict file
Takashi Sawanaka [Wed, 20 Sep 2017 21:52:39 +0000 (06:52 +0900)]
Fix issue #73: Command line parameter /dr doesn't work with conflict file

6 years agoDisplayXMLFiles plugin: Upgrade project file to VS2017 and fix #71
Takashi Sawanaka [Wed, 20 Sep 2017 21:48:47 +0000 (06:48 +0900)]
DisplayXMLFiles plugin: Upgrade project file to VS2017 and fix #71

6 years agocrystaledit/Sample: Add x64 platform configuration
Takashi Sawanaka [Sun, 10 Sep 2017 11:10:37 +0000 (20:10 +0900)]
crystaledit/Sample: Add x64 platform configuration

6 years agoMerge pull request #38 from GreyMerlin/master
Takashi Sawanaka [Tue, 5 Sep 2017 13:59:22 +0000 (22:59 +0900)]
Merge pull request #38 from GreyMerlin/master

ShellExtension: migrate to VS2017, etc.

6 years agoShellExtension VS2017(5) - Remove old files
GreyMerlin [Mon, 4 Sep 2017 22:12:19 +0000 (15:12 -0700)]
ShellExtension VS2017(5) - Remove old files

 * Remove the old .sln, .vcxproj, and .filters files that were used as
the base for original *.2015.* files, in commit (1) of this group.

6 years agoShellExtension VS2017(4) - Eliminate Warnings
GreyMerlin [Mon, 4 Sep 2017 06:34:54 +0000 (23:34 -0700)]
ShellExtension VS2017(4) - Eliminate Warnings

 * Eliminate various compilation and linking warnings
 * Debug builds use Incremental linking
 * Debug builds don't use 'Safe Exception Handlers'
 * DLL exports no longer have assigned numbers
 * _vsntprintf() changed to _vsntprintf_s()
 * Make sure WINVER set to 0x501 (for XP compilation)
 * .rc file locally defines _USING_V110_SDK71_ to prevent duplicate
declaration warnings.  Note: this _USING_V110_SDK71_
definition is implicitly provided for all .cpp compilations by the
use of an Win-XP compatible Toolset, such as v141_xp)
 * All .h files now use #pragma once
 * Eliminate deprecation errors for GetVersionEx() by simulating Version
Helper code that works on all versions, Win2000 and beyond
(including WinXP)

6 years agoShellExtension VS2017(3) - Updates
GreyMerlin [Sun, 3 Sep 2017 05:44:27 +0000 (22:44 -0700)]
ShellExtension VS2017(3) - Updates

 * updates to .vs2017.sln and .vs2017.vcxproj files
 * Debug compilations also use v141_xp toolset.
 * also to .vs2015.vcxproj file

6 years agoShellExtension VS2017(2) - Updates
GreyMerlin [Sun, 13 Aug 2017 21:57:22 +0000 (14:57 -0700)]
ShellExtension VS2017(2) - Updates

* Eliminate Debug <CustomBuildStep> for registering the shell
extension; it is leftover from a long-ago VS and no longer
functions correctly.
 * Also for VS2015

6 years agoShellExtension VS2017(1) - Initial copy of files
GreyMerlin [Sun, 13 Aug 2017 21:12:36 +0000 (14:12 -0700)]
ShellExtension VS2017(1) - Initial copy of files

 * Also for VS2015

6 years agoAdd version info test files
Takashi Sawanaka [Mon, 4 Sep 2017 12:44:53 +0000 (21:44 +0900)]
Add version info test files

6 years agoMerge
Takashi Sawanaka [Mon, 4 Sep 2017 12:37:41 +0000 (21:37 +0900)]
Merge

6 years agoMerge pull request #37 from GreyMerlin/master
Takashi Sawanaka [Mon, 4 Sep 2017 12:30:36 +0000 (21:30 +0900)]
Merge pull request #37 from GreyMerlin/master

Tweak vs2017.vcxproj.filters

6 years agoTweak vs2017.vcxproj.filters
GreyMerlin [Mon, 4 Sep 2017 00:31:17 +0000 (17:31 -0700)]
Tweak vs2017.vcxproj.filters

 * various Filters (i.e. compilation instructions) were not completely
copied from vs2015 into vs2017 for various recent changes.

6 years agoBuildBin*.cmd: Use vswhere.exe
Takashi Sawanaka [Sun, 3 Sep 2017 11:46:19 +0000 (20:46 +0900)]
BuildBin*.cmd: Use vswhere.exe

6 years agoUploadToGithub.cmd: Add virualtotal.com's scan result URL to release description
Takashi Sawanaka [Sat, 2 Sep 2017 06:37:18 +0000 (15:37 +0900)]
UploadToGithub.cmd: Add virualtotal.com's scan result URL to release description

6 years agoBump revision to 2.14.0+-jp-140
Takashi Sawanaka [Sat, 2 Sep 2017 03:25:31 +0000 (12:25 +0900)]
Bump revision to 2.14.0+-jp-140

6 years agoeditlib: Fix syntax and diff hilighting not work properly in wrapped lines
Takashi Sawanaka [Sat, 2 Sep 2017 03:22:19 +0000 (12:22 +0900)]
editlib: Fix syntax and diff hilighting not work properly in wrapped lines

6 years agoeditlib: marking text with double click is a litle bit annoying?
Takashi Sawanaka [Sat, 2 Sep 2017 03:20:18 +0000 (12:20 +0900)]
editlib: marking text with double click is a litle bit annoying?

6 years agoMerge.cpp: avoid an assertion failure
Takashi Sawanaka [Sat, 2 Sep 2017 02:44:54 +0000 (11:44 +0900)]
Merge.cpp: avoid an assertion failure

6 years agoFolderCompare: Fix sorting of version, eol and encoding columns not working properly
Takashi Sawanaka [Sat, 2 Sep 2017 02:42:06 +0000 (11:42 +0900)]
FolderCompare: Fix sorting of version, eol and encoding columns not working properly

6 years agoBump revision to 2.14.0+-jp-139 2.14.0+-jp-140
Takashi Sawanaka [Wed, 30 Aug 2017 15:23:16 +0000 (00:23 +0900)]
Bump revision to 2.14.0+-jp-139

6 years agoInstaller: add ignoreversion and comparetimestamp flags to dlls in [Files] section
Takashi Sawanaka [Wed, 30 Aug 2017 15:22:57 +0000 (00:22 +0900)]
Installer: add ignoreversion and comparetimestamp flags to dlls in [Files] section

6 years agoPropMarkerColors.*: Forgot to add the files. github#35 2.14.0+-jp-139
Takashi Sawanaka [Tue, 29 Aug 2017 13:09:56 +0000 (22:09 +0900)]
PropMarkerColors.*: Forgot to add the files. github#35

6 years agoMerge pull request #36 from GreyMerlin/fix/jp-138
Takashi Sawanaka [Tue, 29 Aug 2017 13:08:37 +0000 (22:08 +0900)]
Merge pull request #36 from GreyMerlin/fix/jp-138

Missing line in .filters file

6 years agoMissing line in .filters file
GreyMerlin [Tue, 29 Aug 2017 00:31:01 +0000 (17:31 -0700)]
Missing line in .filters file

 * There should be an additional </ClInclude> in the file
Merge.vs2017.vcxproj.filters at line (1397) to properly terminate the
entry for MergeStatusBar.h, prior to the introduction on
PropMarkerColors.h

6 years agoFix broken Japanese.po
Takashi Sawanaka [Mon, 28 Aug 2017 17:57:57 +0000 (02:57 +0900)]
Fix broken Japanese.po

6 years agoBump revision to 2.14.0+-jp-138
Takashi Sawanaka [Mon, 28 Aug 2017 16:25:15 +0000 (01:25 +0900)]
Bump revision to 2.14.0+-jp-138

6 years agoeditlib: Implement Marker feature (WIP) 2.14.0+-jp-138
Takashi Sawanaka [Mon, 28 Aug 2017 16:18:42 +0000 (01:18 +0900)]
editlib: Implement Marker feature (WIP)

6 years agoccrystaltextiview.cpp: remove duplicate code
Takashi Sawanaka [Sun, 20 Aug 2017 11:17:41 +0000 (20:17 +0900)]
ccrystaltextiview.cpp: remove duplicate code

6 years agocrystaledit/Sample/StdAfx.cpp: Enable visual style
Takashi Sawanaka [Fri, 18 Aug 2017 12:40:36 +0000 (21:40 +0900)]
crystaledit/Sample/StdAfx.cpp: Enable visual style

6 years agocrystaledit/Sample/SampleDoc.cpp: Fix memory leak
Takashi Sawanaka [Fri, 18 Aug 2017 12:07:25 +0000 (21:07 +0900)]
crystaledit/Sample/SampleDoc.cpp: Fix memory leak

6 years agocrystaledit/Sample: Upgrade SampleStatic project from vs9 to vs2017
Takashi Sawanaka [Fri, 18 Aug 2017 12:06:14 +0000 (21:06 +0900)]
crystaledit/Sample: Upgrade SampleStatic project from vs9 to vs2017

6 years agoUse a vector instead of an array.
Takashi Sawanaka [Thu, 17 Aug 2017 05:43:54 +0000 (14:43 +0900)]
Use a vector instead of an array.

6 years agoHexMergeDoc.cpp: Use customized colors for Hex Editor Window.
Takashi Sawanaka [Thu, 17 Aug 2017 05:34:44 +0000 (14:34 +0900)]
HexMergeDoc.cpp: Use customized colors for Hex Editor Window.

6 years agoMerge pull request #33 from GreyMerlin/fix-Boost
Takashi Sawanaka [Wed, 16 Aug 2017 08:34:03 +0000 (17:34 +0900)]
Merge pull request #33 from GreyMerlin/fix-Boost

Update Boost's checking for new VS2017 Update 3

6 years agoUpdate Boost's checking for new VS2017 Update 3 (2)
GreyMerlin [Wed, 16 Aug 2017 02:11:51 +0000 (19:11 -0700)]
Update Boost's checking for new VS2017 Update 3 (2)

 * tweak comment

6 years agoUpdate Boost's checking for new VS2017 Update 3
GreyMerlin [Wed, 16 Aug 2017 01:47:42 +0000 (18:47 -0700)]
Update Boost's checking for new VS2017 Update 3

* Update 3 (dated 8/14/2017) changes _MSC_VER to 1911.  See
https://blogs.msdn.microsoft.com/chuckw/2017/08/14/visual-studio-2017-15-3-update/

* This cause lots of compilation messages (neither Errors nor Warnings)
with the text "Unknown compiler version - please run the configure
tests and report the results".  I have *not* reported this new issue to
Boost.org

* This tiny patch will prevent those messages until a newer version of
Boost (1.65.0 - now in beta) becomes available.

6 years agoMerge pull request #32 from GreyMerlin/master
Takashi Sawanaka [Sun, 30 Jul 2017 00:50:51 +0000 (09:50 +0900)]
Merge pull request #32 from GreyMerlin/master

Setup for VS2017 Compilation

6 years agoVS2017 - update .sln, .vcxproj and .cmd files
GreyMerlin [Wed, 26 Jul 2017 16:36:28 +0000 (09:36 -0700)]
VS2017 - update .sln, .vcxproj and .cmd files

* update to *.vs2017.vcxproj names
* update .sln header lines for VS2017
* update .vcxproj ToolsVersion in header
* update PlatformToolset to v141_xp (was v140)
* add new *.vs2017.cmd files to VS solution explorer
* update BuildBin.vs2017.cmd to use VS141COMNTOOLS
* Update VisualStudioVersion to 15.0.26430.16

6 years agoVS2017 - Copy all *.vs2015 files as *.vs2017
GreyMerlin [Tue, 25 Jul 2017 22:24:39 +0000 (15:24 -0700)]
VS2017 - Copy all *.vs2015 files as *.vs2017