Browse files

[New Feature] Automatic Update with Sparkle framework. [Cleaning] Old…

… automatic update code removed. [Building] New Distribution target: Generation of Sparkle archive and appcast automated.[Internationalization] French localizations Updated.
  • Loading branch information...
1 parent ee40cd3 commit b69015127616ca9b7cdcb8f079aba10bb7bd0316 @jfmoy committed Mar 16, 2010
Showing with 8,894 additions and 4,183 deletions.
  1. +1 −1 Classes/NSImage+Smultron.h
  2. +1 −1 Classes/NSImage+Smultron.m
  3. +1 −1 Classes/NSString+Smultron.h
  4. +1 −1 Classes/NSString+Smultron.m
  5. +1 −1 Classes/NSToolbarItem+Smultron.h
  6. +1 −1 Classes/NSToolbarItem+Smultron.m
  7. +1 −1 Classes/SMLAdvancedFindController.h
  8. +1 −1 Classes/SMLAdvancedFindController.m
  9. +1 −1 Classes/SMLAdvancedFindPanel.h
  10. +1 −1 Classes/SMLAdvancedFindPanel.m
  11. +1 −1 Classes/SMLApplication.h
  12. +1 −1 Classes/SMLApplication.m
  13. +1 −1 Classes/SMLApplicationDelegate.h
  14. +1 −1 Classes/SMLApplicationDelegate.m
  15. +1 −1 Classes/SMLApplicationMenuController.h
  16. +1 −1 Classes/SMLApplicationMenuController.m
  17. +1 −1 Classes/SMLAuthenticationController.h
  18. +1 −1 Classes/SMLAuthenticationController.m
  19. +1 −1 Classes/SMLBasicPerformer.h
  20. +1 −1 Classes/SMLBasicPerformer.m
  21. +1 −1 Classes/SMLCommandCollectionManagedObject.h
  22. +1 −1 Classes/SMLCommandCollectionManagedObject.m
  23. +1 −1 Classes/SMLCommandManagedObject.h
  24. +1 −1 Classes/SMLCommandManagedObject.m
  25. +1 −1 Classes/SMLCommandsController.h
  26. +1 −1 Classes/SMLCommandsController.m
  27. +1 −1 Classes/SMLDocumentManagedObject.h
  28. +1 −1 Classes/SMLDocumentManagedObject.m
  29. +1 −1 Classes/SMLDocumentsListCell.h
  30. +1 −1 Classes/SMLDocumentsListCell.m
  31. +1 −1 Classes/SMLDocumentsMenuController.h
  32. +1 −1 Classes/SMLDocumentsMenuController.m
  33. +1 −1 Classes/SMLDragAndDropController.h
  34. +1 −1 Classes/SMLDragAndDropController.m
  35. +1 −1 Classes/SMLDummyView.h
  36. +1 −1 Classes/SMLDummyView.m
  37. +1 −1 Classes/SMLEditMenuController.h
  38. +1 −1 Classes/SMLEditMenuController.m
  39. +1 −1 Classes/SMLEncodingManagedObject.h
  40. +1 −1 Classes/SMLEncodingManagedObject.m
  41. +1 −1 Classes/SMLExtraInterfaceController.h
  42. +1 −1 Classes/SMLExtraInterfaceController.m
  43. +1 −1 Classes/SMLFileMenuController.h
  44. +1 −1 Classes/SMLFileMenuController.m
  45. +1 −1 Classes/SMLFontTransformer.h
  46. +1 −1 Classes/SMLFontTransformer.m
  47. +1 −1 Classes/SMLFullScreenWindow.h
  48. +1 −1 Classes/SMLFullScreenWindow.m
  49. +1 −1 Classes/SMLGradientBackgroundView.h
  50. +1 −1 Classes/SMLGradientBackgroundView.m
  51. +1 −1 Classes/SMLGutterTextView.h
  52. +1 −1 Classes/SMLGutterTextView.m
  53. +1 −1 Classes/SMLHelpMenuController.h
  54. +1 −1 Classes/SMLHelpMenuController.m
  55. +1 −1 Classes/SMLInfoController.h
  56. +1 −1 Classes/SMLInfoController.m
  57. +1 −1 Classes/SMLInterfacePerformer.h
  58. +1 −1 Classes/SMLInterfacePerformer.m
  59. +1 −1 Classes/SMLLayoutManager.h
  60. +1 −1 Classes/SMLLayoutManager.m
  61. +1 −1 Classes/SMLLineNumbers.h
  62. +1 −1 Classes/SMLLineNumbers.m
  63. +1 −8 Classes/SMLMainController.h
  64. +2 −107 Classes/SMLMainController.m
  65. +1 −1 Classes/SMLOpenSavePerformer.h
  66. +1 −1 Classes/SMLOpenSavePerformer.m
  67. +1 −5 Classes/SMLPreferencesController.h
  68. +1 −14 Classes/SMLPreferencesController.m
  69. +1 −1 Classes/SMLPreviewController.h
  70. +1 −1 Classes/SMLPreviewController.m
  71. +1 −1 Classes/SMLPrintTextView.h
  72. +1 −1 Classes/SMLPrintTextView.m
  73. +1 −1 Classes/SMLPrintViewController.h
  74. +1 −1 Classes/SMLPrintViewController.m
  75. +1 −1 Classes/SMLProject+DocumentViewsController.h
  76. +1 −1 Classes/SMLProject+DocumentViewsController.m
  77. +1 −1 Classes/SMLProject+TableViewDelegate.h
  78. +1 −1 Classes/SMLProject+TableViewDelegate.m
  79. +1 −1 Classes/SMLProject+ToolbarController.h
  80. +1 −1 Classes/SMLProject+ToolbarController.m
  81. +1 −1 Classes/SMLProject.h
  82. +1 −1 Classes/SMLProject.m
  83. +1 −1 Classes/SMLProjectWindow.h
  84. +1 −1 Classes/SMLProjectWindow.m
  85. +1 −1 Classes/SMLProjectsController.h
  86. +1 −1 Classes/SMLProjectsController.m
  87. +1 −1 Classes/SMLSearchField.h
  88. +1 −1 Classes/SMLSearchField.m
  89. +1 −1 Classes/SMLServicesController.h
  90. +1 −1 Classes/SMLServicesController.m
  91. +1 −1 Classes/SMLShortcutsController.h
  92. +1 −1 Classes/SMLShortcutsController.m
  93. +1 −1 Classes/SMLSingleDocumentPanel.h
  94. +1 −1 Classes/SMLSingleDocumentPanel.m
  95. +1 −1 Classes/SMLSingleDocumentWindowDelegate.h
  96. +1 −1 Classes/SMLSingleDocumentWindowDelegate.m
  97. +1 −1 Classes/SMLSnippetCollectionManagedObject.h
  98. +1 −1 Classes/SMLSnippetCollectionManagedObject.m
  99. +1 −1 Classes/SMLSnippetManagedObject.h
  100. +1 −1 Classes/SMLSnippetManagedObject.m
  101. +1 −1 Classes/SMLSnippetsController.h
  102. +1 −1 Classes/SMLSnippetsController.m
  103. +1 −1 Classes/SMLSplitView.h
  104. +1 −1 Classes/SMLSplitView.m
  105. +1 −9 Classes/SMLStandardHeader.h
  106. +1 −1 Classes/SMLSyntaxColouring.h
  107. +1 −1 Classes/SMLSyntaxColouring.m
  108. +1 −1 Classes/SMLSyntaxDefinitionManagedObject.h
  109. +1 −1 Classes/SMLSyntaxDefinitionManagedObject.m
  110. +1 −1 Classes/SMLTableView.h
  111. +1 −1 Classes/SMLTableView.m
  112. +1 −1 Classes/SMLTextMenuController.h
  113. +1 −1 Classes/SMLTextMenuController.m
  114. +1 −1 Classes/SMLTextPerformer.h
  115. +1 −1 Classes/SMLTextPerformer.m
  116. +1 −1 Classes/SMLTextView.h
  117. +1 −1 Classes/SMLTextView.m
  118. +1 −1 Classes/SMLToolsMenuController.h
  119. +1 −1 Classes/SMLToolsMenuController.m
  120. +1 −1 Classes/SMLVariousPerformer.h
  121. +1 −1 Classes/SMLVariousPerformer.m
  122. +1 −1 Classes/SMLViewMenuController.h
  123. +1 −1 Classes/SMLViewMenuController.m
  124. +1 −1 Command Line Utility/smultron_main.m
  125. +231 −0 Distribution-Info.plist
  126. +95 −2 English.lproj/SMLMainMenu.xib
  127. +1,042 −409 English.lproj/SMLPreferencesGeneral.xib
  128. +3,392 −2,635 French.lproj/SMLMainMenu.xib
  129. +1,515 −872 French.lproj/SMLPreferencesGeneral.xib
  130. +6 −2 Info.plist
  131. BIN InfoPlist.strings
  132. +101 −1 Smultron.xcodeproj/project.pbxproj
  133. +1 −0 Sparkle.framework/Headers
  134. +1 −0 Sparkle.framework/Resources
  135. +1 −0 Sparkle.framework/Sparkle
  136. +33 −0 Sparkle.framework/Versions/A/Headers/SUAppcast.h
  137. +47 −0 Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
  138. +118 −0 Sparkle.framework/Versions/A/Headers/SUUpdater.h
  139. +27 −0 Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h
  140. +21 −0 Sparkle.framework/Versions/A/Headers/Sparkle.h
  141. +24 −0 Sparkle.framework/Versions/A/Resources/Info.plist
  142. +7 −0 Sparkle.framework/Versions/A/Resources/License.txt
  143. +174 −0 Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist
  144. +56 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib
  145. +20 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib
  146. BIN Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib
  147. +50 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  148. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/info.nib
  149. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  150. +67 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/classes.nib
  151. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/info.nib
  152. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib
  153. +59 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  154. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/info.nib
  155. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  156. BIN Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
  157. +50 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  158. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib
  159. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  160. +67 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib
  161. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib
  162. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib
  163. +59 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  164. +21 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib
  165. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  166. BIN Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
  167. +50 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  168. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/info.nib
  169. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  170. +67 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/classes.nib
  171. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/info.nib
  172. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib
  173. +59 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  174. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/info.nib
  175. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  176. BIN Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings
  177. +50 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  178. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib
  179. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  180. +67 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/classes.nib
  181. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/info.nib
  182. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib
  183. +59 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  184. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib
  185. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  186. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings
  187. +1 −0 Sparkle.framework/Versions/A/Resources/fr_CA.lproj
  188. +50 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  189. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/info.nib
  190. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  191. +67 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/classes.nib
  192. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/info.nib
  193. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib
  194. +59 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  195. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/info.nib
  196. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  197. BIN Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings
  198. +50 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  199. +18 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib
  200. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  201. +67 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/classes.nib
  202. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib
  203. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib
  204. +59 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  205. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib
  206. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  207. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings
  208. BIN Sparkle.framework/Versions/A/Resources/relaunch
  209. +50 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  210. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/info.nib
  211. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  212. +67 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/classes.nib
  213. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/info.nib
  214. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib
  215. +59 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  216. +18 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/info.nib
  217. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  218. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings
  219. +50 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  220. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib
  221. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  222. +39 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/classes.nib
  223. +18 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/info.nib
  224. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib
  225. +59 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  226. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib
  227. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  228. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings
  229. BIN Sparkle.framework/Versions/A/Sparkle
  230. +1 −0 Sparkle.framework/Versions/Current
  231. +20 −0 dsa_pub.pem
View
2 Classes/NSImage+Smultron.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/NSImage+Smultron.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/NSString+Smultron.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/NSString+Smultron.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/NSToolbarItem+Smultron.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/NSToolbarItem+Smultron.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLAdvancedFindController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLAdvancedFindController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfileManageroy/Smultron
View
2 Classes/SMLAdvancedFindPanel.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLAdvancedFindPanel.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplication.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplication.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplicationDelegate.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplicationDelegate.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplicationMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLApplicationMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLAuthenticationController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLAuthenticationController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLBasicPerformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLBasicPerformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandCollectionManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandCollectionManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandsController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLCommandsController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentsListCell.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentsListCell.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentsMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDocumentsMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDragAndDropController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDragAndDropController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDummyView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLDummyView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLEditMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLEditMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLEncodingManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLEncodingManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLExtraInterfaceController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLExtraInterfaceController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFileMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFileMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFontTransformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFontTransformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFullScreenWindow.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLFullScreenWindow.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLGradientBackgroundView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLGradientBackgroundView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLGutterTextView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLGutterTextView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLHelpMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLHelpMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLInfoController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLInfoController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLInterfacePerformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLInterfacePerformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLLayoutManager.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLLayoutManager.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLLineNumbers.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLLineNumbers.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
9 Classes/SMLMainController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
@@ -17,9 +17,6 @@ Unless required by applicable law or agreed to in writing, software distributed
@interface SMLMainController : NSObject
{
- NSTimer *checkForUpdateTimer;
- NSTimer *hideNoUpdateAvailableTextFieldTimer;
-
BOOL isInFullScreenMode;
BOOL singleDocumentWindowWasOpenBeforeEnteringFullScreen;
@@ -33,8 +30,4 @@ Unless required by applicable law or agreed to in writing, software distributed
+ (SMLMainController *)sharedInstance;
-- (void)checkForUpdate;
-- (void)checkForUpdateInSeparateThread;
-- (void)updateInterfaceOnMainThreadAfterCheckForUpdateFoundNewUpdate:(id)sender;
-- (void)hideNoUpdateAvailableTextField;
@end
View
109 Classes/SMLMainController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
@@ -23,7 +23,7 @@
#import "SMLVariousPerformer.h"
#import "SMLFontTransformer.h"
-#define THISVERSION 3.71
+#define THISVERSION 3.72
@implementation SMLMainController
@@ -96,111 +96,6 @@ - (void)awakeFromNib
[SMLVarious updateCheckIfAnotherApplicationHasChangedDocumentsTimer];
- // Verify check update period and program the update check if necessary.
- if ([[SMLDefaults valueForKey:@"CheckForUpdatesInterval"] integerValue] != SMLCheckForUpdatesNever) {
- BOOL checkForUpdates = NO;
- if ([SMLDefaults valueForKey:@"LastCheckForUpdateDate"] == nil) {
- checkForUpdates = YES;
- } else {
- NSDate *lastCheckDate = [NSUnarchiver unarchiveObjectWithData:[SMLDefaults valueForKey:@"LastCheckForUpdateDate"]];
-
- if ([[SMLDefaults valueForKey:@"CheckForUpdatesInterval"] integerValue] == SMLCheckForUpdatesDaily) {
- if ([[NSDate dateWithTimeInterval:(60 * 60 * 24) sinceDate:lastCheckDate] compare:[NSDate date]] == NSOrderedAscending) {
- checkForUpdates = YES;
- }
- } else if ([[SMLDefaults valueForKey:@"CheckForUpdatesInterval"] integerValue] == SMLCheckForUpdatesWeekly) {
- if ([[NSDate dateWithTimeInterval:(60 * 60 * 24 * 7) sinceDate:lastCheckDate] compare:[NSDate date]] == NSOrderedAscending) {
- checkForUpdates = YES;
- }
- } else if ([[SMLDefaults valueForKey:@"CheckForUpdatesInterval"] integerValue] == SMLCheckForUpdatesMonthly) {
- if ([[NSDate dateWithTimeInterval:(60 * 60 * 24 * 30) sinceDate:lastCheckDate] compare:[NSDate date]] == NSOrderedAscending) {
- checkForUpdates = YES;
- }
- }
- }
-
-
- if (checkForUpdates == YES) {
- checkForUpdateTimer = [NSTimer scheduledTimerWithTimeInterval:3 target:self selector:@selector(checkForUpdate) userInfo:nil repeats:NO];
- }
- }
-}
-
-
-- (void)checkForUpdate
-{
- if (checkForUpdateTimer != nil) {
- [checkForUpdateTimer invalidate];
- checkForUpdateTimer = nil;
- }
-
- [NSThread detachNewThreadSelector:@selector(checkForUpdateInSeparateThread) toTarget:self withObject:nil];
-}
-
-
-/**
- * This method connects to the smultron website and download a property file which contains the latest version number.
- * If the version number is > to the actual version number, we notify the user.
- */
-- (void)checkForUpdateInSeparateThread
-{
- NSAutoreleasePool *checkUpdatePool = [[NSAutoreleasePool alloc] init];
-
- // Checking the website availability.
- SCNetworkConnectionFlags status = 0;
- SCNetworkReachabilityRef target = SCNetworkReachabilityCreateWithName(NULL, "github.com");
-
- BOOL success = SCNetworkReachabilityGetFlags(target, &status);
- CFRelease(target);
-
- BOOL connected = success && (status & kSCNetworkFlagsReachable) && !(status & kSCNetworkFlagsConnectionRequired);
- if (connected) {
- NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString:@"http://github.com/downloads/jfmoy/Smultron/checkForUpdate.plist"]];
- if (dictionary) {
- float thisVersion = THISVERSION;
- float latestVersion = [[dictionary valueForKey:@"latestVersion"] floatValue];
- if (latestVersion > thisVersion) {
- [self performSelectorOnMainThread:@selector(updateInterfaceOnMainThreadAfterCheckForUpdateFoundNewUpdate:) withObject:dictionary waitUntilDone:YES];
- } else {
- [self performSelectorOnMainThread:@selector(updateInterfaceOnMainThreadAfterCheckForUpdateFoundNewUpdate:) withObject:nil waitUntilDone:YES];
- }
-
- // Store the last update date.
- [SMLDefaults setValue:[NSArchiver archivedDataWithRootObject:[NSDate date]] forKey:@"LastCheckForUpdateDate"];
- }
- }
- [checkUpdatePool drain];
-}
-
-/**
- * This method is used to notify the user (through a dialog box) of a new update and download it if the user accepts it.
- */
-- (void)updateInterfaceOnMainThreadAfterCheckForUpdateFoundNewUpdate:(id)sender
-{
- if (sender != nil && [sender isKindOfClass:[NSDictionary class]]) {
- NSInteger returnCode = [SMLVarious alertWithMessage:[NSString stringWithFormat:NSLocalizedString(@"A newer version (%@) is available. Do you want to download it?", @"A newer version (%@) is available. Do you want to download it? in checkForUpdate"), [sender valueForKey:@"latestVersionString"]] informativeText:@"" defaultButton:NSLocalizedString(@"Download", @"Download") alternateButton:CANCEL_BUTTON otherButton:nil];
- if (returnCode == NSAlertFirstButtonReturn) {
- [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[sender valueForKey:@"downloadURL"]]];
- }
-
- } else {
- if ([[[SMLPreferencesController sharedInstance] preferencesWindow] isVisible] == YES) {
- [[[SMLPreferencesController sharedInstance] noUpdateAvailableTextField] setHidden:NO];
- hideNoUpdateAvailableTextFieldTimer = [NSTimer scheduledTimerWithTimeInterval:30 target:self selector:@selector(hideNoUpdateAvailableTextField) userInfo:nil repeats:NO];
- }
- }
-
-}
-
-
-- (void)hideNoUpdateAvailableTextField
-{
- if (hideNoUpdateAvailableTextFieldTimer) {
- [hideNoUpdateAvailableTextFieldTimer invalidate];
- hideNoUpdateAvailableTextFieldTimer = nil;
- }
-
- [[[SMLPreferencesController sharedInstance] noUpdateAvailableTextField] setHidden:YES];
}
@end
View
2 Classes/SMLOpenSavePerformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLOpenSavePerformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
6 Classes/SMLPreferencesController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
@@ -25,7 +25,6 @@ Unless required by applicable law or agreed to in writing, software distributed
IBOutlet NSView *advancedView;
IBOutlet NSArrayController *syntaxDefinitionsArrayController;
- IBOutlet NSTextField *noUpdateAvailableTextField;
IBOutlet NSPopUpButton *encodingsPopUp;
IBOutlet NSPopUpButton *syntaxColouringPopUp;
IBOutlet NSPopUpButton *lastSavedFormatPopUp;
@@ -56,9 +55,6 @@ Unless required by applicable law or agreed to in writing, software distributed
- (CGFloat)toolbarHeight;
- (IBAction)setFontAction:(id)sender;
-- (IBAction)checkNowAction:(id)sender;
-
-- (NSTextField *)noUpdateAvailableTextField;
- (IBAction)revertToStandardSettingsAction:(id)sender;
- (void)buildEncodingsMenu;
View
15 Classes/SMLPreferencesController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
@@ -98,7 +98,6 @@ - (void)setDefaults
[dictionary setValue:[NSNumber numberWithInteger:5] forKey:@"StatusBarLastSavedFormatPopUp"];
[dictionary setValue:[NSNumber numberWithInteger:32] forKey:@"ViewSize"];
[dictionary setValue:[NSNumber numberWithInteger:SMLListView] forKey:@"View"];
- [dictionary setValue:[NSNumber numberWithInteger:SMLCheckForUpdatesDaily] forKey:@"CheckForUpdatesInterval"];
[dictionary setValue:[NSNumber numberWithInteger:SMLPreviewHTML] forKey:@"PreviewParser"];
[dictionary setValue:[NSNumber numberWithInteger:SMLCurrentDocumentScope] forKey:@"AdvancedFindScope"];
@@ -519,18 +518,6 @@ - (IBAction)setFontAction:(id)sender
}
-- (IBAction)checkNowAction:(id)sender
-{
- [[SMLMainController sharedInstance] checkForUpdate];
-}
-
-
-- (NSTextField *)noUpdateAvailableTextField
-{
- return noUpdateAvailableTextField;
-}
-
-
- (void)changeFont:(id)sender
{
NSFontManager *fontManager = [NSFontManager sharedFontManager];
View
2 Classes/SMLPreviewController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLPreviewController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLPrintTextView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLPrintTextView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLPrintViewController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLPrintViewController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+DocumentViewsController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+DocumentViewsController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+TableViewDelegate.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+TableViewDelegate.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+ToolbarController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject+ToolbarController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProjectWindow.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProjectWindow.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProjectsController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLProjectsController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSearchField.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSearchField.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLServicesController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLServicesController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLShortcutsController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLShortcutsController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSingleDocumentPanel.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSingleDocumentPanel.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSingleDocumentWindowDelegate.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSingleDocumentWindowDelegate.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetCollectionManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetCollectionManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetsController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSnippetsController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSplitView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSplitView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
10 Classes/SMLStandardHeader.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
@@ -77,14 +77,6 @@ enum {
typedef NSUInteger SMLWhatKindOfProject;
enum {
- SMLCheckForUpdatesNever = 0,
- SMLCheckForUpdatesDaily = 1,
- SMLCheckForUpdatesWeekly = 2,
- SMLCheckForUpdatesMonthly = 3
-};
-typedef NSUInteger SMLCheckForUpdatesInterval;
-
-enum {
SMLPreviewHTML = 0,
SMLPreviewMarkdown = 1,
SMLPreviewMultiMarkdown = 2,
View
2 Classes/SMLSyntaxColouring.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSyntaxColouring.m
@@ -1,7 +1,7 @@
// SMLTextView delegate
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSyntaxDefinitionManagedObject.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLSyntaxDefinitionManagedObject.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTableView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTableView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextPerformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextPerformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextView.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLTextView.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLToolsMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLToolsMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLVariousPerformer.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLVariousPerformer.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLViewMenuController.h
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Classes/SMLViewMenuController.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
2 Command Line Utility/smultron_main.m
@@ -1,5 +1,5 @@
/*
-Smultron version 3.7a1, 2009-09-12
+Smultron version 3.7
Written by Jean-François Moy - jeanfrancois.moy@gmail.com
Find the latest version at http://github.com/jfmoy/Smultron
View
231 Distribution-Info.plist
@@ -0,0 +1,231 @@
+<?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>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>smultronProject</string>
+ <string>smlp</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>SMLProjectIcon</string>
+ <key>CFBundleTypeName</key>
+ <string>Smultron Project</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ <key>NSDocumentClass</key>
+ <string>SMLProject</string>
+ <key>NSPersistentStoreTypeKey</key>
+ <string>Binary</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeIconFile</key>
+ <string>SMLDocumentIcon</string>
+ <key>CFBundleTypeName</key>
+ <string>Smultron Document</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>SMLd</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.smultron.smultron.document</string>
+ <string>public.plain-text</string>
+ <string>public.html</string>
+ <string>public.xml</string>
+ <string>public.c-source</string>
+ <string>public.objective-c-source</string>
+ <string>public.c-plus-plus-source</string>
+ <string>public.objective-c-plus-plus-source</string>
+ <string>public.c-header</string>
+ <string>public.c-plus-plus-header</string>
+ <string>com.sun.java-source</string>
+ <string>com.netscape.javascript-source</string>
+ <string>com.apple.traditional-mac-plain-text</string>
+ <string>public.shell-script</string>
+ <string>public.csh-script</string>
+ <string>public.perl-script</string>
+ <string>public.python-script</string>
+ <string>public.ruby-script</string>
+ <string>public.php-script</string>
+ <string>com.apple.applescript.text</string>
+ <string>public.utf8-plain-text</string>
+ <string>public.utf16-external-plain-​text</string>
+ <string>public.utf16-plain-text</string>
+ <string>public.source-code</string>
+ <string>public.script</string>
+ </array>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>*</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>All documents</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>****</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ </dict>
+ <dict>