aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPXMLExporter.m
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-3/+2
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+21
|
* Fix incorrect slash for nil data items in an XML export. Fixes issue #1404.stuconnolly2012-07-191-1/+1
|
* Fix more gcc warnings.stuconnolly2012-05-091-7/+6
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-1/+1
| | | | | | | fix nightly builds - Fix warnings
* - Fix an exception when attempting to preserve the selection in a table ↵rowanbeentje2012-03-241-1/+3
| | | | | | | | with a primary key with multiple columns of which the first of which is a blob or binary type - Clean up NSNull comparisons and add comments - Clear the selection when filtering a table, allowing reselection to look a little more consistent
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-19/+13
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Fix more compiler warningsrowanbeentje2011-03-151-0/+1
| | | | | - Tweak README
* - Improve handling of table names containing backslashesrowanbeentje2010-12-141-1/+3
|
* Complete the implementation of supporting MySQL's XML schema format when ↵stuconnolly2010-11-051-108/+205
| | | | exporting. Also, restore our old format and give the user the choice during export (defaults to MySQL schema). Completes the implementation of issue #840.
* Start moving towards using the same XML format as MySQL uses. The inclusion ↵stuconnolly2010-11-041-22/+19
| | | | of the query executed for filtered and query results as well as the table structure when exporting entire tables still needs to be added. Part of issue #840.
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-2/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* • for each export/copy/drag method other than SQL pass any spatial fields ↵Bibiko2010-10-091-0/+3
| | | | as WKT string; for SQL pass them as X'…' binary data
* Fix the display and updating of the export progress sheet when performing an ↵stuconnolly2010-08-141-0/+3
| | | | XML export. Caused by the incorrect implementation of XML export delegate methods as well as a missing call to one of them during the export process.
* Various export enhancements and fixes, including:stuconnolly2010-08-121-5/+9
| | | | | | | | | | | | - 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.
* On the XML export dialog add the option to specify the placeholder of ↵stuconnolly2010-06-061-5/+14
| | | | exported NULL values. Fixes issue #718.
* Remove unsed try/catch exception blocks in all data exporters.stuconnolly2010-05-271-147/+144
|
* Data export fixes:stuconnolly2010-05-261-5/+5
| | | | | | | - Fix the same potential autorelease pool memory leak found in the CSV exporter in the XML exporter. - When performing an XML export to a single file don't write the header twice. - Remember to append the .xml extension when performing an XML export to a single file.
* Merge export redesign branch back into trunk.stuconnolly2010-05-241-4/+214
| | | | | | | | | | | | | | | | | | | | | Includes a completely redesign approach to all export data types based on the use of NSOperation subclasses. CSV, SQL, XML and dot export types are currently functional, while the source files for PDF and HTML export types exist they are to be implemented, but are currently hidden from the interface. Also includes the following: - Completely redesigned export interface. - The ability to customize CSV NULL values. - The ability to specify whether the UTF-8 BOM should be used in SQL dumps. - The ability to specify whether BLOB fields are output as hex or plain text during SQL dumps. Defaults to hex. - Exporting currently selected tables via the tables list context menu. Outstanding issues: - Not all progress indicators for all export types are functional (or functioning correctly). - A few issues related to the introduction of only exporting the content and create and drop syntax of specific tables during SQL dumps. Needs some serious testing and benchmarking to ensure it replicates the current export functionality.
* More export redesign work. CSV data generation is currently working using ↵stuconnolly2009-10-061-0/+48
the old non-streaming code, but does not yet write to any files. Please note that this is still very much a work in progress.