Package implementing various functions/classes needed everywhere within eric4.
_escape |
_escape_map |
_uescape |
coding_regexps |
configDir |
supportedCodecs |
CodingError | Class implementing an exception, which is raised, if a given coding is incorrect. |
_percentReplacementFunc | Protected function called for replacing % codes. |
compactPath | Function to return a compacted path fitting inside the given width. |
compile | Function to compile one Python source file to Python bytecode. |
convertLineEnds | Function to convert the end of line characters. |
decode | Function to decode a text. |
direntries | Function returning a list of all files and directories. |
encode | Function to encode a text. |
escape_entities | Function to encode html entities. |
escape_uentities | Function to encode html entities. |
fromNativeSeparators | Function returning a path, that is using "/" separator characters. |
generateDistroInfo | Module function to generate a string with distribution infos. |
generatePluginsVersionInfo | Module function to generate a string with plugins version infos. |
generateQtToolName | Module function to generate the executable name for a Qt tool like designer. |
generateVersionInfo | Module function to generate a string with various version infos. |
getConfigDir | Module function to get the name of the directory storing the config data. |
getDirs | Function returning a list of all directories below path. |
getEnvironmentEntry | Module function to get an environment entry. |
getExecutablePath | Function to build the full path of an executable file from the environment. |
getHomeDir | Function to get a users home directory |
getPercentReplacement | Function to get the replacement for code. |
getPercentReplacementHelp | Function to get the help text for the supported %-codes. |
getPythonLibPath | Function to determine the path to Python's library. |
getPythonModulesDirectory | Function to determine the path to Python's modules directory. |
getPythonVersion | Function to get the Python version (major, minor) as an integer value. |
getTestFileName | Function to build the filename of a unittest file. |
getUserName | Function to get the user name. |
get_coding | Function to get the coding of a text. |
hasEnvironmentEntry | Module function to check, if the environment contains an entry. |
html_encode | Function to correctly encode a text for html. |
html_uencode | Function to correctly encode a unicode text for html. |
isExecutable | Function to check, if a file is executable. |
isinpath | Function to check for an executable file. |
joinext | Function to join a file extension to a path. |
linesep | Function to return the lineseparator used by the editor. |
normabsjoinpath | Function returning a normalized, absolute path of the joined parts passed into it. |
normabspath | Function returning a normalized, absolute path. |
normcaseabspath | Function returning an absolute path, that is normalized with respect to its case and references. |
normcasepath | Function returning a path, that is normalized with respect to its case and references. |
normjoinpath | Function returning a normalized path of the joined parts passed into it. |
parseEnvironmentString | Function used to convert an environment string into a list of environment settings. |
parseOptionString | Function used to convert an option string into a list of options. |
parseString | Function used to convert a string into a list. |
posix_GetUserName | Function to get the user name under Posix systems. |
prepareQtMacBundle | Module function for starting Qt tools that are Mac OS X bundles. |
pwDecode | Module function to decode a password. |
pwEncode | Module function to encode a password. |
relpath | Return a relative version of a path. |
samepath | Function to compare two paths. |
setConfigDir | Module function to set the name of the directory storing the config data. |
splitPath | Function to split a pathname into a directory part and a file part. |
toNativeSeparators | Function returning a path, that is using native separator characters. |
toUnicode | Public method to convert a string to unicode. |
win32_GetUserName | Function to get the user name under Win32. |
win32_Kill | Function to provide an os.kill equivalent for Win32. |
Class implementing an exception, which is raised, if a given coding is incorrect.
None |
CodingError | Constructor |
__repr__ | Private method returning a representation of the exception. |
__str__ | Private method returning a string representation of the exception. |
Constructor
Private method returning a representation of the exception.
Private method returning a string representation of the exception.
Protected function called for replacing % codes.
Function to return a compacted path fitting inside the given width.
Function to compile one Python source file to Python bytecode.
Function to convert the end of line characters.
Function to decode a text.
Function returning a list of all files and directories.
Function to encode a text.
Function to encode html entities.
Function to encode html entities.
Function returning a path, that is using "/" separator characters.
Module function to generate a string with distribution infos.
Module function to generate a string with plugins version infos.
Module function to generate the executable name for a Qt tool like designer.
Module function to generate a string with various version infos.
Module function to get the name of the directory storing the config data.
Function returning a list of all directories below path.
Module function to get an environment entry.
Function to build the full path of an executable file from the environment.
Function to get a users home directory
Function to get the replacement for code.
Function to get the help text for the supported %-codes.
Function to determine the path to Python's library.
Function to determine the path to Python's modules directory.
Function to get the Python version (major, minor) as an integer value.
Function to build the filename of a unittest file.
The filename for the unittest file is built by prepending the string "test" to the filename passed into this function.
Function to get the user name.
Function to get the coding of a text.
Module function to check, if the environment contains an entry.
Function to correctly encode a text for html.
Function to correctly encode a unicode text for html.
Function to check, if a file is executable.
Function to check for an executable file.
Function to join a file extension to a path.
The leading "." of ext is replaced by a platform specific extension separator if necessary.
Function to return the lineseparator used by the editor.
Function returning a normalized, absolute path of the joined parts passed into it.
Function returning a normalized, absolute path.
Function returning an absolute path, that is normalized with respect to its case and references.
Function returning a path, that is normalized with respect to its case and references.
Function returning a normalized path of the joined parts passed into it.
Function used to convert an environment string into a list of environment settings.
Function used to convert an option string into a list of options.
Function used to convert a string into a list.
Function to get the user name under Posix systems.
Module function for starting Qt tools that are Mac OS X bundles.
Module function to decode a password.
Module function to encode a password.
Return a relative version of a path.
Function to compare two paths.
Module function to set the name of the directory storing the config data.
Function to split a pathname into a directory part and a file part.
Function returning a path, that is using native separator characters.
Public method to convert a string to unicode.
If the passed in string is of type QString, it is simply returned unaltered, assuming, that it is already a unicode string. For all other strings, various codes are tried until one converts the string without an error. If all codecs fail, the string is returned unaltered.
Function to get the user name under Win32.
Function to provide an os.kill equivalent for Win32.