| 1 |
Libhdate, hcal, hdate |
| 2 |
===================== |
| 3 |
|
| 4 |
CONTENTS |
| 5 |
======== |
| 6 |
1] Description |
| 7 |
2] Brief highlights of this update |
| 8 |
|
| 9 |
|
| 10 |
1] Description |
| 11 |
============== |
| 12 |
LibHdate is a small library for the Hebrew calendar, dates, holidays, |
| 13 |
and reading sequence. It is written in C and includes bindings for |
| 14 |
pascal, perl, python, php, ruby. |
| 15 |
|
| 16 |
hcal and hdate are small example command line programs written in C. |
| 17 |
|
| 18 |
Refer to the following files: |
| 19 |
INSTALL instructions how to install this package |
| 20 |
USE basic example of how to use one of the library functions |
| 21 |
in a C program, how to compile it, and how to run it. |
| 22 |
NEWS press-release style information of the current release |
| 23 |
Changelog more detailed list of project activity over many releases |
| 24 |
|
| 25 |
Refer to the man pages and examples directory for further documentation |
| 26 |
and examples. |
| 27 |
|
| 28 |
|
| 29 |
2] Brief highlights of this update |
| 30 |
================================== |
| 31 |
This release brings many new options, features, and bug fixes to the two example |
| 32 |
programs hcal and hdate. The changes to the underlying function library include |
| 33 |
a few minor bug fixes, deprecation of a series of string functions in favor |
| 34 |
of a single new one with better memory allocation, and hard-coding of core |
| 35 |
elements of the Hebrew localization so that Hebrew can be displayed in all |
| 36 |
locales. The documentation in the man pages and in the new configuration |
| 37 |
file should be sufficient. |
| 38 |
|
| 39 |
2.1] selected highlights |
| 40 |
======================== |
| 41 |
|
| 42 |
hcal |
| 43 |
- introduced config file $XDG_CONFIG_HOME/hcal/hcalrc or ~/.config/hcal/hcalrc |
| 44 |
- option --menu -m to prompt user for user-defined menu selections from config file |
| 45 |
- option --candles and --havdalah take optional numeric arguments to modify the default minhag. |
| 46 |
- remove dependency of Hebrew on locale environment variables |
| 47 |
- new feature: sunset-aware to highlight correct hebrew date |
| 48 |
- new options: shabbat times and readings |
| 49 |
- new feature: location-awareness (options -l -L -z) |
| 50 |
- basic location-guessing based upon time zone |
| 51 |
- coordinates may now also be in form degrees, minutes, seconds and be delimited by :, ', or " |
| 52 |
- coordinates may now include compass directions N, S, E, W. |
| 53 |
- time zone may now include fractional hours, or minutes (delimited by :, ', or ") |
| 54 |
- highlight current day in reverse video |
| 55 |
- compress width of display on screen |
| 56 |
- print Gregorian and Hebrew months on one line |
| 57 |
- option three-month to display previous and next months with current |
| 58 |
- option three-month with year displays four rows, three columns |
| 59 |
- option colorize to display data in, um, color |
| 60 |
- option footnote to explain the month's holidays |
| 61 |
- option force-hebrew for non-hebrew locales |
| 62 |
- basic diaspora-awareness based on system time-zone |
| 63 |
|
| 64 |
hdate |
| 65 |
- introduced config file $XDG_CONFIG_HOME/hdate/hdaterc or ~/.config/hdate/hdaterc |
| 66 |
- option --menu -m to prompt user for user-defined menu selections from config file |
| 67 |
- option --candles and --havdalah take optional numeric arguments to modify the default minhag. |
| 68 |
- remove dependency of Hebrew on locale environment variables |
| 69 |
- new feature: sunset-aware to highlight correct hebrew date |
| 70 |
- coordinates may now also be in form degrees, minutes, seconds and be delimited by :, ', or " |
| 71 |
- coordinates may now include compass directions N, S, E, W. |
| 72 |
- time zone may now include fractional hours, or minutes (delimited by :, ', or ") |
| 73 |
- Hebrew information can optionally display in Hebrew characters in all locales |
| 74 |
- option --sunset-aware, prints tomorrow's Hebrew date and info (for today only) if after sunset |
| 75 |
- option --table, prints data in csv format, suitable for spreadsheets, awk, etc. |
| 76 |
|
| 77 |
|
| 78 |
libhdate |
| 79 |
- new function hdate_string |
| 80 |
- DEPRECATION: hdate_get_day_string is now only a wrapper for hdate_string |
| 81 |
- DEPRECATION: hdate_get_hebrew_month_string is now only a wrapper for hdate_string |
| 82 |
- DEPRECATION: hdate_get_holyday_string is now only a wrapper for hdate_string |
| 83 |
- DEPRECATION: hdate_get_month_string is now only a wrapper for hdate_string |
| 84 |
- DEPRECATION: hdate_get_parasha_string is now only a wrapper for hdate_string |
| 85 |
- DEPRECATION: hdate_get_omer_string is now only a wrapper for hdate_string |
| 86 |
- DEPRECATION: hdate_get_int_string_ is now only a wrapper for hdate_string |
| 87 |
- BUGFIX hdate_get_format_date, hdate-get_day_string, hdate_get_int_string no longer |
| 88 |
write to static local buffers. Callers to those functions must free(). |
| 89 |
- BUGFIX made all functions const-correct and fixed resulting conflicts |
| 90 |
|