aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
Commit message (Collapse)AuthorAgeFilesLines
* Remove a hack to support QuickLook on 10.5Max2015-04-021-1/+0
| | | | We don't need that anymore since 10.5 support is gone. Sequel Pro now explicitly links Quartz and doesn't try to guess QuickLook support at runtime.
* Addition to commit 2735e15bMax2015-01-041-27/+24
|
* Formalize [x release], x = nil; conventionMax2015-01-041-11/+11
| | | | | 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.
* Attempt 2 to fix building on 10.7, 10.8Max2014-12-131-4/+0
|
* Replace some NSDictionaries with literalsMax2014-12-131-9/+9
| | | | | | * [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).
* Replace boxed integers in code with @ literalsMax2014-12-131-7/+7
|
* Reformatting code for modern ObjCMax2014-12-131-1/+1
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Change pagination popover to native typeMax2014-11-281-21/+70
| | | | | | This commit switches our pagination popover to use native NSPopover on 10.7+ making it look more polished and modern. On 10.6 the old style will be used, *however* that one might still suffer from a bug caused by undefined overlapping view drawing behaviour.
* Resolve #1938: In the query console display the database the query was ↵Stuart Connolly2014-08-281-2/+6
| | | | executed in.
* Inverse shift+click sorting for custom queriesMiroslav Zoricak2014-03-051-5/+9
| | | | | Add inverse sorting for custom queries Keep the inverse order while shift+clicking after the first click
* Shift-click to reverse sort order of table columnsMiroslav Zoricak2014-03-041-1/+7
|
* 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
|
* Force a table reload (just the view not the actual data retrieval) whenever ↵Stuart Connolly2014-01-201-1/+6
| | | | the view binary data as hex option is toggled. Fixes #1875.
* Add an option to display binary data as hex, while displaying it in blue to ↵Stuart Connolly2014-01-141-0/+2
| | | | distinguish from string data of similar content.
* Add the XIB support for Multiple Table Content Filters (Issue #63). The ↵rowanbeentje2013-11-101-0/+5
| | | | required code is not committed yet, but committing the updated DBView.xib now avoids future xib conflicts while the code is completed.
* Fixed NSMutableString vs NSString warningsMarius Ursache2013-11-091-1/+1
|
* - Ensure the table row counts are correctly updated when reloading tables - ↵rowanbeentje2013-08-221-0/+2
| | | | this should address Issue #1789 and Issue #1788, and possibly Issue #1787
* Rework table content and custom query data loading and storage for speed ↵rowanbeentje2013-08-131-84/+55
| | | | | | | | | 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.
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-3/+2
| | | | enable some more
* * Composite Foreign Keys will now show all columns in Relation view (workaround)dmoagx2013-04-211-1/+1
|
* - If date-type fields are cleared, and allow NULLs, save the cell value as ↵rowanbeentje2013-03-061-2/+2
| | | | NULL; this implements Issue #1638
* - Fix escaping of backlsashes in non-LIKE clauses, addressing string ↵rowanbeentje2013-02-281-12/+21
| | | | matching with the = and RegExp operators - addresses Issue #1563
* Fix remaining 10.6/7 build warnings.stuconnolly2013-02-171-5/+0
|
* Fix more wanrings by creating a protocol that delegates of the copy table ↵stuconnolly2013-02-161-8/+0
| | | | should conform to.
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-115/+115
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-2/+9
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-13/+5
|
* - Fix a problem where the row count for InnoDB would not be displayed as an ↵rowanbeentje2013-01-211-45/+16
| | | | | | | | accurate value, whatever the Preferences setting, if the Content table was not selected - Clean up code slightly - Remove an unneccessary query being used for the table information view, speeding up display slightly
* Make some improvements to the Table Content Filter, particularly for text ↵rowanbeentje2012-12-231-1/+1
| | | | | | | | | fields: - Rename all "IS" entries to "=", to make the intended purpose clearer, and switch the underlying command to use "= BINARY" instead of "LIKE", producing an exact match instead of replicating LIKE functionality. Move LIKE p to just below the = options. This addresses Issue #1441. - Add entries for "matches RegExp" and "does not match RegExp", implementing Issue #1508. - When adding custom filters, add them by default to the Global group if the favourite isn't an on-disk document, addressing filter loss between sessions; this addresses Issue #1381
* - Allow table content pagination to preserve the current filter type, ↵rowanbeentje2012-11-211-5/+14
| | | | including URL schemes and advanced table-based filters, addressing Issue #1492. (The filter code in question probably needs refactoring to allow it to be simplified in future, but does currently function)
* - Fix exceptions when using the content filter table clear buttonrowanbeentje2012-11-201-1/+1
|
* - Improve use of the table content filter, no longer removing focus from it ↵rowanbeentje2012-11-201-5/+14
| | | | when a filter is triggered by deleting the contents (Issue #1496)
* - When a table content sort is cancelled because a row save operation ↵rowanbeentje2012-11-201-2/+5
| | | | fails, end the task to prevent the window from ending up in a non-responsive state. This addresses Issue #1499.
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-3/+4
|
* - Improve filter clearing logic, addressing Issue #1438 (pagination ↵rowanbeentje2012-08-231-11/+9
| | | | controls no longer functioning correctly)
* - Alter table content endEditingFor calls to not be made if the undo ↵rowanbeentje2012-08-211-14/+32
| | | | | | | manager is undoing or redoing, avoiding potential text processing loops when undoing in the search filter field (Issue #996) - If the table is unfiltered, and the table filter field is cleared (eg when typing/changing) don't reload the table
* Move table content filter logic to it's own file.stuconnolly2012-08-151-208/+29
|
* Filter window should observe use table view gridlines preference.stuconnolly2012-08-141-10/+23
|
* - Add linebreak display in the database processes list, preventing display ↵rowanbeentje2012-08-061-0/+1
| | | | | | | of truncated queries for clarity (Issue #1407) - If SHOW FULL PROCESSLIST isn't on, and the query appears to be truncated (length == 100), add a trailing ellipsis to suggest more content
* - Alter table content Advanced Table Filter query preview area to use ↵rowanbeentje2012-08-011-2/+2
| | | | | | | standard textview backgrounds, getting rid of the surrounding border box. This fixes issues with dark colour schemes. - Fix Advanced Table Filter column sizing to be uniform
* - Remove the last BWToolKit view items from the main nib (DBView) by ↵rowanbeentje2012-07-291-10/+15
| | | | | | | | redesigning the advanced Content Filter window - Tweak SPTextView to support translucent views, or views which are set not to draw their background - Fix Lion compatibility for advanced content filter default operator (Issue #1255)
* * Restore filter window functionalitydmoagx2012-07-251-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-16/+23
|
* - Fix use of the pagination jump-to-page functions, addressing Issue #1376rowanbeentje2012-06-201-3/+5
|
* * Fixes the case of the curious @"es"'sdmoagx2012-05-171-3/+3
|
* - Manually allocate memory for table selection restoration processing ↵rowanbeentje2012-05-131-3/+7
| | | | instead of relying on the stack; this should address exceptions on background threads when loading tables
* - Alter table filtering to reset pagination when filters are entered; ↵rowanbeentje2012-05-081-4/+9
| | | | pagination should still be correctly preserved in all other cases
* - Manually handle some SPFileHandle memory management to significantly ↵rowanbeentje2012-04-121-0/+3
| | | | | | | improve memory usage during large exports, particularly improving memory which appeared to never be reclaimed - Fix some minor memory leaks throughout the application
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+2
|
096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621