Commit Graph

1809 Commits

Author SHA1 Message Date
Allan Odgaard
aaec2a9930 Checkin release notes v2.0-alpha.9459 2013-08-02 18:35:44 +02:00
Allan Odgaard
8b1fd45fc9 Print debug info when saving from bundle editor 2013-08-02 18:31:48 +02:00
Allan Odgaard
8d51e930e3 Ensure version_less(NULL_STR, «any») → true 2013-08-02 16:21:21 +02:00
Allan Odgaard
62a16dd6a9 Do recursive rescan of updated bundles
Previously we would rescan the parent path which was effectively a no-op.

Also pass the “recursive” flag from fs-events to cache_t::reload.
2013-08-02 15:30:48 +02:00
Allan Odgaard
171cf05981 Use cache_t::erase when uninstalling a bundle 2013-08-02 15:26:59 +02:00
Allan Odgaard
20cea4ef4f Make cache_t::erase also remove descendants 2013-08-02 15:24:29 +02:00
Allan Odgaard
9fd20df7b6 Remove code to cleanup old cache files 2013-08-01 22:33:19 +02:00
Allan Odgaard
2a46a032d5 Update license info for third party frameworks 2013-08-01 22:08:18 +02:00
Allan Odgaard
612d8735ee Rename test header extension: .cc → .h 2013-08-01 19:08:15 +02:00
Allan Odgaard
281f5075e1 Update OakAppKit tests for new conventions 2013-08-01 19:05:39 +02:00
Allan Odgaard
a8e677db3c Update testing system for ns framework 2013-08-01 19:03:31 +02:00
Allan Odgaard
84dc2dd871 Allow a target to use both new and old test system
Presently the new test system cannot be used for (interactive) GUI tests, so we keep the old one until we have that feature in the new.
2013-08-01 19:01:24 +02:00
Allan Odgaard
c2749b0719 Bump version of bundle cache format
The cache update code has an issue causing some users to get an incomplete view of what’s on disk. Bumping the version forces re-indexing, and is not a long-term fix.
2013-08-01 11:36:27 +02:00
Allan Odgaard
ee383654bd Update .git_ignore 2013-08-01 11:36:27 +02:00
Allan Odgaard
f0bd118738 Update build (generator) script
Use APP_VERSION instead of APP_REVISION in various target names.

Indicate a few build commands are generators, so that their output is not removed on ‘ninja -t clean’.

Move generated dummy files (for tagging, uploading, deploying, etc.) to sub-directories to reduce noise in build directory.
2013-08-01 11:36:27 +02:00
Allan Odgaard
cdbadad8bd Add script used to update Changes.md 2013-07-31 21:16:47 +02:00
Allan Odgaard
7e1242b26f Improve handling of zero-width search results
Previously when using find next/previous and the caret was already on a zero-width match position, TextMate would stay on this match.
2013-07-31 20:58:10 +02:00
Allan Odgaard
267471d7bb Account for multi-byte characters when moving search position
Fixes #1070
2013-07-31 20:24:16 +02:00
Allan Odgaard
9072ba8d26 Collect info related to potential crash 2013-07-31 18:42:31 +02:00
Allan Odgaard
afcba9b1e8 Collect info related to a crash 2013-07-31 17:55:24 +02:00
Allan Odgaard
bbde9b61c3 Improve ability to aggregate info in crash reports 2013-07-31 17:52:32 +02:00
Allan Odgaard
99b75e9dfb Checkin release notes 2013-07-31 17:32:42 +02:00
Allan Odgaard
a7771287ef Listen on IPv6 interface instead of only IPv4 (rmate)
Fixes textmate/rmate#19
2013-07-31 15:03:19 +02:00
Jacob Bandes-Storch
17e822896e Add Quick Look generator
Closes #1062
2013-07-30 23:11:49 +02:00
Allan Odgaard
2f4370dc9b Implement ‘-=’ for target files
Presently only for “string keys” like compiler and linker flags.
2013-07-30 23:11:48 +02:00
Jacob Bandes-Storch
847bef3bdd Use @rpath so frameworks can be loaded from the app bundle
@executable_path is the originally-executed program, whereas @loader_path is the program that caused the load to occur (e.g. a Quick Look generator). @rpath can be changed at link time — a QL generator can specify a value that points to the enclosing app bundle’s Frameworks directory.
2013-07-30 22:16:17 +02:00
Allan Odgaard
9eda1a473b Remove path::identifier_t 2013-07-30 15:44:18 +02:00
Allan Odgaard
1d4d3bd3d3 Fix path/inode lookup when opening documents
The strategy is to prefer an existing document with same path and if there is none, check if there is a document with the same inode. The latter is so that links or files that have been moved, do not create duplicate documents.

The old code used a single map for the lookup, using path::identifier_t as key (wrapping path and/or inode), though since the map is ordered, the code would occasionally fail, as the keys cannot be correctly ordered (so effectively this reworked code is a fix for an incorrect path::identifier_t::operator<).

Fixes #1052.
2013-07-30 15:34:17 +02:00
Allan Odgaard
a4a2af726a Use std::mutex instead of OSSpinLock 2013-07-30 15:34:17 +02:00
Allan Odgaard
e0e7059500 Limit use of path::identifier_t 2013-07-30 15:34:17 +02:00
Allan Odgaard
b09d1974ea Improve speed of stopping the document scanner
Closes #1069.
2013-07-29 16:24:29 +02:00
Allan Odgaard
0a64d372a9 Improve lstat error message 2013-07-29 16:07:33 +02:00
Allan Odgaard
24bd109ccc Store tab size with backups 2013-07-29 16:06:15 +02:00
Allan Odgaard
c69112dbe3 fixup! Account for svn returning relative paths
Turns out the paths are relative to the current working directory, not the working copy.
2013-07-29 15:50:31 +02:00
Allan Odgaard
05efb628b4 Setup indent settings at a higher level
We now setup the indent settings when creating untitled documents where we know the folder, so that we can use potential settings scoped to that folder.

Since the document itself no longer sets this as part of regular buffer setup, we also set it when opening a document with a path, and when changing a document’s file type, although the latter is probably temporary.

Closes #305.
2013-07-29 15:50:31 +02:00
Allan Odgaard
9d37cb976a Remove unnecessary call to c_str 2013-07-29 15:50:31 +02:00
Allan Odgaard
a05088f9be Document from content now sets file type and tab settings
Presently we also set file type (and thus indirectly indent settings) when “opening” a document, but I wish to remove that code, so that one can create a document, set all desired settings, and not worry about later code overwriting these settings.
2013-07-29 13:56:15 +02:00
Allan Odgaard
ad44540209 Use document’s indent accessor instead of going via buffer() 2013-07-29 12:43:37 +02:00
Allan Odgaard
2ad22d7662 Add indent accessor to document_t 2013-07-29 10:11:51 +02:00
Allan Odgaard
585a32344a Allow comparison of text::indent_t 2013-07-29 10:03:25 +02:00
Allan Odgaard
1ff981ea77 Remove unused argument for file::path_attributes 2013-07-29 10:02:22 +02:00
Jacob Bandes-Storch
5a7bd6c914 Add usernames for missing GitHub email addresses 2013-07-28 21:57:51 +02:00
Jacob Bandes-Storch
5bfd29b604 Move load_bundles to bundles framework 2013-07-28 21:57:51 +02:00
Jacob Bandes-Storch
d89571956d Move fs_cache to plist framework 2013-07-28 21:57:50 +02:00
Jacob Bandes-Storch
f2df57df60 Rename “index.{cc,h}” to the more appropriate “item.{cc,h}” 2013-07-28 21:57:31 +02:00
Jacob Bandes-Storch
97199ad0a6 Move some bundles code from index.h to query.h 2013-07-28 21:57:31 +02:00
Jacob Bandes-Storch
80327f7bb7 Modify gen_build to accept keys for copying into nested directories 2013-07-27 19:21:07 -07:00
Jacob Bandes-Storch
79a1f49ec5 fixup! Show a tool tip when searching wraps around 2013-07-28 00:15:45 +02:00
Allan Odgaard
2bdea516e3 Avoid multiple carets after a “replace all”
If using folder search and replacements were done in an open document, then a caret would previously appear after each replacement.
2013-07-27 16:30:02 +02:00
Allan Odgaard
98585e166e Use byte range for replacement API 2013-07-27 16:30:02 +02:00