summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix flake8 violationTakeshi KOMIYA2016-08-221-1/+1
|
* Merge branch 'master' into HEADTakeshi KOMIYA2016-08-221-13/+44
|\
| * Merge branch 'stable'Takeshi KOMIYA2016-07-211-0/+7
| |\
| | * fix make clean abort when build dir contains files like .DS_Store.Yoshiki Shibukawa2016-07-161-0/+7
| | |
| * | ``sphinx.util.osutil.filecopy()`` skips copying if the file has not been ↵Takeshi KOMIYA2016-07-071-7/+11
| |/ | | | | | | changed (ref: #2510, #2753)
| * Fix #794: Date formatting in latex output is not localizedTakeshi KOMIYA2016-02-141-1/+2
| |
| * Merge pull request #2074 from techtonik/patch-1Takayuki SHIMIZUKAWA2016-02-091-0/+5
| |\ | | | | | | gettext: use canonical relative paths for .pot
| | * gettext: use new osutil.canon_path()anatoly techtonik2016-02-091-1/+2
| | |
| | * add inverse of util.os_path for canonical path generationanatoly techtonik2016-02-091-0/+4
| | |
| * | Merge branch 'stable'Georg Brandl2016-01-141-1/+1
| |\ \
| | * | Obligatory copyright update.Georg Brandl2016-01-141-1/+1
| | | |
| * | | Merge branch 'stable'shimizukawa2015-11-151-2/+8
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * Fixed #2102: On Windows + Py3, using ``|today|`` and non-ASCII date format ↵shimizukawa2015-10-271-2/+9
| | | | | | | | | | | | will raise UnicodeEncodeError.
| * | Add support for SOURCE_DATE_EPOCH environment variable to ustrftime functionDmitry Shachnev2015-07-091-4/+12
| |/ | | | | | | See https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal.
* | Introduce FileAvoidWrite classGregory Szorc2015-06-021-0/+74
|/ | | | | | | | | | | | | Sphinx relies on file mtimes to determine whether operations such as source reading need to occur. When tools like sphinx-apidoc run, they blindly write files, updating the mtime of files, even if the final file content does not change. In this patch, we introduce a FileAvoidWrite class that can be used to only write files if content has changed. This opens the door to less cache invalidation via mtime changes and thus better performance. This will be realized in a subsequent commit.
* refactoring: move i18n related function from osutil into i18nshimizukawa2015-03-161-21/+0
|
* util: pep8 fixesGeorg Brandl2015-03-081-1/+4
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | merge with stableTakayuki Shimizukawa2014-09-261-0/+11
|\ \ | |/
| * refactoring by using `with cd`Takayuki Shimizukawa2014-09-261-0/+12
| |
* | Fix a few missing Unicode/bytes filename problems.Georg Brandl2014-09-211-0/+6
| |
* | tiny fix for py2/py3 compatibility in one source.Takayuki Shimizukawa2014-05-011-6/+0
| |
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-4/+3
| |
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-1/+2
| | | | | | | | one source. refs #1350.
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-2/+4
| | | | | | | | refs #1350.
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-4/+5
| | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
* | Fix: The application now check extra Python versions (3.0, 3.1) to stop ↵Takayuki Shimizukawa2014-01-181-4/+3
| | | | | | | | invoking. And fix a trivial comment.
* | Drop python-3.1 and remove support codesTakayuki Shimizukawa2013-12-151-1/+1
| |
* | Drop python-2.5 and remove 2.4,2.5 support codesTakayuki Shimizukawa2013-12-151-4/+6
|/
* grammar fix: 'multibyte filename' is ambiguous. They are replaced with ↵Takayuki Shimizukawa2013-10-031-1/+1
| | | | 'non-ASCII filename'. refs #703
* small grammar fix in multibyte filename messagesGeorg Brandl2013-10-011-2/+2
|
* When Sphinx couldn't decode multibyte filename, now Sphinx notices ↵Takayuki Shimizukawa2013-09-281-1/+8
| | | | UnicodeError and continuing if possible instead of raise exception. Closes #703
* Fix again: NFC/NFD normalizing problem. Closes #1142Takayuki Shimizukawa2013-09-181-0/+13
|
* Fix: Output TeX/texinfo/man filename has no basename (only extention) when ↵Takayuki Shimizukawa2013-06-131-1/+1
| | | | using multibyte characters to "Project name" on quickstart. Closes #1190
* Rebuild i18n target document when catalog updatedTakayuki Shimizukawa2013-04-151-0/+14
|
* Closes #1128: Fix Unicode errors when trying to format time strings with a ↵Georg Brandl2013-03-301-4/+6
| | | | non-standard locale.
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* merge headsTakayuki Shimizukawa2012-12-101-3/+12
|\
| * Fix whitespace / line length issues reported by "make test"Jonathan Waltman2012-11-031-1/+1
| |
| * merge with stableGeorg Brandl2012-10-281-2/+10
| |\
| | * relative_uri patch. Fixes #916.Freek Dijkstra2012-04-281-2/+10
| | |
| | * Changed Conditional Expressionstogakushi2011-11-261-1/+6
| | |
| * | * fix for Python2.5: test failed by using os.path.relpath that introduced at ↵Takayuki Shimizukawa2012-05-021-1/+2
| | | | | | | | | | | | Python-2.6.
* | | support multibyte filename handling.Takayuki Shimizukawa2012-05-011-0/+3
|/ / | | | | | | https://bitbucket.org/birkenfeld/sphinx/issue/703
* | Changed Conditional Expressionstogakushi2011-11-261-1/+6
|/
* Respect gettext_compact in message patching too.Robert Lehmann2011-10-031-2/+2
|
* Closes #561: Add configuration option to prevent catalog bundling.Robert Lehmann2011-10-031-0/+3
|