1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
|
2005-01-05 josh <josh@users.sourceforge.net>
* src/CalcEphem.h: add full moon data element to ctrans struc
* src/CalcEphem.c (CalcEphem): approximate days to next full moon
2004-06-18 josh <josh@users.sourceforge.net>
* xmldocs.make: new gnome document generation
* src/CalcEphem.c (CalcEphem): estimate time to next new moon.
* src/moondata.c (format_time): format seconds of time
(update_moondata_dialog): display time to new moon instead of
%ilum, format time variable to display seconds.
* src/glunarclock.c (UPDATE_APPLET_INTERVAL): set to one second
for displaying clocktimes with seconds
2003-03-28 josh <josh@users.sourceforge.net>
* src/docs/C/glunarclock-applet-2-C.omf: add required relation element
2003-03-20 josh <josh@users.sourceforge.net>
* src/moondata.c (update_moondata): set sign properly on latitude
2003-03-17 josh <josh@users.sourceforge.net>
* src/glunarclock.glade: add padding to location page
* src/glunarclock.h: add rotation type to moon struct
* src/glunarclock.c (show_error): capsulize error dialog
(show_help): put error dialog in show_error
(image_changed_notify): set rotation type; check image file and
set n_frames accordingly
(moon_applet_fill): set rotation type; check image file and
set n_frames accordingly
(flip_image): rotate or mirror image based on rotation type
(moon_applet_instance_init): initialize rotation type
(load_moon_image): call to show_error; fix
creation of blank image when image file not found
2003-03-11 josh <josh@users.sourceforge.net>
* src/glunarclock.c (setup_moon_widget): add call to set_tooltip
to initialize
(update_moon): only destroy tooltip if visible changes
2003-03-10 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c: completely rewritten based on the fish applet
fish.c for the GNOME 2.2 Desktop
* src/moondata.c: rewritten based on the old moondata.c and
moondatadialog.c
2002-06-05 Joshua Edward Buhl <josh@users.sourceforge.net>
* src/glunarclock.c (load_image): optimize rowstrides in rgb's
(load_image): add code to rotate image by pi for southern hemisphere.
2002-06-03 Joshua Edward Buhl <josh@users.sourceforge.net>
* src/glunarclock.c (load_image): fix rowstride value in call to
gdk_pixbuf_new_from_data
2002-05-31 Joshua Edward Buhl <josh@users.sourceforge.net>
* src/glunarclock.c (main): change subst var PACKAGE_LOCALE_DIR to
GNOMELOCALEDIR as required by new autoconf macros.
2002-05-16 Joshua Edward Buhl <josh@users.sourceforge.net>
* src/glunarclock.c (load_image): add code to generate a hilit
moon image.
(compose_image): add boolean argument which determines whether the
normal or the hilit image is shown.
(mouse_enter_cb): add this callback.
(mouse_leave_cb): add this callback.
(moon_activator): connect the above callback to applet.
* src/glunarclock.h: add hilit_image_pb to moon structure.
2002-01-09 Joshua Edward Buhl <josh@users.sourceforge.net>
* src/moondata.c (update_moon_data_dialog): change units of
EarthMoonDistance to kilometers.
2001-06-26 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/moondatadialog.c (create_moon_data_dialog): remove call to
gnome_dialog_close_hides, which is done in glunarclock.c. remove
unneeded calls to gtk_object_set_data.
2001-06-09 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.h: removed MoonBackType enum
* src/glunarclock.c (applet_set_default_back): remove this
function (fixes bug with pixmap themes)
(applet_set_back_color): remove this function
(applet_set_back_pixmap): remove this function
(applet_back_change_cb): remove this function (this is all taken care
of by do_draw and compose_image.)
(moon_activator): remove MoonBackType stuff and fix size bug.
(compose_image): remove dependence on background type. Add
alternative for GNOME 1.0 (does anybody still use 1.0?).
2001-05-27 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c (load_image): display an error dialog and fill
an empty pixbuf with black for the case when the moon image file
cannot be loaded.
2001-05-23 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/MoonRise.c (UTTohhmm): remove this unused function.
* docs/C/glunarclock.sgml: remove comments regarding sign of coordinates.
* src/CalcEphem.c: remove two unused functions: LeapYear and Radec_to_Cart.
* src/CalcEphem.h: change type of Visible from int to boolean.
* src/CalcEphem.c (CalcEphem): set Visibile as boolean value.
* src/moondata.c (visible): simplify this function using new
boolean value of moon->data.Visible.
* src/moonproperties.c (properties_dialog): add radio buttons for
north/south and east/west selection.
(apply_cb): read out the new radio buttons' active status and set
sign on lat. and long. appropriately.
(load_properties): switch from abs to glib's ABS macro.
2001-04-28 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/CalcEphem.h: Add element LSD (local sidereal time) to CTrans.
* src/moondata.c (mod_time): Add this function to replace repeated code.
(update_moon_data):Replace repeated code with calls to
mod_time. Set new moon->data.LSD for local sidereal time with bug
fix for negative sidereal time (value must be mod_timed.)
Rearrange for better grouping.
(update_moon_data_dialog): change call to update local sidereal
time with moon->data.LSD.
2001-02-03 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/moondatadialog.c (create_moon_data_dialog): Change cancel
button to close button.
2001-01-28 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c (compose_image): scale the rgb background data
onto the composite pixmap to avoid size problems (sometimes the
returned data is one pixel too narrow.)
(update_applet_cb): add setup_size call
(apply_properties): move setup_size call to update_applet_cb where
it's called after image is loaded
(moon_activator): add this function for possible compilation as
shlib applet with goad stuff.
(moon_deactivator): ditto.
(main): move almost all functionality to moon_activator. add
calls to the macros APPLET_ACTIVATE and _DEACTIVATE which are
defined in applet-widget.h
* src/moondata.h: add prototype for visible function.
* src/moondata.c (visible): added this function, which accesses the
CTran structure, to hide data from glunarclock.c
2001-01-18 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.h: remove unneeded composite_pb and bg_pb pixbuf
elements from moon structure.
* src/glunarclock.c (update_applet): add this function to seperate
out the call to compose_image. This let's us call load_image after
setting the image number, and we can select the frame in
load_image. This saves about 1Mb memory for a 60 frame image file.
(load_image): select the frame in load_image, so that the whole
moon image file isn't kept in memory.
(applet_destroy): remove unneeded gdk_unref_pixbuf calls.
(applet_set_back_color): remove unneeded gdk_unref_pixbuf call.
(applet_set_default_back): remove unneeded gdk_unref_pixbuf call.
2001-01-14 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c (load_image): This function now only loads the
image. Drawing to the backing pixmap, etc., is done in
compose_image.
(compose_image): Added this function to compose moon image with
background color or bg pixmap. This function now draws to the
backing pixmap.
(do_draw_cb): added this function to support moving on pixmap
backgrounds.
(applet_back_change_cb): added this function to support different
panel background types.
(applet_set_back_pixmap): added this function to support
background pixmaps.
(applet_set_back_color): added this function to support background
color.
(applet_set_default_back): added this function for setting the
default background.
(expose_moon): moon->pixmap now no longer contains the entire moon
image file, so we can just copy the same area of the pixmap as
that which gets exposed.
* src/glunarclock.h: added MoonBackType enumeration. Add pixbuf
elements to moon structure for background and conversion to
GdkPixbuf. Add function prototype for now externally used
apply_properties.
* src/moondatadialog.h: put the MoonWidgets structure here, so the
now external update function can access it.
* src/moondata.c: created this file and put the update functions
from moondatadialog.c and glunarclock.c which directly
access CalcEphems CTrans structure in this file.
* src/moondata.h: created this file
* src/moonproperties.c: created this file and put prop stuff in it
* src/moonproperties.h: created this file
2001-01-07 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c: (draw_moon): removed this superfluous function
2000-12-12 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.h: removed GdkBitmap mask from moon structure as
part of conversion to GdkPixbuf.
(applet_destroy): remove call to destroy moon->mask.
(draw_moon): remove shape call for mask.
(load_image): convert from Imlib to GdkPixbuf.
(load_image_at_size): rename to load_image since size info is
contained in moon struc.
2000-11-28 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* doc/: added doc subdir with docbook documentation files
2000-11-27 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/moondatadialog.c: added descriptive comments for MoonWidget struc
2000-11-19 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/moondatadialog.c (calc_riseset_time): fix for no rise/set time
2000-11-19 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.h: added size_hint to moon struct for scaling
* src/glunarclock.c: made scalable for varying panel sizes
(load_image_at_size): made separate function for repeated procedure
(change_pixel_size_cb): added callback for scaling to panel size
2000-11-14 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* configure.in: updated version number
2000-11-12 Joshua Edward Buhl <jbuhl@users.sourceforge.net>
* src/glunarclock.c: bug fix for utc date
* src/glunarclock.c: formatting, added comments on eot
|