CMake: minor spelling fix for WITH_BOOST

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D26
Code cleanup: Minor addition to rB254aa8f3a0fbffcbcb886cfaa81b630ae3e9bb78: handle copying of drawflag in ui_but_update_from_old_block()

Note that this is not really needed currently, as the only flag being copied here (UI_BUT_REDALERT) remained in but->flag. However, since we'll have more flags in drawflag now, it's better to explicitly handle this situation...
This func could use some cleanup anyway (a bunch of commented code here)...

Thanks to Campbell for noting this!
Code Cleanup: int pointer comparison
Armature Editing: select shortest path (Ctrl+RMB matching mesh operator)

Patch originally from Terry Struven, modified to use more generic functions.
Cycles: Add a "Normal" input socket to the Layer Weight node + GLSL drawing code.

Patch by lichtwerk (Philipp Oeser).

Differential Revision: http://developer.blender.org/D28
fix for active bone not saving in editmode.
Code Cleanup: use NULL for pointer checks and remove joke.
Code Cleanup: warnings
Fix T37559: Crash dissolving vertices in some situations
Fix T37281: View3D could have invalid transform orientation using undo
Fix T37465: UV Coords we're incorrect when converting from a curve
Optimization for render result save

Skip byte->float conversion if output file format
supports high bit depths but configured to only
output 8 bits per channel.

Gives around 30% speedup when re-exporting movie file
to PNG image sequence here on laptop.

Possible further optimization:

- Skip color space conversion in imbuf_for_write
  function if we've got already have buffer in
  that space.

  This doesn't seem to happen often after tweak
  to render result to imbuf.

- Skip black alpha-under if original image is
  opaque,

  This is a bit tricky to detect.
Fix T37359: Dynamic Paint deletes inactive texture from smoke domain when using a material as brush color
Cycles: test code for sse 4.1 kernel and alignment for some vector types.

This is mostly work towards enabling the __KERNEL_SSE__ option to start using
SIMD operations for vector math operations. This 4.1 kernel performes about 8%
faster with that option but overall is still slower than without the option.

WITH_CYCLES_OPTIMIZED_KERNEL_SSE41 is the cmake flag for testing this kernel.

Alignment of int3, int4, float3, float4 to 16 bytes seems to give a slight 1-2%
speedup on tested systems with the current kernel already, so is enabled now.
Fix T37485: autocomplete while appending and autocomplete folder behaviour.

This adds functionality to tab-autocomplete folders in the file browser file
field, and the ability to autocomplete .blend files and their sub folders while
linking. If only one match of a blend or a folder is found, it is opened, which
applies to wildcards in the file field now.

Reviewed By: elubie, brecht

Differential Revision: http://developer.blender.org/D20
Style Cleanup: whitespace
Ignore *.patch and *.diff files which are in the working tree root
Fix cycles build error with visual studio, apparently the windows ABI does not
like 16 bit alignment on 32 bit.
Anim Editors: Refactored animchannel type definition callbacks to use bools

Changes:
- acf.name_prop() and acf.has_setting() now return bools instead of shorts
- Renamed a few name_prop() callbacks whose names ended in "_nameprop"
  instead of "_name_prop", which made it difficult to safely find all
  such instances
More short->bool refactoring work for anim channel type define callbacks

Changed the "neg" flag for acf.setting_flag() to be a bool