Skip to content

Commit 41b264b

Browse files
committed
Added CodeIntel from KomodoEdit-Codeintel (symlinks removed)
rsync --exclude .git -av --delete --copy-links KomodoEdit-CodeIntel/ CodeIntel/
1 parent 7c76182 commit 41b264b

1,269 files changed

Lines changed: 1454970 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
language: python
2+
3+
cache:
4+
directories:
5+
- "$HOME/.cache/pip"
6+
- "$HOME/.pyenv"
7+
8+
matrix:
9+
include:
10+
- os: linux
11+
dist: trusty
12+
python: '2.6'
13+
- os: linux
14+
dist: trusty
15+
python: '2.7'
16+
# - os: linux
17+
# dist: trusty
18+
# python: '3.3'
19+
# - os: linux
20+
# dist: trusty
21+
# python: '3.4'
22+
# - os: linux
23+
# dist: trusty
24+
# python: '3.5'
25+
# - os: linux
26+
# dist: trusty
27+
# python: '3.6'
28+
- os: linux
29+
dist: trusty
30+
python: pypy
31+
- os: osx
32+
language: objective-c
33+
env: PYENV_VERSION=2.7.12
34+
# - os: osx
35+
# language: objective-c
36+
# env: PYENV_VERSION=3.5.2
37+
- sudo: required
38+
services:
39+
- docker
40+
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
41+
- sudo: required
42+
services:
43+
- docker
44+
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
45+
PRE_CMD=linux32
46+
47+
install:
48+
- if [[ "$DOCKER_IMAGE" != "" ]]; then docker pull $DOCKER_IMAGE; fi
49+
50+
script:
51+
- if [[ "$DOCKER_IMAGE" != "" ]]; then docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/.travis/manylinux-build.sh; else travis_retry python setup.py bdist_wheel; fi
52+
- ls dist/
53+
54+
artifacts:
55+
# bdist_wheel puts your built wheel in the dist directory
56+
- path: dist/*
57+
58+
# deploy:
59+
# provider: releases
60+
# api_key:
61+
# secure: QiadMGAmtPw+Ut7LWqa3U/tImPIgiPH79mM9o8DGBckcacp9HkDYvCGuOjs5hZbCBBuQ6IAkikotS8iCSwHey1GK9jSDbpgKvVGiACdp8HNhitY8V/S3e1UukDlMeu+Q7vCJtynSGX0BJuiOQB8ZQyQ2HEZ7kMQgTLCEO1Uljhc=
62+
# file: dist/*.whl
63+
# file_glob: true
64+
# on:
65+
# repo: Kronuz/CodeIntel
66+
# tags: true
67+
# skip_cleanup: true

.travis/manylinux-build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
set -e -x
3+
4+
cd /io/
5+
6+
# Compile wheels
7+
for PYBIN in /opt/python/cp2*/bin; do
8+
"${PYBIN}/python" setup.py bdist_wheel
9+
done
10+
11+
# Bundle external shared libraries into the wheels
12+
for whl in dist/*.whl; do
13+
auditwheel repair "$whl" -w /io/dist/
14+
done

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
global-include *.rst *.txt
2+
global-include *.h *.c *.cxx

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CodeIntel
2+
=========
3+
4+
Code intelligence ported from Open Komodo Editor. Supports all the languages
5+
Komodo Editor supports for Code Intelligence (CIX, CodeIntel2):
6+
7+
Go, JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML,
8+
Sass, XSLT, Django, HTML5, Perl, CSS, Twig, Less, Smarty, Node.js, Tcl,
9+
TemplateToolkit, PHP.

appveyor.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
version: 0.10.1.{build}
2+
3+
skip_non_tags: true
4+
5+
environment:
6+
7+
matrix:
8+
9+
# For Python versions available on Appveyor, see
10+
# http://www.appveyor.com/docs/installed-software#python
11+
# The list here is complete (excluding Python 2.6, which
12+
# isn't covered by this document) at the time of writing.
13+
14+
- PYTHON: "C:\\Python27"
15+
# - PYTHON: "C:\\Python33"
16+
# - PYTHON: "C:\\Python34"
17+
# - PYTHON: "C:\\Python35"
18+
- PYTHON: "C:\\Python27-x64"
19+
# - PYTHON: "C:\\Python33-x64"
20+
# DISTUTILS_USE_SDK: "1"
21+
# - PYTHON: "C:\\Python34-x64"
22+
# DISTUTILS_USE_SDK: "1"
23+
# - PYTHON: "C:\\Python35-x64"
24+
25+
install:
26+
# We need wheel installed to build wheels
27+
- "%PYTHON%\\python.exe -m pip install wheel"
28+
29+
build: off
30+
31+
test_script:
32+
# Put your test command here.
33+
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
34+
# you can remove "build.cmd" from the front of the command, as it's
35+
# only needed to support those cases.
36+
# Note that you must use the environment variable %PYTHON% to refer to
37+
# the interpreter you're using - Appveyor does not do anything special
38+
# to put the Python version you want to use on PATH.
39+
# - "build.cmd %PYTHON%\\python.exe setup.py test"
40+
41+
after_test:
42+
# This step builds your wheels.
43+
# Again, you only need build.cmd if you're building C extensions for
44+
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
45+
# interpreter
46+
- "%PYTHON%\\python.exe setup.py bdist_wheel"
47+
48+
artifacts:
49+
# bdist_wheel puts your built wheel in the dist directory
50+
- path: dist\*
51+
52+
#on_success:
53+
# You can use this step to upload your artifacts to a public website.
54+
# See Appveyor's documentation for more details. Or you can simply
55+
# access your wheels from the Appveyor "artifacts" tab for your build.

cElementTree/CHANGES

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
$Id: /work/modules/celementtree/CHANGES 1128 2005-12-16T21:57:13.668520Z Fredrik $
2+
3+
(1.0.5 released)
4+
5+
+ Added support for non-standard encodings. If an unknown encoding
6+
is reported by expat, cElementTree uses Python's Unicode system to
7+
generate a decoding table.
8+
9+
(1.0.4 released)
10+
11+
+ Added support for linking against the "pyexpat" library in Python
12+
2.5. Define USE_PYEXPAT_CAPI to enable this feature.
13+
14+
+ Minor optimizations.
15+
16+
(1.0.3 released)
17+
18+
+ Use runtime test for figure out if copy workaround is needed.
19+
20+
+ Don't crash in 'parse' if the file object's 'read' method raises
21+
an unexpected exception (reported by Martin Pool).
22+
23+
+ Added comment and processing instruction support to the XMLParser
24+
type. The parser now calls 'comment' and 'pi' methods on the target
25+
object, if available.
26+
27+
+ Make 'iterparse' available under Python 2.1 (requires ElementTree
28+
1.2.5 or newer).
29+
30+
+ Report unknown events passed to 'iterparse', rather than ignoring
31+
them. (Under 2.1, this only works if ElementTree's iterparse does
32+
this)
33+
34+
+ Added 'Comment' and 'PI'/'ProcessingInstruction' output helpers.
35+
36+
(1.0.2 released)
37+
38+
+ Let Expat use Python's memory allocator.
39+
40+
+ Added missing 'iselement' function (reported by Ken Rimey).
41+
42+
+ Fixed attribute dictionary aliasing bug in 'makeelement' method
43+
(reported by Ken Rimey).
44+
45+
(1.0.1 released)
46+
47+
+ Added missing 'remove' method (based on code by Michael Droettboom).
48+
49+
(1.0 released)
50+
51+
+ Added a VERSION attribute to the cElementTree module (also available
52+
as __version__).
53+
54+
(0.9.8 released)
55+
56+
+ Changed the 'iterparse' interface slightly. The context object
57+
is no longer included in the sequence, and by default, the parser
58+
only returns "end" events (for completed elements):
59+
60+
for event, elem in iterparse(source):
61+
...
62+
63+
To get other events, use the "events" option to pass in a tuple
64+
containing the events you want:
65+
66+
for event, elem in iterparse(source, events=(...)):
67+
...
68+
69+
The event tuple can contain one or more of:
70+
71+
"start"
72+
generated for start tags, after the element has been created
73+
(but before the current element has been fully populated)
74+
"end"
75+
generated for end tags, after all element children has been
76+
created.
77+
"start-ns"
78+
generated when a new namespace scope is opened. for this event,
79+
the elem value is a (prefix, url) tuple.
80+
"end-ns"
81+
generated when the current namespace scope is closed. elem
82+
is None.
83+
84+
Events arrive asynchronously; the tree is usually more complete
85+
than the events indicate, but this is nothing you can rely on.
86+
87+
The iterable itself contains context information. In the current
88+
release, the only public context attribute is "root", which is set
89+
to the root element when parsing is finished. To access the con-
90+
text, assign the iterable to a variable before looping over it:
91+
92+
context = iterparse(source)
93+
for event, elem in context:
94+
...
95+
root = context.root
96+
97+
(0.9.3 released)
98+
99+
+ Added 'iterparse' function. This is similar to 'parse', but returns
100+
a stream of events while it builds the tree. Usage:
101+
102+
for context, action, elem in iterparse(source):
103+
...
104+
105+
- The context object is a dummy object in the current release. The
106+
action object is either "start" (for start tags) or "end" (for end
107+
tags). The elem object is the current element; for "start" events,
108+
the element itself has been created (including attributes), but its
109+
contents may not be complete; for "end" events, all child elements
110+
has been processed as well. You can use "start" tags to count
111+
elements, check attributes, and check if certain tags are present
112+
in a tree. For all other purposes, use "end" handlers instead.
113+
114+
- For incremental parsing, call 'elem.clear()' in the "end" handler,
115+
when you're done processing a given element.
116+
117+
- When the loop finishes, the last elem object will be the tree's
118+
root note. You can terminate the loop at any time (but doing that
119+
will of course leave the tree in an unknown, unfinished state).
120+
121+
+ Fixed getchildren crash. Note that getchildren is deprecated; use
122+
'elem' or 'list(elem)' instead of 'elem.getchildren()' (elements are
123+
sequences; only use 'list(elem)' if you need a real list object).
124+
125+
+ Removed the addobserver/removeobserver API from the TreeBuilder class.
126+
Use 'iterparse' instead.
127+
128+
(0.9.2 released)

cElementTree/PKG-INFO

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Metadata-Version: 1.0
2+
Name: cElementTree
3+
Version: 1.0.5-20051216
4+
Summary: A fast C implementation of the ElementTree API.
5+
Home-page: http://www.effbot.org/zone/celementtree.htm
6+
Author: Fredrik Lundh
7+
Author-email: fredrik@pythonware.com
8+
License: Python (MIT style)
9+
Download-URL: http://effbot.org/downloads#celementtree
10+
Description: A fast C implementation of the ElementTree API.
11+
Platform: Python 2.1 and later.
12+
Classifier: Development Status :: 5 - Production/Stable
13+
Classifier: Operating System :: OS Independent
14+
Classifier: Topic :: Text Processing :: Markup :: XML

0 commit comments

Comments
 (0)