Commit Graph

333 Commits

Author SHA1 Message Date
Allan Odgaard
7f11230655 Checkin release notes 2014-03-04 16:13:30 +07:00
Allan Odgaard
3d4d75c543 Update about window text 2014-03-04 16:03:05 +07:00
Allan Odgaard
f5ba564c41 Update copyright to 2014 2014-03-04 08:57:56 +07:00
Allan Odgaard
2b28f5a165 Use NSHumanReadableCopyright in about window
This avoids having the copyright (which includes the current year) in multiple places.
2014-03-04 08:57:28 +07:00
Allan Odgaard
c2397484b8 Use C++11 for loop
Majority of the edits done using the following ruby script:

    def update_loops(src)
      dst, cnt = '', 0

      block_indent, variable = nil, nil
      src.each_line do |line|
        if block_indent
          if line =~ /^#{block_indent}([{}\t])|^\t*$/
            block_indent = nil if $1 == '}'
            line = line.gsub(%r{ ([^a-z>]) \(\*#{variable}\) | \*#{variable}\b | \b#{variable}(->) }x) do
              $1.to_s + variable + ($2 == "->" ? "." : "")
            end
          else
            block_indent = nil
          end
        elsif line =~ /^(\t*)c?iterate\((\w+), (?!diacritics::make_range)(.*\))$/
          block_indent, variable = $1, $2
          line = "#$1for(auto const& #$2 : #$3\n"
          cnt += 1
        end
        dst << line
      end
      return dst, cnt
    end

    paths.each do |path|
      src = IO.read(path)

      cnt = 1
      while cnt != 0
        src, cnt = update_loops(src)
        STDERR << "#{path}: #{cnt}\n"
      end

      File.open(path, "w") { |io| io << src }
    end
2014-03-03 10:34:13 +07:00
Allan Odgaard
5d089803b8 Disable session saving if we terminate before having restored it
Previously if TextMate had expired, we would terminate, which would cause the current session state to be saved, and since it hadn’t yet been restored, we would write out empty session state (and overwrite the user’s previous session state).
2014-03-01 08:48:49 +07:00
Allan Odgaard
91096c12f3 Ask user to skip session restore if abnormal exit is detected 2014-03-01 08:38:01 +07:00
Allan Odgaard
2d9a680f63 Checkin release notes 2014-02-23 15:04:56 +07:00
Allan Odgaard
bf1f1ef4f6 Checkin release notes 2014-02-21 17:44:08 +07:00
Allan Odgaard
162ba1649c Rename project-state.db → RecentProjects.db 2014-02-19 18:01:00 +07:00
Ronald Wampler
f99cf4bbdd Fix typo in contacts usage description 2014-02-13 13:38:35 +07:00
Allan Odgaard
a5ab9a7d03 Checkin release notes 2014-02-12 20:52:53 +07:00
Allan Odgaard
f90ff29c96 Checkin release notes 2014-02-11 17:02:46 +07:00
Allan Odgaard
10f14a74f3 Support referencing documents via UUID
This support is to allow using ‘mate’ to change caret/selection for open untitled documents.
2014-02-11 16:38:58 +07:00
Allan Odgaard
7f65abfe5b Do not hardcode year interval for bundle changes
Previously we would not show any changes done after 2013. We now show changes for the current and last two years.
2014-02-10 20:26:08 +07:00
Allan Odgaard
5256a8e9ae Add file icon to favorites / recent projects 2014-02-10 20:10:39 +07:00
Allan Odgaard
9246e014b0 Minor refactor 2014-02-10 20:00:59 +07:00
Allan Odgaard
bef5e5d88c LRU sort recent projects and disambiguate display names 2014-02-10 16:57:10 +07:00
Allan Odgaard
d9f0cf6563 Skip non-existing recent projects
Long-term it would make sense to also delete them if they haven’t been used for e.g. a month.
2014-02-10 13:53:10 +07:00
Allan Odgaard
d912b4272e Allow using ‘quit’ to terminate an (r)mate session
This is useful when testing socket connections as it seems nicer than simply killing the connection.
2014-02-08 16:28:16 +07:00
Allan Odgaard
8165d6f5f2 Update 127.0.0.1 → localhost in documentation
TextMate listens on IPv6 so we must use ‘localhost’ with SSH so that it correctly resolves to ::1 (instead of an IPv4 address).
2014-02-08 16:28:16 +07:00
Allan Odgaard
ebba7eac8c Checkin release notes 2014-02-07 20:06:15 +07:00
Allan Odgaard
48e3796f87 Add delete action to Open Favorites
This only works for Recent Projects (not Favorites).

Also, the key equivalent for this is ⌘⌫. The Edit → Delete menu item will not work (as it’s being sent to the input field).
2014-02-07 19:53:28 +07:00
Allan Odgaard
6ab6c3f43b Add “Recent Projects” to “Open Favorites” dialog 2014-02-07 19:53:28 +07:00
Allan Odgaard
ca7d49eeb2 Checkin release notes 2014-02-03 20:51:32 +07:00
Allan Odgaard
c72d23d0b6 Checkin release notes 2014-01-13 08:34:55 +07:00
Allan Odgaard
9f07942e09 Use dynamic menu titles for most toggle items
Closes #935
2013-12-12 13:36:16 +07:00
Allan Odgaard
fdfacbdc5d Save with Xcode 5.0.2 2013-12-12 13:22:28 +07:00
Allan Odgaard
888ccbed16 Remove use of NSPointToCGPoint
This is not required when building in 64 bit mode or when defining NS_BUILD_32_LIKE_64.
2013-11-18 22:43:50 +07:00
Allan Odgaard
a2b44714a6 Treat various archive types as binary 2013-11-09 19:27:24 +07:00
Allan Odgaard
f515d92bb4 Rescan favorites folder when re-opening favorites chooser
Previously we only scanned the folder when creating the favorites chooser singleton which meant items added or removed after the chooser had been used, were not reflected before a relaunch.

Fixes #1182
2013-11-09 19:27:24 +07:00
Allan Odgaard
29a7dac562 Checkin release notes 2013-11-03 20:42:58 +01:00
Allan Odgaard
98343be4da Checkin release notes 2013-10-31 19:03:42 +01:00
Allan Odgaard
0976c048b3 Add learning to Open Favorite 2013-10-28 23:04:32 +01:00
Allan Odgaard
d70f4ad3c0 Update Open Favorite to use OakChooser 2013-10-28 23:03:24 +01:00
Allan Odgaard
0ae129608b Checkin release notes 2013-10-27 20:14:23 +01:00
Allan Odgaard
88c4675c94 Checkin release notes 2013-10-24 16:04:34 +02:00
Allan Odgaard
a64c590a60 Use standard icon for .log files 2013-10-10 16:45:26 +02:00
Allan Odgaard
8d247310a2 Checkin release notes 2013-10-10 16:44:37 +02:00
Allan Odgaard
c5558d0574 Remove a few std::shared_ptr typedefs 2013-10-04 16:51:26 +02:00
Allan Odgaard
76dc76b57a Fix typo in debug output 2013-09-22 12:55:42 +02:00
Allan Odgaard
e6541240a9 Checkin release notes 2013-09-15 20:20:07 +02:00
Allan Odgaard
3e2567d2d0 Add Sticky and Close Tabs to the Right to File menu
The title of the Sticky item is nonsensical, but I couldn’t come up with anything good.

Closes #1110.
2013-09-12 23:46:05 +02:00
Michael Sheets
683ccd3ab2 Add icon definitions to CFBundleDocumentTypes
Works around a bug where icons are not inherited from the UTI definitions.
2013-09-12 23:46:04 +02:00
Allan Odgaard
3f055aa318 Clear all web view delegates during dealloc 2013-09-12 23:46:04 +02:00
Allan Odgaard
2ad5b2fb59 Checkin release notes 2013-09-06 16:01:44 +02:00
Allan Odgaard
1c308c810d Use map::emplace instead of inserting std::pair (C++11) 2013-09-05 20:59:11 +02:00
Allan Odgaard
ae708eaa41 Remove Text → Transpose Words
This is unimplemented and I probably won’t implement it unless there is a very compelling use-case.

The Text → Transpose action can already transpose words, either when separated by whitespace, comma, etc., or when the words are selected as two (or more) discontinuous selections.

Closes #1109
2013-09-03 16:48:00 +02:00
Allan Odgaard
e4e80a946c Use std::make_shared 2013-09-03 12:27:20 +02:00
Michael Sheets
c1bdbfa975 Use UTIs for both application and Quicklook generator
UTIs are taken from both the Apple supplied list and newly created for those that didn't exist. For those languages where no clear 'owner' existed to provide the reverse-DNS notation we use a com.macromates.* stand-in.
2013-09-03 12:10:18 +02:00