aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportFile.m
Commit message (Collapse)AuthorAgeFilesLines
* * Change a method name to fit standard naming conventionsMax2015-10-081-1/+1
| | | | | | | | | | | | * Remove a redundant ivar (and while we are at it, restructure some code) * And then there was this gem: (...) if (fileMode == O_RDONLY) { int i, c; char bzbuf[4]; const char *charFileMode = fileMode == O_WRONLY ? "wb" : "rb"; (...)
* Formalize [x release], x = nil; conventionMax2015-01-041-1/+1
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Fix more warnings.stuconnolly2013-01-251-1/+1
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-5/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+19
|
* Improve the availability of the table name token on the custom export ↵stuconnolly2012-04-011-1/+2
| | | | | | | | | | filename selection. It's now no longer available during the following situations: - Exporting more than one table during an SQL export - Exporting more than one table during a CSV or XML, but only if the export to multiple files is not checked
* - Ensure export files are closed before deleting them; when in ↵rowanbeentje2011-05-291-1/+4
| | | | full-streaming memory mode, this prevents cancelled exports from having their file-writing thread block waiting for more input indefinitely, causing a hang. This addresses Issue #1066
* - Fix more compiler warningsrowanbeentje2011-03-151-3/+3
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-0/+1
|
* Add missing [super dealloc].stuconnolly2010-10-261-1/+3
|
* Exporter:rowanbeentje2010-08-261-0/+16
| | | | | | - Enable alternating table lines in the export table view - this addresses Issue #797 - Reconnect GZIp & BZIP2 compression functionality (TODO: not currently working for file overwrites; to be discussed)
* Various export enhancements and fixes, including:stuconnolly2010-08-121-0/+210
- A new SPExportFile class, providing an abstract interface to the handling and creation of export files. - Enables the centralisation of all file/file handle creation logic as well as better support for handling situations where files fail to be created, including files that already exist at the export location. - New SPExportFileHandleStatus constants to support the reporting of file handle creation. - Update SPExporter to use the new file class instead of directly using an instance of SPFileHandle. - Add the necessary logic to deal with files that already exist on disk, by providing the user with 3 options: cancel the export, ignore the files in question or overwrite them. We might want to enhance this to make new files sequential in name to prevent overwriting. Fixes issue #742. - New SPExportFileUtilities category, which centralises all the logic relating to writing export type headers as well as dealing with problems occurred during file/file handle creation. - Improve feedback given on the export progress sheet during export initialisation. - Tidy up and improve comments.