Tue, 13 May 2014 19:10:49 +0200
Updated source docu.
--- a/APIs/Python3/eric5.api Tue May 13 19:07:55 2014 +0200 +++ b/APIs/Python3/eric5.api Tue May 13 19:10:49 2014 +0200 @@ -8592,6 +8592,8 @@ eric5.Utilities.isinpath?4(file) eric5.Utilities.joinext?4(prefix, ext) eric5.Utilities.linesep?4() +eric5.Utilities.mimetypes.TextMimeTypes?7 +eric5.Utilities.mimetypes.isTextFile?4(filename) eric5.Utilities.normabsjoinpath?4(a, *p) eric5.Utilities.normabspath?4(path) eric5.Utilities.normcaseabspath?4(path)
--- a/Documentation/Help/source.qhp Tue May 13 19:07:55 2014 +0200 +++ b/Documentation/Help/source.qhp Tue May 13 19:10:49 2014 +0200 @@ -991,6 +991,7 @@ <section title="eric5.Utilities.__init__" ref="eric5.Utilities.__init__.html" /> <section title="eric5.Utilities.binplistlib" ref="eric5.Utilities.binplistlib.html" /> <section title="eric5.Utilities.compatibility_fixes" ref="eric5.Utilities.compatibility_fixes.html" /> + <section title="eric5.Utilities.mimetypes" ref="eric5.Utilities.mimetypes.html" /> <section title="eric5.Utilities.uic" ref="eric5.Utilities.uic.html" /> </section> <section title="eric5.VCS" ref="index-eric5.VCS.html"> @@ -13178,6 +13179,7 @@ <keyword name="isExecutable" id="isExecutable" ref="eric5.Utilities.__init__.html#isExecutable" /> <keyword name="isLinuxPlatform" id="isLinuxPlatform" ref="eric5.Globals.__init__.html#isLinuxPlatform" /> <keyword name="isMacPlatform" id="isMacPlatform" ref="eric5.Globals.__init__.html#isMacPlatform" /> + <keyword name="isTextFile" id="isTextFile" ref="eric5.Utilities.mimetypes.html#isTextFile" /> <keyword name="isWindowsPlatform" id="isWindowsPlatform" ref="eric5.Globals.__init__.html#isWindowsPlatform" /> <keyword name="is_stream_binary_plist" id="is_stream_binary_plist" ref="eric5.Utilities.binplistlib.html#is_stream_binary_plist" /> <keyword name="isatty" id="isatty" ref="eric5.DebugClients.Ruby.AsyncFile.html#isatty" /> @@ -13223,6 +13225,7 @@ <keyword name="maximum_line_length" id="maximum_line_length" ref="eric5.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#maximum_line_length" /> <keyword name="messageHandler" id="messageHandler" ref="eric5.E5Gui.E5ErrorMessage.html#messageHandler" /> <keyword name="messageHandlerInstalled" id="messageHandlerInstalled" ref="eric5.E5Gui.E5ErrorMessage.html#messageHandlerInstalled" /> + <keyword name="mimetypes (Module)" id="mimetypes (Module)" ref="eric5.Utilities.mimetypes.html" /> <keyword name="missing_newline" id="missing_newline" ref="eric5.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#missing_newline" /> <keyword name="missing_whitespace" id="missing_whitespace" ref="eric5.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#missing_whitespace" /> <keyword name="missing_whitespace_around_operator" id="missing_whitespace_around_operator" ref="eric5.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#missing_whitespace_around_operator" /> @@ -14223,6 +14226,7 @@ <file>eric5.Utilities.crypto.__init__.html</file> <file>eric5.Utilities.crypto.py3AES.html</file> <file>eric5.Utilities.crypto.py3PBKDF2.html</file> + <file>eric5.Utilities.mimetypes.html</file> <file>eric5.Utilities.uic.html</file> <file>eric5.VCS.CommandOptionsDialog.html</file> <file>eric5.VCS.ProjectBrowserHelper.html</file>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Utilities.mimetypes.html Tue May 13 19:10:49 2014 +0200 @@ -0,0 +1,60 @@ +<!DOCTYPE html> +<html><head> +<title>eric5.Utilities.mimetypes</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Utilities.mimetypes</h1> +<p> +Module implementing mimetype dependent functions. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>TextMimeTypes</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> +<table> +<tr> +<td><a href="#isTextFile">isTextFile</a></td> +<td>Function to test, if the given file is a text (i.e.</td> +</tr> +</table> +<hr /><hr /> +<a NAME="isTextFile" ID="isTextFile"></a> +<h2>isTextFile</h2> +<b>isTextFile</b>(<i>filename</i>) +<p> + Function to test, if the given file is a text (i.e. editable) file. +</p><dl> +<dt><i>filename</i></dt> +<dd> +name of the file to be checked (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating an editable file (boolean) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/Documentation/Source/index-eric5.Utilities.html Tue May 13 19:07:55 2014 +0200 +++ b/Documentation/Source/index-eric5.Utilities.html Tue May 13 19:10:49 2014 +0200 @@ -68,6 +68,9 @@ <td><a href="eric5.Utilities.compatibility_fixes.html">compatibility_fixes</a></td> <td>Module implementing the open behavior of Python3 for use with Eric5.</td> </tr><tr> +<td><a href="eric5.Utilities.mimetypes.html">mimetypes</a></td> +<td>Module implementing mimetype dependent functions.</td> +</tr><tr> <td><a href="eric5.Utilities.uic.html">uic</a></td> <td>Module implementing a function to compile all user interface files of a directory or directory tree.</td> </tr>