winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
October 2008
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
1216 discussions
Start a n
N
ew thread
James Hawkins : msi: Simplify and clean up ACTION_RecurseSearchDirectory.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: 2e17638dc4f63c03ac1f70908dd39ae6e801f392 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2e17638dc4f63c03ac1f70908…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:20:10 2008 -0500 msi: Simplify and clean up ACTION_RecurseSearchDirectory. --- dlls/msi/appsearch.c | 97 +++++++++++++++++++++++++------------------------ 1 files changed, 49 insertions(+), 48 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index d72edda..e2f03c6 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -727,13 +727,16 @@ static UINT ACTION_FileMatchesSig(const MSISIGNATURE *sig, static UINT ACTION_RecurseSearchDirectory(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATURE *sig, LPCWSTR dir, int depth) { - static const WCHAR starDotStarW[] = { '*','.','*',0 }; + HANDLE hFind; + WIN32_FIND_DATAW findData; UINT rc = ERROR_SUCCESS; size_t dirLen = lstrlenW(dir), fileLen = lstrlenW(sig->File); WCHAR *buf; + static const WCHAR starDotStarW[] = { '*','.','*',0 }; + TRACE("Searching directory %s for file %s, depth %d\n", debugstr_w(dir), - debugstr_w(sig->File), depth); + debugstr_w(sig->File), depth); if (depth < 0) return ERROR_INVALID_PARAMETER; @@ -744,62 +747,60 @@ static UINT ACTION_RecurseSearchDirectory(MSIPACKAGE *package, LPWSTR *appValue, * isn't backslash-terminated. */ buf = msi_alloc( (dirLen + max(fileLen, lstrlenW(starDotStarW)) + 2) * sizeof(WCHAR)); - if (buf) + if (!buf) + return ERROR_OUTOFMEMORY; + + lstrcpyW(buf, dir); + PathAddBackslashW(buf); + lstrcatW(buf, sig->File); + + hFind = FindFirstFileW(buf, &findData); + if (hFind != INVALID_HANDLE_VALUE) { - /* a depth of 0 implies we should search dir, so go ahead and search */ - HANDLE hFind; - WIN32_FIND_DATAW findData; - - memcpy(buf, dir, dirLen * sizeof(WCHAR)); - if (buf[dirLen - 1] != '\\') - buf[dirLen++ - 1] = '\\'; - memcpy(buf + dirLen, sig->File, (fileLen + 1) * sizeof(WCHAR)); + BOOL matches; + + /* assuming Signature can't contain wildcards for the file name, + * so don't bother with FindNextFileW here. + */ + rc = ACTION_FileMatchesSig(sig, &findData, buf, &matches); + if (rc == ERROR_SUCCESS && matches) + { + TRACE("found file, returning %s\n", debugstr_w(buf)); + *appValue = buf; + } + + FindClose(hFind); + } + + if (rc == ERROR_SUCCESS && !*appValue && depth > 0) + { + lstrcpyW(buf, dir); + PathAddBackslashW(buf); + lstrcatW(buf, starDotStarW); + hFind = FindFirstFileW(buf, &findData); if (hFind != INVALID_HANDLE_VALUE) { - BOOL matches; + if (findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + rc = ACTION_RecurseSearchDirectory(package, appValue, sig, + findData.cFileName, + depth - 1); - /* assuming Signature can't contain wildcards for the file name, - * so don't bother with FindNextFileW here. - */ - if (!(rc = ACTION_FileMatchesSig(sig, &findData, buf, &matches)) - && matches) - { - TRACE("found file, returning %s\n", debugstr_w(buf)); - *appValue = buf; - } - FindClose(hFind); - } - if (rc == ERROR_SUCCESS && !*appValue && depth > 0) - { - HANDLE hFind; - WIN32_FIND_DATAW findData; - - memcpy(buf, dir, dirLen * sizeof(WCHAR)); - if (buf[dirLen - 1] != '\\') - buf[dirLen++ - 1] = '\\'; - lstrcpyW(buf + dirLen, starDotStarW); - hFind = FindFirstFileW(buf, &findData); - if (hFind != INVALID_HANDLE_VALUE) + while (rc == ERROR_SUCCESS && !*appValue && + FindNextFileW(hFind, &findData) != 0) { if (findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) - rc = ACTION_RecurseSearchDirectory(package, appValue, sig, - findData.cFileName, depth - 1); - while (rc == ERROR_SUCCESS && !*appValue && - FindNextFileW(hFind, &findData) != 0) - { - if (findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) - rc = ACTION_RecurseSearchDirectory(package, appValue, - sig, findData.cFileName, depth - 1); - } - FindClose(hFind); + rc = ACTION_RecurseSearchDirectory(package, appValue, + sig, findData.cFileName, + depth - 1); } + + FindClose(hFind); } - if (!*appValue) - msi_free(buf); } - else - rc = ERROR_OUTOFMEMORY; + + if (!*appValue) + msi_free(buf); return rc; }
1
0
0
0
James Hawkins : msi: Handle searching for directories in the IniLocator part of the AppSearch action .
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: 29c0836fcc7b3c7ea99f3cb1d5b2f30007a99b54 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=29c0836fcc7b3c7ea99f3cb1d…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:20:06 2008 -0500 msi: Handle searching for directories in the IniLocator part of the AppSearch action. --- dlls/msi/appsearch.c | 2 +- dlls/msi/tests/package.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 6d92886..d72edda 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -539,7 +539,7 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue, switch (type & 0x0f) { case msidbLocatorTypeDirectory: - FIXME("unimplemented for Directory (%s)\n", debugstr_w(buf)); + ACTION_SearchDirectory(package, sig, buf, 0, appValue); break; case msidbLocatorTypeFileName: *appValue = app_search_file(buf, sig); diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index a243957..e9a9bb0 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -6935,10 +6935,7 @@ static void test_appsearch_inilocator(void) sprintf(path, "%s\\", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP6", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; sprintf(path, "%s\\", CURR_DIR);
1
0
0
0
James Hawkins : msi: Handle searching for a file with no signature.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: c48497d0e665a3deb3393bc1ffee65b9aeb733d8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c48497d0e665a3deb3393bc1f…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:57 2008 -0500 msi: Handle searching for a file with no signature. --- dlls/msi/appsearch.c | 13 +++++++++++++ dlls/msi/tests/package.c | 25 +++++-------------------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 31a1f5d..6d92886 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -164,6 +164,19 @@ static LPWSTR app_search_file(LPWSTR path, MSISIGNATURE *sig) static const WCHAR root[] = {'\\',0}; + if (!sig->File) + { + PathRemoveFileSpecW(path); + PathAddBackslashW(path); + + attr = GetFileAttributesW(path); + if (attr != INVALID_FILE_ATTRIBUTES && + (attr & FILE_ATTRIBUTE_DIRECTORY)) + return strdupW(path); + + return NULL; + } + attr = GetFileAttributesW(path); if (attr == INVALID_FILE_ATTRIBUTES || attr == FILE_ATTRIBUTE_DIRECTORY) return NULL; diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index 4225af8..a243957 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -6594,10 +6594,7 @@ static void test_appsearch_reglocator(void) sprintf(path, "%s\\", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP11", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP12", prop, &size); @@ -6672,19 +6669,13 @@ static void test_appsearch_reglocator(void) *ptr = '\0'; r = MsiGetPropertyA(hpkg, "SIGPROP24", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; sprintf(path, "%s\\", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP25", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP26", prop, &size); @@ -6953,10 +6944,7 @@ static void test_appsearch_inilocator(void) sprintf(path, "%s\\", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP7", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; lstrcpyA(path, CURR_DIR); @@ -6964,10 +6952,7 @@ static void test_appsearch_inilocator(void) *(ptr + 1) = '\0'; r = MsiGetPropertyA(hpkg, "SIGPROP8", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP9", prop, &size);
1
0
0
0
James Hawkins : msi: Add more tests for the RegLocator part of the AppSearch action.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: 326a1b6c4734540952633b99349d7f1f5b994784 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=326a1b6c4734540952633b993…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:49 2008 -0500 msi: Add more tests for the RegLocator part of the AppSearch action. --- dlls/msi/tests/package.c | 97 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 91 insertions(+), 6 deletions(-) diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index a900b73..4225af8 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -6149,6 +6149,7 @@ static void test_appsearch_reglocator(void) HKEY hklm, classes; HKEY hkcu, users; LPCSTR str; + LPSTR ptr; LONG res; UINT r; @@ -6328,6 +6329,21 @@ static void test_appsearch_reglocator(void) r = add_appsearch_entry(hdb, "'SIGPROP23', 'NewSignature23'"); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + r = add_appsearch_entry(hdb, "'SIGPROP24', 'NewSignature24'"); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = add_appsearch_entry(hdb, "'SIGPROP25', 'NewSignature25'"); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = add_appsearch_entry(hdb, "'SIGPROP26', 'NewSignature26'"); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = add_appsearch_entry(hdb, "'SIGPROP27', 'NewSignature27'"); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = add_appsearch_entry(hdb, "'SIGPROP28', 'NewSignature28'"); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + r = create_reglocator_table(hdb); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); @@ -6371,12 +6387,12 @@ static void test_appsearch_reglocator(void) r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeFileName, file exists */ + /* HKLM, msidbLocatorTypeFileName, signature, file exists */ str = "'NewSignature9', 2, 'Software\\Wine', 'Value9', 1"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeFileName, file does not exist */ + /* HKLM, msidbLocatorTypeFileName, signature, file does not exist */ str = "'NewSignature10', 2, 'Software\\Wine', 'Value10', 1"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); @@ -6386,17 +6402,17 @@ static void test_appsearch_reglocator(void) r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeDirectory, file exists */ + /* HKLM, msidbLocatorTypeDirectory, no signature, file exists */ str = "'NewSignature12', 2, 'Software\\Wine', 'Value9', 0"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeDirectory, directory */ + /* HKLM, msidbLocatorTypeDirectory, no signature, directory exists */ str = "'NewSignature13', 2, 'Software\\Wine', 'Value11', 0"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeDirectory, file exists, with signature */ + /* HKLM, msidbLocatorTypeDirectory, signature, file exists */ str = "'NewSignature14', 2, 'Software\\Wine', 'Value9', 0"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); @@ -6431,7 +6447,7 @@ static void test_appsearch_reglocator(void) r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - /* HKLM, msidbLocatorTypeFileName, file exists w/ version, signature */ + /* HKLM, msidbLocatorTypeFileName, signature, file exists w/ version */ str = "'NewSignature21', 2, 'Software\\Wine', 'Value13', 1"; r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); @@ -6446,6 +6462,31 @@ static void test_appsearch_reglocator(void) r = add_reglocator_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + /* HKLM, msidbLocatorTypeFileName, no signature, directory exists */ + str = "'NewSignature24', 2, 'Software\\Wine', 'Value11', 1"; + r = add_reglocator_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + /* HKLM, msidbLocatorTypeFileName, no signature, file does not exist */ + str = "'NewSignature25', 2, 'Software\\Wine', 'Value10', 1"; + r = add_reglocator_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + /* HKLM, msidbLocatorTypeDirectory, signature, directory exists */ + str = "'NewSignature26', 2, 'Software\\Wine', 'Value11', 0"; + r = add_reglocator_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + /* HKLM, msidbLocatorTypeDirectory, signature, file does not exist */ + str = "'NewSignature27', 2, 'Software\\Wine', 'Value10', 0"; + r = add_reglocator_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + /* HKLM, msidbLocatorTypeDirectory, no signature, file does not exist */ + str = "'NewSignature28', 2, 'Software\\Wine', 'Value10', 0"; + r = add_reglocator_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + r = create_signature_table(hdb); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); @@ -6473,6 +6514,15 @@ static void test_appsearch_reglocator(void) r = add_signature_entry(hdb, str); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ptr = strrchr(CURR_DIR, '\\') + 1; + sprintf(path, "'NewSignature26', '%s', '', '', '', '', '', '', ''", ptr); + r = add_signature_entry(hdb, path); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + str = "'NewSignature27', 'FileName2', '', '', '', '', '', '', ''"; + r = add_signature_entry(hdb, str); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + hpkg = package_from_db(hdb); ok(hpkg, "Expected a valid package handle\n"); @@ -6616,6 +6666,41 @@ static void test_appsearch_reglocator(void) ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); + size = MAX_PATH; + lstrcpyA(path, CURR_DIR); + ptr = strrchr(path, '\\') + 1; + *ptr = '\0'; + r = MsiGetPropertyA(hpkg, "SIGPROP24", prop, &size); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + todo_wine + { + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); + } + + size = MAX_PATH; + sprintf(path, "%s\\", CURR_DIR); + r = MsiGetPropertyA(hpkg, "SIGPROP25", prop, &size); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + todo_wine + { + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); + } + + size = MAX_PATH; + r = MsiGetPropertyA(hpkg, "SIGPROP26", prop, &size); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); + + size = MAX_PATH; + r = MsiGetPropertyA(hpkg, "SIGPROP27", prop, &size); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); + + size = MAX_PATH; + r = MsiGetPropertyA(hpkg, "SIGPROP28", prop, &size); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); + RegSetValueA(hklm, NULL, REG_SZ, "", 0); RegDeleteValueA(hklm, "Value1"); RegDeleteValueA(hklm, "Value2");
1
0
0
0
James Hawkins : msi: Check the file version when a version is provided in the signature.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: 859bd01b5e0d492808721570c5d77b247782f31e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=859bd01b5e0d492808721570c…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:30 2008 -0500 msi: Check the file version when a version is provided in the signature. --- dlls/msi/appsearch.c | 60 +++++++++++++++++++++++++++++++++++++++++++-- dlls/msi/tests/package.c | 35 +++++++------------------- 2 files changed, 67 insertions(+), 28 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 247cee0..31a1f5d 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -155,6 +155,60 @@ static void ACTION_FreeSignature(MSISIGNATURE *sig) msi_free(sig->Languages); } +static LPWSTR app_search_file(LPWSTR path, MSISIGNATURE *sig) +{ + VS_FIXEDFILEINFO *info; + DWORD attr, handle, size; + LPWSTR val = NULL; + LPBYTE buffer; + + static const WCHAR root[] = {'\\',0}; + + attr = GetFileAttributesW(path); + if (attr == INVALID_FILE_ATTRIBUTES || attr == FILE_ATTRIBUTE_DIRECTORY) + return NULL; + + size = GetFileVersionInfoSizeW(path, &handle); + if (!size) + return strdupW(path); + + buffer = msi_alloc(size); + if (!buffer) + return NULL; + + if (!GetFileVersionInfoW(path, 0, size, buffer)) + goto done; + + if (!VerQueryValueW(buffer, root, (LPVOID)&info, &size) || !info) + goto done; + + if (sig->MinVersionLS || sig->MinVersionMS) + { + if (info->dwFileVersionMS < sig->MinVersionMS) + goto done; + + if (info->dwFileVersionMS == sig->MinVersionMS && + info->dwFileVersionLS < sig->MinVersionLS) + goto done; + } + + if (sig->MaxVersionLS || sig->MaxVersionMS) + { + if (info->dwFileVersionMS > sig->MaxVersionMS) + goto done; + + if (info->dwFileVersionMS == sig->MaxVersionMS && + info->dwFileVersionLS > sig->MaxVersionLS) + goto done; + } + + val = strdupW(path); + +done: + msi_free(buffer); + return val; +} + static UINT ACTION_AppSearchComponents(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATURE *sig) { static const WCHAR query[] = { @@ -211,7 +265,7 @@ static UINT ACTION_AppSearchComponents(MSIPACKAGE *package, LPWSTR *appValue, MS if (type != msidbLocatorTypeDirectory && sigpresent && !isdir) { - *appValue = strdupW(path); + *appValue = app_search_file(path, sig); } else if (!sigpresent && (type != msidbLocatorTypeDirectory || isdir)) { @@ -383,7 +437,7 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNAT rc = ACTION_SearchDirectory(package, sig, (LPWSTR)value, 0, appValue); break; case msidbLocatorTypeFileName: - *appValue = strdupW((LPWSTR)value); + *appValue = app_search_file((LPWSTR)value, sig); break; case msidbLocatorTypeRawValue: ACTION_ConvertRegValue(regType, value, sz, appValue); @@ -475,7 +529,7 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue, FIXME("unimplemented for Directory (%s)\n", debugstr_w(buf)); break; case msidbLocatorTypeFileName: - FIXME("unimplemented for File (%s)\n", debugstr_w(buf)); + *appValue = app_search_file(buf, sig); break; case msidbLocatorTypeRawValue: *appValue = get_ini_field(buf, field); diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index fcb1969..a900b73 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -5840,7 +5840,10 @@ static void test_appsearch(void) r = MsiGetPropertyA( hpkg, "WEBBROWSERPROG", prop, &size ); ok( r == ERROR_SUCCESS, "get property failed: %d\n", r); - ok( lstrlenA(prop) != 0, "Expected non-zero length\n"); + todo_wine + { + ok( lstrlenA(prop) != 0, "Expected non-zero length\n"); + } MsiCloseHandle( hpkg ); DeleteFileA(msifile); @@ -6093,10 +6096,7 @@ static void test_appsearch_complocator(void) size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP11", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); - } + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); size = MAX_PATH; sprintf(path, "%s\\FileName10.dll", CURR_DIR); @@ -6538,10 +6538,7 @@ static void test_appsearch_reglocator(void) size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP10", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); - } + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); size = MAX_PATH; sprintf(path, "%s\\", CURR_DIR); @@ -6611,10 +6608,7 @@ static void test_appsearch_reglocator(void) size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP22", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); - } + ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop); size = MAX_PATH; sprintf(path, "%s\\FileName5.dll", CURR_DIR); @@ -6854,10 +6848,7 @@ static void test_appsearch_inilocator(void) sprintf(path, "%s\\FileName1", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP4", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP5", prop, &size); @@ -6902,10 +6893,7 @@ static void test_appsearch_inilocator(void) sprintf(path, "%s\\FileName2.dll", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP10", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP11", prop, &size); @@ -6916,10 +6904,7 @@ static void test_appsearch_inilocator(void) sprintf(path, "%s\\FileName4.dll", CURR_DIR); r = MsiGetPropertyA(hpkg, "SIGPROP12", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); - } + ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop); delete_win_ini("IniFile.ini"); DeleteFileA("FileName1");
1
0
0
0
James Hawkins : msi: Add more tests for the AppSearch action.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: fbba2e8b9393fca532ba387d324cd9791fca5751 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fbba2e8b9393fca532ba387d3…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:26 2008 -0500 msi: Add more tests for the AppSearch action. --- dlls/msi/tests/package.c | 348 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 347 insertions(+), 1 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=fbba2e8b9393fca532ba3…
1
0
0
0
James Hawkins : msi: Return the requested ini field.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: 642cddf1806e95167c053e929f148dca0562430f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=642cddf1806e95167c053e929…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:22 2008 -0500 msi: Return the requested ini field. --- dlls/msi/appsearch.c | 28 +++++++++++++++++++++++++++- dlls/msi/tests/package.c | 10 ++-------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index b335946..247cee0 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -405,6 +405,32 @@ end: return ERROR_SUCCESS; } +static LPWSTR get_ini_field(LPWSTR buf, int field) +{ + LPWSTR beg, end; + int i = 1; + + if (field == 0) + return strdupW(buf); + + beg = buf; + while ((end = strchrW(beg, ',')) && i < field) + { + beg = end + 1; + while (*beg && *beg == ' ') + beg++; + + i++; + } + + end = strchrW(beg, ','); + if (!end) + end = beg + lstrlenW(beg); + + *end = '\0'; + return strdupW(beg); +} + static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATURE *sig) { @@ -452,7 +478,7 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue, FIXME("unimplemented for File (%s)\n", debugstr_w(buf)); break; case msidbLocatorTypeRawValue: - *appValue = strdupW(buf); + *appValue = get_ini_field(buf, field); break; } } diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index b6b3a78..fd9c58f 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -6584,18 +6584,12 @@ static void test_appsearch_inilocator(void) size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP1", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, "keydata"), "Expected \"keydata\", got \"%s\"\n", prop); - } + ok(!lstrcmpA(prop, "keydata"), "Expected \"keydata\", got \"%s\"\n", prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP2", prop, &size); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - todo_wine - { - ok(!lstrcmpA(prop, "field2"), "Expected \"field2\", got \"%s\"\n", prop); - } + ok(!lstrcmpA(prop, "field2"), "Expected \"field2\", got \"%s\"\n", prop); size = MAX_PATH; r = MsiGetPropertyA(hpkg, "SIGPROP3", prop, &size);
1
0
0
0
James Hawkins : msi: Pass the correct view to get_row.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: f1e2041bf451cfdb853821904054aa0fa04c1bc4 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f1e2041bf451cfdb853821904…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Oct 20 04:19:18 2008 -0500 msi: Pass the correct view to get_row. --- dlls/msi/where.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msi/where.c b/dlls/msi/where.c index 28f115e..65f1be9 100644 --- a/dlls/msi/where.c +++ b/dlls/msi/where.c @@ -180,7 +180,7 @@ static UINT WHERE_get_row( struct tagMSIVIEW *view, UINT row, MSIRECORD **rec ) if (r != ERROR_SUCCESS) return r; - return wv->table->ops->get_row(view, row, rec); + return wv->table->ops->get_row(wv->table, row, rec); } static UINT WHERE_set_row( struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, UINT mask )
1
0
0
0
Hans Leidekker : cryptui: Add a partial implementation of CryptUIWizImport.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: d0baa50681263d5a03eb2d67cf07a0a79eaa170c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d0baa50681263d5a03eb2d67c…
Author: Hans Leidekker <hans(a)codeweavers.com> Date: Mon Oct 20 10:16:45 2008 +0200 cryptui: Add a partial implementation of CryptUIWizImport. This is just enough to make importing a certificate in Outlook 2007 work. --- dlls/cryptui/Makefile.in | 2 +- dlls/cryptui/cryptui.spec | 2 +- dlls/cryptui/main.c | 73 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 2 deletions(-) diff --git a/dlls/cryptui/Makefile.in b/dlls/cryptui/Makefile.in index 996711a..abb0b27 100644 --- a/dlls/cryptui/Makefile.in +++ b/dlls/cryptui/Makefile.in @@ -3,7 +3,7 @@ TOPOBJDIR = ../.. SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = cryptui.dll -IMPORTS = kernel32 +IMPORTS = crypt32 kernel32 IMPORTLIB = cryptui C_SRCS = \ diff --git a/dlls/cryptui/cryptui.spec b/dlls/cryptui/cryptui.spec index 088d087..201282f 100644 --- a/dlls/cryptui/cryptui.spec +++ b/dlls/cryptui/cryptui.spec @@ -34,7 +34,7 @@ 34 stub CryptUIWizExport 35 stub CryptUIWizFreeCertRequestNoDS 36 stub CryptUIWizFreeDigitalSignContext -37 stub CryptUIWizImport +37 stdcall CryptUIWizImport(long ptr wstr ptr ptr) 38 stub CryptUIWizQueryCertRequestNoDS 39 stub CryptUIWizSubmitCertRequestNoDS 40 stub DllRegisterServer diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 00e8683..0aab87e 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -98,3 +98,76 @@ BOOL WINAPI CryptUIDlgViewCertificateW(PCCRYPTUI_VIEWCERTIFICATE_STRUCTW pCertVi if (pfPropertiesChanged) *pfPropertiesChanged = FALSE; return TRUE; } + +BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardTitle, + PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc, HCERTSTORE hDestCertStore) +{ + static const WCHAR Root[] = {'R','o','o','t',0}; + BOOL ret; + HANDLE file; + HCERTSTORE store; + BYTE *buffer; + DWORD size, encoding = X509_ASN_ENCODING | PKCS_7_ASN_ENCODING; + const CERT_CONTEXT *cert; + + TRACE("(0x%08x, %p, %s, %p, %p)\n", dwFlags, hwndParent, debugstr_w(pwszWizardTitle), + pImportSrc, hDestCertStore); + + FIXME("only certificate files are supported\n"); + + if (!(dwFlags & CRYPTUI_WIZ_NO_UI)) FIXME("UI not implemented\n"); + + if (pImportSrc->dwSubjectChoice != CRYPTUI_WIZ_IMPORT_SUBJECT_FILE) + { + FIXME("source type not implemented: %u\n", pImportSrc->dwSubjectChoice); + return FALSE; + } + file = CreateFileW(pImportSrc->pwszFileName, GENERIC_READ, FILE_SHARE_READ, NULL, + OPEN_EXISTING, 0, NULL); + if (file == INVALID_HANDLE_VALUE) + { + WARN("can't open certificate file %s\n", debugstr_w(pImportSrc->pwszFileName)); + return FALSE; + } + if ((size = GetFileSize(file, NULL))) + { + if ((buffer = HeapAlloc(GetProcessHeap(), 0, size))) + { + DWORD read; + if (!ReadFile(file, buffer, size, &read, NULL) || read != size) + { + WARN("can't read certificate file %s\n", debugstr_w(pImportSrc->pwszFileName)); + HeapFree(GetProcessHeap(), 0, buffer); + CloseHandle(file); + return FALSE; + } + } + } + else + { + WARN("empty file %s\n", debugstr_w(pImportSrc->pwszFileName)); + CloseHandle(file); + return FALSE; + } + CloseHandle(file); + if (!(cert = CertCreateCertificateContext(encoding, buffer, size))) + { + WARN("unable to create certificate context\n"); + HeapFree(GetProcessHeap(), 0, buffer); + return FALSE; + } + /* FIXME: verify certificate and determine store name dynamically */ + if (!(store = CertOpenStore(CERT_STORE_PROV_SYSTEM_W, 0, 0, CERT_SYSTEM_STORE_CURRENT_USER, Root))) + { + WARN("unable to open certificate store\n"); + CertFreeCertificateContext(cert); + HeapFree(GetProcessHeap(), 0, buffer); + return FALSE; + } + ret = CertAddCertificateContextToStore(store, cert, CERT_STORE_ADD_REPLACE_EXISTING, NULL); + + CertCloseStore(store, 0); + CertFreeCertificateContext(cert); + HeapFree(GetProcessHeap(), 0, buffer); + return ret; +}
1
0
0
0
Dmitry Timoshkov : user32: Fix a typo.
by Alexandre Julliard
20 Oct '08
20 Oct '08
Module: wine Branch: master Commit: d6544f041b4e929626ee1b2ecf09338ebc463d5a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d6544f041b4e929626ee1b2ec…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Oct 20 08:26:52 2008 +0900 user32: Fix a typo. --- dlls/user32/tests/win.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 1b9d729..76ca103 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -5091,7 +5091,7 @@ static void test_fullscreen(void) } } - UnregisterClass("MinMax_WndClass", GetModuleHandle(0)); + UnregisterClass("fullscreen_class", GetModuleHandle(0)); } START_TEST(win)
1
0
0
0
← Newer
1
...
34
35
36
37
38
39
40
...
122
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Results per page:
10
25
50
100
200