Commit Graph

622 Commits

Author SHA1 Message Date
Nathan Letwory
9e6e34df6c Bring blenloader module under data group. Rename the group to look a bit more sensible in the output. 2011-02-17 23:34:07 +00:00
Nathan Letwory
f697247f0e Start simple intros for intern and extern libs.
Some reorg of modules/pages, start makesdna and makesrna.
In many places license block needs to be changed to not start with /**, because otherwise documentation will go weird.
2011-02-17 16:17:40 +00:00
Nathan Letwory
f336b80d7f Starting work on doxygen cleanup. Many things still to be done. 2011-02-17 05:57:18 +00:00
Campbell Barton
aed7eaf0d9 sphinx doc gen: multiple examples possible and include the scripts docstring inline in sphinx.
also tag unused vars
2011-02-16 17:31:04 +00:00
Campbell Barton
7748860aeb doc generation support for excluding some modules, without this a full rebuild takes too long to test changes.
also include own function definitions for blf_dir.c.
2011-02-16 05:18:10 +00:00
Campbell Barton
fee5363912 bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00
Campbell Barton
cb12d708c7 Doc generator now makes 'bpy.context' api reference.
http://www.blender.org/documentation/250PythonDoc/bpy.context.html

strings are extracted from blender to ensure all values are included, currently there is no type info so this is stored in the doc generator.
2011-02-15 15:37:40 +00:00
Campbell Barton
1cdab667bc - cmake was missing an inclide (IDE's wouldnt index)
- made doc generation always sumlink newly built docs to static URL. http://www.blender.org/documentation/250PythonDoc/
2011-02-06 10:18:20 +00:00
Campbell Barton
998198a041 mathutils rotate functions for Euler/Quaternion/Matrix/Vector types.
each accept Euler/Quaternion/Matrix types.

eg:
  Euler.rotate(Quaternion(axis, angle))
  Vector.rotate(Euler((pi/2, 0, 0)))

matrix.resize_4x4() and euler.make_compatible() were still returning an instance of themselves, now return None.
2011-02-05 09:57:02 +00:00
Campbell Barton
736a7b7a22 pep8 cleanup 2011-02-04 09:27:25 +00:00
Campbell Barton
89c617a116 remove nan-makefiles 2011-01-30 15:29:22 +00:00
Campbell Barton
ce7f7d6e5f r34526 removed a line which had an unused return value but still needed to run. 2011-01-27 12:36:48 +00:00
Campbell Barton
8cf0d64623 option for blender --addons rigify,io_scene_fbx,add_mesh_gears
needed so ctest unit testing can be done on addons that are not enabled by default.
2011-01-26 16:30:12 +00:00
Campbell Barton
1bd0db59f4 use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
Campbell Barton
f0d9ff34af Command line options to set blender system environment variables.
Added because CTest has no convenient way to set environment vars for commands it runs.

 --env-system-config -> BLENDER_SYSTEM_CONFIG
 --env-system-datafiles -> BLENDER_SYSTEM_DATAFILES
 --env-system-scripts -> BLENDER_SYSTEM_SCRIPTS
 --env-system-plugins -> BLENDER_SYSTEM_PLUGINS
 --env-system-python -> BLENDER_SYSTEM_PYTHON
2011-01-19 21:30:23 +00:00
Campbell Barton
161cbed9b5 new command line option '--factory-startup' to skip reading startup.blend. useful for testing with a predictable environment.
also commented python benchmark prints on exit, can enable when profiling later.
2011-01-19 09:13:24 +00:00
Campbell Barton
577e3b435e removing epydocs for mathutils and geometry mododules (now they are in sphinx) 2011-01-01 23:53:48 +00:00
Campbell Barton
91f0e13686 update UI introspect function & man page 2010-12-31 15:09:05 +00:00
Campbell Barton
54343b79e6 remove reload() from builtins since python3 no longer uses this.
use imp.reload now.

Should use import hooks but for now replace imp.reload with our own reload as the builtin reload was replaced before.
2010-12-22 21:39:48 +00:00
Campbell Barton
b4081bfc7b patch [#25027] formatting mathutils.geometry module docs for sphinx
from Luka Bonavita

See:
http://www.blender.org/documentation/250PythonDoc/mathutils.geometry.html
2010-12-10 00:20:32 +00:00
Campbell Barton
25bd57b0a1 include getset's for generating module docs.
used for bpy.debug/tempdir/driver_namespace which were previously undocumented.
2010-12-06 12:36:55 +00:00
Luca Bonavita
56f8ced34f == console ==
- banner formatting

== sphinx doc ==

- bpy.data: put the example below the documentation itself
2010-11-25 14:55:03 +00:00
Campbell Barton
0c27782b8e update the man page from blenders --help message 2010-11-08 21:13:44 +00:00
Luca Bonavita
726e6d8530 == blender file format ==
- added a readme so that it's easy to understand how to use the py files.
- fixed typos in the usage message.
2010-11-01 13:27:33 +00:00
Luca Bonavita
e548e3e1d8 == blender file format ==
Hello, from the bconf 2010 from Jeroen and Luca. Our first combined commit :)

Automatically create sdna documentations from Trunk.

Usage: 
        blender2.5 -b -P BlendFileDnaExporter_25.py [-- [options]]
Options:
        --dna-keep-blend:      doesn't delete the produced blend file DNA export to html
        --dna-debug:           sets the logging level to DEBUG (lots of additional info)
        --dna-versioned'       saves version informations in the html and blend filenames
        --dna-overwrite-css'   overwrite dna.css, useful when modifying css in the script
Examples:
        default:       % blender2.5 -b -P BlendFileDnaExporter_25.py
        with options:  % blender2.5 -b -P BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug
2010-10-30 13:25:24 +00:00
Campbell Barton
2777ba74b0 remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes. 2010-10-27 13:52:12 +00:00
Campbell Barton
3264ced377 move geometry python module into mathutils.geometry, since it provides utility functions using mathutils types. 2010-10-25 22:44:01 +00:00
Luca Bonavita
9f05cc59fa == docs ==
- moved files in proper directories and adapted paths where needed
- deleted doc/oldbugs.txt (asked confirmation to jesterking a week ago in irc)
- still working on doxygen files, for now I'll leave them in doc/
- NOTE: while checking if other files were referring to these files, I noted that
  "GPL-license.txt" is also used in the files below:
    - release/windows/installer/00.sconsblender.nsi
    - release/windows/specific.sh
  but these files should't be affected by this commit, but please check :)
2010-10-13 14:44:22 +00:00
Luca Bonavita
996efebbe3 == python api doc ==
First commit to make some structure in doc/ directory.

- moved source/blender/python/doc -> doc/python_api
- moved source/gameengine/PyDoc/*.rst -> doc/python_api/rst
- modified accordingly sphinx_doc_gen.py and sphinx_doc_gen.sh
  (later on I'll try alternative/ scripts by neXyon as promised :)
- source/gameengine/PyDoc/ is still there because contains epydoc stuff for the bge, will ask more and look into it later
2010-10-13 10:42:33 +00:00
Campbell Barton
115b256738 ran through pep8 checker 2010-09-07 15:17:42 +00:00
Guillermo S. Romero
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +00:00
Campbell Barton
7fc9eee08a - updated man page from --help output.
- cmake now installs the man page.
- added cmake_linux_install.sh, shell script which downloads and builds blender.
2010-07-15 19:58:23 +00:00
Campbell Barton
8e3a9634a3 Change to text3d: When back or front is enabled, the bevel rim on the other side is not created anymore, just as the back/front filling faces are not created when disabled.
when both are off the behavior is unchanged.

This is needed when rendering alpha text so its possible to have a single layer of faces but use the bevel option to make text thicker.
adding a rim on the back when back is disabled also doesnt make much sense IMHO.

minor python edits too.
2010-07-14 17:47:58 +00:00
Campbell Barton
3580d6229a - text3d was missing menu items for toggling bold/underline/italic/smallcaps.
- made smallcaps use a temp flag so caps can still have the smallcaps flag.
- utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places.
- removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too.
- fix for some warnings.
2010-07-13 23:51:21 +00:00
Campbell Barton
ea4e5a08cd script to create a man page from blenders --help text, replaced the hand edited man page with this. 2010-06-27 00:33:12 +00:00
Campbell Barton
1a3129c40a man page from debian updated for 2.5, better maintain here for other linux distros. 2010-06-07 15:37:59 +00:00
Campbell Barton
ed4377faa7 replace referenecs to python 2.x 2010-04-20 15:46:28 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Nathan Letwory
0a8e8c8c9e * add Brecht's small patch to make values to BF_QUICK and BF_QUICKDEBUG function as partial search entries.
- this means you can do BF_QUICK=bf_ and it would build all libs that contain bf_ in their name. This makes
    it easier to use, since you don't have to remember the exact names

* Update documentation to mention scons-local.
2008-11-09 21:00:49 +00:00
Nathan Letwory
027d86b9ff * doc update 2008-10-31 16:33:42 +00:00
Nathan Letwory
5d92376ef4 === SCons ===
* small doc update
2008-10-05 19:07:09 +00:00
Nathan Letwory
7a54b35a3e * add small bit of docs about BF_CONFIG 2008-04-28 09:41:51 +00:00
Jean-Luc Peurière
42b629a69b add the option of not installing to scons build system
settting WITHOUT_BF_INSTALL='true' will disable
 the copying to INSTALL_DIR

you can use that in your user-config.py or commandline

slipping in minor cleaning for Os X builds
2007-08-14 20:55:59 +00:00
Nathan Letwory
4b05da5612 * update version numbers for scons official stable. 2007-06-11 08:42:54 +00:00
Nathan Letwory
d40a7ba901 * update link to dependencies page. 2007-04-17 05:21:37 +00:00
Joilnen Leite
76240d9c10 fixing x2 param 2007-01-29 23:36:26 +00:00
Stephen Swaney
b13ee88805 added a note about using SCons version 0.96.1
problems reported with beta versions with mingw on forum.
2006-12-11 13:52:23 +00:00
Jacques Beuarain
cad803951a CMake: Provide better control over Python versions and library locations for both Mac and Unix and add to documentation 2006-12-06 08:52:43 +00:00
Jacques Beuarain
fd9415511a CMake: Initial commit of CMake usage document for Blender 2006-11-18 16:16:56 +00:00
Nathan Letwory
ff730aa486 * change Python version from 2.3 to 2.4, since it is a requirement for Blender anyway. Thanks to kalabalik for pointing out. 2006-09-01 07:06:55 +00:00
Nathan Letwory
8d9629cef9 ==SCons==
* The documentation for BF_QUICKDEBUG et al, missing from previous commit. Also
  provided by Joseph Eagar.
2006-03-17 16:42:43 +00:00
Nathan Letwory
9b239883f0 ==SCons==
* if you all look to the left, you won't see that on the right BF_PRIORITYLIST
  was spelled BF_PRIORITY_LIST twice.
2006-03-09 23:48:56 +00:00
Nathan Letwory
bbcfb14afa ==SCons==
+ Added note about using the config files. I repeat it here: a user NEVER
  should edit config/(platform)-config.py directly. Instead, make a copy of
  config/(platform)-config.py to user-config.py, and change that instead.

  /Nathan

  PS. now I can say "I told you", and be sure I will :P
2006-02-06 06:52:24 +00:00
Nathan Letwory
e46b74d18e == SCons ==
* Added a user and a developer doc for the upcoming SCons commits.
  These documents should get most people started after the commit
  of the new scripts is a fact.
2006-02-04 12:04:55 +00:00
Ton Roosendaal
c61f6463b1 Updated BL text.
This option has not been used for 3 years, and is very unlikely to happen
anytime.
2005-06-06 12:18:44 +00:00
Chris Burt
b8983996d2 Updated channel listing for help with compiling Blender to reflect (once
again) the existence of #blendercompilers. Also added link to updated
compiling guide found here:

http://www.blender3d.org/cms/Building_with_Cygwin.524.0.html

Thanks to Tom M. and joeedh for pointing out that it should be updated.
2005-03-22 23:38:34 +00:00
Kent Mein
300f10afc8 Tom's additions to the windows build.
(I changed #blendersaue to #blendercoders not #blendercompilers,
does anyone actually use #blendercompilers?)

Kent
2004-05-27 08:05:55 +00:00
Ton Roosendaal
dca4852482 Member added, who wasnt included due to wrong subscription. 2004-05-06 11:15:04 +00:00
Chris Want
5bd765b731 An update to the windows/gcc docs:
1) Explained the usage of the backslash at an end of a line
2) added note about new package gcc-g++
2004-04-11 19:30:26 +00:00
Ton Roosendaal
fe46c648e2 fix for description of UI_BLOCK_RET_1. 2003-11-21 13:16:04 +00:00
Ton Roosendaal
dbed089835 - text provided by Gregor Mueckl
describes the MEM_mallocN and MEM_callocN api
2003-08-27 17:46:59 +00:00
Ton Roosendaal
6d6936fa8f - interface.c doc 2003-08-04 12:40:09 +00:00
Casey Corn
9c9b8a9565 Enabled distributing group documentation, in order to make docs
cleaner.
2003-06-03 02:24:35 +00:00
Chris Want
fb76c8ac76 Updated the docs for building blender using cygwin/gcc.
Thanks for the input Pjotr!
2003-05-30 15:50:09 +00:00
Casey Corn
56c65a051a Added some input files and turned the INTERNAL_DOCS option on. 2003-05-30 01:48:17 +00:00
Casey Corn
ac3ca167e9 Turned on the EXTRACT_STATIC flag and added BUILD_DATE to
the PREDEFINED variables.  The generated docs will now show
documented static functions, and show the variables in buildinfo.c
2003-05-26 19:16:30 +00:00
Casey Corn
2d6b135345 Added ghost and imbuf to mainpage. 2003-05-24 20:48:29 +00:00
Casey Corn
c15bc23148 Added ghost, imbuf, and some src files to input, and switched on the
SOURCE_BROWSER flag to make the source code available in HTML
format.
2003-05-24 20:42:56 +00:00
Chris Want
924a849755 Support for building bf-blender under windows with gcc (huge thanks to
Florian Eggenburger).

Full instructions are in doc/README.windows-gcc.

Main differences from Florian's patch:

- the 'lib' dir should now be the same level as the 'blender' dir (rather
than being a subdir of 'blender'). This is consistent with the other
platforms that bf-blender supports (tuhopuu will also adopt this convention
hopefully soon).

- the script 'free_windows-env.mk' is no longer needed ... see the
docs about how this is overcome (again, tuhopuu will hopefully
also follow this route soon).

- the dlltool dir has it's own Makefile that builds all of the
needed stub libraries from the dll's in cvs.
2003-05-24 20:04:37 +00:00
Casey Corn
a4afbb1e28 Added group defaultconfig to group mainmodule. 2003-05-24 00:41:27 +00:00
Casey Corn
f293d6d676 This is the initial commit for the doxygen config file and the file which
defines the blender blender mainpage and the major module groups.
2003-05-24 00:10:39 +00:00
Kent Mein
64f0bdd954 Moved the misc txt files into the doc dir...
I wasn't sure maybe the two license files should be put in the root dir
instead....

I also reformated the bf-members.txt file a little to nuke extra spaces and
newlines (as well as updated my entry to include my name instead of just
sirdude... It looks like there are some special chars in it that someone
should fixup, not sure what they are suppose to be though)

Kent
2003-05-21 18:59:42 +00:00