aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Change the way index deletion works (part of #2811)Max2017-06-061-60/+104
| | | | | | * Instead of trying to figure out if an index is used by an FK ahead of time Sequel Pro will now simply run the query and check for the error code (and only for error 1553 will it attempt to also remove the FK) * This means that a user will receive two remove dialogs in this rare case, but I think that is actually preferable. Common wisdom shows that users never read the first warning dialog, so in the past they may have agreed to something that they didn’t intend to do. The second dialog should actually make them pause and read it. Also there is a different confirmation button now. * This also fixes the code to detect which FK in particular MySQL is referring to. SP should now correctly handle compound indexes and multi-column FKs as well as ambiguous results.
* Now that was some silly code… (part of #2811)Max2017-06-051-1/+4
|
* Small changes to PR #2807 and surrounding codeMax Lohrmann2017-05-305-17/+35
|
* Add capability export and copy blobs as hex, if "Display Binary Data as Hex" ↵Michael Heins2017-05-302-2/+17
| | | | is selected.
* Minor bug: CSV/XML export file names could behave differently for localized ↵Max Lohrmann2017-05-251-2/+2
| | | | versions vs English version
* Minor fix: When „Display as Hex“ was enabled, „NULL“ was highlighted ↵Max Lohrmann2017-05-201-4/+4
| | | | in blue instead of gray
* Some changes to PR #2795Max Lohrmann2017-05-204-87/+166
| | | | | | | * Adjusted code style * Added unit tests * Rewrote a function to be easier to understand * Added support for MySQL X’val’ style hex literal
* Hex edit for binary columnsMichael Heins2017-05-194-8/+97
| | | | | | Implement the ability to edit binary columns as hex data. Check input string for valid hex values; if invalid input, open alert sheet.
* Add a check for table comment being NULLMax2017-05-171-2/+3
| | | | (which can’t normally happen with MySQL, but I guess not every installation out there is normal) (#2791)
* Fix an erroneous check that would allow to close windows with only one tab ↵Max2017-05-162-13/+10
| | | | even when it was busy (#2787)
* Apply changes from 23c4d04e433f9eb21872edacc41173e34ec45ac2 to ↵Max2017-05-151-0/+12
| | | | SPTableContent (#2775)
* Apply changes from e1b881b8f893803c4949a69055c4e8106562327d to ↵Max2017-05-152-11/+2
| | | | SPTableContent (part of #2770)
* Change some method calls so the custom query view controller gets notified ↵Max2017-05-103-8/+18
| | | | when the window is about to be closed and can stop a pending UI timer (#2775)
* Expand a mutex lock because it previously did not cover all possible ↵Max2017-05-061-17/+26
| | | | multithreading cases
* Fix the way „Kill Query“ / „Kill Connection“ acquires the ID to ↵Max2017-05-041-13/+34
| | | | | | prevent an possible exception and possible data corruption (caused by killing the wrong connection/query) #2779 Previously the code did not take into account „auto reload“ and that it may cause the selected row to change between clicking on „Kill …“ and actually executing the query.
* Implement progress for BZ2 file importFacundo2017-04-293-39/+46
|
* Change a few methods so they do what their name suggests (fix for #2765)Max Lohrmann2017-04-231-39/+77
|
* * Fix a case of "background thread updating UI" (may affect some crashes ↵Max Lohrmann2017-04-224-30/+35
| | | | when importing CSVs)
* Remove a superfluous ivar and the unholy intermingling of UI and data code ↵Max2017-04-182-24/+18
| | | | it has caused (part of #2770)
* Move some code to a place where it makes more sense to be (part of #2770)Max2017-04-184-11/+20
| | | | (This should not cause any behavioral changes)
* Fix an error where Sequel Pro was unable to detect the default charset of ↵Max2017-04-101-2/+5
| | | | partitioned tables (#2761)
* Fix an exception when opening the „About“ window on OS X < 10.10Max2017-04-011-1/+2
|
* Fix encrypted Session files on 10.6Max2017-04-011-3/+5
|
* Update source code compatibilityMax2017-03-3121-208/+177
| | | | | | * Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
* Merge branch 'master' of https://github.com/sequelpro/sequelproMax2017-03-311-6/+9
|\
| * Fix first responder exception being logged on 10.12. Check if the favourites ↵Stuart Connolly2017-03-301-2/+2
| | | | | | | | outline view is attached to a window before setting it as the first responder.
| * Fix first responder exception being logged on 10.12. Check if the favourites ↵Stuart Connolly2017-03-301-6/+9
| | | | | | | | outline view is attached to a window before setting it as the first responder.
* | Fix a case of „background thread updating UI“ that could cause an ↵Max2017-03-313-17/+35
|/ | | | exception with a very specific timing (#2754)
* More debug code to find cause of #2266Max2017-03-301-3/+12
|
* Merge branch 'master' of github.com:sequelpro/sequelproStuart Connolly2017-03-284-39/+77
|\
| * Allow copying lines from query console by using drag-and-drop (part of #2749)Max2017-03-294-39/+77
| |
* | Remove unused var.Stuart Connolly2017-03-281-3/+1
| |
* | Move table relations delegate methods into their own catrgory to be ↵Stuart Connolly2017-03-284-57/+127
|/ | | | consistent with other controllers.
* Fix an issue where the wrong table could be deleted when switching tables ↵Max2017-03-261-7/+5
| | | | | | (by key press) fast enough after confirming deletion (#2742) This was caused by the delete code being called via a `performSelector:…` timer event instead of directly, which gave the run loop a chance to handle the key event between confirming the delete and actually executing it.
* Disable automatic window tabbing on 10.12+ until we fully implement it.Stuart Connolly2017-03-252-7/+28
|
* Fix crashes on tab/window closing due to previously registed preference ↵Stuart Connolly2017-03-242-6/+28
| | | | observers not being removed.
* Remove duplicate setting of sheet title/message.Stuart Connolly2017-03-235-22/+9
|
* - #1235: Prevent renaming a database which contains any non-table objects as ↵Stuart Connolly2017-03-2314-202/+307
| | | | | | | | it's currently not supported. - #1235: Inform the user when duplicating a database than any non-table objects won't be copied. - Add missing high resolution images to project. - Fix a potential memory leak inside SPCreateDatabaseInfo
* Fix warnings.Stuart Connolly2017-03-221-8/+16
|
* Remove redundant code and associated warning. No longer required after c4e9a4b.Stuart Connolly2017-03-221-14/+1
|
* Performance improvement for databases that contain lots of objects. When ↵Stuart Connolly2017-03-221-26/+25
| | | | getting shell variables for bundles don't call the object names methods multiple times.
* Fix user manager throwing an exception when mysql.user.authentication_string ↵Stuart Connolly2017-03-212-14/+28
| | | | is NULL.
* Fix about panel cropping it's main label.Stuart Connolly2017-03-181-6/+8
|
* Fix table triggers view not reacting to UI preference changes. Also, move ↵Stuart Connolly2017-03-183-140/+125
| | | | the responsibility of adding/removing preference observers to the controllers of respective views (more to follow).
* Comment typo.Stuart Connolly2017-03-172-1/+3
|
* #2705: FULLTEXT indexes should not require a column size prefix.Stuart Connolly2017-03-172-146/+84
|
* Fix two cases of background thread updating UI (could cause a concurrent ↵Max2017-03-161-2/+2
| | | | modification exception)
* Merge branch 'master' of github.com:sequelpro/sequelproStuart Connolly2017-03-151-2/+2
|\
| * Fix an exception when removing custom content filters via the outline ↵Max2017-03-151-2/+2
| | | | | | | | view’s context menu (#2733)
* | #2732: Fix table information panel stuck on activities view.Stuart Connolly2017-03-153-37/+48
|/