summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
raphael.kubo.da.costa@intel.com [Tue, 30 Apr 2013 07:56:19 +0000 (07:56 +0000)]
Simplify `gcc_version' check.
gcc_version is always defined after r196910 (to 0 by default, and a
meaningful value when GCC is used in the appropriate platforms), so we
can back out r196565 and use a simpler check.
R=thakis@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/
14449007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@197309
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Fri, 26 Apr 2013 01:03:15 +0000 (01:03 +0000)]
Guard gcc_version in a safe condition.
gcc_version is only defined on Linux and thus we need to check for it before
using it on other platforms.
This should fix the following error:
gyp: name 'gcc_version' is not defined while evaluating condition 'gcc_version >= 48'
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/
14172021
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@196565
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Wed, 24 Apr 2013 00:50:00 +0000 (00:50 +0000)]
hunspell: Update the include path of base/string_piece.h to its new location.
string_piece.h was moved into base/strings/ in r191206 -
https://chromiumcodereview.appspot.com/
12982018/
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
14426011
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@195968
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Mon, 22 Apr 2013 04:32:23 +0000 (04:32 +0000)]
Ignore conversions to NULL in gcc too.
Do something similar to r129758 and disable conversion to NULL warnings in
gcc >= 4.5.0 as well. The -Wno-conversion-null option was added in that
version, and not passing it makes the build fail when -Werror is activated
(the default).
R=hbono@chromium.org, thakis@chromium.org
BUG=
TEST=Build with gcc >= 4.5.0 and -Werror.
Review URL: https://codereview.chromium.org/
14195026/
Patch from Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>!
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@195440
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
groby@chromium.org [Wed, 27 Feb 2013 01:43:24 +0000 (01:43 +0000)]
Use up to 8 affixes in Hunspell spellcheck suggestions
Chrome has been suggesting "Othello" for "hellllo" and "identically" for
"accidently" because it has been ignoring dictionary entries with more than one
affix. This CL changes Chrome behavior to take these entries into consideration
and use up to 8 affixes in suggestions.
BUG=170668
Review URL: https://codereview.chromium.org/
12328121
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@184822
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Sat, 19 Jan 2013 13:30:11 +0000 (13:30 +0000)]
Remove <(library) usage from hunspell.gyp.
BUG=111541
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/
11926025
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@177853
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
scottmg@chromium.org [Thu, 10 Jan 2013 16:41:58 +0000 (16:41 +0000)]
disable c4267 for hunspell for building on win x64
TBR=jschuh@chromium.org
BUG=167187
Review URL: https://chromiumcodereview.appspot.com/
11823057
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@176100
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
rlp@chromium.org [Thu, 10 Jan 2013 01:27:13 +0000 (01:27 +0000)]
[hunspell] Spellcheck 99-character words.
Because of regression in
http://src.chromium.org/viewvc/chrome?view=rev&revision=174476, the browser does
not check spelling in 99-character words. This CL makes sure that the browser
checks the spelling of 99-character words by increasing one of the buffers by
one character instead of reducing the number of characters checked. This
approach is simpler than the one in revision 174476.
Unit test: https://codereview.chromium.org/
11776032/.
Upstream bug report:
https://sourceforge.net/tracker/?func=detail&aid=3595024&group_id=143754&atid=756395
BUG=130128
Review URL: https://codereview.chromium.org/
11778031
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@175968
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
groby@chromium.org [Fri, 21 Dec 2012 23:25:41 +0000 (23:25 +0000)]
Fix array-out-of-bounds error in hunspell
If you invoke SuggestMgr::forgotchar_utf() with wl=99, then the method will
write past the candidate_utf[MAXSWL] array. Here's a step through of what
happens:
int wl = 99; // word length is 99 charachters.
w_char candidate_utf[MAXSWL]; // buffer size is 100 chars.
w_char * p = candidate_utf + wl; // p = candidate_utf + 99.
*(p + 1) = *p; // writing to p + 1, which is candidate_utf + 100.
The fix is to reduce maximum length of spellchecked words from 99 to 98 characters.
Corresponding upstream bug report:
https://sourceforge.net/tracker/?func=detail&aid=3595024&group_id=143754&atid=756395
BUG=130128
Review URL: https://codereview.chromium.org/
11442040
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@174476
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
groby@chromium.org [Fri, 21 Dec 2012 01:49:55 +0000 (01:49 +0000)]
Bring Hunspell google.patch up to date
A few changes in our version of Hunspell have been made without updating
google.patch file. This CL brings google.patch file up to date and documents in
README.chromium how to get the base version of Hunspell that we are using.
BUG=167192
Review URL: https://codereview.chromium.org/
11639053
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@174316
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
michel@weimerskirch.net [Tue, 4 Dec 2012 09:51:55 +0000 (09:51 +0000)]
Fixes non-working secondary Hunspell suggestion mechanism as reported here: code.google.com/p/chromium/issues/detail?id=153249
The "REP" suggestions from Hunspell dictionaires were previously ignored. This adds a pointer to the bdict_reader into the "SuggestMgr" so that it can use the replacement table from the bdict file.
Contributed by michel@weimerskirch.net
Review URL: https://chromiumcodereview.appspot.com/
11299291
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@170918
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
rlp@google.com [Thu, 15 Nov 2012 22:26:11 +0000 (22:26 +0000)]
Fix word removal in hunspell
BUG=18238
Review URL: https://codereview.chromium.org/
11363183
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@168059
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
steveblock@chromium.org [Wed, 1 Aug 2012 00:42:33 +0000 (00:42 +0000)]
Make 'License' field in third-party metadata required
This will simplify the addition of a tool to check licenses for the purpose of
the Android WebView build.
See also http://codereview.chromium.org/
10821103.
BUG=138921
Review URL: https://chromiumcodereview.appspot.com/
10827099
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@149334
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
palmer@chromium.org [Mon, 23 Jul 2012 20:19:09 +0000 (20:19 +0000)]
Re-add hardening to defend against OOB reads in NodeReader.
This patch originally by Justin Schuh, but it got lost so I am re-applying
it. http://codereview.chromium.org/326013/
BUG=14721
TEST=None
Review URL: https://chromiumcodereview.appspot.com/
10806053
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@147911
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Wed, 18 Apr 2012 03:31:06 +0000 (03:31 +0000)]
Update hunspell to 1.3.2.
This change applied all upstream changes to our copy of hunspell.
BUG=68924
TEST=covered by existing tests.
Review URL: https://chromiumcodereview.appspot.com/9839043
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@132738
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Fri, 30 Mar 2012 01:50:07 +0000 (01:50 +0000)]
Add -Wno-null-conversion to hunspell's warning flags.
Without this, clang's new -Wnull-conversion fires in hunspell here:
In file included from ../../third_party/hunspell/src/hunspell/affentry.cxx:9:
../../third_party/hunspell/src/hunspell/affentry.hxx:30:105: warning: implicit conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL);
~ ^~~~
../../third_party/hunspell/src/hunspell/affentry.hxx:93:114: warning: implicit conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
struct hentry * check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
~ ^~~~
2 warnings generated.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/9918020
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@129758
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thestig@chromium.org [Tue, 6 Mar 2012 01:28:32 +0000 (01:28 +0000)]
Cleanup: Remove obsolete hunspell test.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9581002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@125060
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Thu, 1 Mar 2012 18:10:06 +0000 (18:10 +0000)]
clang: Add -Wno-empty-body to hunspell.gyp
After the next clang roll, that function will warn on loops in
addition to conditionals, and hunspell contains on such loop.
TBR=evan
Review URL: https://chromiumcodereview.appspot.com/9568018
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@124429
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Tue, 28 Feb 2012 00:42:03 +0000 (00:42 +0000)]
Merge hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspell/affixmgr.cxx?r1=1.40&r2=1.41
Review URL: https://chromiumcodereview.appspot.com/9478011
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@123842
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Mon, 27 Feb 2012 21:31:26 +0000 (21:31 +0000)]
Fix a clang warning.
BUG=chromium:112933
TBR=hbono
Review URL: https://chromiumcodereview.appspot.com/9481013
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@123803
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Thu, 8 Dec 2011 04:03:36 +0000 (04:03 +0000)]
Use new os_posix define in gyp file
Patch by ruben <chromium@hybridsource.org>
R=hbono@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8822007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@113558
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Thu, 17 Nov 2011 02:11:07 +0000 (02:11 +0000)]
Remove 1 exit time destructor from our local changes to hunspell.
BUG=101600
TEST=none
Review URL: http://codereview.chromium.org/8574050
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@110423
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Thu, 6 Oct 2011 00:13:50 +0000 (00:13 +0000)]
Fix license headers.
This change fixes license headers of the Google-added files in third_party/hunspell.
BUG=98134
TEST=tools/checklicenses/checklicenses.py --ignore-suppressions third_party/hunspell
Review URL: http://codereview.chromium.org/8143017
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@104207
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Sun, 14 Aug 2011 16:15:48 +0000 (16:15 +0000)]
hunspell: Include stringprintf.h to get StringPrintf instead of including string_util.h
This is necessary so in future we can remove the include of stringprintf.h from string_util.h
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7633050
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@96723
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Sat, 6 Aug 2011 01:36:29 +0000 (01:36 +0000)]
hunspell: Add base:: prefix to MD5 calls, so I can remove the hack in base/md5.h later.
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7550056
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@95712
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
dilmah@chromium.org [Tue, 19 Jul 2011 18:12:39 +0000 (18:12 +0000)]
Followup for commit r93054
see: http://codereview.chromium.org/7342047/
BUG=None
Test=None
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@93061
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
dilmah@chromium.org [Tue, 19 Jul 2011 17:53:21 +0000 (17:53 +0000)]
Prepare to moving base/stl_util-inl.h into base/stl_util.h
Rationale: we are generally getting rid of -inl files.
Moreover file-inl.h without corresponding file.h is not a way to go.
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@93054
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
cdn@chromium.org [Mon, 14 Mar 2011 19:29:03 +0000 (19:29 +0000)]
Formatting the readmes in deps to follow the proper format and making sure they contain Short Name and Version fields for version tracking.
BUG=None
TEST=N/A
Review URL: http://codereview.chromium.org/6624034
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@78071
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
maf@chromium.org [Thu, 9 Dec 2010 02:42:53 +0000 (02:42 +0000)]
Fix code that causes compile warning.
Review URL: http://codereview.chromium.org/5623008
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@68699
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Mon, 8 Nov 2010 06:48:23 +0000 (06:48 +0000)]
Add a MD5 checksum to the BDIC header.
This change adds a MD5 checksum to the BDIC header and fills the checksum when creating a BDIC. (Even though older Chrome can use new BDICs, I have updated the BDIC version to 2.0.) This change also adds hunspell::BDict::Verify() and moves the sanity check of a BDIC file there.
BUG=61206
TEST=http://codereview.chromium.org/4477002
Review URL: http://codereview.chromium.org/4409002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@65351
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Wed, 27 Oct 2010 09:02:37 +0000 (09:02 +0000)]
A quick fix for Bug 60816.
When using a corrupted dictionary, |node_offset_| may become greater than |bdict_length_|. This causes an access violation error as reported by Bug 60816. As a quick fix, this change adds a boundary check to NodeReader::FindWord() as we did for BDictReader::FindWord().
BUG=60816
TEST=none (need a corrupted dictionary.)
Review URL: http://codereview.chromium.org/4098005
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@64039
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Thu, 14 Oct 2010 03:36:33 +0000 (03:36 +0000)]
Added a URL to 'third_party/hunspell/README.chromium'.
This change just adds a URL: line and a NAME: line to README.chromium to make license.py happy.
BUG=57843
TEST=src/tools/license.py scan
Review URL: http://codereview.chromium.org/3775001
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@62501
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Tue, 28 Sep 2010 07:58:12 +0000 (07:58 +0000)]
Small tweak to support building on FreeBSD.
Original patch by chromium@hybridsource.com (see <http://codereview.chromium.org/3429018>).
R=hbono
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3492013
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@60758
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Wed, 18 Aug 2010 04:53:47 +0000 (04:53 +0000)]
Upgrade hunspell to 1.2.12.
This change applies the upstream patch which upgrades hunspell from 1.2.11 to 1.2.12.
BUG=51939
TEST=none
Review URL: http://codereview.chromium.org/3124022
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@56484
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Wed, 7 Jul 2010 04:59:46 +0000 (04:59 +0000)]
Deletes obsolete dictionaries under "deps/third_party/hunspell".
I forgot deleting dictionaries under "deps/third_party/hunspell" when I moved the hunspell dictionaries to a new repository "deps/third_party/hunspell_dictionaries".
TBR=jshin
BUG=40809
TEST=none
Review URL: http://codereview.chromium.org/2855031
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@51690
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Fri, 2 Jul 2010 04:17:57 +0000 (04:17 +0000)]
Removes the svn:executable properties.
This change just removes svn:executable properties from files in the new hunspell repositories.
TBR=estade
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2876037
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@51492
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Thu, 1 Jul 2010 04:32:17 +0000 (04:32 +0000)]
Update hunspell to 1.2.11.
This change just applies the upstream patch to update our hunspell from 1.2.10 to 1.2.11.
BUG=40909
TEST=none
Review URL: http://codereview.chromium.org/2834026
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@51338
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Tue, 22 Jun 2010 09:24:17 +0000 (09:24 +0000)]
Merges our hunspell change to hunspell 1.2.10.
This change refactors our hunspell change and merges it to hunspell 1.2.10. To compare with our old change to hunspell 1.2.8, this change changes the following points:
1. Use the original load_config() to parse the affix lines so we can use all hunspell options.
2. Enclose all our changes with '#ifdef HUNSPELL_CHROME_CLIENT' and '#endif'.
3. Remove unnecessary '#undef fclose'.
BUG=40909
TEST=unit_tests.exe --gtest_filter=SpellCheckTest*
Review URL: http://codereview.chromium.org/2239005
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@50438
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Wed, 12 May 2010 14:18:03 +0000 (14:18 +0000)]
Lands Hunspell 1.2.10.
This changes just lands the original version of hunspell 1.2.10 without any changes. (That is, this does not include our hunspell changes, neither.) I will send another change that merges the refactored version of our hunspell change to it. (I think it makes easier to figure out our hunspell changes.)
BUG=40909
TEST=none
Review URL: http://codereview.chromium.org/2017010
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@47026
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 21 Aug 2009 18:06:47 +0000 (18:06 +0000)]
Replace icu38/icu38.gyp with icu/icu.gyp in hunspell.gyp in preparation
for ICU upgrade.
TBR=mhm
BUG=8198
Review URL: http://codereview.chromium.org/174237
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@23980
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mhm@chromium.org [Thu, 20 Aug 2009 04:19:54 +0000 (04:19 +0000)]
Update hunspell imports to use deps location instead of previous location.
TBR=hbono
BUG=14756
Review URL: http://codereview.chromium.org/174130
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@23803
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mhm@chromium.org [Thu, 20 Aug 2009 03:38:20 +0000 (03:38 +0000)]
Fix common and base gypi paths in hunspell
BUG=14756
TBR=hbono
Review URL: http://codereview.chromium.org/174125
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@23799
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mhm@chromium.org [Thu, 20 Aug 2009 03:19:14 +0000 (03:19 +0000)]
Change icu gyp path in hunspell in deps to point to the correct path
TBR=markmentovai
BUG=14756
Review URL: http://codereview.chromium.org/174124
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@23798
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mhm@chromium.org [Thu, 20 Aug 2009 02:53:32 +0000 (02:53 +0000)]
Copy original hunspell to deps to begin with updating it to the newest version
R=markmentovai
BUG=14756
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@23796
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c