diff options
| author | Joakim Verona | 2011-07-31 23:57:51 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-31 23:57:51 +0200 |
| commit | 332f858fd7fa815846cfc48219df8952c75a44ae (patch) | |
| tree | 0090ab405bb08d817b530130af98c9a580f6ee1d | |
| parent | fceaa88120e9f907c279baecd2e755b16e667059 (diff) | |
| parent | e8500ff4af0d6c390f66a1f6d7d22695e590a8af (diff) | |
| download | emacs-332f858fd7fa815846cfc48219df8952c75a44ae.tar.gz emacs-332f858fd7fa815846cfc48219df8952c75a44ae.zip | |
merge upstream
| -rw-r--r-- | etc/grammars/bovine-grammar.el | 2 | ||||
| -rw-r--r-- | etc/grammars/c.by | 29 | ||||
| -rw-r--r-- | etc/grammars/java-tags.wy | 39 | ||||
| -rw-r--r-- | etc/grammars/javascript-jv.wy | 83 | ||||
| -rw-r--r-- | etc/grammars/make.by | 29 | ||||
| -rw-r--r-- | etc/grammars/python.wy | 89 | ||||
| -rw-r--r-- | etc/grammars/scheme.by | 30 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/c-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/make-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/scm-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/javat-wy.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/js-wy.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/python-wy.el | 4 | ||||
| -rw-r--r-- | lisp/xwidget.el | 6 | ||||
| -rw-r--r-- | src/w32term.c | 16 |
15 files changed, 203 insertions, 140 deletions
diff --git a/etc/grammars/bovine-grammar.el b/etc/grammars/bovine-grammar.el index eb094868b3b..99da6ea5599 100644 --- a/etc/grammars/bovine-grammar.el +++ b/etc/grammars/bovine-grammar.el | |||
| @@ -436,4 +436,4 @@ Menu items are appended to the common grammar menu.") | |||
| 436 | 436 | ||
| 437 | (provide 'semantic/bovine/grammar) | 437 | (provide 'semantic/bovine/grammar) |
| 438 | 438 | ||
| 439 | ;;; semantic/bovine/grammar.el ends here | 439 | ;;; bovine-grammar.el ends here |
diff --git a/etc/grammars/c.by b/etc/grammars/c.by index fe8e0c28838..cf8cb0c638e 100644 --- a/etc/grammars/c.by +++ b/etc/grammars/c.by | |||
| @@ -1,28 +1,25 @@ | |||
| 1 | ;;; semantic/bovine/c.by -- LL grammar for C/C++ language specification | 1 | ;;; c.by -- LL grammar for C/C++ language specification |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Eric M. Ludlam | 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2002, 2003 David Ponce | ||
| 5 | ;; | 4 | ;; |
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; David Ponce <david@dponce.com> | 6 | ;; David Ponce <david@dponce.com> |
| 8 | ;; Klaus Berndl <klaus.berndl@sdm.de> | 7 | ;; Klaus Berndl <klaus.berndl@sdm.de> |
| 9 | ;; | 8 | ;; |
| 10 | ;; | 9 | ;; This file is part of GNU Emacs. |
| 11 | ;; This program is free software; you can redistribute it and/or modify | 10 | |
| 11 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 12 | ;; it under the terms of the GNU General Public License as published by | 12 | ;; it under the terms of the GNU General Public License as published by |
| 13 | ;; the Free Software Foundation; either version 2, or (at your option) | 13 | ;; the Free Software Foundation, either version 3 of the License, or |
| 14 | ;; any later version. | 14 | ;; (at your option) any later version. |
| 15 | ;; | 15 | |
| 16 | ;; This software is distributed in the hope that it will be useful, | 16 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | ;; GNU General Public License for more details. | 19 | ;; GNU General Public License for more details. |
| 20 | ;; | 20 | |
| 21 | ;; You should have received a copy of the GNU General Public License | 21 | ;; You should have received a copy of the GNU General Public License |
| 22 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 22 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 23 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 24 | ;; Boston, MA 02110-1301, USA. | ||
| 25 | ;; | ||
| 26 | 23 | ||
| 27 | ;; TODO: From Nate Schley | 24 | ;; TODO: From Nate Schley |
| 28 | ;; > * Can't parse signature element: "const char* const rmc_ClrTxt" | 25 | ;; > * Can't parse signature element: "const char* const rmc_ClrTxt" |
| @@ -1202,4 +1199,4 @@ unaryexpression | |||
| 1202 | | expr-start expression | 1199 | | expr-start expression |
| 1203 | ; | 1200 | ; |
| 1204 | 1201 | ||
| 1205 | ;;; semantic/bovine/c.by ends here | 1202 | ;;; c.by ends here |
diff --git a/etc/grammars/java-tags.wy b/etc/grammars/java-tags.wy index f24777dc92e..aed39669c53 100644 --- a/etc/grammars/java-tags.wy +++ b/etc/grammars/java-tags.wy | |||
| @@ -1,29 +1,26 @@ | |||
| 1 | ;;; semantic/wisent/java-tags.wy -- Semantic LALR grammar for Java | 1 | ;;; java-tags.wy -- Semantic LALR grammar for Java |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2002, 2007 David Ponce | 3 | ;; Copyright (C) 2002-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2007 Eric Ludlam | ||
| 5 | ;; | 4 | ;; |
| 6 | ;; Author: David Ponce <david@dponce.com> | 5 | ;; Author: David Ponce <david@dponce.com> |
| 7 | ;; Maintainer: David Ponce <david@dponce.com> | 6 | ;; Maintainer: David Ponce <david@dponce.com> |
| 8 | ;; Created: 25 Feb 2002 | 7 | ;; Created: 26 Aug 2002 |
| 9 | ;; Keywords: syntax | 8 | ;; Keywords: syntax |
| 10 | ;; | 9 | |
| 11 | ;; This file is not part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 12 | ;; | 11 | |
| 13 | ;; This program is free software; you can redistribute it and/or | 12 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 14 | ;; modify it under the terms of the GNU General Public License as | 13 | ;; it under the terms of the GNU General Public License as published by |
| 15 | ;; published by the Free Software Foundation; either version 2, or (at | 14 | ;; the Free Software Foundation, either version 3 of the License, or |
| 16 | ;; your option) any later version. | 15 | ;; (at your option) any later version. |
| 17 | ;; | 16 | |
| 18 | ;; This software is distributed in the hope that it will be useful, | 17 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | ;; General Public License for more details. | 20 | ;; GNU General Public License for more details. |
| 22 | ;; | 21 | |
| 23 | ;; You should have received a copy of the GNU General Public License | 22 | ;; You should have received a copy of the GNU General Public License |
| 24 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 23 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 25 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 26 | ;; Boston, MA 02110-1301, USA. | ||
| 27 | 24 | ||
| 28 | %package java-tags-wy | 25 | %package java-tags-wy |
| 29 | 26 | ||
| @@ -750,4 +747,4 @@ It ignores whitespaces, newlines and comments." | |||
| 750 | ;;;; | 747 | ;;;; |
| 751 | semantic-lex-default-action) | 748 | semantic-lex-default-action) |
| 752 | 749 | ||
| 753 | ;;; semantic/wisent/java-tags.wy ends here | 750 | ;;; java-tags.wy ends here |
diff --git a/etc/grammars/javascript-jv.wy b/etc/grammars/javascript-jv.wy index 7eb56afb1eb..ba518392ae2 100644 --- a/etc/grammars/javascript-jv.wy +++ b/etc/grammars/javascript-jv.wy | |||
| @@ -1,38 +1,61 @@ | |||
| 1 | ;;; semantic/wisent/javascript-jv.wy -- LALR grammar for Javascript | 1 | ;;; javascript-jv.wy -- LALR grammar for Javascript |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2005 Joakim Verona, Eric Ludlam | 3 | ;; Copyright (C) 2005-2011 Free Software Foundation, Inc. |
| 4 | ;; JAVE Copyright (C) Alex Walker | 4 | ;; Copyright (C) Ecma International. |
| 5 | ;; | 5 | |
| 6 | ;; Author: Joakim Verona | 6 | ;; Author: Joakim Verona |
| 7 | ;; Maintainer: | 7 | |
| 8 | ;; Keywords: syntax | 8 | ;; This file is part of GNU Emacs. |
| 9 | ;; | 9 | |
| 10 | ;; This file is not part of GNU Emacs. | 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 11 | ;; | 11 | ;; it under the terms of the GNU General Public License as published by |
| 12 | ;; This program is free software; you can redistribute it and/or | 12 | ;; the Free Software Foundation, either version 3 of the License, or |
| 13 | ;; modify it under the terms of the GNU General Public License as | 13 | ;; (at your option) any later version. |
| 14 | ;; published by the Free Software Foundation; either version 2, or (at | 14 | |
| 15 | ;; your option) any later version. | 15 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 16 | ;; | ||
| 17 | ;; This software is distributed in the hope that it will be useful, | ||
| 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | ;; General Public License for more details. | 18 | ;; GNU General Public License for more details. |
| 21 | ;; | 19 | |
| 22 | ;; You should have received a copy of the GNU General Public License | 20 | ;; You should have received a copy of the GNU General Public License |
| 23 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 24 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 | |
| 25 | ;; Boston, MA 02110-1301, USA. | ||
| 26 | ;; | ||
| 27 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | |||
| 25 | ;; The grammar itself is transcribed from the ECMAScript Language | ||
| 26 | ;; Specification published at | ||
| 28 | ;; | 27 | ;; |
| 29 | ;;JAVE converted from a bison javascript definition at: | 28 | ;; http://www.ecma-international.org/publications/standards/Ecma-262.htm |
| 30 | ;; http://www.soton.net/jssyntaxchecker/FinalReport.pdf | ||
| 31 | ;;by Alex Walker | ||
| 32 | ;;and from wisent-javascrypt.wy by Eric Ludlam | ||
| 33 | ;; | 29 | ;; |
| 34 | ;;...and then further modified by Joakim Verona | 30 | ;; and redistributed under the following license: |
| 35 | ;;and its more of an experiment than anything useful | 31 | |
| 32 | ;; Redistribution and use in source and binary forms, with or without | ||
| 33 | ;; modification, are permitted provided that the following conditions | ||
| 34 | ;; are met: | ||
| 35 | |||
| 36 | ;; 1. Redistributions of source code must retain the above copyright | ||
| 37 | ;; notice, this list of conditions and the following disclaimer. | ||
| 38 | |||
| 39 | ;; 2. Redistributions in binary form must reproduce the above | ||
| 40 | ;; copyright notice, this list of conditions and the following | ||
| 41 | ;; disclaimer in the documentation and/or other materials provided | ||
| 42 | ;; with the distribution. | ||
| 43 | |||
| 44 | ;; 3. Neither the name of the authors nor Ecma International may be | ||
| 45 | ;; used to endorse or promote products derived from this software | ||
| 46 | ;; without specific prior written permission. THIS SOFTWARE IS | ||
| 47 | ;; PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR | ||
| 48 | ;; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 49 | ;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 50 | ;; ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR | ||
| 51 | ;; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 52 | ;; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | ||
| 53 | ;; OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 54 | ;; BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 55 | ;; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 56 | ;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
| 57 | ;; USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
| 58 | ;; DAMAGE. | ||
| 36 | 59 | ||
| 37 | %package javascript-jv-wy | 60 | %package javascript-jv-wy |
| 38 | ;; JAVE I prefere ecmascript-mode | 61 | ;; JAVE I prefere ecmascript-mode |
| @@ -500,4 +523,4 @@ OptionalExpression : Expression | |||
| 500 | semantic-lex-default-action | 523 | semantic-lex-default-action |
| 501 | ) | 524 | ) |
| 502 | 525 | ||
| 503 | ;;; semantic/wisent/javascript-jv.wy ends here | 526 | ;;; javascript-jv.wy ends here |
diff --git a/etc/grammars/make.by b/etc/grammars/make.by index 699019ca5bd..3eb56bf2b49 100644 --- a/etc/grammars/make.by +++ b/etc/grammars/make.by | |||
| @@ -1,24 +1,25 @@ | |||
| 1 | ;;; semantic/bovine/make.by -- BY notation for Makefiles. | 1 | ;;; make.by -- BY notation for Makefiles. |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008 Eric M. Ludlam | 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; David Ponce <david@dponce.com> | ||
| 7 | ;; Klaus Berndl <klaus.berndl@sdm.de> | ||
| 6 | ;; | 8 | ;; |
| 7 | ;; This program is free software; you can redistribute it and/or modify | 9 | ;; This file is part of GNU Emacs. |
| 10 | |||
| 11 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | ;; it under the terms of the GNU General Public License as published by | 12 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 2, or (at your option) | 13 | ;; the Free Software Foundation, either version 3 of the License, or |
| 10 | ;; any later version. | 14 | ;; (at your option) any later version. |
| 11 | ;; | 15 | |
| 12 | ;; This software is distributed in the hope that it will be useful, | 16 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ;; GNU General Public License for more details. | 19 | ;; GNU General Public License for more details. |
| 16 | ;; | 20 | |
| 17 | ;; You should have received a copy of the GNU General Public License | 21 | ;; You should have received a copy of the GNU General Public License |
| 18 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 22 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 19 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | ;; Boston, MA 02110-1301, USA. | ||
| 21 | ;; | ||
| 22 | 23 | ||
| 23 | %package make-by | 24 | %package make-by |
| 24 | 25 | ||
| @@ -164,4 +165,4 @@ some-whitespace : whitespace some-whitespace (nil) | |||
| 164 | | whitespace (nil) | 165 | | whitespace (nil) |
| 165 | ; | 166 | ; |
| 166 | 167 | ||
| 167 | ;;; semantic/bovine/make.by ends here | 168 | ;;; make.by ends here |
diff --git a/etc/grammars/python.wy b/etc/grammars/python.wy index a8dafd6f955..8a7b7771d53 100644 --- a/etc/grammars/python.wy +++ b/etc/grammars/python.wy | |||
| @@ -1,34 +1,83 @@ | |||
| 1 | ;;; semantic/wisent/python.wy -- LALR grammar for Python | 1 | ;;; python.wy -- LALR grammar for Python |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2007 Richard Kim | 3 | ;; Copyright (C) 2002-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; Copyright (C) 2001-2010 Python Software Foundation |
| 5 | |||
| 5 | ;; Author: Richard Kim <ryk@dspwiz.com> | 6 | ;; Author: Richard Kim <ryk@dspwiz.com> |
| 6 | ;; Maintainer: Richard Kim <ryk@dspwiz.com> | 7 | ;; Maintainer: Richard Kim <ryk@dspwiz.com> |
| 7 | ;; Created: June 2002 | 8 | ;; Created: June 2002 |
| 8 | ;; Keywords: syntax | 9 | ;; Keywords: syntax |
| 9 | ;; | 10 | ;; |
| 10 | ;; This file is not part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 11 | ;; | 12 | |
| 12 | ;; This program is free software; you can redistribute it and/or | 13 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 13 | ;; modify it under the terms of the GNU General Public License as | 14 | ;; it under the terms of the GNU General Public License as published by |
| 14 | ;; published by the Free Software Foundation; either version 2, or (at | 15 | ;; the Free Software Foundation, either version 3 of the License, or |
| 15 | ;; your option) any later version. | 16 | ;; (at your option) any later version. |
| 16 | ;; | 17 | |
| 17 | ;; This software is distributed in the hope that it will be useful, | 18 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | ;; General Public License for more details. | 21 | ;; GNU General Public License for more details. |
| 21 | ;; | 22 | |
| 22 | ;; You should have received a copy of the GNU General Public License | 23 | ;; You should have received a copy of the GNU General Public License |
| 23 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 24 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 24 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 25 | ;; Boston, MA 02110-1301, USA. | ||
| 26 | 25 | ||
| 27 | ;;; Commentary: | 26 | ;;; Commentary: |
| 28 | ;; | 27 | ;; |
| 29 | ;; This is an LALR python parser that follows the official python | 28 | ;; This is an LALR python parser that follows the official python |
| 30 | ;; grammar closely with very few exceptions. | 29 | ;; grammar closely with very few exceptions. The Python grammar is |
| 30 | ;; used and reproduced under the following license: | ||
| 31 | ;; | ||
| 32 | ;; PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||
| 33 | ;; -------------------------------------------- | ||
| 34 | ;; 1. This LICENSE AGREEMENT is between the Python Software Foundation | ||
| 35 | ;; ("PSF"), and the Individual or Organization ("Licensee") accessing | ||
| 36 | ;; and otherwise using this software ("Python") in source or binary | ||
| 37 | ;; form and its associated documentation. | ||
| 38 | ;; | ||
| 39 | ;; 2. Subject to the terms and conditions of this License Agreement, | ||
| 40 | ;; PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide | ||
| 41 | ;; license to reproduce, analyze, test, perform and/or display | ||
| 42 | ;; publicly, prepare derivative works, distribute, and otherwise use | ||
| 43 | ;; Python alone or in any derivative version, provided, however, that | ||
| 44 | ;; PSF's License Agreement and PSF's notice of copyright, i.e., | ||
| 45 | ;; "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | ||
| 46 | ;; 2009, 2010 Python Software Foundation; All Rights Reserved" are | ||
| 47 | ;; retained in Python alone or in any derivative version prepared by | ||
| 48 | ;; Licensee. | ||
| 49 | ;; | ||
| 50 | ;; 3. In the event Licensee prepares a derivative work that is based | ||
| 51 | ;; on or incorporates Python or any part thereof, and wants to make | ||
| 52 | ;; the derivative work available to others as provided herein, then | ||
| 53 | ;; Licensee hereby agrees to include in any such work a brief summary | ||
| 54 | ;; of the changes made to Python. | ||
| 55 | ;; | ||
| 56 | ;; 4. PSF is making Python available to Licensee on an "AS IS" | ||
| 57 | ;; basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
| 58 | ;; IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND | ||
| 59 | ;; DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
| 60 | ;; FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT | ||
| 61 | ;; INFRINGE ANY THIRD PARTY RIGHTS. | ||
| 31 | ;; | 62 | ;; |
| 63 | ;; 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON | ||
| 64 | ;; FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A | ||
| 65 | ;; RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR | ||
| 66 | ;; ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. | ||
| 67 | ;; | ||
| 68 | ;; 6. This License Agreement will automatically terminate upon a | ||
| 69 | ;; material breach of its terms and conditions. | ||
| 70 | ;; | ||
| 71 | ;; 7. Nothing in this License Agreement shall be deemed to create any | ||
| 72 | ;; relationship of agency, partnership, or joint venture between PSF | ||
| 73 | ;; and Licensee. This License Agreement does not grant permission to | ||
| 74 | ;; use PSF trademarks or trade name in a trademark sense to endorse or | ||
| 75 | ;; promote products or services of Licensee, or any third party. | ||
| 76 | ;; | ||
| 77 | ;; 8. By copying, installing or otherwise using Python, Licensee | ||
| 78 | ;; agrees to be bound by the terms and conditions of this License | ||
| 79 | ;; Agreement. | ||
| 80 | |||
| 32 | ;;; To do: | 81 | ;;; To do: |
| 33 | ;; | 82 | ;; |
| 34 | ;; * Verify that semantic-lex-python-number regexp is correct. | 83 | ;; * Verify that semantic-lex-python-number regexp is correct. |
| @@ -1080,4 +1129,4 @@ semicolon_opt | |||
| 1080 | | SEMICOLON | 1129 | | SEMICOLON |
| 1081 | ; | 1130 | ; |
| 1082 | 1131 | ||
| 1083 | ;;; semantic/wisent/python.wy ends here | 1132 | ;;; python.wy ends here |
diff --git a/etc/grammars/scheme.by b/etc/grammars/scheme.by index d15e2b11b19..9e57afe7438 100644 --- a/etc/grammars/scheme.by +++ b/etc/grammars/scheme.by | |||
| @@ -1,23 +1,21 @@ | |||
| 1 | ;;; semantic/bovine/scheme.by -- Scheme BNF language specification | 1 | ;;; scheme.by -- Scheme BNF language specification |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2001, 2003, 2009 Eric M. Ludlam | 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | |
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; This file is part of GNU Emacs. |
| 6 | ;; | 6 | |
| 7 | ;; This is free software; you can redistribute it and/or modify | 7 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | ;; it under the terms of the GNU General Public License as published by | 8 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 2, or (at your option) | 9 | ;; the Free Software Foundation, either version 3 of the License, or |
| 10 | ;; any later version. | 10 | ;; (at your option) any later version. |
| 11 | ;; | 11 | |
| 12 | ;; This software is distributed in the hope that it will be useful, | 12 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ;; GNU General Public License for more details. | 15 | ;; GNU General Public License for more details. |
| 16 | ;; | 16 | |
| 17 | ;; You should have received a copy of the GNU General Public License | 17 | ;; You should have received a copy of the GNU General Public License |
| 18 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 18 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 19 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | ;; Boston, MA 02110-1301, USA. | ||
| 21 | 19 | ||
| 22 | %package scm-by | 20 | %package scm-by |
| 23 | 21 | ||
| @@ -83,4 +81,4 @@ expression : symbol | |||
| 83 | | number | 81 | | number |
| 84 | ; | 82 | ; |
| 85 | 83 | ||
| 86 | ;;; semantic/bovine/scheme.by ends here | 84 | ;;; scheme.by ends here |
diff --git a/lisp/cedet/semantic/bovine/c-by.el b/lisp/cedet/semantic/bovine/c-by.el index 8e1fe8d3617..31489a4f625 100644 --- a/lisp/cedet/semantic/bovine/c-by.el +++ b/lisp/cedet/semantic/bovine/c-by.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file semantic/bovine/c.by | 22 | ;; This file was generated from etc/grammars/c.by. |
| 23 | ;; in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/bovine/make-by.el b/lisp/cedet/semantic/bovine/make-by.el index 3cc4e5b23a3..41da728d537 100644 --- a/lisp/cedet/semantic/bovine/make-by.el +++ b/lisp/cedet/semantic/bovine/make-by.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/grammars/make.by. |
| 23 | ;; semantic/bovine/make.by in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/bovine/scm-by.el b/lisp/cedet/semantic/bovine/scm-by.el index 87efe747a4c..8dd170384bc 100644 --- a/lisp/cedet/semantic/bovine/scm-by.el +++ b/lisp/cedet/semantic/bovine/scm-by.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/grammars/scm.by. |
| 23 | ;; semantic/bovine/scm.by in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/wisent/javat-wy.el b/lisp/cedet/semantic/wisent/javat-wy.el index adea4ef6932..38c19387440 100644 --- a/lisp/cedet/semantic/wisent/javat-wy.el +++ b/lisp/cedet/semantic/wisent/javat-wy.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/java-tags.wy. |
| 23 | ;; semantic/wisent/wisent-java-tags.wy in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/wisent/js-wy.el b/lisp/cedet/semantic/wisent/js-wy.el index e982caf4485..b523db8771b 100644 --- a/lisp/cedet/semantic/wisent/js-wy.el +++ b/lisp/cedet/semantic/wisent/js-wy.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; semantic/wisent/js-wy.el --- Generated parser support file | 1 | ;;; semantic/wisent/js-wy.el --- Generated parser support file |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) Ecma International. | ||
| 4 | 5 | ||
| 5 | ;; This file is part of GNU Emacs. | 6 | ;; This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -19,8 +20,7 @@ | |||
| 19 | 20 | ||
| 20 | ;;; Commentary: | 21 | ;;; Commentary: |
| 21 | ;; | 22 | ;; |
| 22 | ;; This file was generated from the grammar file | 23 | ;; This file was generated from etc/grammars/javascript-jv.wy. |
| 23 | ;; semantic/wisent/wisent-javascript-jv.wy in the CEDET repository. | ||
| 24 | 24 | ||
| 25 | ;;; Code: | 25 | ;;; Code: |
| 26 | (require 'semantic/lex) | 26 | (require 'semantic/lex) |
diff --git a/lisp/cedet/semantic/wisent/python-wy.el b/lisp/cedet/semantic/wisent/python-wy.el index 3a69078b02c..36965757a14 100644 --- a/lisp/cedet/semantic/wisent/python-wy.el +++ b/lisp/cedet/semantic/wisent/python-wy.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; semantic/wisent/python-wy.el --- Generated parser support file | 1 | ;;; semantic/wisent/python-wy.el --- Generated parser support file |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002-2004, 2007, 2010-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002-2004, 2007, 2010-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2001-2010 Python Software Foundation | ||
| 4 | 5 | ||
| 5 | ;; This file is part of GNU Emacs. | 6 | ;; This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -19,8 +20,7 @@ | |||
| 19 | 20 | ||
| 20 | ;;; Commentary: | 21 | ;;; Commentary: |
| 21 | ;; | 22 | ;; |
| 22 | ;; This file was generated from the grammar file | 23 | ;; This file was generated from etc/grammars/python.wy. |
| 23 | ;; semantic/wisent/wisent-python.wy in the CEDET repository. | ||
| 24 | 24 | ||
| 25 | ;;; Code: | 25 | ;;; Code: |
| 26 | 26 | ||
diff --git a/lisp/xwidget.el b/lisp/xwidget.el index 3a9a58a5173..0f48f2d95b7 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el | |||
| @@ -89,9 +89,9 @@ defaults to the string looking like a url around the cursor position." | |||
| 89 | (message "webkit loaded %s" xwidget)) | 89 | (message "webkit loaded %s" xwidget)) |
| 90 | ))) | 90 | ))) |
| 91 | 91 | ||
| 92 | (define-derived-mode xwidget-webkit-mode | 92 | (define-derived-mode xwidget-webkit-mode |
| 93 | special-mode "xwidget-webkit" "xwidget webkit view mode" | 93 | special-mode "xwidget-webkit" "xwidget webkit view mode" |
| 94 | (setq buffer-read-only t)))) | 94 | (setq buffer-read-only t)) |
| 95 | 95 | ||
| 96 | (defvar xwidget-webkit-last-session-buffer nil) | 96 | (defvar xwidget-webkit-last-session-buffer nil) |
| 97 | 97 | ||
diff --git a/src/w32term.c b/src/w32term.c index b7c0d61b633..98c4a391953 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1439,7 +1439,7 @@ x_draw_glyphless_glyph_string_foreground (struct glyph_string *s) | |||
| 1439 | 1439 | ||
| 1440 | Nominally, highlight colors for `3d' faces are calculated by | 1440 | Nominally, highlight colors for `3d' faces are calculated by |
| 1441 | brightening an object's color by a constant scale factor, but this | 1441 | brightening an object's color by a constant scale factor, but this |
| 1442 | doesn't yield good results for dark colors, so for colors who's | 1442 | doesn't yield good results for dark colors, so for colors whose |
| 1443 | brightness is less than this value (on a scale of 0-255) have to | 1443 | brightness is less than this value (on a scale of 0-255) have to |
| 1444 | use an additional additive factor. | 1444 | use an additional additive factor. |
| 1445 | 1445 | ||
| @@ -1618,8 +1618,9 @@ x_setup_relief_colors (struct glyph_string *s) | |||
| 1618 | 1618 | ||
| 1619 | static void | 1619 | static void |
| 1620 | w32_draw_relief_rect (struct frame *f, | 1620 | w32_draw_relief_rect (struct frame *f, |
| 1621 | int left_x, int top_y, int right_x, int bottom_y, int width, | 1621 | int left_x, int top_y, int right_x, int bottom_y, |
| 1622 | int raised_p, int top_p, int bot_p, int left_p, int right_p, | 1622 | int width, int raised_p, |
| 1623 | int top_p, int bot_p, int left_p, int right_p, | ||
| 1623 | RECT *clip_rect) | 1624 | RECT *clip_rect) |
| 1624 | { | 1625 | { |
| 1625 | int i; | 1626 | int i; |
| @@ -1880,7 +1881,8 @@ x_draw_image_relief (struct glyph_string *s) | |||
| 1880 | if (s->hl == DRAW_IMAGE_SUNKEN | 1881 | if (s->hl == DRAW_IMAGE_SUNKEN |
| 1881 | || s->hl == DRAW_IMAGE_RAISED) | 1882 | || s->hl == DRAW_IMAGE_RAISED) |
| 1882 | { | 1883 | { |
| 1883 | thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF; | 1884 | thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief |
| 1885 | : DEFAULT_TOOL_BAR_BUTTON_RELIEF; | ||
| 1884 | raised_p = s->hl == DRAW_IMAGE_RAISED; | 1886 | raised_p = s->hl == DRAW_IMAGE_RAISED; |
| 1885 | } | 1887 | } |
| 1886 | else | 1888 | else |
| @@ -3486,7 +3488,7 @@ my_destroy_window (struct frame * f, HWND hwnd) | |||
| 3486 | 3488 | ||
| 3487 | /* Create a scroll bar and return the scroll bar vector for it. W is | 3489 | /* Create a scroll bar and return the scroll bar vector for it. W is |
| 3488 | the Emacs window on which to create the scroll bar. TOP, LEFT, | 3490 | the Emacs window on which to create the scroll bar. TOP, LEFT, |
| 3489 | WIDTH and HEIGHT are.the pixel coordinates and dimensions of the | 3491 | WIDTH and HEIGHT are the pixel coordinates and dimensions of the |
| 3490 | scroll bar. */ | 3492 | scroll bar. */ |
| 3491 | 3493 | ||
| 3492 | static struct scroll_bar * | 3494 | static struct scroll_bar * |
| @@ -3872,7 +3874,7 @@ w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg, | |||
| 3872 | si.fMask = SIF_POS; | 3874 | si.fMask = SIF_POS; |
| 3873 | si.nPos = y; | 3875 | si.nPos = y; |
| 3874 | /* Remember apparent position (we actually lag behind the real | 3876 | /* Remember apparent position (we actually lag behind the real |
| 3875 | position, so don't set that directly. */ | 3877 | position, so don't set that directly). */ |
| 3876 | last_scroll_bar_drag_pos = y; | 3878 | last_scroll_bar_drag_pos = y; |
| 3877 | 3879 | ||
| 3878 | SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE); | 3880 | SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE); |
| @@ -4771,7 +4773,7 @@ w32_read_socket (struct terminal *terminal, int expected, | |||
| 4771 | pending_autoraise_frame = 0; | 4773 | pending_autoraise_frame = 0; |
| 4772 | } | 4774 | } |
| 4773 | 4775 | ||
| 4774 | /* Check which frames are still visisble, if we have enqueued any user | 4776 | /* Check which frames are still visible, if we have enqueued any user |
| 4775 | events or been notified of events that may affect visibility. We | 4777 | events or been notified of events that may affect visibility. We |
| 4776 | do this here because there doesn't seem to be any direct | 4778 | do this here because there doesn't seem to be any direct |
| 4777 | notification from Windows that the visibility of a window has | 4779 | notification from Windows that the visibility of a window has |