OSDN Git Service

winmerge-jp/winmerge-jp.git
6 years agoAllow to set DIFFCODE::DIFF flag for unique file
Takashi Sawanaka [Mon, 8 Jan 2018 15:57:41 +0000 (00:57 +0900)]
Allow to set DIFFCODE::DIFF flag for unique file

6 years agoIntroduce the flag DIFFCODE::THREEWAY to indicate whether or not to compare three...
Takashi Sawanaka [Mon, 8 Jan 2018 15:21:10 +0000 (00:21 +0900)]
Introduce the flag DIFFCODE::THREEWAY to indicate whether or not to compare three items

6 years agoRemove unused declarations
Takashi Sawanaka [Mon, 8 Jan 2018 13:03:14 +0000 (22:03 +0900)]
Remove unused declarations

6 years agoFolderCompare: Display whether 2 files in diff row are idential when doing 3-way...
Takashi Sawanaka [Wed, 3 Jan 2018 16:39:55 +0000 (01:39 +0900)]
FolderCompare: Display whether 2 files in diff row are idential when doing 3-way comparison. related Bitbucket #78

6 years agoFix crash when exiting UnitTest x64 version
Takashi Sawanaka [Wed, 3 Jan 2018 15:20:53 +0000 (00:20 +0900)]
Fix crash when exiting UnitTest x64 version

6 years agoMerge pull request #52 from GreyMerlin/master
Takashi Sawanaka [Sat, 30 Dec 2017 21:21:55 +0000 (06:21 +0900)]
Merge pull request #52 from GreyMerlin/master

Eliminate worst of Level=4 compilation warnings

6 years agoRemove warning C4706: assignment in conditional
GreyMerlin [Thu, 28 Dec 2017 18:55:05 +0000 (10:55 -0800)]
Remove warning C4706: assignment in conditional

 * Remove all instances of the level=4 warning `warning C4706:
assignment within conditional expression`

6 years agoRemove warning C4840: non-portable use of class ...
GreyMerlin [Thu, 28 Dec 2017 01:53:48 +0000 (17:53 -0800)]
Remove warning C4840: non-portable use of class ...

 * Sample of the 5-line warning message ...

warning C4840: non-portable use of class
'ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t>>>'
as an argument to a variadic function
note:
'ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t>>>::CStringT'
is non-trivial
note: see declaration of
'ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t>>>::CStringT'
(compiling source file MergeEditView.cpp)
note: the constructor and destructor will not be called; a bitwise copy
of the class will be passed as the argument
note: see declaration of
'ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t>>>'
(compiling source file MergeEditView.cpp)

 * These are warnings that only occur with Warning Level == 4.

6 years agoRemove warning C4238: nonstandard extension used
GreyMerlin [Thu, 28 Dec 2017 01:35:28 +0000 (17:35 -0800)]
Remove warning C4238: nonstandard extension used

 * Eliminate warnings such as ...
 `warning C4238: nonstandard extension used: class rvalue used as
lvalue`

 * These are warnings that only occur with Warning Level == 4.

6 years agoRemove warning C4239 (2)
GreyMerlin [Wed, 27 Dec 2017 23:28:05 +0000 (15:28 -0800)]
Remove warning C4239 (2)

 * Eliminate warnings such as ...
`warning C4239: nonstandard extension used: 'initializing': conversion
from 'LangFileInfo' to 'LangFileInfo &'`
`note: A non-const reference may only be bound to an lvalue`
 * And ...
`warning C4239: nonstandard extension used: 'argument': conversion from
'DirItemIterator' to 'DirItemIterator &'`
`note: A non-const reference may only be bound to an lvalue`

 * These are warnings that only occur with Warning Level == 4.

6 years agoRemove warning C4239: nonstandard extension used
GreyMerlin [Wed, 27 Dec 2017 22:31:07 +0000 (14:31 -0800)]
Remove warning C4239: nonstandard extension used

 * Eliminate warnings such as ...
`warning C4239: nonstandard extension used: 'argument': conversion
from 'DirItemIterator' to 'DirItemIterator &'`
`note: A non-const reference may only be bound to an lvalue`
 * These are warnings that only occur with Warning Level == 4.

 * This commit only deals with issues with mixing CString and String
data.
 * Discard the PopString class, a self-admitted hack from
stackoverflow.com, that was simply confusing and not all that "pretty"
anyway.

6 years agoMerge pull request #51 from GreyMerlin/master
Takashi Sawanaka [Wed, 27 Dec 2017 20:18:05 +0000 (05:18 +0900)]
Merge pull request #51 from GreyMerlin/master

UnitTests can now compile with C++17

6 years agoUnitTests now finds Plugins correctly
GreyMerlin [Wed, 27 Dec 2017 01:09:56 +0000 (17:09 -0800)]
UnitTests now finds Plugins correctly

 * The x64 configurations of UnitTests were failing to load the
DisplayXMLFiles.dll library, because the test case was looking in the
old "c:/program files (x86)/winmerge" directory.  This directory only
has a 32-bit implementation of the dll file.

 * This patch allows the test case to now use the "c:/Program
Files/WinMerge" directory.

 * All four configurations x64/win32 and Release/Debug now run
correctly.

6 years agoUnitTests can now compile with C++17
GreyMerlin [Wed, 27 Dec 2017 01:03:42 +0000 (17:03 -0800)]
UnitTests can now compile with C++17

* The GoogleTest  framework can disable use of the `std::tr1`
class entirely!  This is disabled by specifying
`GTEST_HAS_TR1_TUPLE=0;` in the Preprocessor Definition compilation
property.  The UnitTests project does not use TR1 tuples.

 * The deprecation warnings are to note features scheduled to be
deimplemented in some future C++ standard (possibly as early as
C++20).  They remain valid features in C++17.  These warnings
(and the resulting errors) can be removed by specifying
`_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS;` in the Preprocessor
Definition compilation property.  This allows us to watch and study how
other projects react to the necessary changes (mostly related to
`std::function_name::_Unchecked_Iterators::`).

 * The `GTEST_HAS_TR1_TUPLE=0;` Preprocessor definition is now included
in VS2015 as well, so that both VS2015 and VS2017 are both building
similar software.

6 years agoMerge pull request #50 from GreyMerlin/master
Takashi Sawanaka [Tue, 26 Dec 2017 20:29:39 +0000 (05:29 +0900)]
Merge pull request #50 from GreyMerlin/master

Old-style procedures and C++17 for more projects

6 years agoCompile Merge subprojects w/ C++17 language rules.
GreyMerlin [Sun, 24 Dec 2017 22:04:15 +0000 (14:04 -0800)]
Compile Merge subprojects w/ C++17 language rules.

 * Force the **ShellExtensions**, and the various **Poco** sub-projects
to be compiled with C++17 language semantics.
 * Use `unique_ptr<>` to replace `auto_ptr<>`
 * Compile **Merge** with C++17 when using the **Test* configuration.

 * (unrelated) `coretools.h` is not used by **ShellExtensions**

6 years agoEliminate old-style procedure declarators
GreyMerlin [Sun, 24 Dec 2017 21:41:54 +0000 (13:41 -0800)]
Eliminate old-style procedure declarators

 * Old-style procedure declarators appeared as ...
`myFunc (a, b, c)`
`   int a, c; char * b;`
`{}`
 * This style is very-very old C language.
 * In all modern C and C++, this procedure would be declared as ...
`myFunc (int a, char * b, int c);`

 * This eliminates level-4 warning C4131: "uses old-style declarator"
 * Eliminate the awkward PARAMS() macro, which was used to simulate the
new style on old compilers that lacked the new style.

 * These patches only effect the DiffEngine

6 years agoMerge pull request #49 from GreyMerlin/master
Takashi Sawanaka [Wed, 20 Dec 2017 12:19:56 +0000 (21:19 +0900)]
Merge pull request #49 from GreyMerlin/master

Compile Merge with C++17 language rules.

6 years agoCompile Merge with C++17 language rules.
GreyMerlin [Tue, 19 Dec 2017 22:14:45 +0000 (14:14 -0800)]
Compile Merge with C++17 language rules.

 * Force the **Merge** project to be compiled with C++17 language
semantics.
 * Ignore future (C++20?) deprecation warnings.
 * Use `unique_ptr<>` to replace `auto_ptr<>`

 * Force the **UnitTests** project to be compiled with the C++14
language semantics.  To move this project forward to C++17 will require
a Google Tests framework that is compatible with C++17.

6 years agoccrystaltextmakers.cpp: Fix crash when searching or replacing text after reloading... 2.14.0+-jp-143
Takashi Sawanaka [Mon, 11 Dec 2017 22:24:02 +0000 (07:24 +0900)]
ccrystaltextmakers.cpp: Fix crash when searching or replacing text after reloading files

6 years agoMerge pull request #47 from GreyMerlin/master
Takashi Sawanaka [Fri, 8 Dec 2017 22:03:22 +0000 (07:03 +0900)]
Merge pull request #47 from GreyMerlin/master

update to newest VS2017 Release 15.5

6 years agoVS2017 15.5.0 updated version in .sln file
GreyMerlin [Thu, 7 Dec 2017 20:50:00 +0000 (12:50 -0800)]
VS2017 15.5.0 updated version in .sln file

6 years agoFix Boost's checking for new VS2017 Version 15.5.0
GreyMerlin [Thu, 7 Dec 2017 01:51:29 +0000 (17:51 -0800)]
Fix Boost's checking for new VS2017 Version 15.5.0

* Update 5 (dated Oct 2017) changes _MSC_VER to 1912.  See
https://blogs.msdn.microsoft.com/vcblog/2017/11/15/msvc-conformance-improvements-in-visual-studio-2017-version-15-5/

* 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 (they will eventually catchup without my help)

* This tiny patch will prevent those compilation messages until a newer
version of Boost becomes available and WinMerge chooses to adopt it.

* Since this has been a hard message to find twice now (previously with
VS2017 15.3.0), I have added a new filter Boost to the Solution
Explorer, containing a very small selection of boost configuration
files.  Boost itself is too large to include either completely, or even
the reasonably small subset of boost files that WinMerge uses.

* Mimic changes also for VS2015 to add the Boost filter to the Solution
Explorer, even though this problem will never occur with VS2015

6 years agoVS2017 - 15.5.0 kludge for GTest UnitTests
GreyMerlin [Thu, 7 Dec 2017 01:25:38 +0000 (17:25 -0800)]
VS2017 - 15.5.0 kludge for GTest UnitTests

 * Using the latest (and just released) version 15.5.0 of VS2017
introduces the following error into the UnitTests project ...

"error C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1
namespace and TR1-only machinery are deprecated and will be REMOVED.
You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to
acknowledge that you have received this warning. "

* MSDN claims that this is a C++17 language standards issue, but I was
not able to solve this problem by specifying the use of the C++14
standard language (the Properties control for this is likewise a new
feature of version 15.5.0) See...
https://docs.microsoft.com/en-us/cpp/cpp-conformance-improvements-2017

* The only simple, short-term solution that I could come up with was to
simply follow the suggestion of defining the _SILENCE_TR1_xxx token as
given above.

* Even though this problem has been discussed in the GoogleTest github
forum since at least 6 June, the underlying problem remains un-resolved
at this hour ...
See https://github.com/google/googletest/issues/1111
See https://github.com/google/googletest/issues/1320
See https://github.com/google/googletest/pull/1311

* I will assume that Google's resolution of this problem will require
WinMerge to adopt the newest GoogleTest framework (which is likely a
good idea anyway).  I will keep an eye on their progress and resolution
and advise accordingly.  In the meantime, this kludge allows WinMerge's
UnitTests project to compile and execute correctly.

6 years agoctextmarkerdlg.cpp: Fix an issue in which the list view item is not selected in the...
Takashi Sawanaka [Mon, 4 Dec 2017 15:13:07 +0000 (00:13 +0900)]
ctextmarkerdlg.cpp: Fix an issue in which the list view item is not selected in the Marker dialog box after activating the search marker.

6 years agoPropGeneral.h: Fix mixed eol-style
Takashi Sawanaka [Wed, 29 Nov 2017 22:10:56 +0000 (07:10 +0900)]
PropGeneral.h: Fix mixed eol-style

6 years agoMessageBoxDialog.*, PropRegistry.*: Add tooltips
Takashi Sawanaka [Wed, 29 Nov 2017 22:08:31 +0000 (07:08 +0900)]
MessageBoxDialog.*, PropRegistry.*: Add tooltips

6 years agocrystaltextview.cpp: Remove a warning
Takashi Sawanaka [Sun, 26 Nov 2017 16:17:15 +0000 (01:17 +0900)]
crystaltextview.cpp: Remove a warning

6 years agoUpdate *.po files
Takashi Sawanaka [Sun, 26 Nov 2017 16:16:18 +0000 (01:16 +0900)]
Update *.po files

6 years agoAdd VHDL syntax highlighter
H.Saido [Sun, 26 Nov 2017 10:47:17 +0000 (19:47 +0900)]
Add VHDL syntax highlighter

6 years agoeditlib: Fix syntax and diff hilighting not work properly in wrapped lines(2)
Takashi Sawanaka [Sun, 19 Nov 2017 22:29:46 +0000 (07:29 +0900)]
editlib: Fix syntax and diff hilighting not work properly in wrapped lines(2)

6 years agoManual: Update 'Comparing and merging text files' section
Takashi Sawanaka [Tue, 14 Nov 2017 15:31:32 +0000 (00:31 +0900)]
Manual: Update 'Comparing and merging text files' section

6 years agoManual: Update 'Comparing and merging folders' section
Takashi Sawanaka [Tue, 14 Nov 2017 15:30:51 +0000 (00:30 +0900)]
Manual: Update 'Comparing and merging folders' section

6 years agoManual: Update Plugins section
Takashi Sawanaka [Mon, 13 Nov 2017 22:06:35 +0000 (07:06 +0900)]
Manual: Update Plugins section

6 years agoDirCmpReportDlg.cpp: Use OptionsMgr
Takashi Sawanaka [Wed, 8 Nov 2017 12:15:28 +0000 (21:15 +0900)]
DirCmpReportDlg.cpp: Use OptionsMgr

6 years agoAdd ReportTest.cmd
Takashi Sawanaka [Mon, 6 Nov 2017 22:15:17 +0000 (07:15 +0900)]
Add ReportTest.cmd

6 years agoccrystaltextview.cpp: Avoid crash when generating a report if editor view width is 0
Takashi Sawanaka [Mon, 6 Nov 2017 22:12:42 +0000 (07:12 +0900)]
ccrystaltextview.cpp: Avoid crash when generating a report if editor view width is 0

6 years ago- Make /noprefs, /ignorews, /ignoreblanklines, /ignorecase and /ignoreeol command...
Takashi Sawanaka [Mon, 6 Nov 2017 14:38:56 +0000 (23:38 +0900)]
- Make /noprefs, /ignorews, /ignoreblanklines, /ignorecase and /ignoreeol command line options re-enabled
- Add /config key=value command line option

6 years agoMerge.cpp: Exit WinMerge after folder comparison or report creation is complete if...
Takashi Sawanaka [Mon, 6 Nov 2017 14:13:01 +0000 (23:13 +0900)]
Merge.cpp: Exit WinMerge after folder comparison or report creation is complete if enabled non-interactive mode

6 years agoPropGeneral.*: Load language combobox list asynchronously in order to avoid blocking...
Takashi Sawanaka [Mon, 30 Oct 2017 14:27:56 +0000 (23:27 +0900)]
PropGeneral.*: Load language combobox list asynchronously in order to avoid blocking the UI(2)
Avoid possible dead lock.

6 years agoeditor addin.sct: ExecFilterCommand: Fix variable not found error when clicking the...
Takashi Sawanaka [Sun, 29 Oct 2017 15:31:34 +0000 (00:31 +0900)]
editor addin.sct: ExecFilterCommand: Fix variable not found error when clicking the Cancel button

6 years agoManual: Updaate Locales section
Takashi Sawanaka [Sun, 29 Oct 2017 14:18:14 +0000 (23:18 +0900)]
Manual: Updaate Locales section

6 years agoManual: The option 'Add Shell menu to context menu' no longer exists
Takashi Sawanaka [Sun, 29 Oct 2017 13:57:48 +0000 (22:57 +0900)]
Manual: The option 'Add Shell menu to context menu' no longer exists

6 years agoManual: Update Install section (WIP)
Takashi Sawanaka [Sun, 29 Oct 2017 13:40:29 +0000 (22:40 +0900)]
Manual: Update Install section (WIP)

6 years agoManual: Add Compare image files section (WIP)
Takashi Sawanaka [Sun, 29 Oct 2017 12:46:28 +0000 (21:46 +0900)]
Manual: Add Compare image files section (WIP)

6 years agoManual: Update Quick start section
Takashi Sawanaka [Sun, 29 Oct 2017 12:32:46 +0000 (21:32 +0900)]
Manual: Update Quick start section

6 years agoDirView.cpp: Remove trailing garbage from a dragged text
Takashi Sawanaka [Sun, 29 Oct 2017 12:07:08 +0000 (21:07 +0900)]
DirView.cpp: Remove trailing garbage from a dragged text

6 years agoAdded tag 2.14.0+-jp-142 for changeset f0ac4689d88f
Takashi Sawanaka [Sat, 28 Oct 2017 16:10:09 +0000 (01:10 +0900)]
Added tag 2.14.0+-jp-142 for changeset f0ac4689d88f

6 years agoManual: Update configuration section (WIP)
Takashi Sawanaka [Sat, 28 Oct 2017 15:48:39 +0000 (00:48 +0900)]
Manual: Update configuration section (WIP)

6 years agoPropGeneral.*: Load language combobox list asynchronously in order to avoid blocking...
Takashi Sawanaka [Sat, 28 Oct 2017 15:33:33 +0000 (00:33 +0900)]
PropGeneral.*: Load language combobox list asynchronously in order to avoid blocking the UI

6 years agoManual: Update FAQ section
Takashi Sawanaka [Thu, 26 Oct 2017 14:17:05 +0000 (23:17 +0900)]
Manual: Update FAQ section

6 years agoManual: Update shortcut keys section
Takashi Sawanaka [Wed, 25 Oct 2017 22:49:13 +0000 (07:49 +0900)]
Manual: Update shortcut keys section

6 years agoManual/screenshots/*.png: Update screenshots(3)
Takashi Sawanaka [Wed, 25 Oct 2017 22:13:43 +0000 (07:13 +0900)]
Manual/screenshots/*.png: Update screenshots(3)

6 years agoManual/screenshots/*.png: Update screenshots(2)
Takashi Sawanaka [Tue, 24 Oct 2017 22:41:26 +0000 (07:41 +0900)]
Manual/screenshots/*.png: Update screenshots(2)

6 years agoFine-tune the widths of panels in status bar
Takashi Sawanaka [Mon, 23 Oct 2017 21:26:43 +0000 (06:26 +0900)]
Fine-tune the widths of panels in status bar

6 years agoManual/screenshots/*.png: Update screenshots(1)
Takashi Sawanaka [Sun, 22 Oct 2017 16:37:02 +0000 (01:37 +0900)]
Manual/screenshots/*.png: Update screenshots(1)

6 years agoDirView.cpp: Restore lost feature: PATCH: [ 1881454 ] Create pair for unique folder...
Takashi Sawanaka [Sun, 22 Oct 2017 15:44:49 +0000 (00:44 +0900)]
DirView.cpp: Restore lost feature: PATCH: [ 1881454 ] Create pair for unique folder and open them

6 years agoMerge.rc: &1 -> &1st &2 -> &2nd, &3 -> &3rd
Takashi Sawanaka [Sun, 22 Oct 2017 10:34:58 +0000 (19:34 +0900)]
Merge.rc: &1 -> &1st &2 -> &2nd, &3 -> &3rd

6 years agoMergeEditView.cpp: Show Copy to Left menu item rather than Copy from Right menu item...
Takashi Sawanaka [Sat, 21 Oct 2017 14:14:44 +0000 (23:14 +0900)]
MergeEditView.cpp: Show Copy to Left menu item rather than Copy from Right menu item on Context menu

6 years agoeditor addin.sct: Fix untranslated text
Takashi Sawanaka [Sat, 21 Oct 2017 12:50:35 +0000 (21:50 +0900)]
editor addin.sct: Fix untranslated text

6 years agoCreateRelease.cmd: Copy releases after destination folder created
Takashi Sawanaka [Sat, 21 Oct 2017 11:24:06 +0000 (20:24 +0900)]
CreateRelease.cmd: Copy releases after destination folder created

6 years agoFix some methods in subclass being no longer called
Takashi Sawanaka [Sat, 21 Oct 2017 04:23:05 +0000 (13:23 +0900)]
Fix some methods in subclass being no longer called

6 years agoMake internal editor undoable again
Takashi Sawanaka [Sat, 21 Oct 2017 02:16:50 +0000 (11:16 +0900)]
Make internal editor undoable again

6 years ago- Upload releases to virustotal.com using CreateRelease.cmd rather than BuildArc.cmd
Takashi Sawanaka [Sat, 21 Oct 2017 01:34:13 +0000 (10:34 +0900)]
- Upload releases to virustotal.com using CreateRelease.cmd rather than BuildArc.cmd
- Use rmdir /s /q command instead of del /s /q to delete subfolders

6 years agoRemove Check For Update menu item(2)
Takashi Sawanaka [Sat, 21 Oct 2017 01:18:27 +0000 (10:18 +0900)]
Remove Check For Update menu item(2)

6 years agoBuildArc.cmd: Fix vcomp140.dll not being copied to x64-zip-version foolder
Takashi Sawanaka [Fri, 20 Oct 2017 15:07:53 +0000 (00:07 +0900)]
BuildArc.cmd: Fix vcomp140.dll not being copied to x64-zip-version foolder

6 years agoFix BuildArc.cmd and CreateRelease.cmd
Takashi Sawanaka [Wed, 18 Oct 2017 22:39:51 +0000 (07:39 +0900)]
Fix BuildArc.cmd and CreateRelease.cmd

6 years agoUpdate .hgignore
Takashi Sawanaka [Wed, 18 Oct 2017 22:37:33 +0000 (07:37 +0900)]
Update .hgignore

6 years agoBuildBin.vs2015.cmd: Revert unintentional changes
Takashi Sawanaka [Wed, 18 Oct 2017 11:39:39 +0000 (20:39 +0900)]
BuildBin.vs2015.cmd: Revert unintentional changes

6 years agoAdd CreateRelease.cmd
Takashi Sawanaka [Tue, 17 Oct 2017 22:49:23 +0000 (07:49 +0900)]
Add CreateRelease.cmd

6 years agoRemove Check For Update menu item
Takashi Sawanaka [Tue, 17 Oct 2017 22:48:58 +0000 (07:48 +0900)]
Remove Check For Update menu item

6 years agoBuildArc.cmd: Use downloaded files
Takashi Sawanaka [Tue, 17 Oct 2017 15:26:42 +0000 (00:26 +0900)]
BuildArc.cmd: Use downloaded files

6 years agoBuidAll.*.cmd: Run unit tests
Takashi Sawanaka [Sun, 15 Oct 2017 22:10:50 +0000 (07:10 +0900)]
BuidAll.*.cmd: Run unit tests

6 years agoKorean.po: Change file encoding UTF-8 to CP949
Takashi Sawanaka [Sun, 15 Oct 2017 02:44:45 +0000 (11:44 +0900)]
Korean.po: Change file encoding UTF-8 to CP949

6 years agoInstaller: Remove Japanese help
Takashi Sawanaka [Sat, 14 Oct 2017 11:40:16 +0000 (20:40 +0900)]
Installer: Remove Japanese help

6 years agoDownloadDeps.cmd: setlocal
Takashi Sawanaka [Sat, 14 Oct 2017 11:06:05 +0000 (20:06 +0900)]
DownloadDeps.cmd: setlocal

6 years agoBuildBin.*.cmd: Remove unneeded call of del command
Takashi Sawanaka [Sat, 14 Oct 2017 11:05:46 +0000 (20:05 +0900)]
BuildBin.*.cmd: Remove unneeded call of del command

6 years agoInstaller: - Use downloaded files
Takashi Sawanaka [Sat, 14 Oct 2017 10:43:57 +0000 (19:43 +0900)]
Installer: - Use downloaded files
- Fix url

6 years agohg_clone.cmd: pull and update if already cloned
Takashi Sawanaka [Sat, 14 Oct 2017 10:36:47 +0000 (19:36 +0900)]
hg_clone.cmd: pull and update if already cloned

6 years agoAdd WinMerge32BitPluginProxy.exe
Takashi Sawanaka [Sat, 14 Oct 2017 10:31:53 +0000 (19:31 +0900)]
Add WinMerge32BitPluginProxy.exe

6 years agoAdd DownloadDeps.cmd
Takashi Sawanaka [Sat, 14 Oct 2017 10:31:21 +0000 (19:31 +0900)]
Add DownloadDeps.cmd

6 years agoMerge pull request #45 from sheppaul/patch-1
Takashi Sawanaka [Sat, 14 Oct 2017 04:19:40 +0000 (13:19 +0900)]
Merge pull request #45 from sheppaul/patch-1

Update Korean.po

6 years agoUpdate Korean.po
sheppaul [Sat, 14 Oct 2017 01:25:32 +0000 (10:25 +0900)]
Update Korean.po

Translation is updated.

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