diff --git a/sources/AUTHORS b/sources/AUTHORS deleted file mode 100644 index db3ae5c..0000000 --- a/sources/AUTHORS +++ /dev/null @@ -1,20 +0,0 @@ -Authors of Jalali calendar library: -=========================== - -Ashkan Ghassemi - -Special thanks to: -================== - -Navid Abdi -AmirMohammad Saied -Armen Baghumian -Mola Pahnadayan -Milad Raastian -Behnam Behjatmarandi -Emil Sedgh -Abbas Esmaeeli -Saeid Taghavi -Ali Rastegar -Nima Mohammadi -and all others for testing and reporting bugs. diff --git a/sources/ChangeLog b/sources/ChangeLog deleted file mode 100644 index 083904b..0000000 --- a/sources/ChangeLog +++ /dev/null @@ -1,296 +0,0 @@ -2014-06-05 Amir Ghassemi Nasr - - * docs/jalali.html, sources/man/jctime.3, sources/pyjalali/datetime.py, - sources/pyjalali/jalali.py: pyjalali and documentation update for - jalali_update and jmktime integration - -2014-04-25 Amir Ghassemi Nasr - - * sources/Makefile.am, sources/README, sources/configure.ac, - sources/configure.in, sources/pyjalali/__init__.py: call setup.py from - makefile. resolves #7 - -2014-04-12 Amir Ghassemi Nasr - - * sources/libjalali/jalali.c, sources/libjalali/jalali.h, - sources/pyjalali/datetime.py, sources/pyjalali/helpers.py, - sources/pyjalali/jalali.py: forward pyjalali date normalization to underlying - C implementation - -2014-04-11 Amir Ghassemi Nasr - - * sources/libjalali/jalali.c, test_kit/jalali_update.c: normalize date in - jalali_update - -2014-02-18 Amir Ghassemi Nasr - - * sources/libjalali/jtime.c, sources/pyjalali/jalali.py: reentrant library - functions don't touch internal variables anymore - -2014-02-24 Amir Ghassemi Nasr - - * .gitignore, docs/pyjalali/.buildinfo, docs/pyjalali/.doctrees/api.doctree, - docs/pyjalali/.doctrees/environment.pickle, - docs/pyjalali/.doctrees/index.doctree, docs/pyjalali/.doctrees/intro.doctree, - docs/pyjalali/.doctrees/modules.doctree, - docs/pyjalali/.doctrees/pyjalali.doctree, docs/pyjalali/_sources/index.txt, - docs/pyjalali/_sources/intro.txt, docs/pyjalali/_sources/pyjalali.txt, - docs/pyjalali/_static/ajax-loader.gif, docs/pyjalali/_static/basic.css, - docs/pyjalali/_static/comment-bright.png, - docs/pyjalali/_static/comment-close.png, docs/pyjalali/_static/comment.png, - docs/pyjalali/_static/default.css, docs/pyjalali/_static/doctools.js, - docs/pyjalali/_static/down-pressed.png, docs/pyjalali/_static/down.png, - docs/pyjalali/_static/file.png, docs/pyjalali/_static/jquery.js, - docs/pyjalali/_static/minus.png, docs/pyjalali/_static/plus.png, - docs/pyjalali/_static/pygments.css, docs/pyjalali/_static/searchtools.js, - docs/pyjalali/_static/sidebar.js, docs/pyjalali/_static/underscore.js, - docs/pyjalali/_static/up-pressed.png, docs/pyjalali/_static/up.png, - docs/pyjalali/_static/websupport.js, docs/pyjalali/genindex.html, - docs/pyjalali/index.html, docs/pyjalali/intro.html, - docs/pyjalali/objects.inv, docs/pyjalali/py-modindex.html, - docs/pyjalali/pyjalali.html, docs/pyjalali/search.html, - docs/pyjalali/searchindex.js, sources/pyjalali/__init__.py, - sources/pyjalali/datetime.py, sources/pyjalali/docs/Makefile, - sources/pyjalali/docs/conf.py, sources/pyjalali/docs/index.rst, - sources/pyjalali/docs/intro.rst, sources/pyjalali/docs/pyjalali.rst, - sources/pyjalali/helpers.py, sources/pyjalali/jalali.py, - sources/pyjalali/jstr.py, sources/pyjalali/jtime.py, - sources/pyjalali/types.py: some documentations for pyjalali added - -2014-02-04 Ashkan Ghassemi - - * sources/libjalali/jalali.c, sources/src/jdate.c: fixes #8: incorrect - string/format parsing when using -d on jdate due to undefined behaviour of - strncpy() across different platforms. using sscanf() instead. - -2013-12-01 Amir Ghassemi Nasr - - * sources/pyjalali/__init__.py, sources/pyjalali/datetime.py: date convertion - added to datetime convertion functions - -2013-11-27 Amir Ghassemi Nasr - - * sources/pyjalali/__init__.py, sources/pyjalali/datetime.py, - sources/setup.py: datetime.strftime workaround - -2013-11-25 Amir Ghassemi Nasr - - * sources/libjalali/jtime.c, sources/pyjalali/__init__.py, - sources/pyjalali/datetime.py, sources/pyjalali/helpers.py: cleanup; revert - jmktime changes due to jalali_update problems - - * sources/pyjalali/__init__.py, sources/setup.py: added installer - - * sources/pyjalali/__init__.py, sources/pyjalali/datetime.py, - sources/pyjalali/helpers.py, sources/pyjalali/jalali.py: datetime.date - implemented - -2013-11-24 Amir Ghassemi Nasr - - * sources/pyjalali/datetime.py, sources/pyjalali/helpers.py, - sources/pyjalali/jalali.py: datetime.datetime implemented. - - * sources/pyjalali/__init__.py, sources/pyjalali/jalali.py, - sources/pyjalali/jtime.py: jalali seperated from jtime - -2013-11-21 Amir Ghassemi Nasr - - * sources/pyjalali/jstr.py, sources/pyjalali/jtime.py: make str functions - std, jalali_get_date bugfix - -2013-11-19 Amir Ghassemi Nasr - - * sources/pyjalali/jstr.py, sources/pyjalali/types.py: chages for datetime - - * sources/libjalali/jtime.c, sources/libjalali/jtime.h: added normalization - to jmktime - -2013-11-17 Amir Ghassemi Nasr - - * .gitignore, sources/pyjalali/__init__.py, sources/pyjalali/jstr.py, - sources/pyjalali/jtime.py, sources/pyjalali/types.py: python bindings added - -2013-11-16 Ashkan Ghassemi - - * .gitignore, sources/libjalali/Makefile.am, sources/libjalali/jalali.c, - sources/libjalali/jtime.c, sources/src/jcal.c, sources/src/jcal.h, - sources/src/jdate.c: fixes an issue which caused an extra space to be printed - after day number indicator when highlighted current day was friday. closes #1 - -2013-11-16 Ashkan Ghassemi - - * sources/src/jcal.c, sources/src/jcal.h, sources/src/jdate.c, - sources/src/termcap.h: code sanitization. NOT COMPLETE. - -2013-06-01 Ashkan Ghassemi - - * sources/ChangeLog, sources/gitlog2changelog.py: ChangeLog updated. - - * sources/ChangeLog, sources/libjalali/jalali.c, sources/libjalali/jalali.h, - sources/libjalali/jtime.c, sources/libjalali/jtime.h, sources/man/jcal.1, - sources/src/jcal.c, sources/src/jcal.h, sources/src/jdate.c, - sources/src/jdate.h: proper source indentation and using of spaces instead of - tabs. - -2011-08-26 Ashkan Ghassemi - - * sources/ChangeLog, sources/libjalali/jalali.h, sources/src/jcal.h, - sources/src/jdate.h: version string fix. - - * sources/ChangeLog, sources/libjalali/jtime.c: fixing __CYGWIN__ macro typo - in jtime.c. - - * sources/ChangeLog, sources/libjalali/jalali.c, sources/libjalali/jtime.c: - limiting gettimeofday() usage to windows as it doesn't work as expected on - some platforms. - -2011-06-15 Ashkan Ghassemi - - * sources/ChangeLog, sources/autogen.sh: autogen.sh: minor fixes. - - * docs/jalali.html, docs/jcal.html, docs/jdate.html, docs/jstrftime.html, - docs/jstrptime.html, sources/autogen.sh, sources/configure.in: configure.in: - minor fixes. - - * docs/jalali.html, docs/jcal.html, docs/jdate.html, docs/jstrftime.html, - docs/jstrptime.html, sources/ChangeLog: docs updated. - - * sources/ChangeLog, sources/libjalali/jalali.c, sources/libjalali/jtime.c: - using of non-standard time struct fields discarded. - - * sources/ChangeLog, sources/libjalali/jtime.c, sources/man/jdate.1, - sources/src/jcal.c, sources/src/jdate.c, sources/src/jdate.h: conversion - added to jdate. minor fixes to libjalali. - -2011-06-10 Ashkan Ghassemi - - * docs/jalali.html, docs/jcal.html, docs/jdate.html, docs/jstrftime.html, - docs/jstrptime.html, sources/libjalali/jalali.c, sources/libjalali/jtime.c, - sources/man/jstrptime.3: added %s to jstrptime(). fix for an accidental y2k38 - issue in type-casting. - -2011-06-09 Ashkan Ghassemi - - * sources/ChangeLog, sources/libjalali/jtime.c, sources/man/jstrftime.3, - sources/src/jcal.c: fix for farsi indentation problem. - - * sources/libjalali/jtime.c, sources/libjalali/jtime.h, sources/src/jcal.c: - platform independent patch on Farsi support. - -2011-06-07 Ashkan Ghassemi - - * docs/jalali.html, docs/jcal.html, docs/jdate.html, docs/jstrftime.html, - docs/jstrptime.html, sources/ChangeLog, sources/README, - sources/libjalali/jalali.h, sources/libjalali/jtime.c, - sources/libjalali/jtime.h, sources/man/jcal.1, sources/man/jctime.3, - sources/man/jdate.1, sources/man/jstrftime.3, sources/man/jstrptime.3, - sources/src/jcal.c, sources/src/jcal.h, sources/src/jdate.h: added Farsi - (utf8) output support to jcal and jdate. - -2011-06-04 Ashkan Ghassemi - - * .gitignore, docs/jalali.html, docs/jcal.html, docs/jdate.html, - docs/jstrftime.html, docs/jstrptime.html, html-docs/jalali.html, - html-docs/jcal.html, html-docs/jdate.html, html-docs/jstrftime.html, - html-docs/jstrptime.html, sources/AUTHORS, sources/ChangeLog, sources/README, - sources/TODO, sources/libjalali/jalali.h, sources/libjalali/jtime.c, - sources/man/jdate.1, sources/man/jstrftime.3, sources/src/jcal.h, - sources/src/jdate.h: added utf-8 persian outputs to jstrftime. added TODO. - docs updated. - -2011-06-03 Ashkan Ghassemi - - * sources/autogen.sh, sources/configure.in, sources/libjalali/jalali.c, - sources/libjalali/jalali.h, sources/libjalali/jconfig.h, - sources/libjalali/jtime.c, sources/man/Makefile.am, sources/man/jctime.3, - sources/src/Makefile.am, sources/src/jcal.c, sources/src/jcal.h, - sources/src/jdate.c, sources/src/jdate.h: whitespace fix on sources. - -2011-06-02 Ashkan Ghassemi - - * sources/ChangeLog, sources/autogen.sh: glibtoolize fix for autogen script. - - * sources/ChangeLog, test_kit/elc.c, test_kit/get_date.c, - test_kit/get_diff.c, test_kit/jtime/asctime.c, test_kit/jtime/compile_me.sh, - test_kit/jtime/ctime.c, test_kit/jtime/gmtime.c, test_kit/jtime/jstrftime.c, - test_kit/jtime/localtime.c, test_kit/jtime/mktime.c, test_kit/jyinfo.c, - test_kit/leap.c, test_kit/sec_converter.c: test_kit fixes. - - * sources/ChangeLog, sources/README, sources/autogen.sh: added autogen.sh - build script. - -2011-06-01 Ashkan Ghassemi - - * sources/ChangeLog, sources/configure.in: minor fix to Configure.in, removed - required libtool version for backward compatibility. - - * sources/ChangeLog, sources/libjalali/Makefile.am, - sources/libjalali/jalali.c, sources/libjalali/jalali.h, - sources/libjalali/jconfig.h, sources/libjalali/jtime.c, - sources/libjalali/jtime.h, sources/man/jcal.1, sources/man/jctime.3, - sources/man/jdate.1, sources/man/jstrftime.3, sources/man/jstrptime.3, - sources/src/Makefile.am, sources/src/jcal.c, sources/src/jcal.h, - sources/src/jdate.c, sources/src/jdate.h, sources/src/termcap.h: removed - trailing whitespaces. ChangeLog update. - -2011-05-31 Ashkan Ghassemi - - * sources/libjalali/jalali.c, sources/libjalali/jtime.c: usage of timezone - from tzset() removed due to a faulty implementation of BSD standards in OS X - and possibly others. - -2011-05-30 Ashkan Ghassemi - - * sources/libjalali/jalali.h, sources/libjalali/jtime.c, - sources/libjalali/jtime.h: BSD-compatible macros. - - * sources/libjalali/jtime.c, sources/man/jdate.1, sources/man/jstrftime.3, - sources/man/jstrptime.3: added %h (full English transliteration for Persian - weekday names) to jstrftime(), jstrptime(), and manual pages. - - * .gitignore, sources/src/jcal.c, test_kit/compile_me.sh, test_kit/elc.c, - test_kit/get_date.c, test_kit/get_diff.c, test_kit/jtime/asctime.c, - test_kit/jtime/compile_me.sh, test_kit/jtime/ctime.c, - test_kit/jtime/gmtime.c, test_kit/jtime/jstrftime.c, - test_kit/jtime/jstrptime.c, test_kit/jtime/localtime.c, - test_kit/jtime/mktime.c, test_kit/jyinfo.c, test_kit/leap.c, - test_kit/sec_converter.c: fix whole year month titles. gitignore update. - test_kit update. - -2011-05-29 Ashkan Ghassemi - - * .gitignore, sources/src/jcal.o, sources/src/jdate.o: gitignore added. - unwanted files removed from repo. - - * html-docs/jcal.html, sources/man/jcal.1, sources/src/jcal.c, - sources/src/jcal.h, sources/src/jcal.o, sources/src/jdate.o: default weekday - names to Persian in jcal. - -2011-05-28 Ashkan Ghassemi - - * html-docs/jalali.html, html-docs/jcal.html, html-docs/jdate.html, - html-docs/jstrftime.html, html-docs/jstrptime.html, sources/AUTHORS, - sources/ChangeLog, sources/Makefile.am, sources/NEWS, sources/README, - sources/configure.in, sources/libjalali/Makefile.am, - sources/libjalali/jalali.c, sources/libjalali/jalali.h, - sources/libjalali/jconfig.h, sources/libjalali/jtime.c, - sources/libjalali/jtime.h, sources/man/Makefile.am, - sources/man/jalali_create_date_from_days.3, - sources/man/jalali_create_days_from_date.3, - sources/man/jalali_create_secs_from_time.3, - sources/man/jalali_create_time_from_secs.3, sources/man/jalali_get_date.3, - sources/man/jalali_get_diff.3, sources/man/jalali_get_jyear_info.3, - sources/man/jalali_is_jleap.3, sources/man/jalali_update.3, - sources/man/jasctime.3, sources/man/jasctime_r.3, sources/man/jcal.1, - sources/man/jctime.3, sources/man/jctime_r.3, sources/man/jdate.1, - sources/man/jgmtime.3, sources/man/jgmtime_r.3, sources/man/jlocaltime.3, - sources/man/jlocaltime_r.3, sources/man/jmktime.3, sources/man/jstrftime.3, - sources/man/jstrptime.3, sources/src/Makefile.am, sources/src/jcal.c, - sources/src/jcal.h, sources/src/jcal.o, sources/src/jdate.c, - sources/src/jdate.h, sources/src/jdate.o, sources/src/termcap.h, - test_kit/compile_me.sh, test_kit/elc.c, test_kit/get_date.c, - test_kit/get_diff.c, test_kit/jtime/asctime.c, test_kit/jtime/compile_me.sh, - test_kit/jtime/ctime.c, test_kit/jtime/gmtime.c, test_kit/jtime/jstrftime.c, - test_kit/jtime/jstrptime.c, test_kit/jtime/localtime.c, - test_kit/jtime/mktime.c, test_kit/jyinfo.c, test_kit/leap.c, - test_kit/sec_converter.c: Initial import diff --git a/sources/NEWS b/sources/NEWS deleted file mode 100644 index 62cb36f..0000000 --- a/sources/NEWS +++ /dev/null @@ -1 +0,0 @@ -Please see the file ChangeLog diff --git a/sources/README b/sources/README index a7a14bf..1b39db2 100644 --- a/sources/README +++ b/sources/README @@ -60,3 +60,31 @@ option to ./configure script or after installing libjalali use provided # cd jcal/sources # python setup.py install + +Authors of Jalali calendar library: +=========================== + +Ashkan Ghassemi + +Special thanks to: +================== + +Navid Abdi +AmirMohammad Saied +Armen Baghumian +Mola Pahnadayan +Milad Raastian +Behnam Behjatmarandi +Emil Sedgh +Abbas Esmaeeli +Saeid Taghavi +Ali Rastegar +Nima Mohammadi +and all others for testing and reporting bugs. + +TODOs for 0.4.0 +====== + +* Adding support for locale-aware outputs +to jcal and jdate. +* Hindi digits, month and weekday names. diff --git a/sources/TODO b/sources/TODO deleted file mode 100644 index fca5571..0000000 --- a/sources/TODO +++ /dev/null @@ -1,6 +0,0 @@ -0.4.0 -====== - -* Adding support for locale-aware outputs -to jcal and jdate. -Hindi digits, month and weekday names. diff --git a/sources/configure.ac b/sources/configure.ac index 63bc0ab..ea4873c 100644 --- a/sources/configure.ac +++ b/sources/configure.ac @@ -3,7 +3,7 @@ AC_INIT([jcal], [0.5.1], [https://github.com/persiancal/jcal]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) diff --git a/sources/gitlog2changelog.py b/sources/gitlog2changelog.py deleted file mode 100755 index ce69b68..0000000 --- a/sources/gitlog2changelog.py +++ /dev/null @@ -1,124 +0,0 @@ -#!/usr/bin/python -# Copyright 2008 Marcus D. Hanwell -# Distributed under the terms of the GNU General Public License v2 or later - -import string, re, os - -# Execute git log with the desired command line options. -fin = os.popen('git log --summary --stat --no-merges --date=short', 'r') -# Create a ChangeLog file in the current directory. -fout = open('ChangeLog', 'w') - -# Set up the loop variables in order to locate the blocks we want -authorFound = False -dateFound = False -messageFound = False -filesFound = False -message = "" -messageNL = False -files = "" -prevAuthorLine = "" - -# The main part of the loop -for line in fin: - # The commit line marks the start of a new commit object. - if string.find(line, 'commit') >= 0: - # Start all over again... - authorFound = False - dateFound = False - messageFound = False - messageNL = False - message = "" - filesFound = False - files = "" - continue - # Match the author line and extract the part we want - elif re.match('Author:', line) >=0: - authorList = re.split(': ', line, 1) - author = authorList[1] - author = author[0:len(author)-1] - authorFound = True - # Match the date line - elif re.match('Date:', line) >= 0: - dateList = re.split(': ', line, 1) - date = dateList[1] - date = date[0:len(date)-1] - dateFound = True - # The svn-id lines are ignored - elif re.match(' git-svn-id:', line) >= 0: - continue - # The sign off line is ignored too - elif re.search('Signed-off-by', line) >= 0: - continue - # Extract the actual commit message for this commit - elif authorFound & dateFound & messageFound == False: - # Find the commit message if we can - if len(line) == 1: - if messageNL: - messageFound = True - else: - messageNL = True - elif len(line) == 4: - messageFound = True - else: - if len(message) == 0: - message = message + line.strip() - else: - message = message + " " + line.strip() - # If this line is hit all of the files have been stored for this commit - elif re.search('files changed', line) >= 0: - filesFound = True - continue - # Collect the files for this commit. FIXME: Still need to add +/- to files - elif authorFound & dateFound & messageFound: - fileList = re.split(' \| ', line, 2) - if len(fileList) > 1: - if len(files) > 0: - files = files + ", " + fileList[0].strip() - else: - files = fileList[0].strip() - # All of the parts of the commit have been found - write out the entry - if authorFound & dateFound & messageFound & filesFound: - # First the author line, only outputted if it is the first for that - # author on this day - authorLine = date + " " + author - if len(prevAuthorLine) == 0: - fout.write(authorLine + "\n") - elif authorLine == prevAuthorLine: - pass - else: - fout.write("\n" + authorLine + "\n") - - # Assemble the actual commit message line(s) and limit the line length - # to 80 characters. - commitLine = "* " + files + ": " + message - i = 0 - commit = "" - while i < len(commitLine): - if len(commitLine) < i + 78: - commit = commit + "\n " + commitLine[i:len(commitLine)] - break - index = commitLine.rfind(' ', i, i+78) - if index > i: - commit = commit + "\n " + commitLine[i:index] - i = index+1 - else: - commit = commit + "\n " + commitLine[i:78] - i = i+79 - - # Write out the commit line - fout.write(commit + "\n") - - #Now reset all the variables ready for a new commit block. - authorFound = False - dateFound = False - messageFound = False - messageNL = False - message = "" - filesFound = False - files = "" - prevAuthorLine = authorLine - -# Close the input and output lines now that we are finished. -fin.close() -fout.close()