| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This should also eliminate a few use-after-free crashes
|
| |
|
|
|
|
| |
connection and then chose "disconnect" when Sequel Pro asks to reconnect (attempt at #2137)
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* [NSDictionary dictionary] → @{}
* [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past.
* Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
|
|
|
|
|
| |
* (Also changed some outdated URLs)
* Replaced [NSApplication sharedApplication] with NSApp
|
|
|
|
| |
for use when loading tables, which may improve Issue #1925 and Issue #1902.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
increases and lower memory usage:
- Add a new SPMySQLStreamingResultStore class to SPMySQL.framework. This class acts as both a result set and a data store for the accompanying data, storing the row information in a custom format in a custom malloc zone.
- Amend SPDataStorage to wrap the new class, so original result information is stored in the one location in the custom format. Any edited information is handled by SPDataStorage for clean separation
- Rework table content and custom query data data stores to use the new class. This significantly speeds up data loading, resulting in faster data loads if they weren't previously network constrained, or lower CPU usage otherwise. The memory usage is also lowered, with the memory overhead for many small cells being enormously reduced.
|
| |
|
|
|
|
| |
viewed already, addressing Issue #1710
|
| |
|
| |
|
|
|
|
| |
should conform to.
|
| |
|
| |
|
| |
|
|
|
|
| |
the focus to the Filter Content tab bar. ⇧⌘F is used to show the advanced content filter table. This allows ^⌘F to be used for the standard OS X fullscreen window command, addressing Issue #1513.
|
| |
|
|
|
|
| |
dependency on SP specific code and all the tests to build successfully.
|
| |
|
|
|
|
|
|
|
| |
fix nightly builds
- Fix warnings
|
| |
|
|
|
|
|
|
|
| |
addresses Issue #1300
- Improve Copy as SQL INSERT logic to correctly calculate maximum line lengths
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
assuming 64-bit lengths; this addresses exceptions and hangs viewing table contents on 32-bit machines, many thanks to stuart02 for identifying and tracking down this issue
|
|
|
|
|
| |
- Update localizable strings
|
|
|
|
|
|
|
| |
the edit sheet aren't then overwritten by the cell value, potentially causing data truncation in 10.5. This addresses Issue 1196.
- Consolidate field editing in sheet logic
|
|
|
|
|
|
|
|
|
|
|
| |
triggered by Issue #1184:
- Display table cells on a single line for preview purposes
- Display gray pilcrow/reverse pilcrow placeholders instead of linebreaks
- If a cell contains linebreaks, automatically trigger sheet editing mode
- Handle newly displayed linebreaks in column width detection
- If using the up/down arrow keys in a field editor, allow them to select the previous/next line within an editor if appropriat (instead of always moving to the previous/next row)
|
| |
|
|
|
|
| |
postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
|
|
|
|
| |
UI code from functional code
|
|
|
|
|
| |
- Tweak README
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
while switching databases
|
|
|
|
|
|
| |
avoid incorrect line number rendering while scrolling until the problem is found why it causes some crashes
• fixed missing free() in [SPCopyTable executeBundleItemForDataTable]
|
|
|
|
| |
column order in Content and Query Editor table
|
|
|
|
|
|
| |
- Use the parent scrollview width rather than the table width to calculate available space; fixes issues with the table width reflecting the previous selected table
- Take account of cell spacing and scrollbar width to avoid horizontal scrolling where possible
|
|
|
|
|
|
| |
default output action was None
• renamed constants to avoid confusing
|
|
|
|
|
|
| |
reveal that file in Finder
• in SPCopyTable for tab-delimited row data replace \t by ⇥ and \n by ↵ if they occur in data cells for convenience
|
|
|
|
|
|
|
|
| |
which have altered values in the UPDATE query, improving speed and reducing the chance of issues when copying queries or altering rapidly changing tables. This addresses Issue #527; thanks to Tobias Mollstam for contributing a patch which prompted this update.
- Rename SPTableContent's "addRowToDB" to "saveRowToTable" for clarity, and clean up the code for speed and clarity
- Correctly save numeric fields as NULL if the value is blanked
|