repo string | commit string | message string | diff string |
|---|---|---|---|
thijs/cl-sphinx-search | 566117e0d0b73d0dd87ad627639150628a855af6 | Rename method query -> run-query | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 0489cd0..65e7198 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,1220 +1,1220 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 4c86983fbefa59108f23a455716c68c074b5e1d1 | Leave overrides as hash-table for now | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 2b78553..0489cd0 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,703 +1,703 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 2f38603d166bc15ea82bf18a09d9703ca3ac63a9 | Fixing docs after atdoc fix for escaping @'s | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 8e5d381..2b78553 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,1169 +1,1220 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 617180d7780d9cddfbdbb10d820aee9108a7a0fe | Add a number of methods; nearing workable state | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index c6a4f81..8e5d381 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,968 +1,1169 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 43f391dfd56e4219c6bbb34fc9db231dca7cd346 | Setting filters actually seems to work | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index a0660cf..c6a4f81 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,964 +1,968 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
-(d... |
thijs/cl-sphinx-search | 81e125ea1d0f9fd5f0af2eac41184a829f043b51 | Getting some results... | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 04740e4..a0660cf 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -415,550 +415,550 @@
;; (let ((filter (make-hash-table)))
;; (setf (gethash 'type filter) +sph-filter-range+)
;; (setf (gethash 'attr filter) attr)
;; (se... |
thijs/cl-sphinx-search | d8e9f9ceae91b3c0de2886d1fdd6ee749861e00c | No errors anymore, but not giving correct results... | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 5169781..04740e4 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -411,562 +411,554 @@
(defmethod set-filter-range ((client sphinx-client) attr min max &key (exclude nil))
(%set-filter-range client +sph-filter-range+ attr min max :exc... |
thijs/cl-sphinx-search | 063765235deb665c1b941d037225584f1d7be03f | Filters using simple list structure | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index a968a30..5169781 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,969 +1,972 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
+(d... |
thijs/cl-sphinx-search | d5f9ccb0fefa89bd54f63717231e0d8df4a27e39 | Fleshing out the interface | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 1677173..d72cf17 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,794 +1,945 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 45efde1c7d5e20f22c6b586f341d543916762bc6 | Old documentation changes | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 15e8fc5..1677173 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,540 +1,559 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 5dca6618211fd691c5aa4514328cb9aea46d7b19 | Moved generics to top | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 1bde9e2..15e8fc5 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,734 +1,734 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
+... |
thijs/cl-sphinx-search | 3e89e9fd78b2d7cd8b544132d9f7028145295e31 | Small wording change | diff --git a/doc/.atdoc.xml b/doc/.atdoc.xml
index d694e3b..8769b0c 100644
--- a/doc/.atdoc.xml
+++ b/doc/.atdoc.xml
@@ -1,63 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<documentation include-internal-symbols-p="yes" index-title="Sphinx Search API reference" css="index.css" heading="Common Lisp Sphinx Search API... |
thijs/cl-sphinx-search | a2bf7e21e70da75a514efc19a93701aacfd6e032 | Use accessors for last-error and -warning; regen docs | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index 4678644..1bde9e2 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,781 +1,775 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 6e8345a0c35cc95be824931502563ddde80c7b35 | Added online doc location on thijso.com | diff --git a/README.md b/README.md
index 1982072..98569b3 100644
--- a/README.md
+++ b/README.md
@@ -1,45 +1,45 @@
Common Lisp Sphinx Search API client
===========
-See docs in `doc/`
+See docs in `doc/` or online [here](http://thijso.com/cl-spinx-search/doc/index.html).
### UNFINISHED & UNTESTED
This is a ... |
thijs/cl-sphinx-search | 36bf0b3f2aec05a62caf0b30252b171426231f17 | Added compatibility notice to README | diff --git a/README.md b/README.md
index 52edd91..1982072 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,45 @@
Common Lisp Sphinx Search API client
===========
See docs in `doc/`
### UNFINISHED & UNTESTED
This is a rather blunt port of the perl API found on CPAN, at
[Sphinx-Search-0.22](http://search.... |
thijs/cl-sphinx-search | 8d68f8ac9aa75eebf882c0dd9a803175e62ab35b | Encoding & cleanup socket passing | diff --git a/cl-sphinx-search.lisp b/cl-sphinx-search.lisp
index c502f20..4678644 100644
--- a/cl-sphinx-search.lisp
+++ b/cl-sphinx-search.lisp
@@ -1,770 +1,781 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
... |
thijs/cl-sphinx-search | 23486b8a1e8866a9101e250c3e8c26eabf11474f | Fix small typo in README | diff --git a/README.md b/README.md
index 9ae52da..52edd91 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,37 @@
Common Lisp Sphinx Search API client
===========
-See docs in `docs/`
+See docs in `doc/`
### UNFINISHED & UNTESTED
This is a rather blunt port of the perl API found on CPAN, at
[Sphinx-Search... |
thijs/cl-sphinx-search | dc987f2c58f449d8ba700eac445cab515ab5b90b | Stop SBCL from throwing errors for defconstant of a list | diff --git a/constants.lisp b/constants.lisp
index f07f140..c974ad9 100644
--- a/constants.lisp
+++ b/constants.lisp
@@ -1,93 +1,97 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; See the LICENSE file for licensing information.
(in-package #:cl-sphinx-search)
;; known searchd commands
(de... |
thijs/cl-sphinx-search | 36e53819b25cc73d8a04b09d653086e598c9be36 | Add licensing text to all source code files | diff --git a/cl-sphinx-search-test.asd b/cl-sphinx-search-test.asd
index 2986c79..6e55793 100644
--- a/cl-sphinx-search-test.asd
+++ b/cl-sphinx-search-test.asd
@@ -1,34 +1,35 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; See the LICENSE file for licensing information.
(in-package :cl-user)
... |
thijs/cl-sphinx-search | 8e26c28808b5e3b90389ef4de7ddcca055610bcc | Added README for github & license file | diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..12071ef
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,23 @@
+(This is the MIT license as taken from
+http://www.opensource.org/licenses/mit-license.php)
+
+Copyright (c) 2009 M.L. Oppermann
+
+
+Permission is hereby granted, free of charge, to any person obtai... |
thijs/cl-sphinx-search | 1c78e596697f8f6f236a9c65c6443de20f471508 | Added docs generated by atdoc | diff --git a/doc/header.gif b/doc/header.gif
new file mode 100644
index 0000000..8fa7847
Binary files /dev/null and b/doc/header.gif differ
diff --git a/doc/index.css b/doc/index.css
new file mode 100644
index 0000000..e065098
--- /dev/null
+++ b/doc/index.css
@@ -0,0 +1,206 @@
+div.sidebar {
+ float: right;
+ min-wi... |
thijs/cl-sphinx-search | 47d001ad9f5d4647730bb31e4c7a8b1786366f9b | Added documentation to exported functions and package def (atdoc style); some small fixes | diff --git a/package.lisp b/package.lisp
index 00c684b..6c88986 100644
--- a/package.lisp
+++ b/package.lisp
@@ -1,9 +1,70 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:cl-user)
(defpackage #:com.oppermannen.sphinx-search-api
(:nicknames "sphinx-search-api")
(:use :cl :iolib.... |
thijs/cl-sphinx-search | f87d50f1458e0c828c1ffb2406cf87c7fc8db8cd | Move stuff around and adding some docs | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index 0bbf3fd..14ea4ba 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,567 +1,622 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((%... |
thijs/cl-sphinx-search | aa908351bf092bd0a51ac6e1262e104e6ae3d654 | indentation | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index fc3f0ff..0bbf3fd 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,567 +1,567 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((%... |
thijs/cl-sphinx-search | d23896bdda240820dc47d14ac5576e25607478b6 | Working run-queries; getting same results as from perlapi | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index 93b7df7..fc3f0ff 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,413 +1,567 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((%... |
thijs/cl-sphinx-search | a5eb71d07c42626cd96b6b7e1d13397d22960a7a | started parse-response | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index b919dcf..a3ce0b3 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,392 +1,398 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((%... |
thijs/cl-sphinx-search | e281abfbb104701fd148aa3403d2d8d0e44bd7d9 | A WHOLE lot of debugging output; but working add-query and run-queries; YAY | diff --git a/PerlAPI.pm b/PerlAPI.pm
index 2b3f5d4..20702fd 100644
--- a/PerlAPI.pm
+++ b/PerlAPI.pm
@@ -1,2136 +1,2189 @@
package Sphinx::Search;
use warnings;
use strict;
use base 'Exporter';
use Carp;
use Socket;
use Config;
use Math::BigInt;
use IO::Socket::INET;
use IO::Socket::UNIX;
use Encode qw... |
thijs/cl-sphinx-search | 3a7a7f8df9ad67af9fade4821af3af3af605e782 | Renamed test stuff | diff --git a/sphinx-search-api-config.asd b/sphinx-search-api-test.asd
similarity index 87%
rename from sphinx-search-api-config.asd
rename to sphinx-search-api-test.asd
index c4b70de..538250e 100644
--- a/sphinx-search-api-config.asd
+++ b/sphinx-search-api-test.asd
@@ -1,23 +1,26 @@
;;;; -*- Mode: Lisp; Syntax: ANSI... |
thijs/cl-sphinx-search | d03b6ed37506dc869687bd3ea417d77ad6630af5 | Reformat | diff --git a/PerlAPI.pm b/PerlAPI.pm
index acdb805..2b3f5d4 100644
--- a/PerlAPI.pm
+++ b/PerlAPI.pm
@@ -1,2143 +1,2136 @@
package Sphinx::Search;
use warnings;
use strict;
use base 'Exporter';
use Carp;
use Socket;
use Config;
use Math::BigInt;
use IO::Socket::INET;
use IO::Socket::UNIX;
use Encode qw... |
thijs/cl-sphinx-search | 2cc86855531ac95e6daee04f7b4fb0f52950e380 | Working on run-queries | diff --git a/PerlAPI.pm b/PerlAPI.pm
index 10d4ec5..acdb805 100644
--- a/PerlAPI.pm
+++ b/PerlAPI.pm
@@ -1,2149 +1,2143 @@
package Sphinx::Search;
use warnings;
use strict;
use base 'Exporter';
use Carp;
use Socket;
use Config;
use Math::BigInt;
use IO::Socket::INET;
use IO::Socket::UNIX;
use Encode qw... |
thijs/cl-sphinx-search | 728659a770ae90427b0f3a7a501272b27261d298 | Working on add-query | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index 1465acc..f61d13e 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,275 +1,321 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
- ((s... |
thijs/cl-sphinx-search | 47968647919011e57caa7e85051312aad2a8fc5e | Use babel | diff --git a/PerlAPI.pm b/PerlAPI.pm
new file mode 100644
index 0000000..10d4ec5
--- /dev/null
+++ b/PerlAPI.pm
@@ -0,0 +1,2149 @@
+package Sphinx::Search;
+
+use warnings;
+use strict;
+
+use base 'Exporter';
+
+use Carp;
+use Socket;
+use Config;
+use Math::BigInt;
+use IO::Socket::INET;
+use IO::Socket::UNIX;
+use E... |
thijs/cl-sphinx-search | f37f033c1e8ab09484432396002efd82af1d3ad3 | Small changes | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index 5676096..862702b 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,271 +1,267 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((s... |
thijs/cl-sphinx-search | 9c2ea53be858e856fba59550b0cfdda444180d5a | Added set-limits | diff --git a/sphinx-search-api.lisp b/sphinx-search-api.lisp
index adf0d99..5676096 100644
--- a/sphinx-search-api.lisp
+++ b/sphinx-search-api.lisp
@@ -1,262 +1,271 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:com.oppermannen.sphinx-search-api)
(defclass sphinx-client ()
((s... |
thijs/cl-sphinx-search | 1b06e8c6819615a6d8f90c7381ff98ddec0d241c | Use iolib; use _perl_ pack structures; add %connect and %get-response | diff --git a/package.lisp b/package.lisp
index b9f5e33..761f191 100644
--- a/package.lisp
+++ b/package.lisp
@@ -1,9 +1,9 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:cl-user)
(defpackage #:com.oppermannen.sphinx-search-api
(:nicknames "sphinx-search-api")
- (:use :cl :usocket... |
thijs/cl-sphinx-search | d1dc3fdcc5b4c3257305e0573c6fabec27a9c593 | Started adding methods | diff --git a/package.lisp b/package.lisp
index 6ceb7a7..b9f5e33 100644
--- a/package.lisp
+++ b/package.lisp
@@ -1,10 +1,9 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(in-package #:cl-user)
-
(defpackage #:com.oppermannen.sphinx-search-api
(:nicknames "sphinx-search-api")
- (:use :cl)
+ (... |
Almad/Mechanize | cb77d2289448790a9857e0c1128dac7e27a9d8cb | Fix __init__.py typo that hid mechanize.seek_wrapped_response and mechanize.str2time (ori@avtalion.name) | diff --git a/mechanize/__init__.py b/mechanize/__init__.py
index 4bb20aa..0f89fcb 100644
--- a/mechanize/__init__.py
+++ b/mechanize/__init__.py
@@ -1,140 +1,140 @@
__all__ = [
'AbstractBasicAuthHandler',
'AbstractDigestAuthHandler',
'BaseHandler',
'Browser',
'BrowserStateError',
'CacheFT... |
Almad/Mechanize | 52bb52d8883f8e9849a823990cba9e688c7c2837 | * Fix quadratic performance in number of response .read() calls * Add a performance test (not run from test.py, will run from release script) | diff --git a/mechanize/_response.py b/mechanize/_response.py
index 7635745..fad9b57 100644
--- a/mechanize/_response.py
+++ b/mechanize/_response.py
@@ -1,514 +1,527 @@
"""Response classes.
The seek_wrapper code is not used if you're using UserAgent with
.set_seekable_responses(False), or if you're using the urlli... |
Almad/Mechanize | 4a2eef42f09d35ae78aecc7c67c5d9e53b79c9d5 | Oops, add missing modules | diff --git a/mechanize/_sockettimeout.py b/mechanize/_sockettimeout.py
new file mode 100644
index 0000000..c22b734
--- /dev/null
+++ b/mechanize/_sockettimeout.py
@@ -0,0 +1,6 @@
+import socket
+
+try:
+ _GLOBAL_DEFAULT_TIMEOUT = socket._GLOBAL_DEFAULT_TIMEOUT
+except AttributeError:
+ _GLOBAL_DEFAULT_TIMEOUT = o... |
Almad/Mechanize | aad4c59db83ff7d52d7bcde0b269ad47e946a060 | Revert upstream urllib2 fix for issue1401 (r60648). Not a bug (see http://bugs.python.org/msg76797). | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index 8306240..caeb82b 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -550,1025 +550,1024 @@ class DefaultCookiePolicy(CookiePolicy):
strict_rfc2965_unverifiable: follow RFC 2965 rules on unverifiable
transact... |
Almad/Mechanize | ebc5b80471d72a607768a3bec55c03dd306ed566 | Port upstream urllib2 fix for issue1401 (r60648) | diff --git a/mechanize/_http.py b/mechanize/_http.py
index 1b80e2b..3b3ad42 100644
--- a/mechanize/_http.py
+++ b/mechanize/_http.py
@@ -1,612 +1,615 @@
"""HTTP related handlers.
Note that some other HTTP handlers live in more specific modules: _auth.py,
_gzip.py, etc.
Copyright 2002-2006 John J Lee <jjl@pobo... |
Almad/Mechanize | 38b4a3c2a3ea31051dde0562247d60c40c672510 | Make functional_tests -l exit if local test server exits unexpectedly (use module subprocess instead of os.spawnv) | diff --git a/test-tools/testprogram.py b/test-tools/testprogram.py
index fa12ff8..02de3ee 100644
--- a/test-tools/testprogram.py
+++ b/test-tools/testprogram.py
@@ -1,314 +1,330 @@
"""Local server and cgitb support."""
import cgitb
#cgitb.enable(format="text")
-import sys, os, traceback, logging, glob, time
+imp... |
Almad/Mechanize | dc507f33e1145452a85bb7a43df3d26ec59481a9 | * Don't change CookieJar state in .make_cookies(). * Fix AttributeError in case where .make_cookies() or .cookies_for_request() is called before other methods like .extract_cookies() or .make_cookie_header() | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index 45cf970..8306240 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -550,1155 +550,1159 @@ class DefaultCookiePolicy(CookiePolicy):
strict_rfc2965_unverifiable: follow RFC 2965 rules on unverifiable
transact... |
Almad/Mechanize | 5f3cc188068d1842951548a671c9d237d7719d1a | Add new public function effective_request_host | diff --git a/mechanize/__init__.py b/mechanize/__init__.py
index 3f786ec..4bb20aa 100644
--- a/mechanize/__init__.py
+++ b/mechanize/__init__.py
@@ -1,139 +1,140 @@
__all__ = [
'AbstractBasicAuthHandler',
'AbstractDigestAuthHandler',
'BaseHandler',
'Browser',
'BrowserStateError',
'CacheFT... |
Almad/Mechanize | 341971ba1d37e6ba0cc89eaefae56540ab15132f | Add .get_policy() method to CookieJar | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index 06328d2..7f265dd 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -485,1059 +485,1063 @@ class CookiePolicy:
"""Return false if cookies should not be returned, given cookie path.
See the docstring f... |
Almad/Mechanize | ee93b1301d7d5b2db0bf569fcbd51be7751a9639 | Don't choke on non-integer version cookie-attribute (http://bugs.python.org/issue3924) * Strip quotes from version attribute value * Ignore cookies with bad versions | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index 531c190..06328d2 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -785,907 +785,911 @@ class DefaultCookiePolicy(CookiePolicy):
"%s", erhn, domain)
return False
... |
Almad/Mechanize | 585c7a1ac7913feb1cfcb233e25cc6b85aedda5c | * Add method CookieJar.cookies_for_request() * Fix documented interface required of requests and responses (and add some tests for this!) * Allow either .is_unverifiable() or .unverifiable on request objects (preferring the former) * Replace example return value in mechanize._clientcookie.CookieJar._cookie_attrs.__... | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index c8537ac..531c190 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -1,1656 +1,1691 @@
"""HTTP cookie handling for web clients.
This module originally developed from my port of Gisle Aas' Perl module
HTTP::Cookies, ... |
Almad/Mechanize | 6ac75b3eec18d1ac1e8c952382faf506a77084b1 | Add a -l option to test runner to print debug logs | diff --git a/test.py b/test.py
index fa5d0f6..8e497ee 100755
--- a/test.py
+++ b/test.py
@@ -1,146 +1,151 @@
#!/usr/bin/env python
"""Test runner.
For further help, enter this at a command prompt:
python test.py --help
"""
# Modules containing tests to run -- a test is anything named *Tests, which
# sh... |
Almad/Mechanize | a537abd1023746fdb452a63c37ad606800209b31 | Silence module logging's "no handlers could be found for logger mechanize" warning in a way that doesn't clobber attempts to set log level sometimes | diff --git a/mechanize/__init__.py b/mechanize/__init__.py
index f7fca78..3f786ec 100644
--- a/mechanize/__init__.py
+++ b/mechanize/__init__.py
@@ -1,133 +1,139 @@
__all__ = [
'AbstractBasicAuthHandler',
'AbstractDigestAuthHandler',
'BaseHandler',
'Browser',
'BrowserStateError',
'CacheFT... |
Almad/Mechanize | c0ee6247017794923e3a662120c1de11ee6de1ac | Don't use private attribute of request in request upgrade handlerl (what was I thinking??) | diff --git a/mechanize/_upgrade.py b/mechanize/_upgrade.py
index 73a447c..df59c01 100644
--- a/mechanize/_upgrade.py
+++ b/mechanize/_upgrade.py
@@ -1,40 +1,40 @@
from urllib2 import BaseHandler
from _request import Request
from _response import upgrade_response
from _util import deprecation
class HTTPReques... |
Almad/Mechanize | 69d224959a7ae54cd8690a9e300e4e2e2c6aa39b | * Add Python version classifiers to setup.py * Don't call setup() on import of setup.py | diff --git a/setup.py b/setup.py
index e61de2d..e1ae03b 100755
--- a/setup.py
+++ b/setup.py
@@ -1,147 +1,156 @@
#!/usr/bin/env python
"""Stateful programmatic web browsing.
Stateful programmatic web browsing, after Andy Lester's Perl module
WWW::Mechanize.
The library is layered: mechanize.Browser (stateful w... |
Almad/Mechanize | 1ff146c5c304a29b273d1374fd8388eeb1d32710 | Fix typo in MANIFEST.in | diff --git a/MANIFEST.in b/MANIFEST.in
index 013ddf8..a43d4ef 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,16 +1,16 @@
include MANIFEST.in
include COPYING.txt
include INSTALL.txt
include GeneralFAQ.html
include README.html.in
include README.html
include README.txt
include doc.html.in
include doc.html
incl... |
Almad/Mechanize | 2e763f20a3577cbdb9d8660feeb8dd35c03eb841 | * Fix ImportError if sqlite3 not available * Fix a couple of functional test not to wait 5 seconds each | diff --git a/functional_tests.py b/functional_tests.py
index 38a8800..2b2952e 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,513 +1,514 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys, urllib, tempfile, err... |
Almad/Mechanize | 1d5485e27d2e5f7eac2b284ca003015c698b5da4 | Fix web page regarding beta status | diff --git a/README.html.in b/README.html.in
index 0df011b..2b7df0f 100644
--- a/README.html.in
+++ b/README.html.in
@@ -1,606 +1,606 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
@# This file is processed by EmPy: do not edit
@# http://wwwsearch.sf.net/bits/c... |
Almad/Mechanize | b990f9e1210be4665bad848d66b6b0fe5fb6ca94 | Add a setup.cfg.release | diff --git a/setup.cfg.release b/setup.cfg.release
new file mode 100644
index 0000000..e69de29
|
Almad/Mechanize | 52bdccb046b2e1869bc2f6ae98dc31b0934f6011 | Make the next release version 0.1.8 (no "b" for beta) | diff --git a/README.html.in b/README.html.in
index bc5f721..0df011b 100644
--- a/README.html.in
+++ b/README.html.in
@@ -1,606 +1,606 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
@# This file is processed by EmPy: do not edit
@# http://wwwsearch.sf.net/bits/c... |
Almad/Mechanize | 25ddc62c0a446568dc3fcf18af599f45a83742f1 | Revert r44828 and update tests appropriately. This reverts changes to Refresh redirection defaults, back to how they were in the last release (0.1.7b). | diff --git a/functional_tests.py b/functional_tests.py
index 82fb832..38a8800 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,513 +1,513 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys, urllib, tempfile, err... |
Almad/Mechanize | 96c495728b59f3476bca2a15e3b94cb441f29fe4 | Firefox 3 cookiejar support is only supported in Python 2.5 and later, and is experimental code. * Issue a warning on construction of mechanize.Firefox3CookieJar to indicate it's experimental * Make mechanize.Firefox3CookieJar unavailable in Python 2.4 / 2.3 rather than crashing on "import mechanize" with SyntaxError | diff --git a/functional_tests.py b/functional_tests.py
index 4bf028c..82fb832 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,500 +1,513 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys, urllib, tempfile, err... |
Almad/Mechanize | 73b324e33b639dc3fd1d618f3b12d1ea2a3e7f49 | Close sockets. This only affects Python 2.5 (and later) - earlier versions of Python were unaffected. | diff --git a/mechanize/_http.py b/mechanize/_http.py
index 96fd405..aa45242 100644
--- a/mechanize/_http.py
+++ b/mechanize/_http.py
@@ -1,733 +1,743 @@
"""HTTP related handlers.
Note that some other HTTP handlers live in more specific modules: _auth.py,
_gzip.py, etc.
Copyright 2002-2006 John J Lee <jjl@pobo... |
Almad/Mechanize | b505541f4e5ecb8f9be302f969867a605bb335ad | Add note re work to do on Firefox 3 cookies support | diff --git a/mechanize/_firefox3cookiejar.py b/mechanize/_firefox3cookiejar.py
index 5a63894..1ac8d30 100644
--- a/mechanize/_firefox3cookiejar.py
+++ b/mechanize/_firefox3cookiejar.py
@@ -1,250 +1,252 @@
"""Firefox 3 "cookies.sqlite" cookie persistence.
Copyright 2008 John J Lee <jjl@pobox.com>
This code is fre... |
Almad/Mechanize | 4aa12da154a0a1bea26399e9699451fac177434e | Note a couple of issues with Firefox 3 cookie jar implementation | diff --git a/mechanize/_firefox3cookiejar.py b/mechanize/_firefox3cookiejar.py
index d7388e2..5a63894 100644
--- a/mechanize/_firefox3cookiejar.py
+++ b/mechanize/_firefox3cookiejar.py
@@ -1,245 +1,250 @@
"""Firefox 3 "cookies.sqlite" cookie persistence.
Copyright 2008 John J Lee <jjl@pobox.com>
This code is fre... |
Almad/Mechanize | 576f9a20bf58aabf5078915eafaa5af0d7977282 | * Add support for Firefox 3 cookie jars ("cookies.sqlite") * Fix a couple of test typos re tempfile cleanup * Add a functional test for seek-wrapped HTTPError repr | diff --git a/functional_tests.py b/functional_tests.py
index 483dc88..4bf028c 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,433 +1,500 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
-import os, sys, urllib
+import os, sy... |
Almad/Mechanize | 3741ede97c71387d07e0aa4e7dc8ec3baf9b3f66 | Handle missing cookie max-age value. Previously, a warning was emitted in this case. | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index e84a690..c8537ac 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -703,950 +703,954 @@ class DefaultCookiePolicy(CookiePolicy):
return True
def set_ok_path(self, cookie, request):
if cookie.pat... |
Almad/Mechanize | 3ee760285adca5ec5441fd8fa8a1793098c4bad5 | Stop tests from clobbering files that happen to be lying around in cwd (!) | diff --git a/test/test_cookies.py b/test/test_cookies.py
index 06692b0..dde6b71 100644
--- a/test/test_cookies.py
+++ b/test/test_cookies.py
@@ -1,633 +1,633 @@
"""Tests for _ClientCookie."""
import urllib2, re, os, StringIO, mimetools, time, tempfile, errno
from time import localtime
from unittest import TestCas... |
Almad/Mechanize | 8690d0e13f983368f25b6afa001764d4f0723b38 | * Handle cookies containing embedded tabs in mozilla format files * Remove an assertion about mozilla format cookies file contents (raise LoadError instead) | diff --git a/mechanize/_mozillacookiejar.py b/mechanize/_mozillacookiejar.py
index 8dbdb20..51e81bb 100644
--- a/mechanize/_mozillacookiejar.py
+++ b/mechanize/_mozillacookiejar.py
@@ -1,159 +1,161 @@
"""Mozilla / Netscape cookie loading / saving.
Copyright 2002-2006 John J Lee <jjl@pobox.com>
Copyright 1997-1999 ... |
Almad/Mechanize | 4cd674839fba5d345d0e12cc1f5330a6edccfb03 | Avoid running doctest files that need special context by naming convention rather than special-purpose code | diff --git a/test.py b/test.py
index 31d9363..fa5d0f6 100755
--- a/test.py
+++ b/test.py
@@ -1,159 +1,146 @@
#!/usr/bin/env python
"""Test runner.
For further help, enter this at a command prompt:
python test.py --help
"""
# Modules containing tests to run -- a test is anything named *Tests, which
# sh... |
Almad/Mechanize | e82a08010a9a9cd98f82f9be44ab75b20531f436 | Minor doc fixes | diff --git a/doc.html.in b/doc.html.in
index 607e86d..3af51c6 100644
--- a/doc.html.in
+++ b/doc.html.in
@@ -135,814 +135,814 @@ means), you don't need to call <code>.extract_cookies()</code> or
<code>.add_cookie_header()</code> yourself</strong>. If, on the other hand,
you don't want to use <code>urllib2</code>, yo... |
Almad/Mechanize | cf7c46d4fdc8e218ddab9d28fc635006895cf558 | * Fix thoroughly broken digest auth (still need functional test!) (trebor74hr@gmail.com) * Fix issue where more tags after <title> caused default parser to raise an exception * Fix MechanizeRobotFileParser.set_opener() * Fix a _gzip.py NameError (gzip support is experimental) * Remove unused imports revealed by ru... | diff --git a/mechanize/_auth.py b/mechanize/_auth.py
index 9bb5873..7626eba 100644
--- a/mechanize/_auth.py
+++ b/mechanize/_auth.py
@@ -1,500 +1,500 @@
"""HTTP Authentication and Proxy support.
All but HTTPProxyPasswordMgr come from Python 2.5.
Copyright 2006 John J. Lee <jjl@pobox.com>
This code is free s... |
Almad/Mechanize | f679d9867e81162749c0a15d602ad74bccc5d029 | Fix some too-long lines. | diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
index e8f0f67..ea9e453 100644
--- a/mechanize/_clientcookie.py
+++ b/mechanize/_clientcookie.py
@@ -1,1333 +1,1334 @@
"""HTTP cookie handling for web clients.
This module originally developed from my port of Gisle Aas' Perl module
HTTP::Cookies, ... |
Almad/Mechanize | 79879fb63daf5e9409ec42afebfdcd1f1b7cf23b | Docstring grammar fix. | diff --git a/mechanize/_mechanize.py b/mechanize/_mechanize.py
index 7c163e8..8ba52c4 100644
--- a/mechanize/_mechanize.py
+++ b/mechanize/_mechanize.py
@@ -1,672 +1,672 @@
"""Stateful programmatic WWW navigation, after Perl's WWW::Mechanize.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
Copyright 2003 Andy Lest... |
Almad/Mechanize | 2f7cd0a47ceb5c9b8a70adea2dfda9270efdeb3c | Remove some out-of-date docstring text. | diff --git a/mechanize/_mechanize.py b/mechanize/_mechanize.py
index b5ac64d..7c163e8 100644
--- a/mechanize/_mechanize.py
+++ b/mechanize/_mechanize.py
@@ -1,678 +1,672 @@
"""Stateful programmatic WWW navigation, after Perl's WWW::Mechanize.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
Copyright 2003 Andy Lest... |
Almad/Mechanize | 843e56fd796f470bd3c94f6dfc5d51a6ab7c94bc | Make title parsing follow Firefox behaviour wrt child elements (previously the behaviour differed between Factory and RobustFactory). | diff --git a/mechanize/_html.py b/mechanize/_html.py
index 90f9ded..9e7521b 100644
--- a/mechanize/_html.py
+++ b/mechanize/_html.py
@@ -1,607 +1,634 @@
"""HTML handling.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
This code is free software; you can redistribute it and/or modify it under
the terms of the B... |
Almad/Mechanize | 3ff5659eff909311a1abf0bafa91d764b4710abd | Make test_browser.BrowserTests.test_empty() run with all factory classes | diff --git a/test/test_browser.py b/test/test_browser.py
index 1bc318f..ce136d4 100644
--- a/test/test_browser.py
+++ b/test/test_browser.py
@@ -1,770 +1,774 @@
#!/usr/bin/env python
"""Tests for mechanize.Browser."""
import sys, os, random
from unittest import TestCase
import StringIO, re, urllib2
import mec... |
Almad/Mechanize | 678db8989df3213efe9b39cbd2da88c04e3e533f | * Add a functional test for Refresh * Update docstrings / comments re local functional testing server | diff --git a/functional_tests.py b/functional_tests.py
index 93e02f9..483dc88 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,421 +1,433 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
-import os, sys
+import os, sys, urlli... |
Almad/Mechanize | 24686d51cf4ebb0871e95eded456547d7554775e | Change default mechanize.UserAgent (hence mechanize.Browser) Refresh behaviour: * Don't follow Refreshes > 30 seconds * honor_time is now False by default | diff --git a/mechanize/_useragent.py b/mechanize/_useragent.py
index 272605c..0bec126 100644
--- a/mechanize/_useragent.py
+++ b/mechanize/_useragent.py
@@ -1,347 +1,347 @@
"""Convenient HTTP UserAgent class.
This is a subclass of urllib2.OpenerDirector.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
This ... |
Almad/Mechanize | 5a06e199ab9702cef62f5beef31fe294179b0129 | * Log skipped Refreshes * Add some more Refresh tests | diff --git a/mechanize/_http.py b/mechanize/_http.py
index d73f3f4..5075da4 100644
--- a/mechanize/_http.py
+++ b/mechanize/_http.py
@@ -31,699 +31,703 @@ debug = logging.getLogger("mechanize").debug
## def urllib2_str(self):
## return 'HTTP Error %s: %s (%s)' % (
## self.code, self.msg, self.geturl())
... |
Almad/Mechanize | 9c3214bb89a384ec08b896e8173c05f901ba94eb | * Use SO_REUSEADDR for test server. * Raise exception if local server fails to start. | diff --git a/test-tools/testprogram.py b/test-tools/testprogram.py
index 627e753..ee5ef75 100644
--- a/test-tools/testprogram.py
+++ b/test-tools/testprogram.py
@@ -1,311 +1,314 @@
"""Local server and cgitb support."""
import cgitb
#cgitb.enable(format="text")
import sys, os, traceback, logging, glob, time
fro... |
Almad/Mechanize | 0d6c5ed162f521e3a382df20cff21eb60a62693a | Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link text parsing for case of link text containing tags (titus@idyll.org) | diff --git a/mechanize/_html.py b/mechanize/_html.py
index 2d562c9..90f9ded 100644
--- a/mechanize/_html.py
+++ b/mechanize/_html.py
@@ -1,607 +1,607 @@
"""HTML handling.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
This code is free software; you can redistribute it and/or modify it under
the terms of the B... |
Almad/Mechanize | f88d4bfae183b09c2c62078511ffaf050185b4c0 | Fix docstring typo and remove empty docstring | diff --git a/mechanize/_mechanize.py b/mechanize/_mechanize.py
index a0bf6e1..b5ac64d 100644
--- a/mechanize/_mechanize.py
+++ b/mechanize/_mechanize.py
@@ -1,679 +1,678 @@
"""Stateful programmatic WWW navigation, after Perl's WWW::Mechanize.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
Copyright 2003 Andy Lest... |
Almad/Mechanize | 6ed6c6ca57705ce5e70c0b9fd0499f31bcf2a337 | Fix selection of global form using .select_form() (titus@idyll.org) | diff --git a/mechanize/_mechanize.py b/mechanize/_mechanize.py
index 8fa8cae..a0bf6e1 100644
--- a/mechanize/_mechanize.py
+++ b/mechanize/_mechanize.py
@@ -1,670 +1,679 @@
"""Stateful programmatic WWW navigation, after Perl's WWW::Mechanize.
Copyright 2003-2006 John J. Lee <jjl@pobox.com>
Copyright 2003 Andy Lest... |
Almad/Mechanize | 3c9d42e322a7fb822097ce65ca873678f19c604e | Make bundled BeautifulSoup 2 emacs syntax highlighting-friendly | diff --git a/mechanize/_beautifulsoup.py b/mechanize/_beautifulsoup.py
index 2541dcc..268b305 100644
--- a/mechanize/_beautifulsoup.py
+++ b/mechanize/_beautifulsoup.py
@@ -1,552 +1,552 @@
"""Beautiful Soup
Elixir and Tonic
"The Screen-Scraper's Friend"
v2.1.1
http://www.crummy.com/software/BeautifulSoup/
Beaut... |
Almad/Mechanize | 3bdda2aef8d72092fa46ca2a915aeeeb0b377746 | Add convenience method Browser.open_local_file(filename) | diff --git a/functional_tests.py b/functional_tests.py
index 670c46c..93e02f9 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,413 +1,421 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys
from unittest import ... |
Almad/Mechanize | 6c88e95464785acd7ff454ee225b03a35bc823bc | Fix test failure | diff --git a/test/test_useragent.py b/test/test_useragent.py
index 387a4bc..3e8e325 100644
--- a/test/test_useragent.py
+++ b/test/test_useragent.py
@@ -1,58 +1,58 @@
#!/usr/bin/env python
from unittest import TestCase
import mechanize
from test_browser import make_mock_handler
class UserAgentTests(TestC... |
Almad/Mechanize | 16e9a3beb31a268aab241cfa3b1981862f4f1aa2 | Remove gopher support, since Python 2.6 no longer supports it (titus@caltech.edu) | diff --git a/mechanize/__init__.py b/mechanize/__init__.py
index 8bea889..983ca7b 100644
--- a/mechanize/__init__.py
+++ b/mechanize/__init__.py
@@ -1,125 +1,123 @@
__all__ = [
'AbstractBasicAuthHandler',
'AbstractDigestAuthHandler',
'BaseHandler',
'Browser',
'BrowserStateError',
'CacheFT... |
Almad/Mechanize | a662cea1e66a200fe9c3972d897e1542c63b4027 | Clean up local server imports | diff --git a/test-tools/twisted-localserver.py b/test-tools/twisted-localserver.py
index 6bf8be3..8ca8a66 100644
--- a/test-tools/twisted-localserver.py
+++ b/test-tools/twisted-localserver.py
@@ -1,124 +1,124 @@
#!/usr/bin/env python
"""
%prog port
e.g. %prog 8000
Runs a local server to point the mechanize fu... |
Almad/Mechanize | c3f5c3bbd40adf5ce514b6bc232e4328dc1bff69 | Move cookietest.cgi from examples into test-tools | diff --git a/examples/cookietest.cgi b/test-tools/cookietest.cgi
similarity index 91%
rename from examples/cookietest.cgi
rename to test-tools/cookietest.cgi
index 4daf737..b66d20c 100755
--- a/examples/cookietest.cgi
+++ b/test-tools/cookietest.cgi
@@ -1,43 +1,42 @@
#!/usr/bin/python
# -*-python-*-
-# The copy of ... |
Almad/Mechanize | 765d16166afbea3b224d00b32d727e199acf6ec0 | Minor refactoring | diff --git a/test-tools/twisted-localserver.py b/test-tools/twisted-localserver.py
index 84b81ef..f7a305a 100644
--- a/test-tools/twisted-localserver.py
+++ b/test-tools/twisted-localserver.py
@@ -1,124 +1,124 @@
#!/usr/bin/env python
"""
%prog port
e.g. %prog 8000
Runs a local server to point the mechanize fu... |
Almad/Mechanize | 0da1566c879baf1120e78af304cb64f97297ec65 | Get rid of the remaining hard-coded URLs in functional tests :-) | diff --git a/functional_tests.py b/functional_tests.py
index ef29371..670c46c 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,414 +1,413 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys
from unittest import ... |
Almad/Mechanize | f89e9461f0de68534d850b40e49ff53120b9ea61 | A bit more work on local twisted server for functional tests: Add 302 redirection page to get rid of one of the hardcoded wwwsearch URLs. Fix some issues in local twisted server. | diff --git a/functional_tests.py b/functional_tests.py
index 8ef3524..ef29371 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,414 +1,414 @@
#!/usr/bin/env python
# These tests access the network.
# thanks Moof (aka Giles Antonio Radford) for some of these
import os, sys
from unittest import ... |
Almad/Mechanize | 56fe4a874e0ba859c8a4d4c514231b1822803636 | Add an -l option to run the functional tests against a local twisted.web2-based server. There are still a few tests that always run against the wwwsearch.sf.net site -- need to extend the local srver a bit to cover these. | diff --git a/functional_tests.py b/functional_tests.py
index dedfb32..8ef3524 100755
--- a/functional_tests.py
+++ b/functional_tests.py
@@ -1,382 +1,414 @@
#!/usr/bin/env python
# These tests access the network.
-import os
+# thanks Moof (aka Giles Antonio Radford) for some of these
+
+import os, sys
from unitt... |
devnev/skyways | 82440178231ad43533660fa7d08114e530e859b8 | Added install command to README, copied to README.rst. | diff --git a/README b/README
index d257313..f3a65bc 100644
--- a/README
+++ b/README
@@ -1,27 +1,27 @@
SkyWays
=======
Skyways is a toy project to create a game roughly based on the DOS game called
"Skyroads". The aim is not to recreate the original game, just make something
similarly fun, and to explore possibi... |
devnev/skyways | 051bc82d8633e6d101ad725d5d90da17427a2a02 | Fixed build/deps directories creation. | diff --git a/Makefile.in b/Makefile.in
index 492b8ff..dff942a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,46 +1,48 @@
#!/usr/bin/make -f
# @configure_input@
default: all
prefix=@prefix@
datarootdir=@datarootdir@
datadir=@datadir@
pkgdatadir=$(datadir)/@PACKAGE_TARNAME@
srcdir=@srcdir@
bindir=@bindir@
... |
devnev/skyways | 8063db79f27f29282adc3ac7c02eb4702dc4c013 | Properly modularized clean rule. | diff --git a/mk/Build.mk b/mk/Build.mk
index a05f374..d88bf95 100644
--- a/mk/Build.mk
+++ b/mk/Build.mk
@@ -1,37 +1,34 @@
#!/usr/bin/make -f
default: all
MK_INCLUDE:=1
SRCDIR:=.
BUILDDIR:=.
-DEPDIR:=.deps
ADDONDIR:=$(SRCDIR)/mk
include $(BUILDDIR)/Config.mk
$(foreach MK,$(ADDON_MK),$(eval include $(ADDON... |
devnev/skyways | 4144b5b44b1de7d7907e11b5a7b92c452325a56f | Fixed generating build directory tree structure. | diff --git a/mk/Build.mk b/mk/Build.mk
index 9546777..a05f374 100644
--- a/mk/Build.mk
+++ b/mk/Build.mk
@@ -1,42 +1,37 @@
#!/usr/bin/make -f
default: all
MK_INCLUDE:=1
SRCDIR:=.
BUILDDIR:=.
DEPDIR:=.deps
ADDONDIR:=$(SRCDIR)/mk
include $(BUILDDIR)/Config.mk
$(foreach MK,$(ADDON_MK),$(eval include $(ADDON... |
devnev/skyways | a1c2de33367dd928dc57fcc32a40f2337861c665 | Fixed docs installation. | diff --git a/Dir.mk b/Dir.mk
index 5fbff60..0461402 100644
--- a/Dir.mk
+++ b/Dir.mk
@@ -1,12 +1,12 @@
#!/usr/bin/make -f
$(if $(MK_INCLUDE),,$(error This makefile is meant for inclusion by other makefiles))
$(eval $(call enter_directory))
DATA_$(sp) := $(d)/world $(d)/DejaVuSans.ttf
-DOC_$(sp) := $(d)/COPYING ... |
devnev/skyways | 2ab7e04c220d59e60a95d3175f2455847b0e9a36 | Added install targets. | diff --git a/Config.mk.in b/Config.mk.in
index 1f752b5..44b51e4 100644
--- a/Config.mk.in
+++ b/Config.mk.in
@@ -1,36 +1,42 @@
#!/usr/bin/make -f
# @configure_input@
$(if $(MK_INCLUDE),,$(error This makefile is meant for inclusion by other makefiles))
prefix=@prefix@
datarootdir=@datarootdir@
datadir=@datadir... |
devnev/skyways | 22756297c3bcb23e5c7f06661c1127445e7ca9f8 | Fixed dir enter/leave hooks to force ordering. | diff --git a/mk/Dirs.mk b/mk/Dirs.mk
index 33ce990..ef89213 100644
--- a/mk/Dirs.mk
+++ b/mk/Dirs.mk
@@ -1,80 +1,78 @@
#!/usr/bin/make -f
$(if $(MK_INCLUDE),,$(error This makefile is meant for inclusion by other makefiles))
ifndef DIRS_MK_INCLUDED
DIRS_MK_INCLUDED := 1
#{{{ directory enter hooks
define ch... |
devnev/skyways | e1fc574a68a39632d7df881b2cffd6486cb66b16 | Exclude system headers from generated dep makefiles. | diff --git a/mk/C_Cpp.mk b/mk/C_Cpp.mk
index 4d016ae..d837703 100644
--- a/mk/C_Cpp.mk
+++ b/mk/C_Cpp.mk
@@ -1,76 +1,76 @@
#!/usr/bin/make -f
$(if $(MK_INCLUDE),,$(error This makefile is meant for inclusion by other makefiles))
ifndef CCPP_MK_INCLUDED
CCPP_MK_INCLUDED := 1
include $(ADDONDIR)/Dirs.mk
#{{{... |
devnev/skyways | 500cf8dced8923e7daf361cb32713e8f63ff46c7 | Split Rules.mk into multiple modules. | diff --git a/Config.mk.in b/Config.mk.in
index 495edce..1f752b5 100644
--- a/Config.mk.in
+++ b/Config.mk.in
@@ -1,34 +1,36 @@
#!/usr/bin/make -f
# @configure_input@
$(if $(MK_INCLUDE),,$(error This makefile is meant for inclusion by other makefiles))
prefix=@prefix@
datarootdir=@datarootdir@
datadir=@datadir... |
devnev/skyways | 2cf926930c8293c32c902f16e40486b98da95a52 | Made Rules.mk more modular by allowing various hooks. | diff --git a/Rules.mk b/Rules.mk
index 9f3d662..f0dd5a8 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -1,116 +1,154 @@
+#!/usr/bin/make
default: all
MK_INCLUDE:=1
SRCDIR:=.
BUILDDIR:=.
DEPDIR:=.deps
+#{{{ load configuration
+#{{{ include build configuration
+
include $(BUILDDIR)/Config.mk
-define enter_director... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.