bugpile.git
2 years agoAfter inspecting the html files, two tiny but apparently significant master
tj [Tue, 10 Jul 2012 22:01:22 +0000]
After inspecting the html files, two tiny but apparently significant
bugs fixed:
1. one html attribute was finished with an : instead of an = (name:
instead of name= in an <input field).
2. when concatenating html strings, I forgot to put a space between
the lines, resulting in something like "value=fooname=bar"

now the http-params of the edit-task form are send apparently
correctly by elnode in the call to /save-edits, the elnode-dispatcher
is called, but elnode drops before reaching the handler function for
/save-edits. is that related to the ^M dos line endings in the http params?

2 years agoupdating dblocks incooperated into bugpile controller functions.
tj [Tue, 10 Jul 2012 18:23:00 +0000]
updating dblocks incooperated into bugpile controller functions.

2 years agoTwo small bugs fixed in bugpile-controller-save-edits-hander. now it
tj [Tue, 10 Jul 2012 16:54:20 +0000]
Two small bugs fixed in bugpile-controller-save-edits-hander. now it
actually works without errors, the only remaining problem is that
the extracted http-params are nil.

2 years agomidterm-eval testrecipe
tj [Mon, 9 Jul 2012 21:26:21 +0000]
midterm-eval testrecipe

2 years agoMidterm evaluation: Well, thats what I have.
tj [Mon, 9 Jul 2012 21:13:27 +0000]
Midterm evaluation: Well, thats what I have.

2 years agouse case show-task 'implemented' for prototype, some renaming.
tj [Mon, 9 Jul 2012 15:17:22 +0000]
use case show-task 'implemented' for prototype, some renaming.

2 years agoSome renaming. Implemenation of the search tasklist use-case (for
tj [Mon, 9 Jul 2012 09:53:40 +0000]
Some renaming. Implemenation of the search tasklist use-case (for
prototype).

2 years agotestfile added. high level agenda search functionality turns out to be
tj [Mon, 9 Jul 2012 00:16:56 +0000]
testfile added. high level agenda search functionality turns out to be
not so usefull, probably a deeper look at low level search and match
functions would be necesary.

2 years agoa few controller function sceletons added.
tj [Sun, 8 Jul 2012 23:35:44 +0000]
a few controller function sceletons added.

2 years agoView files cleaned up. A constant and a custom defined in iorg-logic
tj [Sun, 8 Jul 2012 19:05:52 +0000]
View files cleaned up. A constant and a custom defined in iorg-logic
to support the use of dblocks. A iorg-dblock-collect.org file for
temporary accumulation of object search results defined (to be used to
update dblocks in View files.

2 years agocommit to save some experiments with view files and dynamic blocks,
tj [Sun, 8 Jul 2012 18:27:57 +0000]
commit to save some experiments with view  files and dynamic blocks,
before cleaning up again.

2 years agoSome view files added.
tj [Sun, 8 Jul 2012 13:30:35 +0000]
Some view files added.

2 years agoHalfway through a recipe for testing bugpile/iorg for
tj [Sun, 8 Jul 2012 01:56:13 +0000]
Halfway through a recipe for testing bugpile/iorg for
midterm-evaluation (see
/home/tj/git/bugpile/doc/gsoc/midterm-eval.org). Setup and testing
logic described with examples and expected outcomes.

2 years agoBug in iorg-logic--construct-object-in-temp-buffer fixed, now
tj [Sat, 7 Jul 2012 23:36:12 +0000]
Bug in iorg-logic--construct-object-in-temp-buffer fixed, now
different values for the same property in different superclasses are
accumulated in a multivalued property. Works for class variables too.

2 years agoiorg-logic tested and several bugs and instabilities fixed. Seems to
tj [Sat, 7 Jul 2012 23:07:44 +0000]
iorg-logic tested and several bugs and instabilities fixed. Seems to
work quite reliably now. TODO: accumulate tags (and different property
values for the same property) from
all superclasses of a class hierarchy.

2 years agobug fixed in iorg-logic--get-entry-properties-with-class-inheritance:
tj [Sat, 7 Jul 2012 13:53:11 +0000]
bug fixed in iorg-logic--get-entry-properties-with-class-inheritance:
put point on first entry in every iOrg class file visited before
processing.

2 years agobasic iOrg logic finished, creating new classes and new objects works
tj [Sat, 7 Jul 2012 00:26:53 +0000]
basic iOrg logic finished, creating new classes and new objects works
more or less, while there are things to do.

2 years agoWrite new object to class implemented.
tj [Sat, 7 Jul 2012 00:09:17 +0000]
Write new object to class implemented.

2 years agoobject-construction implemented - more or less works.
tj [Fri, 6 Jul 2012 21:29:39 +0000]
object-construction implemented - more or less works.

2 years agoFilter function for (accumulated) org-entry-properties written.
tj [Fri, 6 Jul 2012 17:16:59 +0000]
Filter function for (accumulated) org-entry-properties written.

2 years agoFunction added to iorg-logic.el that recursively accumulates all entry
tj [Fri, 6 Jul 2012 10:43:04 +0000]
Function added to iorg-logic.el that recursively accumulates all entry
properties of class at point and all of its superclasses in a single
list. FIXME: make it work with multiple superclasses.

2 years agoPostprocess function for newly created objects written (untested).
tj [Fri, 6 Jul 2012 03:43:09 +0000]
Postprocess function for newly created objects written (untested).

2 years agoiorg logic further elaborated.
tj [Fri, 6 Jul 2012 01:15:21 +0000]
iorg logic further elaborated.

2 years agoA few bugs in custom definitions fixed.
tj [Thu, 5 Jul 2012 14:43:38 +0000]
A few bugs in custom definitions fixed.

2 years agoMade most constants in iorg-logic.el customizable vars.
tj [Thu, 5 Jul 2012 14:40:33 +0000]
Made most constants in iorg-logic.el customizable vars.

2 years agoiOrg-class and iorg-logic-new-class function significantly simplified,
tj [Thu, 5 Jul 2012 14:08:52 +0000]
iOrg-class and iorg-logic-new-class function significantly simplified,
because a class file with sub-headings looks nicer, but makes things
much more difficult when it comes to instanstiation (copying or
reading the data). And all the info necesary to discriminate between
class properties and instance properties is included in the "-C"
postfix anyway.

2 years agotest function of the getkey(s) functions in iorg-util changed from eql
tj [Thu, 5 Jul 2012 02:55:04 +0000]
test function of the getkey(s) functions in iorg-util changed from eql
to string-match. iorg-logic-new-object expanded - now finds the class
file using the class name and the getkey(s) functions.

2 years agoiorg-logic-new-class debugged and tested - seems to work (basically).
tj [Thu, 5 Jul 2012 00:37:03 +0000]
iorg-logic-new-class debugged and tested - seems to work (basically).

TODO:
- fix interactive for all args
- kill iOrg class buffer if not visited
- deal with already existing iOrg class files (overwrite?)

2 years agoFirst (untested) draft of iorg-logic-new-class.
tj [Wed, 4 Jul 2012 21:58:11 +0000]
First (untested) draft of iorg-logic-new-class.

2 years agogetkey-functions from Pascal Bourguignon (and Bastien) added to
tj [Wed, 4 Jul 2012 14:57:51 +0000]
getkey-functions from Pascal Bourguignon (and Bastien) added to
iorg-util, needed to use org-id-locations to find iOrg classes by
name.

2 years agoElaborated the object-oriented concept of iOrg and described it in the
tj [Wed, 4 Jul 2012 09:55:50 +0000]
Elaborated the object-oriented concept of iOrg and described it in the
docstrings of the two central functions 'iorg-logic-new-class' and
'iorg-logic-new-object'. Introduced new key :classes in
'iorg-projects-config'.

2 years ago(require 'lib) statements organized, iorg-controller.el is now the
tj [Wed, 4 Jul 2012 07:27:04 +0000]
(require 'lib) statements organized, iorg-controller.el is now the
central iOrg library that loads all the other libs, bugpile-controller.el
loads iorg-controller.el, therefore loading it should suffice to start
bugpile when path is set.

2 years agoOrg classes changed again in the light of Erics proposal to use
tj [Tue, 3 Jul 2012 21:42:06 +0000]
Org classes changed again in the light of Erics proposal to use
file-local-variables for 'class attributes' (i.e. attributes that are
constant for all instances/objects).

2 years agoClean-up and refactoring of iOrg libraries (more or less) done.
tj [Tue, 3 Jul 2012 20:00:53 +0000]
Clean-up and refactoring of iOrg libraries (more or less) done.

2 years agoCleaned up and refactored the iOrg code base (almost done except
tj [Tue, 3 Jul 2012 16:07:00 +0000]
Cleaned up and refactored the iOrg code base (almost done except
iorg-controller.el). I used up to ;;;; for comments because otherwise
I could not produce a reasonable tree structure inside the libraries.

2 years agoBetter versions of Org class files, NOT building on attribute
tj [Tue, 3 Jul 2012 13:03:22 +0000]
Better versions of Org class files, NOT building on attribute
inheritance.

2 years agofixes missing parenthesis in iorg-logic.el, and a few experiments with
tj [Tue, 3 Jul 2012 11:47:46 +0000]
fixes missing parenthesis in iorg-logic.el, and a few experiments with
the Org class files.

2 years agoRenamed iorg-model.el to iorg-logic.el. Added docstring for function
tj [Tue, 3 Jul 2012 00:06:00 +0000]
Renamed iorg-model.el to iorg-logic.el. Added docstring for function
iorg-logic-new-object. A few changes to the Org class files.

2 years agoiorg--org-to-html.el fixes, now static export via the interactive
tj [Mon, 2 Jul 2012 20:18:54 +0000]
iorg--org-to-html.el fixes, now static export via the interactive
elnode server (not the docroot server) works, although there are
elnode-filter error messages.

2 years agoeliminated one cause of errors - a duplicated old version of
tj [Mon, 2 Jul 2012 18:59:20 +0000]
eliminated one cause of errors - a duplicated old version of
iorg--org-to-html at the bottom of iorg-controller.el.

2 years agoiorg--org-to-html rewritten and generalizised,
tj [Mon, 2 Jul 2012 15:27:08 +0000]
iorg--org-to-html rewritten and generalizised,
iorg-controller-dispatcher-handler renamed to
bugpile-controller-dispatcher-handler. HTML exporting works, serving
the HTML file still doesn't work.

2 years agoAdded function to stop iOrg projects elnode servers. Some improvements
tj [Mon, 2 Jul 2012 09:30:33 +0000]
Added function to stop iOrg projects elnode servers. Some improvements
to iorg-controller-launch-project.

2 years agoAdded edits from Eric to make serving files from docroot 'almost'
tj [Mon, 2 Jul 2012 00:05:13 +0000]
Added edits from Eric to make serving files from docroot 'almost'
work.

2 years agoMade launching a project and exporting and Org file work without
tj [Sun, 1 Jul 2012 20:21:07 +0000]
Made launching a project and exporting and Org file work without
errors, but it still not works out correctly, since the files are not served.

2 years agominor changes.
tj [Sun, 1 Jul 2012 16:31:19 +0000]
minor changes.

2 years agoFunction to server static docroot files enhanced.
tj [Sun, 1 Jul 2012 01:07:16 +0000]
Function to server static docroot files enhanced.

2 years agoAdded a static file in the docroot dir as well as a bugpile-index.org
tj [Sat, 30 Jun 2012 22:10:11 +0000]
Added a static file in the docroot dir as well as a bugpile-index.org
file in the view dir. (Still untested) functions written to launch a
project (server) as well as a separate server for the static files in
the docroot directory.

2 years agoHelper functions to get project url's added.
tj [Sat, 30 Jun 2012 14:19:46 +0000]
Helper functions to get project url's added.

2 years agoRenaming again to textbook MVC names. Moved handler for init.org from
tj [Sat, 30 Jun 2012 10:36:59 +0000]
Renaming again to textbook MVC names. Moved handler for init.org from
iorg to bugpile.

2 years agofirst draft of function for serving projects index file.
tj [Sat, 30 Jun 2012 01:43:56 +0000]
first draft of function for serving projects index file.

2 years agonew generic function in iorg-projects.el to extract project
tj [Sat, 30 Jun 2012 01:27:02 +0000]
new generic function in iorg-projects.el to extract project
information from the customizable variable iorg-projects-config.

2 years agoMerge branch 'master' into tj
tj [Fri, 29 Jun 2012 19:02:30 +0000]
Merge branch 'master' into tj

2 years agosome more renaming.
tj [Fri, 29 Jun 2012 18:53:20 +0000]
some more renaming.

2 years agoiorg-server.el renamed to iorg-controller.el, and all occurences of
tj [Wed, 27 Jun 2012 16:52:39 +0000]
iorg-server.el renamed to iorg-controller.el, and all occurences of
iorg-server inside the file replaces with iorg-controller.

2 years agosome more renaming.
tj [Fri, 29 Jun 2012 18:53:20 +0000]
some more renaming.

2 years agoiorg-server.el renamed to iorg-controller.el, and all occurences of
tj [Wed, 27 Jun 2012 16:52:39 +0000]
iorg-server.el renamed to iorg-controller.el, and all occurences of
iorg-server inside the file replaces with iorg-controller.

2 years agosome changes
tj [Wed, 27 Jun 2012 16:47:57 +0000]
some changes

2 years agosome changes
tj [Wed, 27 Jun 2012 16:47:57 +0000]
some changes

2 years agoanswers to questions in TASKS.org
Eric Schulte [Sun, 24 Jun 2012 14:39:11 +0000]
answers to questions in TASKS.org

2 years agoBack to old signature for iorg-server-launch.
tj [Fri, 22 Jun 2012 08:38:54 +0000]
Back to old signature for iorg-server-launch.

2 years agotesting defun* for iorg-server-launch.
tj [Thu, 21 Jun 2012 17:12:55 +0000]
testing defun* for iorg-server-launch.

2 years agonew question TASKS
tj [Thu, 21 Jun 2012 13:33:18 +0000]
new question TASKS

2 years agotiny change
tj [Thu, 21 Jun 2012 13:30:54 +0000]
tiny change

2 years agoSignature and docstring of iorg-server-launch defined.
tj [Thu, 21 Jun 2012 12:41:42 +0000]
Signature and docstring of iorg-server-launch defined.

2 years agoa project-config defcustom added to iorg-projects.el, with some
tj [Thu, 21 Jun 2012 12:09:58 +0000]
a project-config defcustom added to iorg-projects.el, with some
related questions in TASKS.

2 years agoget rid of annoying header in iorg-projects.el, put it in its own file
tj [Thu, 21 Jun 2012 10:16:30 +0000]
get rid of annoying header in iorg-projects.el, put it in its own file
to include it later on when necesary.

2 years agomore tiny changes...
tj [Thu, 21 Jun 2012 06:59:33 +0000]
more tiny changes...

2 years agotiny changes to iorg-projects.el
tj [Thu, 21 Jun 2012 06:58:40 +0000]
tiny changes to iorg-projects.el

2 years agocustomisation groups and variables added.
tj [Wed, 20 Jun 2012 15:35:39 +0000]
customisation groups and variables added.

2 years agoold stuff removed from bugpile-server.el and iorg-server.el
tj [Wed, 20 Jun 2012 14:15:45 +0000]
old stuff removed from bugpile-server.el and iorg-server.el

2 years agoa note about formatting documentation strings
Eric Schulte [Tue, 19 Jun 2012 21:39:50 +0000]
a note about formatting documentation strings

2 years agoupdated all iorg-js function names, passing tests
Eric Schulte [Tue, 19 Jun 2012 21:37:39 +0000]
updated all iorg-js function names, passing tests

2 years agorenaming functions in light of the directory re-org
Eric Schulte [Tue, 19 Jun 2012 21:09:40 +0000]
renaming functions in light of the directory re-org

2 years agorenaming iorg-js files
Eric Schulte [Tue, 19 Jun 2012 21:00:42 +0000]
renaming iorg-js files

2 years agochecking out files from the iorg-js branch
Eric Schulte [Tue, 19 Jun 2012 20:59:33 +0000]
checking out files from the iorg-js branch

2 years agostub of an iorg-view.el file
Eric Schulte [Tue, 19 Jun 2012 20:55:39 +0000]
stub of an iorg-view.el file

2 years agoadditional cleanup and reorganization
Eric Schulte [Tue, 19 Jun 2012 20:55:20 +0000]
additional cleanup and reorganization

  moved project/ -> test/examples/

2 years agonew task list
Eric Schulte [Tue, 19 Jun 2012 19:27:07 +0000]
new task list

2 years agoMore renaming of files, as well as renaming of functions and variables
tj [Tue, 19 Jun 2012 20:00:22 +0000]
More renaming of files, as well as renaming of functions and variables
inside the files.

2 years agosome files renamed.
tj [Tue, 19 Jun 2012 18:10:07 +0000]
some files renamed.

2 years agobugpile directory cleaned up, files moved and renamed.
tj [Tue, 19 Jun 2012 17:56:36 +0000]
bugpile directory cleaned up, files moved and renamed.

2 years agoSimple class hierarchy as well as controller and logic files for
tj [Tue, 19 Jun 2012 14:38:45 +0000]
Simple class hierarchy as well as controller and logic files for
'simple' added.

2 years agoCleaned up /simple directory, and included the most basic MVC
tj [Tue, 19 Jun 2012 13:47:06 +0000]
Cleaned up /simple directory, and included the most basic MVC
structure to make implementation efforts close to reality i.e. the
iOrg architecture. However, stay with the "simple" minimal example.

2 years agoAdded switch to org-to-html to handle both cases, static and iorg
tj [Tue, 19 Jun 2012 12:05:47 +0000]
Added switch to org-to-html to handle both cases, static and iorg
export. 'iorg must be registered as org-export backend.

2 years agoOld simple.el renamed in /old/simple-old.el. simple.el cleaned up,
tj [Tue, 19 Jun 2012 11:15:35 +0000]
Old simple.el renamed in /old/simple-old.el. simple.el cleaned up,
deleting all the html-export related parts (now taken care of by the
new basic and JS-based iOrg backends for org-export.el.

2 years agoSome clean up and tiny changes.
tj [Tue, 19 Jun 2012 07:38:16 +0000]
Some clean up and tiny changes.

2 years agoMoved some old 'simple' files in an /old folder.
tj [Tue, 19 Jun 2012 07:29:36 +0000]
Moved some old 'simple' files in an /old folder.

2 years agohtml export works for headline, todos, tags, properties and
tj [Tue, 19 Jun 2012 06:22:28 +0000]
html export works for headline, todos, tags, properties and
content-text now. Only the 'selected' option for the html select-box
seems to have no effect visually (although it modifies the html).

2 years agoadded preliminary version of property-drawer transcode function.
tj [Mon, 18 Jun 2012 18:18:02 +0000]
added preliminary version of property-drawer transcode function.

2 years agoSlightly improved version of info/parse-tree added to NOTES.
tj [Mon, 18 Jun 2012 08:12:08 +0000]
Slightly improved version of info/parse-tree added to NOTES.

2 years agoPost-processed and readable version of info/parse-tree of simple.org
tj [Mon, 18 Jun 2012 08:07:20 +0000]
Post-processed and readable version of info/parse-tree of simple.org
added to NOTES.

2 years agoSection export changed to show the entire headline content in one html textarea.
tj [Mon, 18 Jun 2012 07:36:57 +0000]
Section export changed to show the entire headline content in one html textarea.

2 years agoTwo helper functions for replacing html with the original Org file
tj [Sun, 17 Jun 2012 17:59:36 +0000]
Two helper functions for replacing html with the original Org file
content.

2 years agoFormatting of TODO's fixed, now the offered selection options as well
tj [Sun, 17 Jun 2012 14:35:50 +0000]
Formatting of TODO's fixed, now the offered selection options as well
as the actually selected option depend on (i) the TODO value read from
the Org file and (ii) the value of the Org variable
org-todo-keywords-for-agenda.

2 years agotiny change
tj [Sun, 17 Jun 2012 09:58:38 +0000]
tiny change

2 years agoSelected option in todo made dependent on the actual todo value.
tj [Fri, 15 Jun 2012 21:41:38 +0000]
Selected option in todo made dependent on the actual todo value.

2 years agoHeadline text wrapped in html text field.
tj [Fri, 15 Jun 2012 21:25:08 +0000]
Headline text wrapped in html text field.

2 years agoSimplify iorg export step 3: format headline function eliminated.
tj [Fri, 15 Jun 2012 19:22:24 +0000]
Simplify iorg export step 3: format headline function eliminated.

2 years agoSimplifying iorg basic export step 2: eliminate headline wrap
tj [Fri, 15 Jun 2012 17:17:54 +0000]
Simplifying iorg basic export step 2: eliminate headline wrap
function.

2 years agoFirst step of simplifiying basic iorg export of headlines: eliminate
tj [Fri, 15 Jun 2012 12:02:11 +0000]
First step of simplifiying basic iorg export of headlines: eliminate
the special cases that are only relevant for static export, since
footnotes and deep sub-trees should not be tagged with :iorg:.