Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit 14308968f249a7983cb2a75d5ff11bba7418418c @adachis committed Nov 22, 2010
Showing with 16,165 additions and 0 deletions.
  1. BIN AppIcons/Icon_128.png
  2. BIN AppIcons/Icon_16.png
  3. BIN AppIcons/Icon_32.png
  4. BIN AppIcons/Icon_48.png
  5. BIN AppIcons/Icon_512.png
  6. BIN Arrows-Large.png
  7. BIN Arrows-Tiny.png
  8. BIN Fonts/HelveticaNeue.dfont
  9. BIN LH-Icon.png
  10. BIN Lifehacker HUD.air
  11. +37 −0 Lifehacker MorningHUD-app.xml
  12. BIN Lifehacker MorningHUD.fla
  13. BIN Lifehacker MorningHUD.swf
  14. BIN LifehackerHUD.dmg
  15. BIN LifehackerHUD.zip
  16. BIN More-Arrow.png
  17. BIN RSS-Icon.png
  18. BIN alarm.mp3
  19. +92 −0 caurina/transitions/AuxFunctions.as
  20. +693 −0 caurina/transitions/Equations.as
  21. +72 −0 caurina/transitions/PropertyInfoObj.as
  22. +424 −0 caurina/transitions/SpecialPropertiesDefault.as
  23. +45 −0 caurina/transitions/SpecialProperty.as
  24. +42 −0 caurina/transitions/SpecialPropertyModifier.as
  25. +41 −0 caurina/transitions/SpecialPropertySplitter.as
  26. +217 −0 caurina/transitions/TweenListObj.as
  27. +1,068 −0 caurina/transitions/Tweener.as
  28. +5 −0 com/.svn/all-wcprops
  29. +31 −0 com/.svn/entries
  30. +11 −0 com/adobe/.svn/all-wcprops
  31. +71 −0 com/adobe/.svn/entries
  32. +47 −0 com/adobe/.svn/text-base/CalendarUtil.as.svn-base
  33. +47 −0 com/adobe/CalendarUtil.as
  34. +11 −0 com/adobe/extended/.svn/all-wcprops
  35. +62 −0 com/adobe/extended/.svn/entries
  36. +47 −0 com/adobe/extended/.svn/text-base/CustomURLLoader.as.svn-base
  37. +47 −0 com/adobe/extended/CustomURLLoader.as
  38. +5 −0 com/adobe/googlecalendar/.svn/all-wcprops
  39. +43 −0 com/adobe/googlecalendar/.svn/entries
  40. +17 −0 com/adobe/googlecalendar/errors/.svn/all-wcprops
  41. +96 −0 com/adobe/googlecalendar/errors/.svn/entries
  42. +33 −0 com/adobe/googlecalendar/errors/.svn/text-base/IllegalStateError.as.svn-base
  43. +33 −0 com/adobe/googlecalendar/errors/.svn/text-base/InvalidArgumentsError.as.svn-base
  44. +33 −0 com/adobe/googlecalendar/errors/IllegalStateError.as
  45. +33 −0 com/adobe/googlecalendar/errors/InvalidArgumentsError.as
  46. +29 −0 com/adobe/googlecalendar/events/.svn/all-wcprops
  47. +164 −0 com/adobe/googlecalendar/events/.svn/entries
  48. +37 −0 com/adobe/googlecalendar/events/.svn/text-base/AbstractCalendarEvent.as.svn-base
  49. +40 −0 com/adobe/googlecalendar/events/.svn/text-base/GoogleCalendarAuthenticatorEvent.as.svn-base
  50. +55 −0 com/adobe/googlecalendar/events/.svn/text-base/GoogleCalendarEventsServiceEvent.as.svn-base
  51. +60 −0 com/adobe/googlecalendar/events/.svn/text-base/GoogleCalendarServiceEvent.as.svn-base
  52. +37 −0 com/adobe/googlecalendar/events/AbstractCalendarEvent.as
  53. +40 −0 com/adobe/googlecalendar/events/GoogleCalendarAuthenticatorEvent.as
  54. +55 −0 com/adobe/googlecalendar/events/GoogleCalendarEventsServiceEvent.as
  55. +60 −0 com/adobe/googlecalendar/events/GoogleCalendarServiceEvent.as
  56. +11 −0 com/adobe/googlecalendar/model/.svn/all-wcprops
  57. +62 −0 com/adobe/googlecalendar/model/.svn/entries
  58. +59 −0 com/adobe/googlecalendar/model/.svn/text-base/GoogleCalendarModelLocator.as.svn-base
  59. +59 −0 com/adobe/googlecalendar/model/GoogleCalendarModelLocator.as
  60. +35 −0 com/adobe/googlecalendar/services/.svn/all-wcprops
  61. +198 −0 com/adobe/googlecalendar/services/.svn/entries
  62. +46 −0 com/adobe/googlecalendar/services/.svn/text-base/AbstractCalendarService.as.svn-base
  63. +200 −0 com/adobe/googlecalendar/services/.svn/text-base/GoogleCalendarAuthenticator.as.svn-base
  64. +159 −0 com/adobe/googlecalendar/services/.svn/text-base/GoogleCalendarEventUtil.as.svn-base
  65. +1,361 −0 com/adobe/googlecalendar/services/.svn/text-base/GoogleCalendarEventsService.as.svn-base
  66. +942 −0 com/adobe/googlecalendar/services/.svn/text-base/GoogleCalendarService.as.svn-base
  67. +46 −0 com/adobe/googlecalendar/services/AbstractCalendarService.as
  68. +200 −0 com/adobe/googlecalendar/services/GoogleCalendarAuthenticator.as
  69. +159 −0 com/adobe/googlecalendar/services/GoogleCalendarEventUtil.as
  70. +1,361 −0 com/adobe/googlecalendar/services/GoogleCalendarEventsService.as
  71. +942 −0 com/adobe/googlecalendar/services/GoogleCalendarService.as
  72. +107 −0 com/adobe/googlecalendar/valueobjects/.svn/all-wcprops
  73. +606 −0 com/adobe/googlecalendar/valueobjects/.svn/entries
  74. +40 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/AuthorVO.as.svn-base
  75. +39 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/CategoryVO.as.svn-base
  76. +38 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/CommentsVO.as.svn-base
  77. +39 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/ContentVO.as.svn-base
  78. +42 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/EntryLinkVO.as.svn-base
  79. +45 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/FeedLinkVO.as.svn-base
  80. +204 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/GoogleCalendarEventVO.as.svn-base
  81. +46 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/GoogleCalendarUserVO.as.svn-base
  82. +110 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/GoogleCalendarVO.as.svn-base
  83. +40 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/LinkVO.as.svn-base
  84. +116 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/ReminderVO.as.svn-base
  85. +35 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/SummaryVO.as.svn-base
  86. +43 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/TitleVO.as.svn-base
  87. +80 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/UserVO.as.svn-base
  88. +72 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/WhenVO.as.svn-base
  89. +41 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/WhereVO.as.svn-base
  90. +43 −0 com/adobe/googlecalendar/valueobjects/.svn/text-base/WhoVO.as.svn-base
  91. +40 −0 com/adobe/googlecalendar/valueobjects/AuthorVO.as
  92. +39 −0 com/adobe/googlecalendar/valueobjects/CategoryVO.as
  93. +38 −0 com/adobe/googlecalendar/valueobjects/CommentsVO.as
  94. +39 −0 com/adobe/googlecalendar/valueobjects/ContentVO.as
  95. +42 −0 com/adobe/googlecalendar/valueobjects/EntryLinkVO.as
  96. +45 −0 com/adobe/googlecalendar/valueobjects/FeedLinkVO.as
  97. +204 −0 com/adobe/googlecalendar/valueobjects/GoogleCalendarEventVO.as
  98. +46 −0 com/adobe/googlecalendar/valueobjects/GoogleCalendarUserVO.as
  99. +110 −0 com/adobe/googlecalendar/valueobjects/GoogleCalendarVO.as
  100. +40 −0 com/adobe/googlecalendar/valueobjects/LinkVO.as
  101. +116 −0 com/adobe/googlecalendar/valueobjects/ReminderVO.as
  102. +35 −0 com/adobe/googlecalendar/valueobjects/SummaryVO.as
  103. +43 −0 com/adobe/googlecalendar/valueobjects/TitleVO.as
  104. +80 −0 com/adobe/googlecalendar/valueobjects/UserVO.as
  105. +72 −0 com/adobe/googlecalendar/valueobjects/WhenVO.as
  106. +41 −0 com/adobe/googlecalendar/valueobjects/WhereVO.as
  107. +43 −0 com/adobe/googlecalendar/valueobjects/WhoVO.as
  108. +11 −0 com/adobe/logging/.svn/all-wcprops
  109. +62 −0 com/adobe/logging/.svn/entries
  110. +40 −0 com/adobe/logging/.svn/text-base/CalendarLogger.as.svn-base
  111. +40 −0 com/adobe/logging/CalendarLogger.as
  112. BIN images/BG-Clock.png
  113. BIN images/BG-Weather.png
  114. BIN images/Button-Calendar.png
  115. BIN images/Button-Email.png
  116. BIN images/Button-Movies.png
  117. BIN images/Button-Music.png
  118. BIN images/Button-Podcasts.png
  119. BIN images/Button-RSS.png
  120. BIN images/Button-RSS2.png
  121. BIN images/Button-Settings.png
  122. BIN images/Button-Sleep.png
  123. BIN images/HBD Retro BG.jpg
  124. BIN images/HBD-Logo.png
  125. BIN images/Mini-Sun.png
  126. BIN images/Web-Logo.png
  127. +5 −0 scripts/gcal.php
  128. +5 −0 scripts/gmail.php
  129. +3,323 −0 scripts/libgmailer.php
  130. BIN textLayout_1.0.0.595.swz
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
@@ -0,0 +1,37 @@
+<?xml version ="1.0" encoding="utf-8" ?>
+<application xmlns="http://ns.adobe.com/air/application/2.0">
+ <id>Lifehacker-HUD</id>
+ <version>1.0</version>
+ <filename>Lifehacker HUD</filename>
+ <description>A little heads up display for your netbook, touchscreen laptop, or whatever.</description>
+ <!-- To localize the description, use the following format for the description element.
+ <description>
+ <text xml:lang="en">English App description goes here</text>
+ <text xml:lang="fr">French App description goes here</text>
+ <text xml:lang="ja">Japanese App description goes here</text>
+ </description>
+ -->
+ <name>Lifehacker HUD</name>
+ <!-- To localize the name, use the following format for the name element.
+ <name>
+ <text xml:lang="en">English App name goes here</text>
+ <text xml:lang="fr">French App name goes here</text>
+ <text xml:lang="ja">Japanese App name goes here</text>
+ </name>
+ -->
+ <copyright>2010 Lifehacker</copyright>
+ <initialWindow>
+ <content>Lifehacker%20MorningHUD.swf</content>
+ <systemChrome>standard</systemChrome>
+ <transparent>false</transparent>
+ <visible>true</visible>
+ <fullScreen>false</fullScreen>
+ <autoOrients>false</autoOrients>
+ <aspectRatio>portrait</aspectRatio>
+ <renderMode>auto</renderMode>
+ <maximizable>true</maximizable><minimizable>true</minimizable><resizable>true</resizable></initialWindow>
+ <customUpdateUI>false</customUpdateUI>
+ <allowBrowserInvocation>false</allowBrowserInvocation>
+ <icon>
+ <image16x16>AppIcons/Icon_16.png</image16x16><image32x32>AppIcons/Icon_32.png</image32x32><image48x48>AppIcons/Icon_48.png</image48x48><image128x128>AppIcons/Icon_128.png</image128x128></icon>
+<supportedProfiles>desktop extendedDesktop</supportedProfiles></application>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN alarm.mp3
Binary file not shown.
@@ -0,0 +1,92 @@
+package caurina.transitions {
+
+ /**
+ * Generic, auxiliary functions
+ *
+ * @author Zeh Fernando
+ * @version 1.0.0
+ * @private
+ */
+
+ public class AuxFunctions {
+
+ /**
+ * Gets the R (xx0000) bits from a number
+ *
+ * @param p_num Number Color number (ie, 0xffff00)
+ * @return Number The R value
+ */
+ public static function numberToR(p_num:Number):Number {
+ // The initial & is meant to crop numbers bigger than 0xffffff
+ return (p_num & 0xff0000) >> 16;
+ }
+
+ /**
+ * Gets the G (00xx00) bits from a number
+ *
+ * @param p_num Number Color number (ie, 0xffff00)
+ * @return Number The G value
+ */
+ public static function numberToG(p_num:Number):Number {
+ return (p_num & 0xff00) >> 8;
+ }
+
+ /**
+ * Gets the B (0000xx) bits from a number
+ *
+ * @param p_num Number Color number (ie, 0xffff00)
+ * @return Number The B value
+ */
+ public static function numberToB(p_num:Number):Number {
+ return (p_num & 0xff);
+ }
+
+ /**
+ * Checks whether a string is on an array
+ *
+ * @param p_string String String to search for
+ * @param p_array Array Array to be searched
+ * @return Boolean Whether the array contains the string or not
+ */
+ public static function isInArray(p_string:String, p_array:Array):Boolean {
+ var l:uint = p_array.length;
+ for (var i:uint = 0; i < l; i++) {
+ if (p_array[i] == p_string) return true;
+ }
+ return false;
+ }
+
+ /**
+ * Returns the number of properties an object has
+ *
+ * @param p_object Object Target object with a number of properties
+ * @return Number Number of total properties the object has
+ */
+ public static function getObjectLength(p_object:Object):uint {
+ var totalProperties:uint = 0;
+ for (var pName:String in p_object) totalProperties ++;
+ return totalProperties;
+ }
+
+ /* Takes a variable number of objects as parameters and "adds" their properties, form left to right. If a latter object defines a property as null, it will be removed from the final object
+ * @param args Object(s) A variable number of objects
+ * @return Object An object with the sum of all paremeters added as properties.
+ */
+ public static function concatObjects(...args) : Object{
+ var finalObject : Object = {};
+ var currentObject : Object;
+ for (var i : int = 0; i < args.length; i++){
+ currentObject = args[i];
+ for (var prop : String in currentObject){
+ if (currentObject[prop] == null){
+ // delete in case is null
+ delete finalObject[prop];
+ }else{
+ finalObject[prop] = currentObject[prop]
+ }
+ }
+ }
+ return finalObject;
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit 1430896

Please sign in to comment.