Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Nov 19, 2023
1 parent 1269a76 commit d0e71d2
Show file tree
Hide file tree
Showing 45 changed files with 135 additions and 9 deletions.
6 changes: 3 additions & 3 deletions DownloadDeps.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ https://github.com/WinMerge/winimerge/releases/download/v1.0.41/winimerge-1.0.41
https://github.com/WinMerge/winimerge/releases/download/v1.0.41/winimerge-1.0.41.0-x64.zip!Build\x64\Release ^
https://github.com/WinMerge/winimerge/releases/download/v1.0.41/winimerge-1.0.41.0-ARM.zip!Build\ARM\Release ^
https://github.com/WinMerge/winimerge/releases/download/v1.0.41/winimerge-1.0.41.0-ARM64.zip!Build\ARM64\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.7/winwebdiff-1.0.7.0-x86.zip!Build\x86\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.7/winwebdiff-1.0.7.0-x64.zip!Build\x64\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.7/winwebdiff-1.0.7.0-ARM64.zip!Build\ARM64\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.8/winwebdiff-1.0.8.0-x86.zip!Build\x86\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.8/winwebdiff-1.0.8.0-x64.zip!Build\x64\Release ^
https://github.com/WinMerge/winwebdiff/releases/download/v1.0.8/winwebdiff-1.0.8.0-ARM64.zip!Build\ARM64\Release ^
https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-w32-mt-XP.zip!Build\tidy-html5 ^
https://github.com/htacg/tidy-html5/archive/refs/tags/5.4.0.zip!Build\tidy-html5 ^
https://github.com/jqlang/jq/releases/download/jq-1.7/jq-win32.exe!Build\jq ^
Expand Down
2 changes: 1 addition & 1 deletion Externals/versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This file lists versions of the external components we are using.
- WinIMerge: 1.0.41.0
- freeimage: 3.18.0
- LibXDiff: 611e42a on Nov 2, 2018 (https://github.com/git/git/tree/master/xdiff)
- WinWebDiff: 1.0.7.0
- WinWebDiff: 1.0.8.0
- WebView2: 1.0.1518.46
- wil: 1.0.191107.2
- rapidjson: 1.1.1
Expand Down
2 changes: 2 additions & 0 deletions Src/Merge.rc
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ BEGIN
MENUITEM "&Scroll", ID_WEB_SYNC_SCROLL
MENUITEM "&Click", ID_WEB_SYNC_CLICK
MENUITEM "&Input", ID_WEB_SYNC_INPUT
MENUITEM "&GoBack/Forward", ID_WEB_SYNC_GOBACKFORWARD
END
POPUP "Clear &Browsing Data"
BEGIN
Expand Down Expand Up @@ -1171,6 +1172,7 @@ BEGIN
MENUITEM "&Scroll", ID_WEB_SYNC_SCROLL
MENUITEM "&Click", ID_WEB_SYNC_CLICK
MENUITEM "&Input", ID_WEB_SYNC_INPUT
MENUITEM "&GoBack/Forward", ID_WEB_SYNC_GOBACKFORWARD
END
END

Expand Down
12 changes: 10 additions & 2 deletions Src/WebPageDiffFrm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ BEGIN_MESSAGE_MAP(CWebPageDiffFrame, CMergeFrameCommon)
ON_COMMAND(ID_WEB_COMPARE_HTMLS, OnWebCompareHTMLs)
ON_COMMAND(ID_WEB_COMPARE_TEXTS, OnWebCompareTexts)
ON_COMMAND(ID_WEB_COMPARE_RESOURCETREES, OnWebCompareResourceTrees)
ON_COMMAND_RANGE(ID_WEB_SYNC_ENABLED, ID_WEB_SYNC_INPUT, OnWebSyncEvent)
ON_UPDATE_COMMAND_UI_RANGE(ID_WEB_SYNC_ENABLED, ID_WEB_SYNC_INPUT, OnUpdateWebSyncEvent)
ON_COMMAND_RANGE(ID_WEB_SYNC_ENABLED, ID_WEB_SYNC_GOBACKFORWARD, OnWebSyncEvent)
ON_UPDATE_COMMAND_UI_RANGE(ID_WEB_SYNC_ENABLED, ID_WEB_SYNC_GOBACKFORWARD, OnUpdateWebSyncEvent)
ON_COMMAND_RANGE(ID_WEB_CLEAR_DISK_CACHE, ID_WEB_CLEAR_ALL_PROFILE, OnWebClear)
// [Tools] menu
ON_COMMAND(ID_TOOLS_GENERATEREPORT, OnToolsGenerateReport)
Expand Down Expand Up @@ -1626,6 +1626,11 @@ void CWebPageDiffFrame::OnWebSyncEvent(UINT nID)
!m_pWebDiffWindow->GetSyncEventFlag(IWebDiffWindow::EVENT_INPUT));
GetOptionsMgr()->SaveOption(OPT_CMP_WEB_SYNC_EVENT_FLAGS, m_pWebDiffWindow->GetSyncEventFlags());
break;
case ID_WEB_SYNC_GOBACKFORWARD:
m_pWebDiffWindow->SetSyncEventFlag(IWebDiffWindow::EVENT_GOBACKFORWARD,
!m_pWebDiffWindow->GetSyncEventFlag(IWebDiffWindow::EVENT_GOBACKFORWARD));
GetOptionsMgr()->SaveOption(OPT_CMP_WEB_SYNC_EVENT_FLAGS, m_pWebDiffWindow->GetSyncEventFlags());
break;
}
}

Expand All @@ -1645,6 +1650,9 @@ void CWebPageDiffFrame::OnUpdateWebSyncEvent(CCmdUI* pCmdUI)
case ID_WEB_SYNC_INPUT:
pCmdUI->SetCheck(m_pWebDiffWindow->GetSyncEventFlag(IWebDiffWindow::EVENT_INPUT));
break;
case ID_WEB_SYNC_GOBACKFORWARD:
pCmdUI->SetCheck(m_pWebDiffWindow->GetSyncEventFlag(IWebDiffWindow::EVENT_GOBACKFORWARD));
break;
}
}

Expand Down
1 change: 1 addition & 0 deletions Src/WinWebDiffLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ struct IWebDiffWindow
EVENT_SCROLL = ( 1 << 0 ),
EVENT_CLICK = ( 1 << 1 ),
EVENT_INPUT = ( 1 << 2 ),
EVENT_GOBACKFORWARD = ( 1 << 3 ),
};
enum CompareState
{
Expand Down
1 change: 1 addition & 0 deletions Src/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@
#define ID_WEB_SYNC_SCROLL 33766
#define ID_WEB_SYNC_CLICK 33767
#define ID_WEB_SYNC_INPUT 33768
#define ID_WEB_SYNC_GOBACKFORWARD 33769
#define ID_WEB_CLEAR_DISK_CACHE 33780
#define ID_WEB_CLEAR_COOKIES 33781
#define ID_WEB_CLEAR_BROWSING_HISTORY 33782
Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Arabic.po
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Basque.po
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Brazilian.po
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Limpar Dados de Navegação"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Bulgarian.po
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Catalan.po
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/ChineseSimplified.po
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "清除浏览数据(&B)"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/ChineseTraditional.po
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "清除瀏覽資料(&B)"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Corsican.po
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "&Viutà i dati di navigazione"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Croatian.po
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Czech.po
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Danish.po
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Dutch.po
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Bladergegevens wissen"

Expand Down
5 changes: 4 additions & 1 deletion Translations/WinMerge/English.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WinMerge\n"
"Report-Msgid-Bugs-To: https://bugs.winmerge.org/\n"
"POT-Creation-Date: 2023-11-18 16:03+0000\n"
"POT-Creation-Date: 2023-11-19 21:53+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: English <[email protected]>\n"
Expand Down Expand Up @@ -253,6 +253,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Finnish.po
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Tyhjennä &selaustiedot"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/French.po
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Effacer les données de &navigation"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Galician.po
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "&Borrar datos de navegación"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/German.po
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "&Browserdaten löschen"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Greek.po
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Hungarian.po
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Böngészési adatok törlése"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Italian.po
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Cancella i dati di &navigazione"

Expand Down
5 changes: 4 additions & 1 deletion Translations/WinMerge/Japanese.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: WinMerge\n"
"Report-Msgid-Bugs-To: https://bugs.winmerge.org/\n"
"POT-Creation-Date: 2020-12-05 22:07+0000\n"
"PO-Revision-Date: 2023-11-18 16:15+0900\n"
"PO-Revision-Date: 2023-11-19 22:04+0900\n"
"Last-Translator: Takashi Sawanaka <[email protected]>\n"
"Language-Team: Japanese <[email protected]>\n"
"Language: ja\n"
Expand Down Expand Up @@ -258,6 +258,9 @@ msgstr "クリック(&C)"
msgid "&Input"
msgstr "入力(&I)"

msgid "&GoBack/Forward"
msgstr "戻る/進む(&G)"

msgid "Clear &Browsing Data"
msgstr "閲覧データのクリア(&B)"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Korean.po
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "검색 데이터 지우기(&B)"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Lithuanian.po
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Išvalyti &Naršymo duomenis"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Norwegian.po
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Persian.po
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Polish.po
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Wyczyść dane przeglądania"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Portuguese.po
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Limpar dados de navegação"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Romanian.po
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Șterge datele de navigare"

Expand Down
3 changes: 3 additions & 0 deletions Translations/WinMerge/Russian.po
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ msgstr ""
msgid "&Input"
msgstr ""

msgid "&GoBack/Forward"
msgstr ""

msgid "Clear &Browsing Data"
msgstr "Очистить &историю просмотров"

Expand Down
Loading

0 comments on commit d0e71d2

Please sign in to comment.