]> Pileus Git - aweather/log
aweather
10 years agodocs: fix a few typos master
Michael Auchter [Sat, 11 May 2013 00:47:03 +0000 (00:47 +0000)]
docs: fix a few typos

11 years agoVersion bump for 0.8.1
Andy Spencer [Mon, 11 Feb 2013 06:29:01 +0000 (06:29 +0000)]
Version bump for 0.8.1

11 years agoUse grits_object_destroy api and fix memory leaks
Andy Spencer [Mon, 11 Feb 2013 06:28:32 +0000 (06:28 +0000)]
Use grits_object_destroy api and fix memory leaks

11 years agoAdd units to isosurface slider
Andy Spencer [Mon, 11 Feb 2013 06:28:11 +0000 (06:28 +0000)]
Add units to isosurface slider

11 years agoAdd user guide to dist
Andy Spencer [Mon, 28 Jan 2013 06:57:00 +0000 (06:57 +0000)]
Add user guide to dist

11 years agoVersion 0.8 v0.8.x
Andy Spencer [Mon, 28 Jan 2013 01:46:27 +0000 (01:46 +0000)]
Version 0.8

11 years agoUpdate compat includes
Andy Spencer [Mon, 28 Jan 2013 02:58:20 +0000 (02:58 +0000)]
Update compat includes

11 years agoUpdate docs
Andy Spencer [Mon, 28 Jan 2013 01:44:27 +0000 (01:44 +0000)]
Update docs

11 years agoAdd canceling to alerts plugins
Andy Spencer [Wed, 23 Jan 2013 06:33:08 +0000 (06:33 +0000)]
Add canceling to alerts plugins

This helps speed up shutdown if it occurs while loading alert details.
It's not _really_ needed because of the new grits_http_abort function,
but it's still nice to prevent a bunch of extra fetch attempts.

This also fixes some warnings when a download fails.

11 years agoAdd clickable radar markers
Andy Spencer [Mon, 21 Jan 2013 06:29:51 +0000 (06:29 +0000)]
Add clickable radar markers

11 years agoFix return values in alert plugin
Andy Spencer [Mon, 21 Jan 2013 06:28:44 +0000 (06:28 +0000)]
Fix return values in alert plugin

11 years agoUpdate scalable icon
Andy Spencer [Sun, 6 May 2012 00:14:08 +0000 (00:14 +0000)]
Update scalable icon

Improve end caps, make it look better at larger sizes

11 years agoFix build with GTK 3
Andy Spencer [Mon, 21 Jan 2013 05:20:17 +0000 (05:20 +0000)]
Fix build with GTK 3

This mostly just comments out some deprecated functions. They're not
particularly necessary so, but it would be good to find replacements
eventually.

11 years agoConvert GtkBox and GtkScale to GTK 3 version
Andy Spencer [Mon, 21 Jan 2013 05:05:07 +0000 (05:05 +0000)]
Convert GtkBox and GtkScale to GTK 3 version

Also add a wrapper to keep the GTK 2 version compiling.

11 years agoGet rid of GtkNotebookPage references
Andy Spencer [Mon, 21 Jan 2013 05:01:56 +0000 (05:01 +0000)]
Get rid of GtkNotebookPage references

We convert these to gpointer and don't use them because the API is
different between GTK 2 and GTK 3.

11 years agoRename custom functions to prevent GTK 3 conflicts
Andy Spencer [Mon, 21 Jan 2013 04:59:19 +0000 (04:59 +0000)]
Rename custom functions to prevent GTK 3 conflicts

11 years agoSwitch to newer API for gps input sources
Andy Spencer [Mon, 21 Jan 2013 04:55:00 +0000 (04:55 +0000)]
Switch to newer API for gps input sources

11 years agoRemove gdk threads
Andy Spencer [Mon, 21 Jan 2013 04:53:44 +0000 (04:53 +0000)]
Remove gdk threads

11 years agoSwitch to GDK_KEY_*
Andy Spencer [Mon, 21 Jan 2013 04:49:09 +0000 (04:49 +0000)]
Switch to GDK_KEY_*

11 years agoUpdate mac integration
Andy Spencer [Sun, 30 Dec 2012 06:51:52 +0000 (06:51 +0000)]
Update mac integration

11 years agoVarious threading fixes
Andy Spencer [Thu, 27 Dec 2012 09:32:37 +0000 (09:32 +0000)]
Various threading fixes

- Use new grits_viewer_queue_draw functions
- Update conus tiles to use new tile API
- Improve some reference counting

11 years agoAdd transient for hint to prefs window
Andy Spencer [Mon, 24 Dec 2012 08:09:09 +0000 (08:09 +0000)]
Add transient for hint to prefs window

11 years agoResave UI files with glade 3.8.2
Andy Spencer [Mon, 24 Dec 2012 08:05:21 +0000 (08:05 +0000)]
Resave UI files with glade 3.8.2

I don't know why glade insists on change things for no reasons..

11 years agoFix gpsd configure script
Andy Spencer [Thu, 20 Dec 2012 09:17:50 +0000 (09:17 +0000)]
Fix gpsd configure script

11 years agoChange website to pileus.org
Andy Spencer [Sat, 15 Dec 2012 09:28:03 +0000 (09:28 +0000)]
Change website to pileus.org

11 years agoFix Level 2 Markers
Andy Spencer [Sat, 15 Dec 2012 08:49:26 +0000 (08:49 +0000)]
Fix Level 2 Markers

11 years agoFix missing arguments
Andy Spencer [Thu, 13 Dec 2012 17:07:05 +0000 (17:07 +0000)]
Fix missing arguments

(How did this even run before?)

11 years agoRemove deprecated thread functions
Andy Spencer [Thu, 13 Dec 2012 05:47:51 +0000 (05:47 +0000)]
Remove deprecated thread functions

11 years agoAdd radar status link button
Andy Spencer [Sun, 15 Jul 2012 01:05:10 +0000 (01:05 +0000)]
Add radar status link button

This is shown when download and/or loading fails.

12 years agoRevert "Fix off-by-one on date"
Andy Spencer [Sat, 18 Feb 2012 03:09:43 +0000 (03:09 +0000)]
Revert "Fix off-by-one on date"

This issue is related to whether or not the users timezone accounts for
leap seconds in Unix timestamps.

For instance, 1325376000 in TZ=UTC is 2011-01-01 00:00:00, but in
TZ=right/UTC it is 2011-12-31 23:59:36.

RSL generates the dates by using gmtime at time 00:00:00 on a particular
date since the epoch. If the timezone includes leap seconds, this will
return the previous day rather than the desired day, which is why the
original +1 was added to AWeather.

However, nobody uses timezones that include leap seconds (i.e. the
right/ folder) so it's better to leave it how it is.

12 years agoUpdate conus textures
Andy Spencer [Thu, 16 Feb 2012 23:09:02 +0000 (23:09 +0000)]
Update conus textures

Use GL_CLAMP_TO_EDGE and GL_LINEAR since clamp to edge works now.

12 years agoUpdate default config file
Andy Spencer [Thu, 16 Feb 2012 07:17:17 +0000 (07:17 +0000)]
Update default config file

- Explicitly disable the gps plugin
- Disable the map plugin so that both it and the sat plugin aren't
  loaded at the same time

12 years agoVersion bump for 0.7 v0.7.x v0.7
Andy Spencer [Wed, 15 Feb 2012 05:48:56 +0000 (05:48 +0000)]
Version bump for 0.7

12 years agoSave previous heading in case of nan
Andy Spencer [Wed, 15 Feb 2012 05:34:52 +0000 (05:34 +0000)]
Save previous heading in case of nan

For some reason my GPS is giving me NaN's instead of headings..

12 years agoChange some messages to debug messages
Andy Spencer [Tue, 14 Feb 2012 18:16:56 +0000 (18:16 +0000)]
Change some messages to debug messages

12 years agoImprove shutdown code
Andy Spencer [Sat, 11 Feb 2012 21:00:00 +0000 (21:00 +0000)]
Improve shutdown code

- Make dispose functions reentrant
- Remove idle function from GPS plugin
- Remove GPSd input from GPS plugin

12 years agoRemove idle callback for loading markers
Andy Spencer [Sat, 11 Feb 2012 17:34:00 +0000 (17:34 +0000)]
Remove idle callback for loading markers

The normal marker constructor is now thread safe and will do the actual
loading during the first draw function, which will be called from the
main thread.

12 years agoUpdate GPS plugin reference handling
Andy Spencer [Sat, 11 Feb 2012 07:56:05 +0000 (07:56 +0000)]
Update GPS plugin reference handling

Reference he viewer and prefs at creation and then unref them when it
exits. This fixes avoid a double-unref.

Also make the dispose function reentrant by setting the viewer field to
NULL before unreferencing the viewer. (Dispose may be called recursively
by glib when unreferencing other stuff)

12 years agoUpdate levels of detail or new viewer perspectives
Andy Spencer [Fri, 10 Feb 2012 18:28:54 +0000 (18:28 +0000)]
Update levels of detail or new viewer perspectives

Again..

12 years agoUpdate GPS config formatting
Andy Spencer [Thu, 9 Feb 2012 06:54:49 +0000 (06:54 +0000)]
Update GPS config formatting

12 years agoAdd GPS tracking plugin
Adam Boggs [Thu, 9 Feb 2012 07:00:39 +0000 (07:00 +0000)]
Add GPS tracking plugin

The plugin can be build by passing the --enable-gps flag to the
configure script. The defaults is disabled for now.

The GPS Plugin:
  - Displays the GPS status and location in the config area
  - Draws the current location in the viewer using a marker
  - Optionally displays a tracks of previous locations
  - Optionally follows the current location
  - Optionally logs the location to a text file

The GPS plugin uses version 5 of the GPSd protocol, so it is only
supported under Linux at this time.

12 years agoUpdate levels of detail or new viewer perspectives
Andy Spencer [Wed, 8 Feb 2012 08:13:55 +0000 (08:13 +0000)]
Update levels of detail or new viewer perspectives

12 years agoUpdate objects for new Grits expose settings
Andy Spencer [Mon, 6 Feb 2012 05:50:00 +0000 (05:50 +0000)]
Update objects for new Grits expose settings

All objects are drawn with sorting (depth testing) disabled except for
the Level-II sweeps and volume scans. The order things appear is
determined based on the level they are drawn in since depth testing
works across levels now.

The order is as follows, from lowest to highest:

  WORLD+1 - Counties outlines     - no depth test
  WORLD+1 - County-based warnings - no depth test
  WORLD+2 - Conus radar overlays  - no depth test
  WORLD+3 - Level-II radar sweeps - depth test enabled
  WORLD+4 - Storm-based warnings  - no depth test
  WORLD+5 - Level-II Volume scans - depth test enabled
  OVERLAY - Level-II site markers - no depth test
  HUD     - Level-II color table  - no depth test

The advantage to this order is that:
  - County-based warnings do not effect the radar colors
  - Level-II sweeps do not hide storm-based warnings
  - Storm based warnings don't show through volume scans

12 years agoSave and restore window size
Andy Spencer [Sat, 4 Feb 2012 07:55:09 +0000 (07:55 +0000)]
Save and restore window size

12 years agoAdd some transparency to conus images
Andy Spencer [Sat, 4 Feb 2012 05:39:21 +0000 (05:39 +0000)]
Add some transparency to conus images

12 years agoAdd county/storm based alert toggle buttons
Andy Spencer [Fri, 3 Feb 2012 23:37:30 +0000 (23:37 +0000)]
Add county/storm based alert toggle buttons

12 years agoUpdate alert tab packing
Andy Spencer [Fri, 3 Feb 2012 23:34:15 +0000 (23:34 +0000)]
Update alert tab packing

Set then number of rows to three instead of having a fix number of
columns. Hopefully this will be more space efficient.

However, it could cause the window to be very wide at times.

12 years agoVersion bump for 0.6.3
Andy Spencer [Tue, 10 Jan 2012 08:18:58 +0000 (08:18 +0000)]
Version bump for 0.6.3

12 years agoUpdate user guide
Andy Spencer [Tue, 10 Jan 2012 08:17:35 +0000 (08:17 +0000)]
Update user guide

- Add description of alerts
- Update menu descriptions
- Misc changes

12 years agoSet URL hook for about about dialog
Andy Spencer [Tue, 10 Jan 2012 06:51:26 +0000 (06:51 +0000)]
Set URL hook for about about dialog

Links in text areas still don't work. I have no idea why GTK thinks it
needs so many different ways to open a URL.

12 years agoPrevent multiple sites from loading simultaneously
Andy Spencer [Tue, 10 Jan 2012 06:28:45 +0000 (06:28 +0000)]
Prevent multiple sites from loading simultaneously

12 years agoIntegrate User Guide into UI
Andy Spencer [Mon, 9 Jan 2012 06:08:45 +0000 (06:08 +0000)]
Integrate User Guide into UI

12 years agoAdd a more descriptive user guide
Jason Holmes [Mon, 9 Jan 2012 05:25:51 +0000 (05:25 +0000)]
Add a more descriptive user guide

Big thanks to Jason Holmes for working on this.

(Reformatted to asciidoc format by Andy Spencer)

12 years agoSet timezone to UTC
Andy Spencer [Sat, 7 Jan 2012 23:14:09 +0000 (23:14 +0000)]
Set timezone to UTC

Almost all meteorological data is in in Coordinated Universal Time.
For example, timestamps in files/filenames, etc.

This fixes a timezone bug downloading Level-II radar files.

12 years agoIgnore local gen.sh
Andy Spencer [Tue, 3 Jan 2012 00:32:28 +0000 (00:32 +0000)]
Ignore local gen.sh

12 years agoInitialize NEXRAD site setup data
Andy Spencer [Mon, 2 Jan 2012 00:56:37 +0000 (00:56 +0000)]
Initialize NEXRAD site setup data

This fixes a `sites may be uninitialized' compiler warning.

Sites would always be initialize anyway because of the order things are
listed in aweather-locations.c

12 years agoMove build scripts to separate repository
Andy Spencer [Sun, 1 Jan 2012 20:59:41 +0000 (12:59 -0800)]
Move build scripts to separate repository

12 years agoAdd guards around initial date/time
Andy Spencer [Mon, 2 Jan 2012 00:13:49 +0000 (00:13 +0000)]
Add guards around initial date/time

On Mac OS, the null string for a time is no parsed as 0 but some random
ugly number. This always reset the time to sometime far in the future.

12 years agoClear Conus radar overlay textures
Andy Spencer [Mon, 2 Jan 2012 00:10:53 +0000 (00:10 +0000)]
Clear Conus radar overlay textures

On Mac OS, the texture are not zeroed by default which causes artifacts
along the edges of the radar overlays.

AWeather relies on the edges of the texture to be zero and uses GL_CLAMP
to merge multiple overlapping textures together.

12 years agoFix toolbar hiding bug
Andy Spencer [Mon, 2 Jan 2012 00:09:08 +0000 (00:09 +0000)]
Fix toolbar hiding bug

On Mac OS, the toolbar is hidden by default because the menus are part
of the OS menu bar. However they were incorrectly re-shown after
toggling fullscreen.

12 years agoAdd gtk mac integration
Andy Spencer [Mon, 2 Jan 2012 00:07:41 +0000 (00:07 +0000)]
Add gtk mac integration

- Move the menu bar to the top of the screen

12 years agoImprove support for relative search paths
Andy Spencer [Mon, 2 Jan 2012 00:02:44 +0000 (00:02 +0000)]
Improve support for relative search paths

12 years agoOSX port
Andy Spencer [Sun, 4 Dec 2011 10:54:10 +0000 (02:54 -0800)]
OSX port

12 years agoFix typo in man page
Andy Spencer [Wed, 28 Dec 2011 08:17:47 +0000 (08:17 +0000)]
Fix typo in man page

12 years agoFix threading bug in Alert plugin
Andy Spencer [Sun, 18 Dec 2011 06:25:35 +0000 (06:25 +0000)]
Fix threading bug in Alert plugin

12 years agoVersion bump for 0.6.1 v0.6.1
Andy Spencer [Fri, 25 Nov 2011 06:56:42 +0000 (06:56 +0000)]
Version bump for 0.6.1

12 years agoFix 64-bit warnings
Andy Spencer [Thu, 24 Nov 2011 10:40:04 +0000 (10:40 +0000)]
Fix 64-bit warnings

12 years agoRemove unused RSL reference from alert-info.h
Andy Spencer [Thu, 24 Nov 2011 10:39:44 +0000 (10:39 +0000)]
Remove unused RSL reference from alert-info.h

12 years agoFix crash when setting the date
Andy Spencer [Thu, 10 Nov 2011 07:17:49 +0000 (07:17 +0000)]
Fix crash when setting the date

If the date was set before the time was set, the call to get the current
time from the tree-view would return a null path and cause a segfault.

12 years agoAdd radar menu to quickly focus on a site
Andy Spencer [Thu, 10 Nov 2011 06:51:39 +0000 (06:51 +0000)]
Add radar menu to quickly focus on a site

12 years agoVersion bump for 0.6 v0.6.x v0.6
Andy Spencer [Mon, 31 Oct 2011 07:23:13 +0000 (07:23 +0000)]
Version bump for 0.6

12 years agoAdd defaults for details messages
Andy Spencer [Thu, 3 Nov 2011 08:36:11 +0000 (08:36 +0000)]
Add defaults for details messages

12 years agoUse external link button handler
Andy Spencer [Thu, 3 Nov 2011 08:31:28 +0000 (08:31 +0000)]
Use external link button handler

This fixes bugs on win32

12 years agoUpdate NSIS installer
Andy Spencer [Thu, 3 Nov 2011 07:38:02 +0000 (07:38 +0000)]
Update NSIS installer

- Improve compression ratio
- Cleanup variable names

12 years agoAdd more icons to dist
Andy Spencer [Wed, 2 Nov 2011 08:25:35 +0000 (08:25 +0000)]
Add more icons to dist

12 years agoFix off-by-one on date
Andy Spencer [Wed, 2 Nov 2011 07:10:47 +0000 (07:10 +0000)]
Fix off-by-one on date

(this is actually a bug in RLS)

12 years agoFix win32 build after removing gnulib
Andy Spencer [Wed, 2 Nov 2011 06:44:53 +0000 (06:44 +0000)]
Fix win32 build after removing gnulib

12 years agoRemove gnulib, it's a huge pain
Andy Spencer [Wed, 2 Nov 2011 06:11:21 +0000 (06:11 +0000)]
Remove gnulib, it's a huge pain

12 years agoAdd dolt to speed up build
Andy Spencer [Wed, 2 Nov 2011 06:25:44 +0000 (06:25 +0000)]
Add dolt to speed up build

12 years agoRemove out-dated build scripts
Andy Spencer [Wed, 2 Nov 2011 06:21:21 +0000 (06:21 +0000)]
Remove out-dated build scripts

12 years agoBuild data first
Andy Spencer [Wed, 2 Nov 2011 05:40:35 +0000 (05:40 +0000)]
Build data first

Some generated data files are used by the build, for example the .ico
used by windres on the win32 build

12 years agoUpdate copyright notices
Andy Spencer [Mon, 31 Oct 2011 07:21:21 +0000 (07:21 +0000)]
Update copyright notices

12 years agoAdd warning/watch/alert plugin
Andy Spencer [Mon, 31 Oct 2011 06:59:22 +0000 (06:59 +0000)]
Add warning/watch/alert plugin

Alert information is shown similar to what is shown on the main
weather.gov page. Alerts are retrieved in real time using the NWS CAP
feed [1] which includes most, but not all, of the information from
weather.gov. More details about the CAP feed can be found on the NWS CAP
Wiki [2].

Both county based warnings and polygon based warnings are support. In
addition, when zoomed in close enough county outlines will be drawn for
each state.

Additional information can be retrieved about a particular alert by
clicking on the highlighted area in the viewer.

Alerts can be hidden by toggling the alert type in the alert plugin's
configuration tab.

If you are developing from Git, you will need to download a FIPS county
polygons file [2]. This should be done automatically on the first build.
If it is not successful, the polygons are also included in the >= 0.6
tarballs.

There are currently several drawbacks to this plugin:

  - NWS warning zones are not use, only FIPS counties are used.

  - The county polygons have been simplified for performance reasons.

  - The NWS CAP feed does not include all the text products showed on
    the main weather.gov page. For example, hazardous weather outlooks
    are not included. This may be improved slightly by the NWS in future
    revision of the CAP feed.

  - Historic data is not available but previously downloaded alerts are
    cached and can be viewed.

[1] http://alerts.weather.gov/cap/us.php?x=0
[2] http://wiki.citizen.apps.gov/nws_developers/
[3] http://lug.rose-hulman.edu/proj/aweather/files/fips/

12 years agoFix memory leaks
Andy Spencer [Thu, 27 Oct 2011 07:22:23 +0000 (07:22 +0000)]
Fix memory leaks

12 years agoPass objects to grits_viewer_remove instead of refs
Andy Spencer [Thu, 27 Oct 2011 05:11:47 +0000 (05:11 +0000)]
Pass objects to grits_viewer_remove instead of refs

(finally)

12 years agoLeave nop sites out of the preference dialog
Andy Spencer [Sun, 25 Sep 2011 19:47:11 +0000 (19:47 +0000)]
Leave nop sites out of the preference dialog

12 years agoUpdate San Juan site
Andy Spencer [Sun, 25 Sep 2011 19:39:29 +0000 (19:39 +0000)]
Update San Juan site

12 years agoFix icons on win32
Andy Spencer [Mon, 12 Sep 2011 07:03:29 +0000 (07:03 +0000)]
Fix icons on win32

- Logo in help page remains broken because we haven't bundled svg
  libraries

12 years agoAdd icons to dist v0.5.2
Andy Spencer [Mon, 12 Sep 2011 01:46:30 +0000 (01:46 +0000)]
Add icons to dist

12 years agoDon't update icon cache if installing to DESTDIR
Andy Spencer [Mon, 12 Sep 2011 01:33:18 +0000 (01:33 +0000)]
Don't update icon cache if installing to DESTDIR

12 years agoVersion bump for 0.5.2
Andy Spencer [Mon, 12 Sep 2011 00:30:40 +0000 (00:30 +0000)]
Version bump for 0.5.2

12 years agoCheck for error conditions
Andy Spencer [Sat, 10 Sep 2011 19:11:20 +0000 (19:11 +0000)]
Check for error conditions

12 years agoGive NWS more time to update their servers
Andy Spencer [Sat, 10 Sep 2011 18:44:35 +0000 (18:44 +0000)]
Give NWS more time to update their servers

For onthe8 image fetching:
  12:48 -> 12:38
  12:49 -> 12:48

12 years agoChange size request to default size
Andy Spencer [Fri, 9 Sep 2011 06:33:52 +0000 (06:33 +0000)]
Change size request to default size

Default size can be overridden by the user, e.g. on netbooks

12 years agoRemove no-undefined-symbols from gen.sh
Andy Spencer [Fri, 9 Sep 2011 06:22:30 +0000 (06:22 +0000)]
Remove no-undefined-symbols from gen.sh

This should be done properly in the Makefiles now.

12 years agoUpdate command line arguments
Andy Spencer [Wed, 7 Sep 2011 06:10:04 +0000 (06:10 +0000)]
Update command line arguments

Fix bug in debug argument where the debug levels of 0 are ignored
because they were assumed to be unset.

Implement autoupdate command line flag.

Add fullscreen command line flag.

Change log levels from 1-7 to 0-5 for clarity.

Misc code cleanups to main.c

12 years agoAdd new application icons
Andy Spencer [Tue, 6 Sep 2011 05:07:35 +0000 (05:07 +0000)]
Add new application icons

The new icon is works better with different background colors, it also
avoids using flat background colors or borders.

The small icons (less than 32) pixels do not includes the sun in the
background because it is difficult to see at such small sizes and just
add clutter.

The old icon is kept as logo.svg and is used in the about dialog. It may
be converted to use the new icon eventually as well.

12 years agoUpdate GtkBuilder UI
Andy Spencer [Tue, 6 Sep 2011 04:57:19 +0000 (04:57 +0000)]
Update GtkBuilder UI

- Update copyright, description, and url

12 years agoAdd outline to logo
Andy Spencer [Mon, 5 Sep 2011 20:47:34 +0000 (20:47 +0000)]
Add outline to logo

12 years agoFix bug with plugins in preferences dialog
Andy Spencer [Mon, 29 Aug 2011 00:31:54 +0000 (00:31 +0000)]
Fix bug with plugins in preferences dialog

Moving plugins loading caused the tree view model to get set to an
uninitialized value (actually initialized to NULL).