Commit c2747c6a authored by Ryan Kavanagh's avatar Ryan Kavanagh

Imported Upstream version 0.9.7

parents
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/jcommon-1.0.10.jar"/>
<classpathentry kind="lib" path="lib/jfreechart-1.0.6.jar"/>
<classpathentry kind="lib" path="lib/docs.jar"/>
<classpathentry kind="lib" path="lib/swingx-0.9.3.jar"/>
<classpathentry kind="lib" path="lib/usda_sr22.jar"/>
<classpathentry kind="lib" path="lib/crdb_004.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
usda_sr17.zip
bin
CRON-O-METER.exe
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CRONOMETER</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
This diff is collapsed.
#Sat Apr 14 17:21:22 IST 2007
eclipse.preferences.version=1
formatter_profile=_Spaz.ca
formatter_settings_version=11
org.eclipse.jdt.ui.exception.name=e
org.eclipse.jdt.ui.gettersetter.use.is=true
org.eclipse.jdt.ui.ignorelowercasenames=true
org.eclipse.jdt.ui.importorder=java;javax;org;com;
org.eclipse.jdt.ui.javadoc=false
org.eclipse.jdt.ui.keywordthis=false
org.eclipse.jdt.ui.ondemandthreshold=3
org.eclipse.jdt.ui.overrideannotation=true
org.eclipse.jdt.ui.staticondemandthreshold=3
bin
bin/*
\ No newline at end of file
CRON-o-Meter is an open source nutrition tracker. All files, unless otherwise specified, are distributed under the terms of the CPL version 1.0 (See LICENCE.txt).
Copyright (C) 2005-2010 Aaron Davidson <aaron@spaz.ca>
Copyright (C) 2005 Chris Rose / AIMedia <chris@offlineblog.com>
Copyright (C) 2005 Simon Werner <simon.werner@gmail.com>
Copyright (C) 2006-2007 Gerald Turnquist <geraldt@sasktel.net>
Copyright (C) 2005-2010 Michael Rae <mikalra@cadvision.com>
Copyright (C) 2005-2007 Antonio Zamora <zamora@scientificpsychic.com>
and are distributed under the terms of the Common Public License Version
1.0 (see the file LICENSE.txt).
The file lib/usda_sr22.jar is based on a data files downloaded from the
US Department of Agriculture's website. According to the USDA's FAQ
[http://www.ars.usda.gov/Main/docs.htm?docid=6233#copyright]:
USDA food composition data is in the public domain and there is no
copyright.
The files:
* BrowserLauncher.java
Copyright (C) 1999-2001 Eric Albert <ejalbert@cs.stanford.edu>
* RiverLayout.java
Copyright (C) 2005 David Ekholm <david@jalbum.net>
are distributed under the terms described in their headers.
This diff is collapsed.
<project name="CRONOMETER" default="cronometer.jar" basedir=".">
<description>
Builds the CRONOMETER App
</description>
<!-- set global properties for this build -->
<property name="name" value="CRON-O-METER"/>
<property name="source" location="src/"/>
<property name="build" location="bin"/>
<property name="lib" location="lib"/>
<taskdef name="launch4j"
classname="net.sf.launch4j.ant.Launch4jTask"
classpath="C:/Program Files/Launch4j/launch4j.jar
:C:/Program Files/Launch4j/lib/xstream.jar" />
<taskdef name="exe4j"
classname="com.exe4j.Exe4JTask"
classpath="C:\Program Files\exe4j\bin\ant.jar"/>
<!-- Compile the java code from ${src} into ${build} -->
<target name="compile" description="compile the source">
<javac source="1.4" srcdir="${source}" destdir="${build}">
<classpath>
<fileset dir="${build}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="docs.jar" description="create the documentation jar file" >
<jar jarfile="lib/docs.jar" compress="true">
<fileset dir="docs">
<include name="**"/>
</fileset>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
</manifest>
</jar>
</target>
<target name="cronometer.jar" depends="compile" description="generate the distribution jar" >
<jar jarfile="lib/cronometer.jar" compress="true">
<fileset dir="${build}">
<include name="*.*"/>
<include name="ca/**"/>
<include name="com/**"/>
<include name="se/**"/>
<include name="img/**"/>
<include name="docs/**"/>
</fileset>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="ca.spaz.cron.CRONOMETER"/>
</manifest>
</jar>
</target>
<target name="launcher" depends="cronometer.jar,docs.jar" description="generate the executable" >
<launch4j configFile="release/windows/launch4j.xml" />
<exe4j projectfile="release/windows/cronometer.exe4j"/>
</target>
<target name="signalljars" depends="cronometer.jar,docs.jar" description="generate the signed jar package" >
<input message="Enter certificate password for signing:" addproperty="cert_pwd" />
<signjar jar="${lib}/cronometer.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/swingx-0.9.3.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/jcommon-1.0.10.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/jfreechart-1.0.6.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/docs.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/crdb_004.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/usda_sr21.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
</target>
<target name="signsomejars" depends="cronometer.jar,docs.jar" description="generate the signed jar package" >
<input message="Enter certificate password for signing:" addproperty="cert_pwd" />
<signjar jar="${lib}/docs.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
<signjar jar="${lib}/cronometer.jar" keystore="release/jws" alias="spaz.ca" storepass="${cert_pwd}"/>
</target>
</project>
File added
docs/._add.png

229 Bytes

File added
File added
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="cron.css" type="text/css">
<title>About CRON-o-Meter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
</head>
<body>
<h2>Frequently Asked Questions</h2>
This section answers some frequently-asked questions.
<h4>One of the foods has an error in the nutrients, what should I do?</h4>
CRON-o-Meter has 3 databases:
<ul>
<li><b>My Foods</b> which is your personal food list with the nutrition information
that you have provided</li>
<li><b>CRDB</b> which contains some foods frequently used by CRONies with the nutrition data originally
provided by the contributors
</li>
<li><b>USDA</b> which is the nutrition database provided by
the <a href="http://www.nal.usda.gov/fnic/foodcomp/search/" target="_blank">USDA</a>.</li>
</ul>
We recently learned that unsalted almond butter (USDA 12195) had a Vitamin E amount zero,
whereas salted almond butter (USDA 12695) had the correct amount of Vitamin E.
Inconsistencies in the USDA database may eventually be corrected by the government, but by editing the data
yourself, you can use more accurate data immediately.
Any deficiencies in the databases can be corrected by editing the food, saving it in "My Foods",
and then using the edited food in your recipes or daily menus.
<!-- ===== -->
<h4>I recently got a new computer. How do I transfer my CRON-o-Meter data to the new computer?</h4>
For MS Windows, the default profile for CRON-o-Meter is located in a
folder called "cronometer" at:
<blockquote>
<tt>C:\Documents and Settings\Owner\Application Data\cronometer</tt>
</blockquote>
Where "Owner" is your logon ID name, e.g., "John Smith".
<p>
The "Application Data" folder is a system folder that will not be
visible unless you specify that hidden files and folders should be
displayed. You can do this from the "Tools" function in the menu bar
of a window.
<blockquote>
<pre>
Tools->Folder Options->View
Advanced settings:
Hidden files and folders:
o Show hidden files and folders
</pre>
</blockquote>
Just copy the "cronometer" folder from the old computer to the corresponding location in the new computer,
install CRON-o-Meter from the web on your new computer, and
you are set. The process is similar for other operating systems.
<!-------------------------------------------------------->
<br><br><hr>
<div id="plea">Help make this manual better for the next user. <br>
Contribute some material to the sourceforge project at <a href="http://sourceforge.net/projects/cronometer/">http://sourceforge.net/projects/cronometer/</a></div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="cron.css" type="text/css"/>
<title>About CRON-o-Meter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
</head>
<body>
<h1>About CRON-o-Meter</h1>
<h3>Contributors</h3>
<table width="100%">
<tr><td><a href="http://spaz.ca/">Aaron Davidson</a></td><td>aaron@spaz.ca</td><td>Programming (Lead)</td></tr>
<tr><td><a href="http://offlineblog.com/">Chris Rose</a></td><td>chris@offlineblog.com</td><td>Programming</td></tr>
<tr><td>Ryan Dortmans</td><td><a href="https://sourceforge.net/users/tvstatic">tvstatic</a></td><td>Programming</td></tr>
<tr><td>Gerald Turnquist</td><td>geraldt@sasktel.net</td><td>Programming</td></tr>
<tr><td>Simon Werner</td><td>simon.werner@gmail.com</td><td>Programming</td></tr>
<tr><td>Michael Rae</td><td>mikalra@cadvision.com</td><td>Consulting</td></tr>
<tr><td><a href="http://scientificpsychic.com/">Antonio Zamora</a></td><td>zamora@scientificpsychic.com</td><td>Technical Writing</td></tr>
</table>
<h3>Food Datasources</h3>
<a href="http://www.ars.usda.gov/Services/docs.htm?docid=8964">
USDA National Nutrient Database for Standard Reference - Release 22</a> (USDA sr22)
<h3>Open Source Libraries</h3>
<table width="100%">
<tr>
<th>Library</th>
<th>URL</th>
<th>Version</th>
<th>License</th>
</tr>
<tr>
<td>JFreeChart</td>
<td><a href="http://jfree.org/">http://jfree.org/</a></td>
<td>1.0.6</td>
<td><a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a></td>
</tr>
<tr>
<td>JCommon</td>
<td><a href="http://jfree.org/">http://jfree.org/</a></td>
<td>1.0.10</td>
<td><a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a></td>
</tr>
<tr>
<td>SwingX</td>
<td><a href="http://swinglabs.org/">http://swinglabs.org/</a></td>
<td>0.9.3</td>
<td><a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a></td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
docs/add.png

421 Bytes

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="cron.css" type="text/css"/>
<title>About CRON-o-Meter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
</head>
<body>
<h2>Biomarkers</h2>
<b>Entering Biomarkers</b><br>
Click on the "Biomarkers" tab for a specific date. Click on the check box of the specific
biomarker that you want to track (Weight, Body Temperature, Systolic, or Diastolic Blood Pressure).
Enter a numeric value. Note that there are no units associated with any of these biomarkers.
Therefore, you can enter your weight in pounds or kilograms, and your temperature in either Celsius or
Fahrenheit degrees. Clicking on the corresponding chart button for each biomarker will display
a graph of the variations over time.
<br><br>
<div align="center">
<img src="biomarkers.png" width="459" height="276" alt="Biomarkers"><br>
</div>
<!-------------------------------------------------------->
<br><br><hr>
<div id="plea">Help make this manual better for the next user. <br>
Contribute some material to the sourceforge project at <a href="http://sourceforge.net/projects/cronometer/">http://sourceforge.net/projects/cronometer/</a></div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="cron.css" type="text/css"/>
<title>About CRON-o-Meter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
</head>
<body>
<div align="center">
<img src="apple1.png" width="89" height="101" alt="Apple" align="right">
<h2>CRON-O-Meter</h2>
A free, open-source, cross-platform, diet-tracking application.
</div>
<!-------------------------------------------------------->
<br><br><hr>
<div id="plea">Help make this manual better for the next user. <br>
Contribute some material to the sourceforge project at <a href="http://sourceforge.net/projects/cronometer/">http://sourceforge.net/projects/cronometer/</a></div>
</body>
</html>
\ No newline at end of file
body
{
font-family: verdana, arial, serif;
color: #000000;
background: #ffffff;
font-size: 11pt;
margin-top: 10;
margin-bottom: 10px;
margin-left: 20px;
margin-right: 20px;
padding-left: 0;
padding-right: 0;
}
td {
font-family: verdana, arial, serif;
font-size: 11pt;
}
th {
text-align: left;
}
#li {
# text-align: justify
#}
h1 {
font-size: 18pt;
font-family: verdana, arial, serif;
color: #ffffff;
background: #555555;
padding: 5px;
border: #000 1px solid;
}
h2 {
font-size: 16pt;
font-family: verdana, arial, serif;
color: #ffffff;
background: #666666;
padding: 4px;
border: #000 1px solid;
}
h3 {
font-family: verdana, arial, serif;
color: #ffffff;
background: #777777;
padding: 4px;
border: #000 1px solid;
}
h4 {
font-family: verdana, arial, serif;
color: #ffffff;
background: #888888;
padding: 2px;
border: #000 1px solid;
}
.va-middle {
vertical-align:middle;
}
#plea {
background: #ccccee;
padding: 4px;
margin-left: 40px;
margin-right: 40px;
margin-top: 10px;
margin-bottom: 10px;
font-style: italics;
text-align: center;
}
#alert {
background: #ffcccc;
padding: 4px;
margin-left: 40px;
margin-right: 40px;
margin-top: 5px;