Commit Graph

  • 84ecf729bd Use displayNameWithExtension: instead of DefaultSaveNameForDocument Allan Odgaard 2016-07-10 22:46:49 +02:00
  • 94d29d0aef Update document_t::sync_save to use new saving API Allan Odgaard 2016-07-10 22:42:53 +02:00
  • 7929a3fbdf Use new document save API from find window Allan Odgaard 2016-07-10 22:34:34 +02:00
  • 1e1206f303 OakShowAlertForWindow will queue alerts when sheets are already showing Allan Odgaard 2016-07-10 22:25:58 +02:00
  • 651d451b89 Add OakDocument API for saving Allan Odgaard 2016-07-10 21:40:00 +02:00
  • c12867182b Loading document can succeed, fail, or be cancelled by user Allan Odgaard 2016-07-10 21:27:32 +02:00
  • 73fba5b72b Remove unused import statement Allan Odgaard 2016-07-10 17:55:31 +02:00
  • 1d78a4fc83 Don’t initialize variable to expected value (to improve test) Allan Odgaard 2016-07-10 17:13:34 +02:00
  • a6ecde745d Change how we run NSSpellChecker code on the main thread Allan Odgaard 2016-07-10 17:10:01 +02:00
  • 168c06402c Setup CFRunLoop in test runner Allan Odgaard 2016-07-10 17:07:15 +02:00
  • 1eae742111 Add info about avoiding libressl linker warnings Allan Odgaard 2016-07-10 12:35:17 +02:00
  • d2d56aaee7 Explicitly call onig_init() Allan Odgaard 2016-07-10 11:49:52 +02:00
  • bc703249e5 Ensure NSDocumentController is used only from main thread Allan Odgaard 2016-07-10 11:23:23 +02:00
  • df3ef3cd81 Don’t delay “did save” notification to next event loop cycle Allan Odgaard 2016-07-10 10:45:59 +02:00
  • 26e66b887a Use current run loop instead of main dispatch queue Allan Odgaard 2016-07-10 10:41:39 +02:00
  • 61aa554dbd Use current run loop instead of main dispatch queue Allan Odgaard 2016-07-09 15:44:54 +02:00
  • 3d4d8d4ca3 Code formatting change Allan Odgaard 2016-07-08 21:01:22 +02:00
  • c6efe7a06a Remove CGRectLessThan Allan Odgaard 2016-07-08 20:37:48 +02:00
  • 29d2e52e13 Remove cf::image_t Allan Odgaard 2016-07-08 20:35:16 +02:00
  • d999aa7e39 Remove cf::timer_t Allan Odgaard 2016-07-08 20:29:55 +02:00
  • 60180f77ec Let OakDocument post will/did save notification Allan Odgaard 2016-07-08 10:56:56 +02:00
  • 6495435833 Add description method to OakDocument Allan Odgaard 2016-07-08 10:17:00 +02:00
  • a425ec3c27 Use displayNameWithExtension: when creating backup name Allan Odgaard 2016-07-08 10:02:23 +02:00
  • a00a4c2d86 Add displayNameWithExtension: method to OakDocument Allan Odgaard 2016-07-08 09:42:10 +02:00
  • 9e06e35225 fixup! Use selected document’s path to find external scope attributes Allan Odgaard 2016-07-08 09:27:49 +02:00
  • 9deb1bf1be Remove content argument from didSave callback method Allan Odgaard 2016-07-07 21:59:38 +02:00
  • 3a84c1ca3c Simplify code to find a grammar’s file extension Allan Odgaard 2016-07-07 21:58:30 +02:00
  • 0e5e448295 Remove unused file type argument to file::save Allan Odgaard 2016-07-07 20:54:13 +02:00
  • 7619e6e9c2 Store document’s file type in session restore info Allan Odgaard 2016-07-07 12:18:49 +02:00
  • da47f80aaa Only update grammar and indent settings for open documents Allan Odgaard 2016-07-07 12:12:57 +02:00
  • 1bab8548af Set project directory when restoring session Allan Odgaard 2016-07-07 11:10:29 +02:00
  • 9f1641911a Remove create_untitled_document_in_folder helper function Allan Odgaard 2016-07-07 10:47:53 +02:00
  • 2d50db451b Don’t update settings when creating untitled documents Allan Odgaard 2016-07-07 10:41:58 +02:00
  • 5ef7bf1b9b Set document’s directory before opening it Allan Odgaard 2016-07-07 10:37:18 +02:00
  • 8fb18e3168 Add directory property to OakDocument Allan Odgaard 2016-07-07 10:18:59 +02:00
  • a1c8e0317e Change title of Recent Projects chooser to Open Recent Project Allan Odgaard 2016-07-07 09:33:41 +02:00
  • 4bdd217455 Change Quick Open… menu item to Open Quickly… Allan Odgaard 2016-07-07 09:31:38 +02:00
  • b0548bfe32 Remove “Quick Open” from file chooser title Allan Odgaard 2016-07-07 09:29:38 +02:00
  • 95f265574f Move New File and New Folder menu items to File Browser menu Allan Odgaard 2016-07-07 09:22:55 +02:00
  • e2b474cad6 Fix incorrect OakDocument initializer Allan Odgaard 2016-07-07 08:54:49 +02:00
  • 69b7b8ee42 Use non-deprecated method to load nib (10.8) Ronald Wampler 2016-07-06 16:14:37 -04:00
  • 074f5c6069 Checkin release notes v2.0-beta.11.5 Allan Odgaard 2016-07-06 20:37:37 +02:00
  • 1aee165b4e Use document’s logical path for proxy icon etc. Allan Odgaard 2016-07-06 19:12:41 +02:00
  • 05fa669364 Be explicit about using selected document’s path for untitledSavePath Allan Odgaard 2016-07-06 19:05:55 +02:00
  • fd4395c2bf Use document’s “logical path” to lookup preferred encoding Allan Odgaard 2016-07-06 19:04:47 +02:00
  • d08250c428 Use selected document’s path to find external scope attributes Allan Odgaard 2016-07-06 19:02:16 +02:00
  • 431bba9a2e Change precedence of targeted settings Allan Odgaard 2016-07-06 18:59:02 +02:00
  • 665ad94892 Document settings would not be read using document’s path Allan Odgaard 2016-07-06 16:46:07 +02:00
  • 4843ca3e1a Checkin release notes v2.0-beta.11.4 Allan Odgaard 2016-07-06 10:36:28 +02:00
  • 6c73e4bbae Remove legacy open callback abstract base class Allan Odgaard 2016-07-05 22:58:22 +02:00
  • 36e01eeb10 Fail early if OakDocumentView / OakTextView lack a document Allan Odgaard 2016-07-05 17:03:20 +02:00
  • dff96aba21 Lookup theme per document type Allan Odgaard 2016-07-05 15:31:19 +02:00
  • f8b2ca4da4 Don’t make OakTextView’s theme property a const reference Allan Odgaard 2016-07-05 15:11:57 +02:00
  • b6f5474629 Fail early for some OakTextView methods when we have no theme Allan Odgaard 2016-07-05 14:58:23 +02:00
  • f487c5d575 Simplify code to obtain font’s em-space Allan Odgaard 2016-07-05 14:20:08 +02:00
  • 436e43d78f Specify OS requirements (to server) via depends DSL Allan Odgaard 2016-07-05 12:12:31 +02:00
  • ef876499bd Use system’s default monospace font for theme_t Allan Odgaard 2016-07-05 12:11:25 +02:00
  • 0bb275b4f0 Rely on the system’s default monospaced font rather than Menlo Allan Odgaard 2016-07-05 12:03:52 +02:00
  • 7e69201513 Use default monospace font when failing to get requested font Allan Odgaard 2016-07-05 11:46:34 +02:00
  • 58aafa283d Let OakTextView store an NSFont instead of separate font name and size Allan Odgaard 2016-07-05 11:32:37 +02:00
  • a337d6029c Remove use of copy_with_font_name_and_size from OakTextView Allan Odgaard 2016-07-05 11:11:15 +02:00
  • ec430fe375 Don’t let layout_t rely on caller to set the theme’s font Allan Odgaard 2016-07-05 11:02:49 +02:00
  • a415576827 Disable deprecation warning for Gestalt API Allan Odgaard 2016-07-05 10:45:02 +02:00
  • 1afd1f11ba Use weak storage for OakTextView’s delegate (10.8) Allan Odgaard 2016-07-05 10:15:07 +02:00
  • a3639495d1 Update dialog plug-ins (use non-deprecated nib API) (10.8) Allan Odgaard 2016-07-05 10:01:45 +02:00
  • 3ef7c81470 Ensure a dropped tab is always moved Allan Odgaard 2016-07-04 23:10:37 +02:00
  • 3812acf2bc Support providing same document(s) as insert and close arguments Allan Odgaard 2016-07-04 23:01:54 +02:00
  • 1c744c9b0e Add checkbox for keeping bundles updated to Bundles preferences Allan Odgaard 2016-07-03 23:49:21 +02:00
  • b4e6f186be Remove Software Update checkbox for keeping bundles updated Allan Odgaard 2016-07-03 23:47:44 +02:00
  • 94036f28aa Non-active text views only execute bundle items with ⌘ in their shortcut Allan Odgaard 2016-07-03 20:34:41 +02:00
  • d3f7193415 Don’t use NSControl’s controlSize property (backwards compatibility) v2.0-beta.11.3 Allan Odgaard 2016-07-01 21:26:41 +02:00
  • d18d524037 Use CFCharacterSet for “East Asian Width” and update tables Allan Odgaard 2016-07-01 09:58:58 +02:00
  • 3ff9a5dfee Don’t go via buffer_t to remove document marks v2.0-beta.11.2 Allan Odgaard 2016-06-30 22:48:40 +02:00
  • 1bc09c2ee7 Don’t go through buffer_t to get document’s indent settings Allan Odgaard 2016-06-30 22:48:17 +02:00
  • 823313d276 Add some assertions Allan Odgaard 2016-06-30 22:37:18 +02:00
  • d9769edf6b Loading document in the progress of loading would return immediately Allan Odgaard 2016-06-30 22:32:42 +02:00
  • cc7ff6e631 Always store release notes digest in user defaults v2.0-beta.11.1 Allan Odgaard 2016-06-30 17:19:30 +02:00
  • 39b9dd19bf Checkin release notes v2.0-beta.11 Allan Odgaard 2016-06-30 16:51:44 +02:00
  • cba83cc413 Opening a file without a grammar can now suggest installing a bundle Allan Odgaard 2016-06-30 16:22:10 +02:00
  • 61492af33c Fix typo Allan Odgaard 2016-06-30 14:26:54 +02:00
  • 34c126b634 Add new class: SelectGrammarViewController Allan Odgaard 2016-06-30 14:12:28 +02:00
  • ab6c91b1c4 Let BundlesManager observe user defaults for disabling update checks Allan Odgaard 2016-06-29 23:24:17 +02:00
  • 5f336984f3 OakDocument was only using virtual path to lookup some settings Allan Odgaard 2016-06-29 22:36:09 +02:00
  • 194a2c35c3 Ensure document always receives a file type Allan Odgaard 2016-06-29 22:30:44 +02:00
  • 629ac714f3 Limit the steps taken by OakDocument to find a file type Allan Odgaard 2016-06-29 21:55:02 +02:00
  • b209d81645 Make file::type_from_path a public function Allan Odgaard 2016-06-29 16:32:01 +02:00
  • 5dccc9f824 Multiple selections copied to find clipboard creates alternation regexp Allan Odgaard 2016-06-29 14:03:12 +02:00
  • 6a476b868c Add regexp::escape helper to escape special characters Allan Odgaard 2016-06-29 13:52:07 +02:00
  • 15d798dde8 Add proposedGrammars method to OakDocument Allan Odgaard 2016-06-29 11:26:28 +02:00
  • adef9fbbbc Use new BundlesManager API to obtain release notes Allan Odgaard 2016-06-29 11:04:42 +02:00
  • b1fcb9dea4 Update bundles preferences to new BundlesManager API Allan Odgaard 2016-06-29 11:02:45 +02:00
  • caf8ee5b1f Change API and implementation of BundlesManager Allan Odgaard 2016-06-29 10:56:50 +02:00
  • 4db51602b0 Remove unused load/save methods from key_chain_t Allan Odgaard 2016-06-28 09:48:59 +02:00
  • ca24ad9388 Remove unused grammar selection sheet resources Allan Odgaard 2016-06-27 12:12:38 +02:00
  • 5361e287f9 Do not handle file type sniffing in file::open Allan Odgaard 2016-06-27 12:04:02 +02:00
  • e88f40a76d Do not attempt to save document meta data for non-existing files Allan Odgaard 2016-06-27 11:51:24 +02:00
  • 1b7e37affa Set OakDocument’s ‘onDisk’ property during initialization Allan Odgaard 2016-06-27 11:44:45 +02:00
  • 3f44309466 Post OakDocumentWillCloseNotification when closing a document Allan Odgaard 2016-06-27 11:38:13 +02:00
  • 41b987e82c Select last added document when creating multiple tabs at once Allan Odgaard 2016-06-26 16:53:15 +02:00
  • e39e744636 Simplify code which inserts new documents into the tab bar Allan Odgaard 2016-06-26 16:38:33 +02:00