branch from 2.5 for kazanbas
First merge with 2.5 branch.
Another merge with 2.5.
Undo rev 20344. It seems I passed wrong options to merge and branch 
didn't build.
Merge with 2.5 rev 20373.
The exact command (for personal reference):
svn merge -r 20103:20373 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
Start OBJ exporter conversion.
Just copied export_obj.py to export_obj-2.5.py leaving old one for 
reference. Once conversion is done, the new one will replace it.
In bpy, renamed "exec" operator method to "execu" for compatibility 
with py 2.x ("exec" is a keyword in py 2.x).
svn merge -r 20373:20515 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
Woohoo! Context is now passed to operator's exec. Thanks Brecht and 
Campbell!
Continuing OBJ exporter conversion.
- export is initiated by an operator, output filepath is hardcoded for now.
- added code in bpy_interface.c to put 'scripts/bpymodules' in sys.path.
- no UI atm, using default option values, don't know how to do it yet
Merge from 2.5 rev 20515 through 20647.
Small fix: use PyUnicode_FromString instead of PyString_FromString in 
Python 3.x builds. PyString_FromString no longer exists in Python 3.x.
Renamed "execu" python operator method back to "exec" - switched to  
Python 3.0...
Added two RNA struct functions - merely wrappers around the C api.

- add_mesh to Main - calls C add_mesh and returns a new mesh
- copy to Mesh - calls C copy_mesh and returns a new copy

Not sure about function placement and naming though.
Put both functions in editmesh.c, mesh editor module. Added prototypes 
to rna_internal.h. Prefixed both with "RNA_api_".

Wanted to code Mesh.copy so that it copies Mesh data from another object 
instead of creating a new Mesh, but this needs CustomData manipulations 
which I should study later.

Maybe we need a separate file for API functions? e.g. mesh_api.c?
- added copy_mesh_data C function which, unlike copy_mesh, copies data 
between two existing meshes.
- API's Mesh.copy reflects copy_mesh_data.
Merge from 2.5 rev 20647 through 20776.
Allow defining string property on py operator - a first step towards 
interfacing the file selector :)
Pass context to the "invoke" operator method.

"invoke" should have three args now: self, context and event respectively.
Started operator registration with python. This is a piece of cake!
Made space_script header area customizable with python - need Brecht to 
check this.
Added a base for operator registration: a menu in Scripts Window with 
two items "Reload Scripts" and "Export". The former will do guess what?
The latter will be populated with submenu items each corresponding to 
an exporter :)
svn add source/blender/editors/space_buttons/buttons_context.c
svn export -r 20776 \
https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_context.c                                                       

Old version of this file was sitting in my working copy not under 
version control. How that happened I have no idea.