Commit Graph

  • fe991f7b4b Improve error message for failure during save Allan Odgaard 2016-08-29 07:51:45 +02:00
  • ce21cb8ea4 Make swap_and_unlink a private function Allan Odgaard 2016-08-29 07:50:43 +02:00
  • f76e6072e3 Use path::rename_or_copy for saving property lists Allan Odgaard 2016-08-29 07:50:43 +02:00
  • 2b3f0734d5 Use path::rename_or_copy for backups Allan Odgaard 2016-08-29 07:50:19 +02:00
  • 0d7390cdc3 Use path::rename_or_copy for TextMate’s own data files Allan Odgaard 2016-08-29 07:48:37 +02:00
  • f92a783a96 Introduce path::rename_or_copy Allan Odgaard 2016-08-29 07:48:37 +02:00
  • 4ab38d3cfd Use the S_IRWX[UGO] constants to set file mode Allan Odgaard 2016-08-28 17:28:31 +02:00
  • 46fb745bbe Use perrorf when printing errors with dynamic strings Allan Odgaard 2016-08-28 17:25:26 +02:00
  • fe301508c8 Introduce perrorf as shorthand for fprintf with strerror Allan Odgaard 2016-08-28 17:25:19 +02:00
  • 4c8308b520 Use perror instead of fprintf + strerror Allan Odgaard 2016-08-28 17:24:14 +02:00
  • c0d6967480 Let OakTextView store an OakDocument instance instead of document_t Allan Odgaard 2016-08-28 17:23:05 +02:00
  • 9d48b5683b Don’t let OakTextView use any of the document_t wrapper methods Allan Odgaard 2016-08-28 17:22:06 +02:00
  • c78473dc6c Make OakDocument’s visibleIndex and selection properties public Allan Odgaard 2016-08-28 17:21:35 +02:00
  • c942dde920 Only use OakDocument in document_view_t Allan Odgaard 2016-08-28 17:20:08 +02:00
  • 9c4589d541 Inform callbacks about updated scopes when interrupting “batch parsing” Allan Odgaard 2016-08-28 17:03:26 +02:00
  • 7029992159 Only suppress “did parse” callback when next dirty line is our next line Allan Odgaard 2016-08-28 16:36:50 +02:00
  • 8dd33c654c Pass function parameter by value instead of const-reference Allan Odgaard 2016-08-28 16:19:07 +02:00
  • 5df4da9eb3 Removed unused function parameter Allan Odgaard 2016-08-28 16:15:02 +02:00
  • 6959ca68f3 Dismiss “Stop Command?” HTML output dialog if command exits by itself Allan Odgaard 2016-08-26 12:00:26 +02:00
  • ba8dfaf9fd Remove some unused document::run delegate methods Allan Odgaard 2016-08-25 16:10:40 +02:00
  • c7d3aa3649 Move show_command_error to DocumentController Allan Odgaard 2016-08-25 16:09:00 +02:00
  • 14782c0aea Remove old custom URL protocol Allan Odgaard 2016-08-25 16:08:29 +02:00
  • e282dc2fd2 Remove commandRunner from HTMLOutputWindow and DocumentController Allan Odgaard 2016-08-25 16:07:47 +02:00
  • 0153e837a8 Remove document::run API Allan Odgaard 2016-08-25 16:06:21 +02:00
  • 15d4f6c122 Use executeBundleCommand:variables: in editor_t’s command runner Allan Odgaard 2016-08-25 16:05:53 +02:00
  • 350db382d9 Use executeBundleCommand:variables: in performBundleItem: Allan Odgaard 2016-08-25 16:05:10 +02:00
  • 5783cceac7 Use executeBundleCommand:variables: in dropFiles: Allan Odgaard 2016-08-25 16:05:05 +02:00
  • 991822635f Use executeBundleCommand:variables: in filterDocumentThroughCommand: Allan Odgaard 2016-08-25 16:03:24 +02:00
  • 24a133d5a5 Add executeBundleCommand:variables: to OakTextView (internal API) Allan Odgaard 2016-08-25 16:02:07 +02:00
  • f01bf97630 Add OakCommand responder methods to OakTextView and DocumentController Allan Odgaard 2016-08-25 16:01:12 +02:00
  • d142f82f9f Check ‘isRunningCommand’ instead of ‘runner->running()’ Allan Odgaard 2016-08-25 15:59:48 +02:00
  • 29033c60d8 Use OakCommand in file browser and application delegate Allan Odgaard 2016-08-25 15:57:58 +02:00
  • 1da89cc5a0 Check for ‘x-txmt’ prefix in URL scheme instead of exact match Allan Odgaard 2016-08-25 15:56:57 +02:00
  • f3745fe034 Add new OakCommand framework Allan Odgaard 2016-08-25 14:20:00 +02:00
  • 974db67258 Read isRunningCommand property instead of looking at URL scheme Allan Odgaard 2016-08-25 14:11:31 +02:00
  • bb038b0670 Remove unused HTMLOutputWindow properties Allan Odgaard 2016-08-25 14:10:08 +02:00
  • bd61830833 Rework how we find suitable OakHTMLOutputView for command execution Allan Odgaard 2016-08-25 14:08:46 +02:00
  • 894b33d0bf Set frame autosave name of HTML output windows during creation Allan Odgaard 2016-08-25 14:08:03 +02:00
  • fce09a3edf Add mainFrameTitle property to OakHTMLOutputView Allan Odgaard 2016-08-25 14:07:27 +02:00
  • b598252c58 Add commandIdentifier property to OakHTMLOutputView Allan Odgaard 2016-08-25 14:07:00 +02:00
  • 0f90dfd4dd Explicitly set default values for bundle_command_t members Allan Odgaard 2016-08-25 14:06:09 +02:00
  • c99e65b17c Let OakHTMLOutputView handle the “Stop Task?” warning sheet Allan Odgaard 2016-08-25 14:05:16 +02:00
  • 2c41cf8fa0 Remove unnecessary code Allan Odgaard 2016-08-25 14:04:27 +02:00
  • 926786c36c Use NSURLProtocol’s setProperty:forKey:inRequest: for associated data Allan Odgaard 2016-08-25 14:02:39 +02:00
  • 0319186e89 Introduce a pipe when writing to the HTML output view Allan Odgaard 2016-08-25 14:01:21 +02:00
  • 349db77eba Make matched part of search results have a light grey background Allan Odgaard 2016-08-28 13:28:35 +02:00
  • a4b8abe73c Disable “tightening” of truncated match results Allan Odgaard 2016-08-28 13:25:51 +02:00
  • 817b2dc75e Remove attr_string_t class Allan Odgaard 2016-08-28 13:24:53 +02:00
  • 7844e50f5b Use string_builder_t instead of attr_string_t Allan Odgaard 2016-08-28 13:21:47 +02:00
  • c83e2e80ba Add helper class for building NSAttributedString Allan Odgaard 2016-08-28 13:13:00 +02:00
  • b0cbae4353 Update dialog plug-in (HTML tooltip dimension rounding error) Allan Odgaard 2016-08-28 09:56:56 +02:00
  • 5ff520a403 Add move semantics to storage_t Allan Odgaard 2016-08-28 09:17:59 +02:00
  • 96d322c298 Use close(open(path, O_CREAT)) to “touch” path Allan Odgaard 2016-08-28 09:16:10 +02:00
  • b0ba62451d Remove path::touch_tree Allan Odgaard 2016-08-28 09:14:43 +02:00
  • 4294889a79 Add comments about scope attributes Allan Odgaard 2016-08-28 09:13:41 +02:00
  • 0638874b61 Tag code that can be retired when updating OS requirement Allan Odgaard 2016-08-28 09:13:33 +02:00
  • 8709ee8f01 Make it obvious that our code is workaround for 10.8 Allan Odgaard 2016-08-28 09:13:27 +02:00
  • 60ba4c9930 Introduce callback.document.will/did-reload Allan Odgaard 2016-08-28 09:11:34 +02:00
  • 0e963bafc1 Post will/did reload document notifications Allan Odgaard 2016-08-28 09:10:28 +02:00
  • 04c507a1f3 Expose all semantic classes for items in the bundle item chooser Allan Odgaard 2016-08-28 09:10:08 +02:00
  • 22c1162707 Add “Copy Replacements” to the Find dialog’s action menu Allan Odgaard 2016-08-28 09:08:17 +02:00
  • b4db4fc5d6 Checkin release notes for 2.0-beta.12.5 v2.0-beta.12.5 Allan Odgaard 2016-08-25 10:41:50 +02:00
  • 0dbd7ff903 Introduce exit_insert_snippet_no_indent Allan Odgaard 2016-08-25 10:05:33 +02:00
  • 29279118c3 Introduce symbolic name for last defined exit code Allan Odgaard 2016-08-25 10:08:11 +02:00
  • 7ae00f9436 Ensure we have a selection before local drag’n’drop (move) Allan Odgaard 2016-08-25 09:40:07 +02:00
  • 16de4dc07a Fix reversed logic Allan Odgaard 2016-08-25 09:34:40 +02:00
  • a1c5ff8b17 Fix implementation of range_t::empty Allan Odgaard 2016-08-25 09:19:33 +02:00
  • b97a3fc3f8 More crash report info related to drag’n’drop issue Allan Odgaard 2016-08-25 08:45:07 +02:00
  • b254d94192 Set a text color for find window status bar Allan Odgaard 2016-08-25 00:28:24 +02:00
  • 0b15e58844 If duplicating the active tab’s document then we open the duplicate Allan Odgaard 2016-08-24 23:58:35 +02:00
  • 0c08c608fe Let file browser post notification when duplicating URLs Allan Odgaard 2016-08-24 23:54:57 +02:00
  • f9e02d9fdc Allow setting fontName and fontSize differently for each document Allan Odgaard 2016-08-24 22:16:22 +02:00
  • c488d25555 Add support for rendering strikethrough text Allan Odgaard 2016-08-24 21:21:28 +02:00
  • 2593550f9a Parse ‘strikethrough’ in fontStyle Allan Odgaard 2016-08-24 20:35:03 +02:00
  • 0663b21025 Use symbolic name for kCTUnderlineStyleSingle Allan Odgaard 2016-08-24 20:47:36 +02:00
  • 85a82d2bf8 Allow theme’s fontStyle to mix plain with bold, italic, and underline Allan Odgaard 2016-08-24 20:09:18 +02:00
  • 20f90b507b Add leading/trailing ellipsis for truncated search results Allan Odgaard 2016-08-24 18:05:12 +02:00
  • 5d4b9e3168 Ensure monospaced digits for search results line number prefix Allan Odgaard 2016-08-24 17:36:30 +02:00
  • fce6ad2574 Make search results font configurable Allan Odgaard 2016-08-24 16:47:21 +02:00
  • 232461fb47 Miniaturized windows would not show when clicking TextMate’s app icon Allan Odgaard 2016-08-22 22:34:08 +02:00
  • 59ac63bd94 Simplify OakFileBrowser’s selectedPaths implementation Allan Odgaard 2016-08-22 15:16:27 +02:00
  • 9818980b8c Change where we redirect stdin/out in ‘relaunch target’ build script Allan Odgaard 2016-08-22 15:11:55 +02:00
  • a8fa7383b5 Calling revealBundleItem: without an item is now a no-op Allan Odgaard 2016-08-22 15:07:36 +02:00
  • fbc7bab291 With multiple unsaved documents use Save All as button title Allan Odgaard 2016-08-22 09:06:03 +02:00
  • 7645d1981e Ensure numbers are monospaced in tool tips Allan Odgaard 2016-08-22 08:58:08 +02:00
  • 3b3d86a320 Use WebView’s stopLoading instead of killing the running task Allan Odgaard 2016-08-21 12:24:40 +02:00
  • 89c19eff61 Change ‘runningCommand’ getter to ‘isRunningCommand’ Allan Odgaard 2016-08-21 12:23:40 +02:00
  • aef22e4669 Always check for subfolders before creating submenu in folder pop-up Allan Odgaard 2016-08-19 12:41:42 +02:00
  • a5746e093c Increase find dialog’s Recent Places history to 20 Allan Odgaard 2016-08-19 12:28:25 +02:00
  • 8679b5b869 Redirect protocol-relative URLs in HTML output to https Allan Odgaard 2016-08-19 12:09:17 +02:00
  • e457c8834f Only check network reachability when we know there are remote grammars Allan Odgaard 2016-08-19 11:05:07 +02:00
  • 196db13f1d Do not accept dropped text of type public.plain-text Allan Odgaard 2016-08-18 21:54:16 +02:00
  • dbdfa3c6af Add identifying information to perror output Allan Odgaard 2016-08-16 21:18:11 +02:00
  • 4ede960bec Checkin release notes for 2.0-beta.12.4 v2.0-beta.12.4 Allan Odgaard 2016-08-18 17:54:27 +02:00
  • ba58c25afc Replacing in a document with no document editor would be a no-op Allan Odgaard 2016-08-18 17:47:26 +02:00
  • d890dce34c Checkin release notes for 2.0-beta.12.3. v2.0-beta.12.3 Allan Odgaard 2016-08-18 14:44:55 +02:00
  • 860da518cb Add attr.project.swift scope Ronald Wampler 2016-08-16 22:02:49 -04:00
  • 17a08d2c54 Do not call sync_open on a document which is loading Allan Odgaard 2016-08-16 21:07:57 +02:00
  • b4f421119d Indented line movement now produce multiple carets for column selections Allan Odgaard 2016-08-15 09:34:18 +02:00
  • 15e8b841d0 Add search excerpt tests related to LF and CRLF matching Allan Odgaard 2016-08-15 09:27:43 +02:00