Permalink
Browse files

rename to vico

  • Loading branch information...
1 parent 52ebda2 commit 7d1d6bcb683054e537f4122ee37e0a235c44c338 @martinh martinh committed Apr 1, 2011
Showing with 141 additions and 236 deletions.
  1. +3 −3 Makefile
  2. +2 −2 Support/lib/bash_init.sh
  3. +3 −3 Support/lib/tm/save_current_document.rb
  4. +6 −6 Support/lib/ui.rb
  5. +0 −7 Viltvodle/Viltvodle-Prefix.pch
  6. +0 −20 ViltvodleTests/Tests-Info.plist
  7. +0 −7 ViltvodleTests/ViltvodleTests-Prefix.pch
  8. 0 {Viltvodle → app}/ExCommand.h
  9. 0 {Viltvodle → app}/ExCommand.m
  10. 0 {Viltvodle → app}/ExEnvironment.h
  11. 0 {Viltvodle → app}/ExEnvironment.m
  12. 0 {Viltvodle → app}/MHSysTree.h
  13. 0 {Viltvodle → app}/MHSysTree.m
  14. 0 {Viltvodle → app}/MHTextIconCell.h
  15. 0 {Viltvodle → app}/MHTextIconCell.m
  16. 0 {Viltvodle → app}/NSArray-patterns.h
  17. 0 {Viltvodle → app}/NSArray-patterns.m
  18. 0 {Viltvodle → app}/NSEvent-keyAdditions.h
  19. 0 {Viltvodle → app}/NSEvent-keyAdditions.m
  20. 0 {Viltvodle → app}/NSObject+SPInvocationGrabbing.h
  21. 0 {Viltvodle → app}/NSObject+SPInvocationGrabbing.m
  22. 0 {Viltvodle → app}/NSScanner-additions.h
  23. 0 {Viltvodle → app}/NSScanner-additions.m
  24. 0 {Viltvodle → app}/NSString-additions.h
  25. 0 {Viltvodle → app}/NSString-additions.m
  26. 0 {Viltvodle → app}/NSString-scopeSelector.h
  27. 0 {Viltvodle → app}/NSString-scopeSelector.m
  28. 0 {Viltvodle → app}/PSMMetalTabStyle.h
  29. 0 {Viltvodle → app}/PSMMetalTabStyle.m
  30. 0 {Viltvodle → app}/PSMOverflowPopUpButton.h
  31. 0 {Viltvodle → app}/PSMOverflowPopUpButton.m
  32. 0 {Viltvodle → app}/PSMProgressIndicator.h
  33. 0 {Viltvodle → app}/PSMProgressIndicator.m
  34. 0 {Viltvodle → app}/PSMRolloverButton.h
  35. 0 {Viltvodle → app}/PSMRolloverButton.m
  36. 0 {Viltvodle → app}/PSMTabBarCell.h
  37. 0 {Viltvodle → app}/PSMTabBarCell.m
  38. 0 {Viltvodle → app}/PSMTabBarControl.h
  39. 0 {Viltvodle → app}/PSMTabBarControl.m
  40. 0 {Viltvodle → app}/PSMTabDragAssistant.h
  41. 0 {Viltvodle → app}/PSMTabDragAssistant.m
  42. 0 {Viltvodle → app}/PSMTabStyle.h
  43. 0 {Viltvodle → app}/ProjectDelegate.h
  44. 0 {Viltvodle → app}/ProjectDelegate.m
  45. 0 {Viltvodle → app}/SFTPConnection.h
  46. 0 {Viltvodle → app}/SFTPConnection.m
  47. 0 {Viltvodle → app}/SFTPConnectionPool.h
  48. 0 {Viltvodle → app}/SFTPConnectionPool.m
  49. 0 {Viltvodle → app}/TMFileURLProtocol.h
  50. 0 {Viltvodle → app}/TMFileURLProtocol.m
  51. 0 {Viltvodle → app}/TxmtURLProtocol.h
  52. 0 {Viltvodle → app}/TxmtURLProtocol.m
  53. 0 {Viltvodle → app}/ViAppController.h
  54. +3 −3 {Viltvodle → app}/ViAppController.m
  55. 0 {Viltvodle → app}/ViBgView.h
  56. 0 {Viltvodle → app}/ViBgView.m
  57. 0 {Viltvodle → app}/ViBundle.h
  58. 0 {Viltvodle → app}/ViBundle.m
  59. 0 {Viltvodle → app}/ViBundleCommand.h
  60. 0 {Viltvodle → app}/ViBundleCommand.m
  61. 0 {Viltvodle → app}/ViBundleItem.h
  62. 0 {Viltvodle → app}/ViBundleItem.m
  63. 0 {Viltvodle → app}/ViBundleSnippet.h
  64. 0 {Viltvodle → app}/ViBundleSnippet.m
  65. 0 {Viltvodle → app}/ViCharsetDetector.h
  66. 0 {Viltvodle → app}/ViCharsetDetector.mm
  67. 0 {Viltvodle → app}/ViCommand.h
  68. 0 {Viltvodle → app}/ViCommand.m
  69. 0 {Viltvodle → app}/ViCommandMenuItemView.h
  70. 0 {Viltvodle → app}/ViCommandMenuItemView.m
  71. 0 {Viltvodle → app}/ViCommandOutputController.h
  72. 0 {Viltvodle → app}/ViCommandOutputController.m
  73. 0 {Viltvodle → app}/ViCommon.h
  74. 0 {Viltvodle → app}/ViDocument.h
  75. +1 −1 {Viltvodle → app}/ViDocument.m
  76. 0 {Viltvodle → app}/ViDocumentController.h
  77. 0 {Viltvodle → app}/ViDocumentController.m
  78. 0 {Viltvodle → app}/ViDocumentTabController.h
  79. 0 {Viltvodle → app}/ViDocumentTabController.m
  80. 0 {Viltvodle → app}/ViDocumentView.h
  81. 0 {Viltvodle → app}/ViDocumentView.m
  82. 0 {Viltvodle → app}/ViError.h
  83. 0 {Viltvodle → app}/ViError.m
  84. 0 {Viltvodle → app}/ViJumpList.h
  85. 0 {Viltvodle → app}/ViJumpList.m
  86. 0 {Viltvodle → app}/ViKeyManager.h
  87. 0 {Viltvodle → app}/ViKeyManager.m
  88. 0 {Viltvodle → app}/ViLanguage.h
  89. 0 {Viltvodle → app}/ViLanguage.m
  90. 0 {Viltvodle → app}/ViLanguageStore.h
  91. 0 {Viltvodle → app}/ViLanguageStore.m
  92. 0 {Viltvodle → app}/ViLayoutManager.h
  93. 0 {Viltvodle → app}/ViLayoutManager.m
  94. 0 {Viltvodle → app}/ViMacro.h
  95. 0 {Viltvodle → app}/ViMacro.m
  96. 0 {Viltvodle → app}/ViMap.h
  97. 0 {Viltvodle → app}/ViMap.m
  98. 0 {Viltvodle → app}/ViMark.h
  99. 0 {Viltvodle → app}/ViMark.m
  100. 0 {Viltvodle → app}/ViOutlineView.h
  101. 0 {Viltvodle → app}/ViOutlineView.m
  102. 0 {Viltvodle → app}/ViParser.h
  103. +1 −1 {Viltvodle → app}/ViParser.m
  104. 0 {Viltvodle → app}/ViPathControl.h
  105. 0 {Viltvodle → app}/ViPathControl.m
  106. 0 {Viltvodle → app}/ViPreferencesController.h
  107. 0 {Viltvodle → app}/ViPreferencesController.m
  108. 0 {Viltvodle → app}/ViProject.h
  109. 0 {Viltvodle → app}/ViProject.m
  110. 0 {Viltvodle → app}/ViRegexp.h
  111. 0 {Viltvodle → app}/ViRegexp.m
  112. 0 {Viltvodle → app}/ViRegisterManager.h
  113. 0 {Viltvodle → app}/ViRegisterManager.m
  114. 0 {Viltvodle → app}/ViRulerView.h
  115. 0 {Viltvodle → app}/ViRulerView.m
  116. 0 {Viltvodle → app}/ViScope.h
  117. 0 {Viltvodle → app}/ViScope.m
  118. 0 {Viltvodle → app}/ViScriptProxy.h
  119. 0 {Viltvodle → app}/ViScriptProxy.m
  120. 0 {Viltvodle → app}/ViSeparatorCell.h
  121. 0 {Viltvodle → app}/ViSeparatorCell.m
  122. 0 {Viltvodle → app}/ViSnippet.h
  123. +1 −1 {Viltvodle → app}/ViSnippet.m
  124. 0 {Viltvodle → app}/ViSplitView.h
  125. 0 {Viltvodle → app}/ViSplitView.m
  126. 0 {Viltvodle → app}/ViSymbol.h
  127. 0 {Viltvodle → app}/ViSymbol.m
  128. 0 {Viltvodle → app}/ViSymbolTransform.h
  129. 0 {Viltvodle → app}/ViSymbolTransform.m
  130. 0 {Viltvodle → app}/ViSyntaxContext.h
  131. 0 {Viltvodle → app}/ViSyntaxContext.m
  132. 0 {Viltvodle → app}/ViSyntaxMatch.h
  133. 0 {Viltvodle → app}/ViSyntaxMatch.m
  134. 0 {Viltvodle → app}/ViSyntaxParser.h
  135. 0 {Viltvodle → app}/ViSyntaxParser.m
  136. 0 {Viltvodle → app}/ViTagStack.h
  137. 0 {Viltvodle → app}/ViTagStack.m
  138. 0 {Viltvodle → app}/ViTagsDatabase.h
  139. 0 {Viltvodle → app}/ViTagsDatabase.m
  140. 0 {Viltvodle → app}/ViTextStorage.h
  141. 0 {Viltvodle → app}/ViTextStorage.m
  142. +1 −1 {Viltvodle → app}/ViTextView-bundle_commands.m
  143. 0 {Viltvodle → app}/ViTextView-cursor.m
  144. 0 {Viltvodle → app}/ViTextView-snippets.m
  145. 0 {Viltvodle → app}/ViTextView-vi_commands.m
  146. 0 {Viltvodle → app}/ViTextView.h
  147. 0 {Viltvodle → app}/ViTextView.m
  148. 0 {Viltvodle → app}/ViTheme.h
  149. 0 {Viltvodle → app}/ViTheme.m
  150. 0 {Viltvodle → app}/ViThemeStore.h
  151. 0 {Viltvodle → app}/ViThemeStore.m
  152. 0 {Viltvodle → app}/ViToolbarPopUpButtonCell.h
  153. 0 {Viltvodle → app}/ViToolbarPopUpButtonCell.m
  154. 0 {Viltvodle → app}/ViTransformer.h
  155. 0 {Viltvodle → app}/ViTransformer.m
  156. 0 {Viltvodle → app}/ViWebView.h
  157. 0 {Viltvodle → app}/ViWebView.m
  158. 0 {Viltvodle → app}/ViWindow.h
  159. 0 {Viltvodle → app}/ViWindow.m
  160. 0 {Viltvodle → app}/ViWindowController.h
  161. 0 {Viltvodle → app}/ViWindowController.m
  162. +1 −1 Viltvodle/Viltvodle-Info.plist → app/Vico-Info.plist
  163. +3 −0 app/Vico-Prefix.pch
  164. 0 {Viltvodle → app}/ber.c
  165. 0 {Viltvodle → app}/ber.h
  166. 0 {Viltvodle → app}/debug.c
  167. 0 {Viltvodle → app}/en.lproj/CommandOutputWindow.xib
  168. 0 {Viltvodle → app}/en.lproj/Credits.rtf
  169. BIN {Viltvodle → app}/en.lproj/InfoPlist.strings
  170. +6 −6 {Viltvodle → app}/en.lproj/MainMenu.xib
  171. 0 {Viltvodle → app}/en.lproj/PreferenceWindow.xib
  172. 0 {Viltvodle → app}/en.lproj/ViDocument.xib
  173. 0 {Viltvodle → app}/en.lproj/ViDocumentWindow.xib
  174. 0 {Viltvodle → app}/keys.nu
  175. 0 {Viltvodle → app}/logging.h
  176. +2 −2 {Viltvodle → app}/main.m
  177. 0 {Viltvodle → app}/receipt.c
  178. 0 {Viltvodle → app}/receipt.h
  179. 0 {Viltvodle → app}/scope_selector.lemon
  180. 0 {Viltvodle → app}/scope_selector_parser.h
  181. 0 {Viltvodle → app}/sha1.c
  182. 0 {Viltvodle → app}/sha1.h
  183. 0 {Viltvodle → app}/symbol-icons.plist
  184. 0 {Viltvodle → app}/sys_queue.h
  185. 0 {Viltvodle → app}/sys_tree.h
  186. 0 Viltvodle/viltvodle.nu → app/vico.nu
  187. +6 −35 mkdmg
  188. +2 −3 release.sh
  189. +0 −9 test.sh
  190. 0 {ViltvodleTests → tests}/TestExCommand.h
  191. 0 {ViltvodleTests → tests}/TestExCommand.m
  192. 0 {ViltvodleTests → tests}/TestKeyCodes.h
  193. 0 {ViltvodleTests → tests}/TestKeyCodes.m
  194. 0 {ViltvodleTests → tests}/TestScopeSelectors.h
  195. 0 {ViltvodleTests → tests}/TestScopeSelectors.m
  196. 0 {ViltvodleTests → tests}/TestViMap.h
  197. 0 {ViltvodleTests → tests}/TestViMap.m
  198. 0 {ViltvodleTests → tests}/TestViParser.h
  199. 0 {ViltvodleTests → tests}/TestViParser.m
  200. 0 {ViltvodleTests → tests}/TestViSnippet.h
  201. 0 {ViltvodleTests → tests}/TestViSnippet.m
  202. 0 {ViltvodleTests → tests}/TestViTextStorage.h
  203. 0 {ViltvodleTests → tests}/TestViTextStorage.m
  204. 0 {ViltvodleTests → tests}/TestViTextView.h
  205. 0 {ViltvodleTests → tests}/TestViTextView.m
  206. 0 ViltvodleTests/ViltvodleTests-Info.plist → tests/Tests-Info.plist
  207. +3 −0 tests/Tests-Prefix.pch
  208. 0 {ViltvodleTests → tests}/en.lproj/InfoPlist.strings
  209. +3 −0 util/vico-Prefix.pch
  210. +3 −3 vivo/vivo.1 → util/vico.1
  211. +2 −2 vivo/vivo.m → util/vico.m
  212. +0 −12 vibrant_Prefix.pch
  213. BIN viltvodle.icns → vico.icns
  214. +88 −100 {Viltvodle.xcodeproj → vico.xcodeproj}/project.pbxproj
  215. +1 −1 {Viltvodle.xcodeproj → vico.xcodeproj}/project.xcworkspace/contents.xcworkspacedata
  216. +0 −7 vivo/vivo-Prefix.pch
View
@@ -2,19 +2,19 @@ debug:
xcodebuild -configuration Debug
run: debug
- ./build/Debug/Viltvodle.app/Contents/MacOS/Viltvodle
+ ./build/Debug/Vico.app/Contents/MacOS/Vico
build:
xcodebuild -scheme archive
test:
- xcodebuild -configuration Debug -target ViltvodleTests
+ xcodebuild -configuration Debug -target Tests
release:
./release.sh
tarball:
- FILE="viltvodle-hg-$(date +%Y%m%d%H).tar.gz" \
+ FILE="vico-hg-$(date +%Y%m%d%H).tar.gz" \
tar zcvf $FILE .hg && \
gpg -r martin -e $FILE && \
rm $FILE
View
@@ -16,7 +16,7 @@ fi
export PATH
-: ${TM_BASH_INIT:=$HOME/Library/Application Support/Viltvodle/bash_init.sh}
+: ${TM_BASH_INIT:=$HOME/Library/Application Support/Vico/bash_init.sh}
if [[ -f "$TM_BASH_INIT" ]]; then
. "$TM_BASH_INIT"
fi
@@ -42,7 +42,7 @@ exit_create_new_document () { echo -n "$1"; exit 207; }
# force TM to refresh current file and project drawer
rescan_project () {
- $TM_APP_PATH/Contents/MacOS/vivo -e "(explorer rescan_files:nil)"
+ $TM_APP_PATH/Contents/MacOS/vicotool -e "(explorer rescan_files:nil)"
}
# use this as a filter (|pre) when you want
@@ -1,6 +1,6 @@
require "fileutils"
-VIVO = ENV['TM_APP_PATH'] + '/Contents/MacOS/vivo'
+VICO = ENV['TM_APP_PATH'] + '/Contents/MacOS/vicotool'
module TextMate
class << self
@@ -33,7 +33,7 @@ class << self
def save_current_document(temp_ext='tmp')
- %x{#{VIVO} -e '(document saveDocument:nil)'}
+ %x{#{VICO} -e '(document saveDocument:nil)'}
# doc, dst = STDIN.read, ENV['TM_FILEPATH']
# ENV['TM_DISPLAYNAME'] = ENV['TM_FILENAME']
@@ -60,4 +60,4 @@ def save_current_document(temp_ext='tmp')
# end
end
end
-end
+end
View
@@ -10,7 +10,7 @@
require 'json'
require 'json/add/core'
-VIVO = ENV['TM_APP_PATH'] + '/Contents/MacOS/vivo'
+VICO = ENV['TM_APP_PATH'] + '/Contents/MacOS/vicotool'
NULIB = ENV['TM_SUPPORT_PATH'] + '/lib/nu'
module TextMate
@@ -47,7 +47,7 @@ def alert(style, title, message, *buttons)
raise "style must be one of #{types.inspect}" unless styles.include?(style)
params = {'alertStyle' => style.to_s, 'messageTitle' => title, 'informativeText' => message, 'buttonTitles' => buttons}
- button_index = %x{#{VIVO} -r -f "#{NULIB}/alert.nu -p '#{params.to_json}'}.chomp.to_i
+ button_index = %x{#{VICO} -r -f "#{NULIB}/alert.nu -p '#{params.to_json}'}.chomp.to_i
buttons[button_index]
end
@@ -89,7 +89,7 @@ def simple_notification(options)
p = { "params" => plist, "nibFile" => nib }
- `#{VIVO} -r -f "#{NULIB}/dialog.nu" -p '#{plist.to_json}' &> /dev/null &`
+ `#{VICO} -r -f "#{NULIB}/dialog.nu" -p '#{plist.to_json}' &> /dev/null &`
#`#{TM_DIALOG} -cqp #{e_sh plist.to_plist} #{e_sh nib} &> /dev/null &`
end
@@ -166,7 +166,7 @@ def complete(choices, options = {}, &block) # :yields: choice
# Insert the snippet if necessary
#`"$DIALOG" x-insert --snippet #{e_sh to_insert}` unless to_insert.empty?
- `#{VIVO} -e '(text insertSnippet:"#{to_insert}")'` unless to_insert.empty?
+ `#{VICO} -e '(text insertSnippet:"#{to_insert}")'` unless to_insert.empty?
end
end
@@ -180,7 +180,7 @@ def menu(options)
options = options.collect { |e| e == nil ? { 'separator' => 1 } : { 'title' => e } }
end
- res = ::IO.popen("#{VIVO} -r -f '#{NULIB}/menu.nu' -p -", "r+") do |io|
+ res = ::IO.popen("#{VICO} -r -f '#{NULIB}/menu.nu' -p -", "r+") do |io|
Thread.new do
plist = { 'menuItems' => options }.to_json
io.write plist; io.close_write
@@ -243,7 +243,7 @@ def request_item(options = Hash.new,&block)
params["items"] = items
p = { "params" => params, "nibFile" => "#{ENV['TM_SUPPORT_PATH']}/nibs/RequestItem.nib" }
- return_json = %x{#{VIVO} -r -f "#{NULIB}/dialog.nu" -p '#{p.to_json}'}
+ return_json = %x{#{VICO} -r -f "#{NULIB}/dialog.nu" -p '#{p.to_json}'}
# return_plist = %x{#{TM_DIALOG} -cmp #{e_sh params.to_plist} #{e_sh(ENV['TM_SUPPORT_PATH'] + "/nibs/RequestItem")}}
#return_hash = OSX::PropertyList::load(return_plist)
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'Viltvodle' target in the 'Viltvodle' project
-//
-
-#ifdef __OBJC__
- #import <Cocoa/Cocoa.h>
-#endif
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundlePackageType</key>
- <string>BNDL</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
-</dict>
-</plist>
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'ViltvodleTests' target in the 'ViltvodleTests' project
-//
-
-#ifdef __OBJC__
- #import <Cocoa/Cocoa.h>
-#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -65,7 +65,7 @@ + (NSString *)supportDirectory
{
static NSString *supportDirectory = nil;
if (supportDirectory == nil)
- supportDirectory = [@"~/Library/Application Support/Viltvodle" stringByExpandingTildeInPath];
+ supportDirectory = [@"~/Library/Application Support/Vico" stringByExpandingTildeInPath];
return supportDirectory;
}
@@ -149,7 +149,7 @@ - (void)applicationWillFinishLaunching:(NSNotification *)aNotification
//shellConn = [NSConnection serviceConnectionWithName:@"chunky bacon" rootObject:self];
shellConn = [NSConnection new];
[shellConn setRootObject:self];
- [shellConn registerName:[NSString stringWithFormat:@"viltvodle.%u", (unsigned int)getuid()]];
+ [shellConn registerName:[NSString stringWithFormat:@"vico.%u", (unsigned int)getuid()]];
extern struct timeval launch_start;
struct timeval launch_done, launch_diff;
@@ -275,7 +275,7 @@ - (NSString *)eval:(NSString *)script
[Nu loadNuFile:@"bridgesupport" fromBundleWithIdentifier:@"nu.programming.framework" withContext:[parser context]];
[Nu loadNuFile:@"cocoa" fromBundleWithIdentifier:@"nu.programming.framework" withContext:[parser context]];
[Nu loadNuFile:@"nibtools" fromBundleWithIdentifier:@"nu.programming.framework" withContext:[parser context]];
- [Nu loadNuFile:@"viltvodle" fromBundleWithIdentifier:@"se.bzero.Viltvodle" withContext:[parser context]];
+ [Nu loadNuFile:@"vico" fromBundleWithIdentifier:@"se.bzero.Vico" withContext:[parser context]];
id code = [parser parse:script];
if (code == nil) {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -55,7 +55,7 @@ - (id)init
[userDefaults addObserver:self forKeyPath:@"wrap" options:0 context:NULL];
[userDefaults addObserver:self forKeyPath:@"list" options:0 context:NULL];
- sym_q = dispatch_queue_create("se.bzero.viltvodle.sym", NULL);
+ sym_q = dispatch_queue_create("se.bzero.vico.sym", NULL);
textStorage = [[ViTextStorage alloc] init];
[textStorage setDelegate:self];
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -160,7 +160,7 @@ - (ViCommand *)timeoutInScope:(NSArray *)scopeArray
- (ViCommand *)pushKey:(NSInteger)keyCode
{
- return [self pushKey:keyCode scope:nil timeout:nil error:nil];
+ return [self pushKey:keyCode allowMacros:YES scope:nil timeout:nil error:nil];
}
- (ViCommand *)pushKey:(NSInteger)keyCode
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -69,7 +69,7 @@ - (NSMutableString *)runShellCommand:(NSString *)shellCommand
int fd = -1;
if ([shellCommand hasPrefix:@"#!"]) {
- const char *tmpl = [[NSTemporaryDirectory() stringByAppendingPathComponent:@"viltvodle_cmd.XXXXXXXXXX"] fileSystemRepresentation];
+ const char *tmpl = [[NSTemporaryDirectory() stringByAppendingPathComponent:@"vico_cmd.XXXXXXXXXX"] fileSystemRepresentation];
templateFilename = strdup(tmpl);
fd = mkstemp(templateFilename);
DEBUG(@"using template %s", templateFilename);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -151,7 +151,7 @@ - (void)performBundleCommand:(ViBundleCommand *)command
DEBUG(@"shell command = [%@]", shellCommand);
if ([shellCommand hasPrefix:@"#!"]) {
const char *tmpl = [[NSTemporaryDirectory()
- stringByAppendingPathComponent:@"viltvodle_cmd.XXXXXXXXXX"]
+ stringByAppendingPathComponent:@"vico_cmd.XXXXXXXXXX"]
fileSystemRepresentation];
DEBUG(@"using template %s", tmpl);
templateFilename = strdup(tmpl);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -296,7 +296,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
- <string>viltvodle.icns</string>
+ <string>vico.icns</string>
<key>CFBundleIdentifier</key>
<string>se.bzero.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
View
@@ -0,0 +1,3 @@
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -42,7 +42,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="694149608">
<reference key="NSMenu" ref="649796088"/>
- <string key="NSTitle">Viltvodle</string>
+ <string key="NSTitle">Vico</string>
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
@@ -56,12 +56,12 @@
</object>
<string key="NSAction">submenuAction:</string>
<object class="NSMenu" key="NSSubmenu" id="110575045">
- <string key="NSTitle">Viltvodle</string>
+ <string key="NSTitle">Vico</string>
<object class="NSMutableArray" key="NSMenuItems">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="238522557">
<reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">About Viltvodle</string>
+ <string key="NSTitle">About Vico</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="176968249"/>
@@ -128,7 +128,7 @@
</object>
<object class="NSMenuItem" id="755159360">
<reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Hide Viltvodle</string>
+ <string key="NSTitle">Hide Vico</string>
<string key="NSKeyEquiv">h</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
@@ -166,7 +166,7 @@
</object>
<object class="NSMenuItem" id="632727374">
<reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Quit Viltvodle</string>
+ <string key="NSTitle">Quit Vico</string>
<string key="NSKeyEquiv">q</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
@@ -1300,7 +1300,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="238773614">
<reference key="NSMenu" ref="374024848"/>
- <string key="NSTitle">Viltvodle Help</string>
+ <string key="NSTitle">Vico Help</string>
<string key="NSKeyEquiv">?</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -31,8 +31,8 @@
[Nu loadNuFile:@"cocoa" fromBundleWithIdentifier:@"nu.programming.framework" withContext:nil];
[Nu loadNuFile:@"help" fromBundleWithIdentifier:@"nu.programming.framework" withContext:nil];
[Nu loadNuFile:@"console" fromBundleWithIdentifier:@"nu.programming.framework" withContext:nil];
- [Nu loadNuFile:@"viltvodle" fromBundleWithIdentifier:@"se.bzero.Viltvodle" withContext:nil];
- [Nu loadNuFile:@"keys" fromBundleWithIdentifier:@"se.bzero.Viltvodle" withContext:nil];
+ [Nu loadNuFile:@"vico" fromBundleWithIdentifier:@"se.bzero.Vico" withContext:nil];
+ [Nu loadNuFile:@"keys" fromBundleWithIdentifier:@"se.bzero.Vico" withContext:nil];
return NSApplicationMain(argc, (const char **) argv);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
41 mkdmg
@@ -11,7 +11,7 @@ echo "Building version $VERSION (repo version $REPO_VERSION)"
xcodebuild -scheme archive -configuration Release VERSION=$VERSION REPO_VERSION=$REPO_VERSION || exit
-TMPDMG=viltvodle-tmp.dmg
+TMPDMG=vico-tmp.dmg
/bin/rm -f $TMPDMG
die()
@@ -21,21 +21,21 @@ die()
exit 1
}
-APP=build/Release/Viltvodle.app
+APP=build/Release/Vico.app
echo "Stripping binary"
-strip $APP/Contents/MacOS/Viltvodle
-strip $APP/Contents/MacOS/vivo
+strip $APP/Contents/MacOS/Vico
+strip $APP/Contents/MacOS/vico.shell
-VOL="viltvodle-$VERSION"
+VOL="vico-$VERSION"
DMG="$VOL.dmg"
echo "Creating disk image $VOL"
# clean up if we're interrupted
trap 'die Interrupted' 2 3 15
# Create the source folder and copy the application there.
-DMG_SOURCE="Viltvodle $VERSION"
+DMG_SOURCE="Vico $VERSION"
mkdir "$DMG_SOURCE" || die "failed to create .dmg source folder"
/bin/cp -R $APP "$DMG_SOURCE" || die "failed to copy application to the .dmg source folder"
ln -s /Applications "$DMG_SOURCE/Applications"
@@ -47,32 +47,3 @@ hdiutil convert -format UDBZ "$TMPDMG" -o "$DMG"
/bin/rm -f $TMPDMG
ls -lh "$DMG"
-exit 0
-#### Create and sign a zip file for automatic updates.
-
-APPCAST_BASE="http://appcast.vibrant-editor.com"
-DOWNLOAD_BASE="http://download.vibrant-editor.com"
-
-KSIZE=$(du -ks "$APP" | cut -f1)
-SIZE=$(($KSIZE * 1024))
-SIGNATURE=$(/usr/bin/openssl dgst -sha1 -binary < "$DMG" | /usr/bin/openssl dgst -dss1 -sign sparkle_priv.pem | /usr/bin/openssl enc -base64)
-
-cat > $VOL.xml <<EOF
-<item>
- <title>Version $VERSION</title>
- <sparkle:releaseNotesLink>
- $APPCAST_BASE/version-$VERSION.html
- </sparkle:releaseNotesLink>
- <pubDate>$(LC_TIME=en_US date +"%a, %d %b %G %T %z")</pubDate>
- <enclosure url="$DOWNLOAD_BASE/$DMG"
- sparkle:version="$REPO_VERSION"
- sparkle:shortVersionString="$VERSION"
- sparkle:dsaSignature="$SIGNATURE"
- length="$SIZE"
- type="application/octet-stream" />
-</item>
-EOF
-cat "$VOL.xml"
-
-echo "scp $DMG vibrant-editor.com:/var/www/download"
-
View
@@ -11,7 +11,7 @@ fi
echo tag is $tag
echo version = $version
-dir=build.viltvodle-$version
+dir=build.vico-$version
echo build directory is $dir
if test -d "$dir"; then
echo "build dir already exists: $dir"
@@ -26,6 +26,5 @@ ln -s ../nu "$dir/nu"
(cd $dir && ./mkdmg $version) || exit 3
-mv $dir/viltvodle-$version.dmg .
-#mv $dir/viltvodle-$version.xml .
+mv $dir/vico-$version.dmg .
View
@@ -1,9 +0,0 @@
-#!/bin/sh
-if test -n "$1"; then
- arg=$1
- if test -n "$2"; then
- arg="$arg/$2"
- fi
- export OTHER_TEST_FLAGS="-SenTest $arg"
-fi
-xcodebuild -configuration Debug -target ViltvodleTests
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,3 @@
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
View
@@ -0,0 +1,3 @@
+#ifdef __OBJC__
+ #import <Foundation/Foundation.h>
+#endif
Oops, something went wrong.

0 comments on commit 7d1d6bc

Please sign in to comment.