source: trunk/Cocoa/Pester/Documentation/index.rst@ 536

Last change on this file since 536 was 534, checked in by Nicholas Riley, 15 years ago

Added reStructured Text base documentation, makefile, etc. using Sphinx

Signed-off-by: Nicholas Riley <com-github@…>

File size: 14.3 KB
RevLine 
[534]1.. Pester documentation master file, created by
2 sphinx-quickstart on Mon Jun 1 22:57:22 2009.
3 You can adapt this file completely to your liking, but it should at least
4 contain the root `toctree` directive.
5
6Welcome to Pester's documentation!
7==================================
8
9Pester 1.1b8
10UNRELEASED—do not distribute
11
12A simple alarm clock and timer for Mac OS X.
13
14Written by Nicholas Riley <pester@sabi.net>.
15Obtain updates from <http://web.sabi.net/nriley/software/>.
16
17Note: This documentation is not yet updated for version 1.1, though most of it
18should still apply; please read the release notes at the end for a listing of
19what has changed in this version. This beta version of Pester 1.1 is not yet
20feature-complete; some user interface elements from earlier betas are missing
21because they don’t work yet.
22
23What is it?
24
25Don’t want to miss the bus or train? Have a meeting coming up soon and want to
26be reminded of it? Too much trouble to create an appointment in Palm Desktop,
27iCal or Entourage? Pester can help.
28
29
30
31Installation
32
33Pester should work on Mac OS X 10.4 or later; it has been tested on Mac OS X
3410.4.11 and 10.5.1.
35
36To install Pester, simply drag the Pester icon to your Applications folder or
37another convenient location. If you use Pester often, drag it to the Dock or
38add it to your Login Items.
39
40If for some reason you find Pester not to your liking, remove it by dragging
41its icon to the Trash. Pester’s preferences file is named
42“net.sabi.Pester.plist” and is located in the Library/Preferences subfolder of
43your Home folder.
44
45Usage
46
47Use Pester to set alarms for times in the future. Alarms that are scheduled to
48expire after you quit Pester are saved automatically. Pester must be running
49in order to notify you that an alarm has expired. If an alarm expires while
50Pester isn’t running, you will not be notified, but the alarm’s time will be
51“«expired»” in Pester’s alarm list.
52
53To set an alarm, click the Pester icon, choose “Set Alarm…” from the Alarm
54menu, or press ⌘N, and the Set Alarm window (shown above) will appear.
55
56First type a message if you wish, otherwise the rather unimaginative “Alarm!”
57will be used. Recent messages you’ve used appear in the menu; if you mistype
58or want to remove a message, click the “–” button. To remove the all recent
59messages from the menu, click “– All”.
60
61To specify the alarm time in seconds, minutes or hours from now, click the
62“in” radio button, then type a number and pick a unit from the popup menu. To
63quickly pick one of the units from the keyboard, type S, M or H after typing a
64number.
65
66To specify an absolute time, click the “at” radio button, type a time and
67date. If you’re outside the US, the time format may not be what you expect;
68I’m sorry, but a multitude of date-related Cocoa bugs make supporting
69localization very difficult. In addition to typing numbers, you can select a
70relative date from the menu to the right of the date field, or type words such
71as:
72
73Time: “morning”, “noon”, “afternoon”, “dinner”, “midnight”
74Date: “today”, “tomorrow”, “next Thursday”, “November”
75
76The text at the bottom left corner of the window changes as you type to
77indicate whether the date and time you’re typing is valid.
78
79When an alarm expires, Pester’s Dock icon bounces once, your Mac beeps, and
80Pester displays a dialog box:
81
82
83To view or remove alarms, choose “All Alarms…” from the Alarm menu or press
84⌘L.
85
86Alarms shown as “«expired»” expired while Pester was not running. As alarms
87are set, they appear in the list; alarms which expire while Pester is running
88are removed from the list. To remove one or more alarms, select them and click
89Remove.
90
91More features
92
93Pester includes a Dock menu, which you can access by Control (⌃)-clicking
94Pester’s icon.
95
96From this menu, you can view information about the next alarm, open the Set Alarm window, or open the Alarms window. The number of alarms is shown in parentheses.
97
98Pester’s Dock icon displays the time until the next alarm expires.
99
100Pester is also fully Y3K-compliant. It can be comforting to know that even if you won’t be around then, if your Mac still works, so will Pester.
101
102Frequently asked questions
103
104Q. Why isn’t Pester a full-featured calendar/scheduling program? What use is it otherwise?
105
106A. I wrote and use Pester on my Mac for the same reason I use programs such as BigClock and TikTok on my Palm, the built-in clock on my Newton and the alarm on my cellular phone. Sometimes all you want is an alarm to go off in 5 minutes, not an “appointment” or “meeting” entry that survives in perpetuity and is synchronized with your phone, PDA and iPod. On the other hand, if you’re happy with what you’re using, stick with it.
107
108Q. OK, but why doesn’t Pester have feature X?
109
110A. I didn’t need it. I have looked at (and even registered) some similar programs such as Alarm Clock Pro, Alarm Clock S.E., CountDown, Tea Timer and the like. None of them did what I wanted. Please check out those other programs first; if Pester comes closest to your ideal but is missing a key feature, let me know and I’ll consider adding it.
111
112Q. Under what conditions is the source code licensed?
113
114A. Please see my Web page for details. Essentially: don’t pass it off as your own, and give me credit if you use all or part of it in your own software.
115
116Version history
117
1181.1 / forthcoming
119• Requires Mac OS X 10.4 or later (Universal Binary).
120• Fixed small memory leaks on alarm creation and with the “Remove” button in the alarm list window.
121• Fixed vertical resizing of the alarm list window.
122• Fixed ‘s’, ‘m’, ‘h’, ‘d’ and ‘w’ shortcuts for selecting alarm interval so they work regardless of the insertion point position.
123• Fixed time remaining in the Dock being wrong by one second, or showing «expired».
124• Fixed empty messages appearing in the alarm message combo box.
125• Fixed display of time intervals between 1 and 59 minutes: now “#m” instead of “0h #m”.
126• Fixed display of time intervals between 24 and 48 hours: now “One day” instead of “1 days”.
127• Fixed alarms not expiring after you put your Mac to sleep and wake it up again.
128• Better indicate when a duration is out of range (okay, Nat?)
129• Added more keyboard navigation, type-selection, sorting and iTunes-like row coloring to the alarm list window.
130• Added daily and weekly
131• View alerts for scheduled alarms as help tags in the alarm list window.
132• Customizable alerts: the previously-mandatory notification dialog box, alert sound and Dock bouncing are now all optional, and speech is new.
133• Ellipsize long alarm messages in the alarm list window.
134• Added Delete keyboard shortcut for removing alarms to the alarm list window.
135• Alarm removal in the alarm list window is now undoable.
136• Added in-application read me viewer with section navigation, instead of opening TextEdit.
137• Retain highlighted alarms in the alarm list window when alarms are added, removed or resorted.
138• Removed horizontal scroll bar from the alarm list window because it wasn’t ever available.
139• Replaced buggy and deprecated Cocoa natural language date parser with the Perl Date::Manip module.
140• Updated to new Cocoa date formatters, better supporting international date and time formats.
141• Fixed text display with non-Roman languages.
142• Added Preferences, with optional systemwide keyboard shortcut for set alarm window.
143• Only show set alarm window when Pester comes to the front if an alarm isn’t in the process of expiring.
144• Only bring Pester to the front if needed for the type of alert selected; if Pester was hidden or not in front before an alarm expired, it switches back and hides if necessary after the alarm is dismissed. (This means you can dismiss an alarm by clicking or pressing the return key and go right back to work.)
145• Added simple repeating alarms. When the “Display message and time” alert is selected, each time an alarm expires you have an opportunity to stop it repeating; otherwise, remove alarms from the alarm list between expirations to stop them from repeating. This works well for things like “remind me every 15 minutes to take a break”. An alarm won’t start to repeat until the alerts have finished going off and you dismiss it, so you won’t come back to several thousand alerts!
146• Added a “snooze” feature; works similarly to editing an alarm interval, with an additional “until…” option (‘u’ shortcut).
147• Added a popup calendar to the Set Alarm window and the “snooze until” sheet.
148• Added ⇧⌘T shortcut to switch between “in” and “at”.
149• Default to today’s date in the “at” section.
150• Reduced Pester’s processor usage while alarms are pending, and while the “Set Alarm” window is open but hidden.
151• Changed alarm storage to be more reliable, expandable and human-readable, if a bit slower. Conversion occurs at startup and is one-way (if you really need it to be two-way, the feature would not be hard to add). The alarm list should no longer become lost with a message such as “2002-11-18 00:31:24.461 Pester[8545] An error occurred while attempting to restore the alarm list: *** Incorrect archive: unexpected byte”.
152• Switched to apple-generic versioning (agvtool, etc.). Xcode 2.4 or later is required to build Pester 1.1.
153• Incorporated Sparkle for automatic updates.
154• Creator code is now Pest instead of Pstr (the latter was already registered).
155
156Still to be fixed for 1.1:
157• Dock bouncing doesn’t work when Pester is frontmost.
158• Customizable alerts: AppleScript, playback of sounds, images and movies (anything QuickTime can handle).
159• Sometimes Pester will not open the Set Alarm window when you bring it to the front and no other window is open.
160• Sometimes, alarms stay as expired, end up in the 'expired' section of the alarm list, and never get removed.
161• Handle alarm—mostly alert—restoration failure (finish implementing PSError, test cases).
162• The Dock icon still sometimes displays «expired» briefly; this is an artifact of the new timer implementation.
163• Write documentation.
164• Alarm times can be off by up to one second in certain cases.
165• Extremely delayed alarm times can be huge (4....... years)
166
167Known bugs in this version (not to be fixed by 1.1):
168• Type-selection of alarms by their dates and times in the alarm list only works well when the items in the list are in approximate alphabetical order; this breaks with certain date and time formats.
169
170Additional features planned for later versions:
171• Better repeating alarms, such as a “real time” option so you can schedule an alarm to go off every hour, on the hour, for example.
172• Better handling of non-repeating expired alarms—offer the option to have the alarms go off when Pester is restarted?
173• Alarms (unscheduled ones, at least) as documents.
174• Notifications before an alarm goes off, as in xalarm.
175• Full localization of all text in the application, not just date and time formats.
176• User interface overhaul (Philippe, I am not forgetting :-)
177
178[Two rereleases of 1.0 had no changes in the Pester application itself; they fixed problems with double-clicking the Read Me, so the version number was not changed.]
179
1801.0 / 14 October 2002
181Added alarm list, saved alarms, Dock icon/menu, live alarm time, other features.
182
1831.0d1 / 9 October 2002
184First public release.
185
186Acknowledgments
187
188Pester uses Andy Matuschak’s Sparkle, for which the following conditions apply:
189
190Copyright (c) 2006 Andy Matuschak
191
192Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
193
194The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
195
196THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
197
198Pester uses Sullivan Beck’s Date::Manip module.
199
200Pester uses code from Dan Wood’s TableTester examples.
201
202Pester uses BDAlias, for which the following conditions apply:
203
204Copyright © 2001, bDistributed.com, Inc.
205All rights reserved.
206
207Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
208
209• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
210• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
211• Neither the name of bDistributed.com, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
212
213THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
214
215Pester includes software developed by The Omni Group. Unmodified versions of this software are available at http://www.omnigroup.com/developer/.
216
217
218Contents:
219
220.. toctree::
221 :maxdepth: 2
222
223Indices and tables
224==================
225
226* :ref:`genindex`
227* :ref:`modindex`
228* :ref:`search`
229
Note: See TracBrowser for help on using the repository browser.