Permalink
Browse files

Update for iPhone 5

  • Loading branch information...
1 parent 9b4eb78 commit 683e9aa16fca39a507d27e6588efa0d6e326f23b @kishikawakatsumi committed Jan 16, 2013
Showing with 579 additions and 11,608 deletions.
  1. BIN Album.png
  2. BIN Camera.png
  3. +0 −152 Classes/Base64.cpp
  4. +0 −53 Classes/Base64.h
  5. +0 −31 Classes/Base64EncDec.h
  6. +0 −219 Classes/Base64EncDec.m
  7. +0 −47 Classes/CDataScanner.h
  8. +0 −249 Classes/CDataScanner.m
  9. +0 −16 Classes/CDataScanner_Extensions.h
  10. +0 −59 Classes/CDataScanner_Extensions.m
  11. +0 −38 Classes/CJSONDeserializer.h
  12. +0 −63 Classes/CJSONDeserializer.m
  13. +0 −22 Classes/CJSONScanner.h
  14. +0 −515 Classes/CJSONScanner.m
  15. +0 −24 Classes/CJSONSerializer.h
  16. +0 −163 Classes/CJSONSerializer.m
  17. +2 −2 Classes/CocoaCryptoHashing.m
  18. +7 −2 Classes/CommentCell.m
  19. +0 −7 Classes/Debug.h
  20. +4 −2 Classes/Diary.m
  21. +7 −2 Classes/DiaryCell.m
  22. +0 −10 Classes/DiaryCellController.h
  23. +0 −21 Classes/DiaryCellController.m
  24. +7 −1 Classes/DiaryFeedParser.m
  25. +0 −15 Classes/DiaryListCell.h
  26. +0 −91 Classes/DiaryListCell.m
  27. +0 −19 Classes/DiaryListCellSelectedBackgroundView.h
  28. +0 −24 Classes/DiaryListCellSelectedBackgroundView.m
  29. +4 −3 Classes/DiaryListViewController.m
  30. +0 −7 Classes/DiaryNextCell.h
  31. +0 −50 Classes/DiaryNextCell.m
  32. +0 −10 Classes/DiaryNextCellController.h
  33. +0 −20 Classes/DiaryNextCellController.m
  34. +0 −19 Classes/DiaryNextCellSelectedBackgroundView.h
  35. +0 −24 Classes/DiaryNextCellSelectedBackgroundView.m
  36. +0 −9 Classes/DiaryTitleCell.h
  37. +0 −17 Classes/DiaryTitleCell.m
  38. +0 −10 Classes/DiaryTitleCellController.h
  39. +0 −27 Classes/DiaryTitleCellController.m
  40. +8 −1 Classes/DiaryUploader.m
  41. +0 −2 Classes/DiaryViewController.h
  42. +5 −21 Classes/DiaryViewController.m
  43. +10 −2 Classes/EntryCell.m
  44. +0 −19 Classes/EntryCellSelectedBackgroundView.h
  45. +0 −24 Classes/EntryCellSelectedBackgroundView.m
  46. +0 −22 Classes/FeedParser.h
  47. +0 −235 Classes/FeedParser.m
  48. +12 −7 Classes/FotolifeUploader.m
  49. +0 −22 Classes/HUDMessageView.h
  50. +0 −81 Classes/HUDMessageView.m
  51. +2 −1 Classes/HatenaAtomPub.m
  52. +1 −1 Classes/HatenaAtomPubResponseParser.h
  53. +5 −4 Classes/HatenaAtomPubResponseParser.m
  54. +9 −2 Classes/HatenaRSSParser.m
  55. +8 −2 Classes/HatenaSyntaxCell.m
  56. +0 −26 Classes/HatenaSyntaxSheetController.h
  57. +0 −267 Classes/HatenaSyntaxSheetController.m
  58. +2 −1 Classes/HatenaSyntaxViewController.m
  59. +2 −4 Classes/HatenaTouchAppDelegate.m
  60. +0 −6 Classes/HatenaXMLParser.h
  61. +0 −17 Classes/HatenaXMLParser.m
  62. +0 −8 Classes/HotEntryNextCell.h
  63. +0 −21 Classes/HotEntryNextCell.m
  64. +0 −11 Classes/HotEntryNextCellController.h
  65. +0 −21 Classes/HotEntryNextCellController.m
  66. +3 −1 Classes/HotEntryViewController.m
  67. +0 −25 Classes/HttpClient.h
  68. +0 −165 Classes/HttpClient.m
  69. +3 −0 Classes/ImagePreviewViewController.m
  70. +0 −23 Classes/InformationSheetController.h
  71. +0 −118 Classes/InformationSheetController.m
  72. +0 −44 Classes/JSON/JSON.h
  73. +0 −60 Classes/JSON/NSObject+SBJSON.h
  74. +0 −57 Classes/JSON/NSObject+SBJSON.m
  75. +0 −41 Classes/JSON/NSString+SBJSON.h
  76. +0 −60 Classes/JSON/NSString+SBJSON.m
  77. +0 −137 Classes/JSON/SBJSON.h
  78. +0 −740 Classes/JSON/SBJSON.m
  79. +7 −1 Classes/MyBookmarkAPI.m
  80. +0 −15 Classes/MyBookmarkCell.h
  81. +0 −89 Classes/MyBookmarkCell.m
  82. +0 −19 Classes/MyBookmarkCellSelectedBackgroundView.h
  83. +0 −24 Classes/MyBookmarkCellSelectedBackgroundView.m
  84. +7 −1 Classes/MyBookmarkFeedParser.m
  85. +0 −7 Classes/MyBookmarkNextCell.h
  86. +0 −50 Classes/MyBookmarkNextCell.m
  87. +0 −5 Classes/MyBookmarkNextCellController.h
  88. +0 −17 Classes/MyBookmarkNextCellController.m
  89. +0 −19 Classes/MyBookmarkNextCellSelectedBackgroundView.h
  90. +0 −24 Classes/MyBookmarkNextCellSelectedBackgroundView.m
  91. +3 −2 Classes/MyBookmarkViewController.m
  92. +0 −15 Classes/NSCharacterSet_Extensions.h
  93. +0 −27 Classes/NSCharacterSet_Extensions.m
  94. +0 −17 Classes/NSDataAdditions.h
  95. +0 −156 Classes/NSDataAdditions.m
  96. +0 −15 Classes/NSDictionary_JSONExtensions.h
  97. +0 −20 Classes/NSDictionary_JSONExtensions.m
  98. +0 −15 Classes/PageBookmarkCell.h
  99. +0 −22 Classes/PageBookmarkCell.m
  100. +0 −10 Classes/PageBookmarkCellController.h
  101. +0 −20 Classes/PageBookmarkCellController.m
  102. +0 −13 Classes/PageInformationCell.h
  103. +0 −66 Classes/PageInformationCell.m
  104. +1 −0 Classes/Reachability.h
  105. +3 −1 Classes/RecentEntryViewController.m
  106. +7 −15 Classes/RootViewController.m
  107. +6 −2 Classes/SettingViewController.m
  108. +0 −10 Classes/StringHelper.h
  109. +0 −26 Classes/StringHelper.m
  110. +0 −13 Classes/TableCellDrawing.h
  111. +0 −81 Classes/TableCellDrawing.m
  112. +0 −23 Classes/UIImage+ProportionalFill.h
  113. +0 −134 Classes/UIImage+ProportionalFill.m
  114. +0 −15 Classes/UIImage+Tint.h
  115. +0 −54 Classes/UIImage+Tint.m
  116. +17 −0 Classes/UIImage+Utilities.h
  117. +65 −0 Classes/UIImage+Utilities.m
  118. +0 −11 Classes/UserSettingViewController.h
  119. +0 −248 Classes/UserSettingViewController.m
  120. +9 −1 Classes/UserSettings.m
  121. +0 −24 Classes/WBImage.h
  122. +0 −179 Classes/WBImage.m
  123. +0 −22 Classes/XMLParser.h
  124. +0 −101 Classes/XMLParser.m
  125. BIN Comment.png
  126. BIN Default-568h@2x.png
  127. BIN Default.png
  128. BIN Default@2x.png
  129. +0 −423 English.lproj/AddBookmarkView.xib
  130. +0 −317 English.lproj/DiaryCell.xib
  131. +0 −200 English.lproj/DiaryNextCell.xib
  132. +0 −233 English.lproj/DiaryTitleCell.xib
  133. +0 −278 English.lproj/HatenaSyntaxSheet.xib
  134. +0 −273 English.lproj/MainWindow.xib
  135. +0 −214 English.lproj/MyBookmarkNextCell.xib
  136. +0 −336 English.lproj/PageBookmarkCell.xib
  137. +1 −1 English.lproj/help.html
  138. +1 −1 HatenaTouch-Info.plist
  139. +39 −46 HatenaTouch.xcodeproj/project.pbxproj
  140. +7 −0 HatenaTouch.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  141. BIN ...Touch.xcodeproj/project.xcworkspace/xcuserdata/katsumi.xcuserdatad/UserInterfaceState.xcuserstate
  142. +10 −0 ...naTouch.xcodeproj/project.xcworkspace/xcuserdata/katsumi.xcuserdatad/WorkspaceSettings.xcsettings
  143. +90 −0 HatenaTouch.xcodeproj/xcuserdata/katsumi.xcuserdatad/xcschemes/Debug.xcscheme
  144. +86 −0 HatenaTouch.xcodeproj/xcuserdata/katsumi.xcuserdatad/xcschemes/Distoribution.xcscheme
  145. +86 −0 HatenaTouch.xcodeproj/xcuserdata/katsumi.xcuserdatad/xcschemes/Release.xcscheme
  146. +32 −0 HatenaTouch.xcodeproj/xcuserdata/katsumi.xcuserdatad/xcschemes/xcschememanagement.plist
  147. BIN Icon-Small.png
  148. BIN Icon-Small@2x.png
  149. BIN Icon.png
  150. BIN Icon@2x.png
  151. +0 −32 Info.plist
  152. +0 −281 InformationSheet.xib
  153. +0 −423 Japanese.lproj/AddBookmarkView.xib
  154. +0 −317 Japanese.lproj/DiaryCell.xib
  155. +0 −200 Japanese.lproj/DiaryNextCell.xib
  156. +0 −233 Japanese.lproj/DiaryTitleCell.xib
  157. +0 −278 Japanese.lproj/HatenaSyntaxSheet.xib
  158. +0 −273 Japanese.lproj/MainWindow.xib
  159. +0 −216 Japanese.lproj/MyBookmarkNextCell.xib
  160. +0 −336 Japanese.lproj/PageBookmarkCell.xib
  161. +1 −1 Japanese.lproj/help.html
  162. +0 −51 README
  163. +0 −194 RootViewController.xib
  164. BIN Syntax.png
  165. +0 −435 WebView.xib
  166. BIN back.png
  167. BIN book_w_bookmark_small.png
  168. BIN book_w_bookmark_small@2x.png
  169. BIN dialogue.png
  170. BIN forward.png
  171. +0 −1 libxml2.dylib
  172. +0 −24 patch/hatena-touch-jsonliteapi.path
  173. +0 −20 patch/support-private-bookmark.patch
  174. BIN text_background.png
View
BIN Album.png
Deleted file not rendered
View
Deleted file not rendered
View
@@ -1,152 +0,0 @@
-
-/*
- _______ .__ .__ .__ .__
- \ \ ____ __ __ _______ |__|| | | | |__| ____ ____
- / | \ _/ __ \ | | \\_ __ \| || | | | | | / _ \ / \
- / | \\ ___/ | | / | | \/| || |__| |__| |( <_> )| | \
- \____|__ / \___ >|____/ |__| |__||____/|____/|__| \____/ |___| /
- =========\/======\/=================================================\/==
- v0.01 19/OCT/2007 © Copyright 2007-2007 Scott D. Yelich SOME RIGHTS RESERVED
-
-
- LICENSE: Creative Commons Attribution 3.0 License.
- SEE: http://creativecommons.org/licenses/by/3.0/
-
-
- Fri Oct 19 23:57:59 EST 2007, v0.01 sdy
-
-*/
-
-// PACKAGE
-
-#include "Base64.h"
-
-
-Base64::Base64() :
- baseChars("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")
-{
-}
-
-Base64::~Base64()
-{
-}
-
-bool
-Base64::isBase64Char (char const c)
-{
- return (base64Char(c) != std::string::npos);
-}
-
-int
-Base64::base64Char (char const c)
-{
- return baseChars.find_first_of(c);
-}
-
-std::string
-Base64::scrub(std::string const & s)
-{
- return scrub(s, baseChars);
-}
-
-std::string
-Base64::scrub(std::string const & so, std::string const & goodchars)
-{
- int loc = 0;
- int nloc = 0;
- std::string s;
- bool process = true;
- while (process) {
- nloc = so.find_first_not_of(goodchars, loc);
- if (nloc != std::string::npos) {
- s.append(so.substr(loc, nloc-loc));
- loc = nloc+1;
- } else {
- process = false;
- }
- }
- s.append(so.substr(loc, so.size()-loc));
- return s;
-}
-
-std::string
-Base64::encode(std::string const & so, int split)
-{
- std::string s;
- std::string r;
- std::string p;
- if (so.size()<1) {
- return r;
- }
- s = so;
- int c = s.size()%3;
- // pad to make length a multiple of 3
- if (c>0) {
- for (; c<3; c++) {
- p.append("=");
- s.append("=");
- }
- }
- int n;
- int n1, n2, n3, n4;
- // go over over length of the string, by 3
- for (c=0; c<s.size(); c+=3) {
- if (0<c && 0<split && ((c/3)*4)%split == 0) {
- r.append("\n");
- }
- // convert 3 8-bit values into 1 24-bit value
- n = (s[c]<<16) + (s[c+1]<<8) + (s[c+2]);
- // split 1 24-bit value into 4 6-bit values
- n1 = (n >> 18) & 63;
- n2 = (n >> 12) & 63;
- n3 = (n >> 6) & 63;
- n4 = (n >> 0) & 63;
- // add each of the 6-bit chars to string via lookup
- r += baseChars[n1];
- r += baseChars[n2];
- r += baseChars[n3];
- r += baseChars[n4];
- }
- if (c>0) {
- r = r.substr(0, r.size()-p.size()).append(p);
- }
- return r;
-}
-
-std::string
-Base64::decode(std::string const & so)
-{
- std::string s;
- std::string r;
- std::string p;
- if (so.size()<1){
- return r;
- }
- s = so;
- // replace padding with 'A' for 0 valued bits...
- if (!s.substr(s.size()-1, 1).compare("=")) {
- p.append("A");
- }
- if (!s.substr(s.size()-2, 1).compare("=")) {
- p.append("A");
- }
- s = scrub(s);
- if (p.size()>0){
- s.append(p);
- }
- int n;
- // go over over length of the string, by 4
- for (int c=0; c<s.size(); c+=4) {
- // each of the 4 char represents 6-bits of the 1 24-bit value
- n = (base64Char(s[c ])<<18) +
- (base64Char(s[c+1])<<12) +
- (base64Char(s[c+2])<< 6) +
- (base64Char(s[c+3])<< 0);
- // split the 1 24-bit value into 3 8-bit values and append as chars
- r += char((n>>16)&255);
- r += char((n>> 8)&255);
- r += char((n>> 0)&255);
- }
- r = r.substr(0, r.size()-p.size());
- return r;
-}
View
@@ -1,53 +0,0 @@
-
-/*
- _______ .__ .__ .__ .__
- \ \ ____ __ __ _______ |__|| | | | |__| ____ ____
- / | \ _/ __ \ | | \\_ __ \| || | | | | | / _ \ / \
- / | \\ ___/ | | / | | \/| || |__| |__| |( <_> )| | \
- \____|__ / \___ >|____/ |__| |__||____/|____/|__| \____/ |___| /
- =========\/======\/=================================================\/==
- v0.01 19/OCT/2007 © Copyright 2007-2007 Scott D. Yelich SOME RIGHTS RESERVED
-
-
- LICENSE: Creative Commons Attribution 3.0 License.
- SEE: http://creativecommons.org/licenses/by/3.0/
-
-
- Fri Oct 19 23:57:59 EST 2007, v0.01 sdy
- Wed Nov 21 21:17:29 EST 2007, v0.02 sdy
-
- This is Base64.h, part of Base64.
-
- See Base64.cpp for implementation details.
-
-*/
-
-#ifndef BASE64_H
-#define BASE64_H
-
-// C++
-
-#include <string>
-
-class Base64
-{
-
- public:
-
- Base64();
- ~Base64();
-
- std::string decode(std::string const & s);
- std::string encode(std::string const & s, int split=0);
- std::string scrub(std::string const & s, std::string const & goodchars);
- std::string scrub(std::string const & s);
- bool isBase64Char(char const c);
- int base64Char(char const c);
-
- private:
-
- std::string baseChars;
-
-};
-
-#endif
View
@@ -1,31 +0,0 @@
-//
-// Base64EncDec.h
-//
-// Created by Takeshi Yamane on 06/07/03.
-// Copyright 2006 Takeshi Yamane. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-
-@interface NSData (Base64EncDec)
-
-//
-// 公開メソッド
-//
-// Base64文字列をデコードし、NSDataオブジェクトを生成する(ASCII文字列より)
-+ (NSData *)dataWithBase64CString:(const char *)pcBase64 length:(long)lLength;
-
-// Base64文字列をデコードし、NSDataオブジェクトを生成する(NSStringより)
-+ (NSData *)dataWithBase64String:(NSString *)pstrBase64;
-
-// Base64にエンコードした文字列を生成する
-- (NSString *)stringEncodedWithBase64;
-
-//
-// 内部メソッド
-//
-// Base64の文字から変換テーブルのインデックスを求める
-+ (int)indexOfBase64Char:(char)cBase64Char;
-
-@end
Oops, something went wrong.

0 comments on commit 683e9aa

Please sign in to comment.