aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Avoid an exception on a rare issue where determing the database fails after ↵Max2016-01-131-1/+2
| | | | sql import/running a custom query
* Go to database: change the way the arrow keys are forwarded, so the list ↵Max2015-12-061-2/+17
| | | | will scroll (#2343)
* Merge branch 'master' of https://github.com/sequelpro/sequelproMax2015-12-061-1/+1
|\
| * Fix a silly logic error (#2344)Max Lohrmann2015-12-031-1/+1
| |
* | Move some shared code to the parent classMax2015-11-216-24/+38
|/
* Export SQL in utf8mb4 if available (part of #2321)Max2015-11-201-0/+12
|
* Reorder some code to remove duplicate code and make leaking a ↵Max2015-11-208-79/+35
| | | | NSAutoreleasePool more difficult
* * move some duplicate code into it's own methodMax2015-11-2013-126/+127
| | | | | * remove some duplicate onMainThread calls * if an exporter needs a certain charset it'll have to set that itself now
* Restructure some code for shorter linesMax2015-11-202-35/+44
|
* Hand ServerSupport instance to exportersMax2015-11-206-3/+18
|
* * Remove restriction on 16 chars for username in User Manager (#1886)Max2015-11-187-250/+331
| | | | | * Change user manager code so that mysql queries are executed on validation instead of after save (in Core Data, not mysql). This should in general make more sense since a failure in MySQL essentialy means that Core Data can't save it either (but did anyway in the past). * Remove a deprecated method call that is no longer needed in 10.6+
* Add basic support for JSON type (part of #2199)Max2015-11-155-18/+43
|
* Add XML encoding headerMax2015-11-151-2/+2
|
* Store the last export settings using the new "export settings" formatMax2015-11-154-68/+33
|
* * Add QuickLook support for "export settings" filesMax2015-11-158-432/+563
| | | | | | * Add MGTemplateEngine to the QL plugin * Reorder the generator code a bit, so it's not one monolithic function * Add constants for some other sfp format types
* * Make a difficult mutex check a bit easier to read and hopefully a bit ↵Max2015-11-143-190/+186
| | | | | | | | | | safer, too * Reorder some code * Replace some duplicate code with goto * Simplify some if's Maybe this also has some influence on our current top crash ("Attempted to connect a connection that is not disconnected")
* Fix: "Custom filename" in export dialog would accept multi line text (#2325)Max2015-11-133-1/+46
|
* In order to enable even more people to shoot themselves in the foot, this ↵Max2015-11-122-0/+35
| | | | | | commit adds support for remote server shutdown 💣
* In the table quick info section: Display shorter name for collation if it ↵Max2015-11-111-1/+10
| | | | has the same prefix as encoding to save some space
* Fix an issue where changing a table collation could cause an exception ↵Max2015-11-113-7/+106
| | | | | | | | (fixes #2320) This issue probably was introduced in f02fb787063caabe246a0ee420394f5676c55a9c The empty item at the top of the collation list will now no longer have a selection mark, though.
* buildbot didn't like that...Max2015-11-101-1/+1
|
* Add a "tooltip" when picking a column type in structure view, explaining ↵Max2015-11-109-11/+758
| | | | | | basic properties of the type (part of #1090) This is mostly to help users understand what "Length" actually does for *INT types.
* Allow import of saved export settings (in export dialog)Max2015-11-0710-35/+537
|
* Add support for adding relations on MySQL < 5 (#530)Max2015-11-061-5/+19
|
* Fix an exception when right-clicking in the CSV field mapping table without ↵Max2015-11-061-3/+9
| | | | active selection (#2219)
* * Change window creation to use a create-and-get model instead of ↵Max2015-11-056-469/+478
| | | | | | | create-then-get as that did cause problems on 10.11 in some cases (#2294) * Split a huuuuge method into many smaller methods * Updated some code to use methods that are already there
* Add support for CURRENT_TIMESTAMP(n) in default/on update column of ↵Max2015-11-0410-26/+56
| | | | DATETIME/TIMESTAMP fields (part of #2315)
* Fix the charset/collation selection when creating a new db/table (minor ↵Max2015-11-034-11/+41
| | | | leftover from #2237)
* Changed my mind about something, to make it safer for localizationMax2015-11-033-2/+124
|
* Remove duplicate code for ALTER statement when reordering columns via ↵Max2015-11-032-210/+141
| | | | drag&drop in table structure view
* Support fractional seconds for CURRENT_TIMESTAMP in the default column (part ↵Max2015-11-031-3/+8
| | | | of #2315)
* Add a visual indication for the defaults in the encoding/collation menus in ↵Max2015-11-023-0/+292
| | | | table structure view (final part of #2237)
* Change the internal handling of charset/collation from offset-based to ↵Max2015-11-013-193/+161
| | | | | | | name-based in structure view This is a major change to the charset/collation code. Please watch out for issues! (part of #2237)
* Fix an exception on 10.11 when trying to install an SP update while a save ↵Max2015-11-011-0/+3
| | | | dialog is displayed (may have afftected other modal dialogs)
* * Basic math is hard sometimes (fixes an issue introduced by me in ↵Max2015-10-314-11/+26
| | | | | | | b2d798ba9282d3acf1a2d65de30849e529d4d255) * Fix an exception that could occur when trying to view a damaged table * Fix a theoretical use-after-free issue by a wrongly structured retain/release in a setter
* Minimal refactoringMax2015-10-315-29/+26
|
* Add method to get charset from collationMax2015-10-312-13/+33
|
* * Lock connection during disconnect to prevent some race conditionsMax2015-10-302-10/+7
| | | | | * Always use the server version name provided by mysql_get_server_info() as that should me more reliable * Use mysql_get_server_version() for version comparisons. Less code, official API and closer to what mysql does
* Wrap a repeated call in a simpler methodMax2015-10-258-21/+21
|
* Add table collation to the table info areaMax2015-10-251-2/+1
|
* Fix an exception when trying to export CSV to multiple filesMax2015-10-251-2/+2
| | | | (caused by my earlier changes to the export filename tokens)
* Improve the way Sequel Pro inferrs the collation of a column. (#2237)Max2015-10-255-34/+98
| | | | This does not entirely fix the bug of SP sometimes displaying the wrong collation, but should work in >= 99% of cases.
* Fix table name token not being used in SQL exports even when only one table ↵Max2015-10-242-1/+4
| | | | is selected
* That looks like it isn't used anymoreMax2015-10-212-5/+0
|
* Fix bundle commands no longer working in popup field editor (and possibly ↵Max2015-10-2111-31/+35
| | | | | | other cases) (#2299) Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-2029-273/+432
| | | | This should also eliminate a few use-after-free crashes
* Fix one cause a popular crash involving alert dialogs (part of #2297)Max2015-10-201-4/+5
|
* Avoid a seldom exception when a VIEW is selected and there a connection issuesMax2015-10-181-0/+6
|
* Very likely a fix for the _scrollViewDidChangeBounds debacle (#2126)Max2015-10-171-0/+2
|
* Split a huuuge method into twoMax2015-10-161-33/+43
|