/[Apache-SVN]/couchdb/trunk/src/couchdb/couch_native_process.erl
ViewVC logotype

Log of /couchdb/trunk/src/couchdb/couch_native_process.erl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 882903 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 13:43:43 2009 UTC (5 days, 14 hours ago) by kocolosk
File length: 11037 byte(s)
Diff to previous 806732 (colored)
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570

Revision 806732 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 22:11:17 2009 UTC (3 months ago) by davisp
File length: 11126 byte(s)
Diff to previous 803685 (colored)
Munge all ErlJSON to use binaries.

Our flavor of ErlJSON has this interesting characteristic:

    {[{foo, bar}]} == {[{<<"foo">>, <<"bar">>}]}

This is fine and dandy for writing ErlJSON that is going to
go directly to a serializer, but when it goes to client code
executing in couch_native_process.erl it becomes a pain in
the but to know whether to use atoms or binaries.

This patch munges all input to user functions to use
binaries except for null, true, and false obviously.

This fixes the commented out test in erlang_views.js as well
as adds a show to poke into the request object that has
known instances of where things get munged.


Revision 803685 - (view) (annotate) - [select for diffs]
Added Wed Aug 12 19:58:14 2009 UTC (3 months, 2 weeks ago) by jchris
File length: 10708 byte(s)
Introduces native Erlang query servers. Closes COUCHDB-377

Thanks Mark Hammond and Paul Davis for doing most of the work, and Michael McDaniel for the inspiration.

There is still room for improvement on the APIs exposed to the Erlang views, as well as likely a whole lot of work to be done to increase parallelism. But the important part now is that we have native Erlang views.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2