aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • Content Window cell editingBibiko2010-08-241-0/+6
| | | | - If enum field is edited RETURN selects the new value instead of saving the entire row
* • fixed memory leak in [SPDataAdditions ↵Bibiko2010-08-243-342/+341
| | | | | | | | | | shortStringRepresentationUsingEncoding] after simplifying the code • fixed NSAutoreleaseNoPool(): SPMainThreadTrampoline autoreleased with no pool in place - leak while canceling a print job - call [self endTask] BEFORE [pool drain] • in SPTableContent set the focus to table after editing a cell by the field editor sheet on main thread - this could fix exception 1481 • some code cosmetics: reduced file sizes
* • Table Content editing via keyboardBibiko2010-08-231-0/+12
| | | | | - disable ↑ and ↓ for jumping the next table cell if current cell is a enum field to allow to use the arrow keys for selecting an item from the list - Note: ?\018↩ handling has to be improved here! (coming soon)
* • changed TAB and SHIFT-TAB behaviour of Content Window tableBibiko2010-08-231-29/+98
| | | | | | | - now it selects any field (if it's editable for views) regardless whether the field is a blob - if user tries to edit a blob field the field editor sheet will occur for editing • after cancellation of cell editing in the Content Window table preserve the focus on the table • minor code cosmetics for editing of data coming from a view in Content Window
* • first preparations to allow in cell editing in Custom Query (not yet ↵Bibiko2010-08-223-159/+245
| | | | | | | | | | active) • view data editing - disable add/duplicate/remove row for views - first improvements for editing navigation via keyboard - after editing avoid relaodTable instead use loadTableValues - outsourced: (NSInteger)fieldEditStatusForRow:andColumn: since it will be used for keyboard editing navigation
* • moved changes done in r 2566 to tableViewSelectionDidChange: if no item ↵Bibiko2010-08-221-4/+12
| | | | in tablesList is selected to reset SP
* • after deleting of items in tablesList set selectedTableType to ↵Bibiko2010-08-221-2/+7
| | | | | | SPTableTypeNone and selectedTableName since the table will be deselectAll - fixes various updates like title bar etc. and avoid crashes/exceptions
* • view editingBibiko2010-08-221-11/+19
| | | | - if multipleLineEditingButton is set to on or field is a blob field allow to show the field data as non-editable fieldEditorSheet if field is not editable
* • view editingBibiko2010-08-221-3/+16
| | | | | - fixed: call endTask for the current progress spinner if while editing a field the data were changed meanwhile - fixed line breaking of some long tooltips
* • implemented the editing of views in Content WindowBibiko2010-08-212-2/+277
| | | | | | - the editing is field based as for Custom Query editing - shouldEditRow checks if the clicked field can be identified unambiguously - CAUTION: This must be tested heavily before releasing!! Esp. any kind of threading issues and progress spinner stuff for slower connections
* • overall replacement of:Bibiko2010-08-2014-191/+162
| | | | | | | | | [aString appendString:[NSString stringWithFormat:]] by [aString appendFormat:] since it's much more faster • first look at loop where several [aStr appendString:] occur to try to combine them into one appendString or appendFormat since the allocation of memory takes really time Note: I tested all my changes but we should test it further to be sure that I didn't a mistake!
* Fix various potential memory leaks and general warnings as a result of ↵stuconnolly2010-08-197-11/+17
| | | | static analysis.
* • made usage of SPBeginWaitingAlertSheet while closing a spf file for ↵Bibiko2010-08-194-16/+29
| | | | | | | readability of that spf file • suppress if a window with one tab will be closed that [... parentTabShouldClose] method will be called twice via closeTab: - this issue could be the reason for recent crashes/exception esp. of the NSNavigator (should be investigated further)
* • added SPBeginWaitingAlertSheet() routine which offers the chance to ↵Bibiko2010-08-195-51/+140
| | | | | | display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable • applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
* • added SPFileManagerAdditionsBibiko2010-08-196-4/+193
| | | | | | | | - [(NSString*)applicationSupportDirectoryForSubDirectory:error:] Return the application support folder of the current application for 'subDirectory'. If this folder doesn't exist it will be created. If 'subDirectory' == nil it only returns the application support folder of the current application. • added SPThemesSupportFolder constant
* Rename CMCopyTable to SPCopyTable.stuconnolly2010-08-198-16/+16
|
* • fixed issue if SP's theme support folder or saved theme file resp. was ↵Bibiko2010-08-191-0/+28
| | | | removed while SP's Editor Preferences window is open
* • double-click in Finder on a 'spTheme' file installs this theme in SP's ↵Bibiko2010-08-191-4/+31
| | | | | | support folder • fixed opening of other file types by checking lower cased strings
* • fixed: reset new name to @"" for saving a themeBibiko2010-08-191-0/+1
|
* • added Edit Theme List to Editor Prefs for renaming/deleting/duplicating ↵Bibiko2010-08-192-13/+132
| | | | | | | | themes • fixed some issues for saving a theme note: since it isn't a frequently used feature this should be enough
* • convert alert about unsaved color theme to a waiting sheetBibiko2010-08-182-5/+47
|
* • added Query Editor color theme manager to the Editor PrefBibiko2010-08-184-199/+418
| | | | | | - themes can be saved/loaded in/from ~/Library/Application Support/Sequel Pro/Themes by using the gear menu items in the Editor Pref - rearrange the GUI - Edit Theme List follows soon
* • Editor color setting in Pref pane displays the color names using the ↵Bibiko2010-08-172-3/+23
| | | | | | | Editor's font - added some logic for closing the NSColorPanel - some GUI tweaks
* Revert the change made in r2536 which prevented the use of exporting the ↵stuconnolly2010-08-172-109/+107
| | | | selected tables. We'll need to find another way to fix the original issue of not showing procs and functions in CSV and XML exports as well as preserving the user's selection when switching between export types.
* • improved SPColorWellCellBibiko2010-08-171-13/+27
| | | | | | - supports the displaying of colors with alpha values (as triangles) - size is set via parent frame with inset 0.5 - modified the border to match the NSColorWell look (not yet finished)
* • initial commit to set the Editor's colors by using a table approach ↵Bibiko2010-08-174-15/+240
| | | | | | containing SPColorWellCells - further improvements will follow soon
* • fixed logic for auto-completion inside quotesBibiko2010-08-161-10/+9
| | | | | • re-enabled autoHelp
* Fix release and dist builds.stuconnolly2010-08-162-9/+5
|
* • auto-completion in Query Editor now detects whether the caret is inside ↵Bibiko2010-08-162-1/+14
| | | | quotes or not in order to come up with the correct suggestions
* • added opacity slider to color palette Bibiko2010-08-161-0/+1
|
* • added chance to export/import the color theme of the Query Editor in ↵Bibiko2010-08-167-3/+407
| | | | | | | | | | | Prefs > Editor > Gear menu as normal plist file - file extension is spTheme - can also import TextMate theme tmTheme files directly • added the chance to set the selection color in the Query Editor • fixed code for setting the insertion point color • changed the way how the query highlight color will be drawn - now it also supports colors with an alpha value
* - Apply column autosizing improvements to custom query loadingrowanbeentje2010-08-167-62/+237
| | | | | | | | - Move Table Content progress tracking onto the main thread's load timer - Improve thread safety when autosizing - Improve autosize to not contrain wide columns as much in tables where all columns can be shown, or if the column is double-clicked to size. (This completes work on Issue #271 and Issue #272)
* On the export dialog make sure the tables list is refreshed when switching ↵stuconnolly2010-08-151-4/+4
| | | | export types to ensure procs and functions are only included for SQL exports.
* • forgotten to commit missing changes to commit 2534Bibiko2010-08-152-0/+15
|
* Improve export menu item validation by disabling export as XML and CSV when ↵Bibiko2010-08-151-6/+16
| | | | only multiple procs and/or functions are selected
* Improve export menu item validation by disabling export as XML and CSV when ↵stuconnolly2010-08-151-1/+12
| | | | either a proc or function is selected.
* • made SP more robust against issues which are caused by different table ↵Bibiko2010-08-151-9/+34
| | | | name encodings
* Ensure that the XML file header is written when performing an XML export of ↵stuconnolly2010-08-141-0/+2
| | | | the current filtered result.
* Fix the display and updating of the export progress sheet when performing an ↵stuconnolly2010-08-142-8/+11
| | | | 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.
* Tidy up database renaming and copying by removing the use of alert dialogs ↵stuconnolly2010-08-138-175/+156
| | | | within loops to prevent locking up the main thread. These operations ideally should also be threaded.
* • fixed bug while closing a tab to remove the connection from NavigatorBibiko2010-08-133-5/+55
| | | | • FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
* • NavigatorBibiko2010-08-132-10/+58
| | | | | - speed up tree display by caching the sort order of dictionary keys (only for more than 50) - this speeds up the entire Navigator GUI response enormously - fix the fighting refresh calls in sync mode if user double-clicked at an item in the Navigator which ended up in an unstable tree display
* • NavigatorBibiko2010-08-133-84/+12
| | | | | | | - make usage of only one tree - fixed "Button"-dummy - fixed refreshing of the tree data for first invocation - fixed tiny bits for possible crashes/exceptions due to threading
* • reverted changes of refreshing of the Navigator if it is not visibleBibiko2010-08-121-1/+1
| | | | | - this should fix recent crashes/execeptions
* Minor tidy up including the removal of unnecessary imports.stuconnolly2010-08-128-20/+9
|
* Various export enhancements and fixes, including:stuconnolly2010-08-1229-638/+1183
| | | | | | | | | | | | - 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.
* Column autosizing:rowanbeentje2010-08-121-1/+5
| | | | | | - Handle "(not loaded)" placeholders; this addresses http://spbug.com/l/1420 - Fix row inspection of widely-spaced rows for large, fast-loading tables, ensuring up to maxRows rows are inspected
* • NavigatorBibiko2010-08-121-11/+18
| | | | | | | - searches only for pattern length greater than 1 - improved connection detection for search if connection itself is selected - improved exceptions handling - improved first display refresh
* • while closing a doc window or quitting the app wait for removing the ↵Bibiko2010-08-121-1/+1
| | | | connection structure data used by the Navigator/Completion List to avoid exceptions or crashes
* • some minor work on NavigatorBibiko2010-08-122-18/+31
| | | | | | | - refresh on first init - sped up sorting a bit - code improvements - removed Quick Access since it can be outsourced (in the future)
249 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 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651