Final working fix for the EOL extension.

MSVC debugger tools are now forced to CRLF.
This commit is contained in:
Hauke Heibel 2011-04-30 18:10:17 +02:00
parent 0358a8247c
commit 10426b7647
2 changed files with 299 additions and 296 deletions

5
.hgeol
View File

@ -1,4 +1,7 @@
[patterns] [patterns]
**.* = native
scripts/*.in = LF scripts/*.in = LF
debug/msvc/*.dat = CRLF debug/msvc/*.dat = CRLF
** = native
[repository]
native = LF

View File

@ -1,295 +1,295 @@
; *************************************************************** ; ***************************************************************
; * Eigen Visualizer ; * Eigen Visualizer
; * ; *
; * Author: Hauke Heibel <hauke.heibel@gmail.com> ; * Author: Hauke Heibel <hauke.heibel@gmail.com>
; * ; *
; * Support the enhanced debugging of the following Eigen ; * Support the enhanced debugging of the following Eigen
; * types (*: any, +:fixed dimension) : ; * types (*: any, +:fixed dimension) :
; * ; *
; * - Eigen::Matrix<*,4,1,*,*,*> and Eigen::Matrix<*,1,4,*,*,*> ; * - Eigen::Matrix<*,4,1,*,*,*> and Eigen::Matrix<*,1,4,*,*,*>
; * - Eigen::Matrix<*,3,1,*,*,*> and Eigen::Matrix<*,1,3,*,*,*> ; * - Eigen::Matrix<*,3,1,*,*,*> and Eigen::Matrix<*,1,3,*,*,*>
; * - Eigen::Matrix<*,2,1,*,*,*> and Eigen::Matrix<*,1,2,*,*,*> ; * - Eigen::Matrix<*,2,1,*,*,*> and Eigen::Matrix<*,1,2,*,*,*>
; * - Eigen::Matrix<*,-1,-1,*,*,*> ; * - Eigen::Matrix<*,-1,-1,*,*,*>
; * - Eigen::Matrix<*,+,-1,*,*,*> ; * - Eigen::Matrix<*,+,-1,*,*,*>
; * - Eigen::Matrix<*,-1,+,*,*,*> ; * - Eigen::Matrix<*,-1,+,*,*,*>
; * - Eigen::Matrix<*,+,+,*,*,*> ; * - Eigen::Matrix<*,+,+,*,*,*>
; * ; *
; * Matrices are displayed properly independantly of the memory ; * Matrices are displayed properly independantly of the memory
; * alignment (RowMajor vs. ColMajor). ; * alignment (RowMajor vs. ColMajor).
; * ; *
; * This file is distributed WITHOUT ANY WARRANTY. Please ensure ; * This file is distributed WITHOUT ANY WARRANTY. Please ensure
; * that your original autoexp.dat file is copied to a safe ; * that your original autoexp.dat file is copied to a safe
; * place before proceeding with its modification. ; * place before proceeding with its modification.
; *************************************************************** ; ***************************************************************
[Visualizer] [Visualizer]
; Fixed size 4-vectors ; Fixed size 4-vectors
Eigen::Matrix<*,4,1,*,*,*>|Eigen::Matrix<*,1,4,*,*,*>{ Eigen::Matrix<*,4,1,*,*,*>|Eigen::Matrix<*,1,4,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0], x : ($c.m_storage.m_data.array)[0],
y : ($c.m_storage.m_data.array)[1], y : ($c.m_storage.m_data.array)[1],
z : ($c.m_storage.m_data.array)[2], z : ($c.m_storage.m_data.array)[2],
w : ($c.m_storage.m_data.array)[3] w : ($c.m_storage.m_data.array)[3]
) )
) )
preview preview
( (
#( #(
"[", "[",
4, 4,
"](", "](",
#array(expr: $e.m_storage.m_data.array[$i], size: 4), #array(expr: $e.m_storage.m_data.array[$i], size: 4),
")" ")"
) )
) )
} }
; Fixed size 3-vectors ; Fixed size 3-vectors
Eigen::Matrix<*,3,1,*,*,*>|Eigen::Matrix<*,1,3,*,*,*>{ Eigen::Matrix<*,3,1,*,*,*>|Eigen::Matrix<*,1,3,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0], x : ($c.m_storage.m_data.array)[0],
y : ($c.m_storage.m_data.array)[1], y : ($c.m_storage.m_data.array)[1],
z : ($c.m_storage.m_data.array)[2] z : ($c.m_storage.m_data.array)[2]
) )
) )
preview preview
( (
#( #(
"[", "[",
3, 3,
"](", "](",
#array(expr: $e.m_storage.m_data.array[$i], size: 3), #array(expr: $e.m_storage.m_data.array[$i], size: 3),
")" ")"
) )
) )
} }
; Fixed size 2-vectors ; Fixed size 2-vectors
Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{ Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0], x : ($c.m_storage.m_data.array)[0],
y : ($c.m_storage.m_data.array)[1] y : ($c.m_storage.m_data.array)[1]
) )
) )
preview preview
( (
#( #(
"[", "[",
2, 2,
"](", "](",
#array(expr: $e.m_storage.m_data.array[$i], size: 2), #array(expr: $e.m_storage.m_data.array[$i], size: 2),
")" ")"
) )
) )
} }
; Fixed size 1-vectors ; Fixed size 1-vectors
Eigen::Matrix<*,1,1,*,*,*>|Eigen::Matrix<*,1,1,*,*,*>{ Eigen::Matrix<*,1,1,*,*,*>|Eigen::Matrix<*,1,1,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0] x : ($c.m_storage.m_data.array)[0]
) )
) )
preview preview
( (
#( #(
"[", "[",
1, 1,
"](", "](",
#array(expr: $e.m_storage.m_data.array[$i], size: 1), #array(expr: $e.m_storage.m_data.array[$i], size: 1),
")" ")"
) )
) )
} }
; Dynamic matrices (ColMajor and RowMajor support) ; Dynamic matrices (ColMajor and RowMajor support)
Eigen::Matrix<*,-1,-1,*,*,*>{ Eigen::Matrix<*,-1,-1,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
rows: $c.m_storage.m_rows, rows: $c.m_storage.m_rows,
cols: $c.m_storage.m_cols, cols: $c.m_storage.m_cols,
; Check for RowMajorBit ; Check for RowMajorBit
#if ($c.Flags & 0x1) ( #if ($c.Flags & 0x1) (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[($i % $c.m_storage.m_rows)*$c.m_storage.m_cols + (($i- $i % $c.m_storage.m_rows)/$c.m_storage.m_rows)], expr: ($c.m_storage.m_data)[($i % $c.m_storage.m_rows)*$c.m_storage.m_cols + (($i- $i % $c.m_storage.m_rows)/$c.m_storage.m_rows)],
size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.m_storage.m_cols size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.m_storage.m_cols
) )
) #else ( ) #else (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[$i], expr: ($c.m_storage.m_data)[$i],
size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.m_storage.m_cols size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.m_storage.m_cols
) )
) )
) )
) )
preview preview
( (
#( #(
"[", "[",
$c.m_storage.m_rows, $c.m_storage.m_rows,
",", ",",
$c.m_storage.m_cols, $c.m_storage.m_cols,
"](", "](",
#array( #array(
expr : [($c.m_storage.m_data)[$i],g], expr : [($c.m_storage.m_data)[$i],g],
size : $c.m_storage.m_rows*$c.m_storage.m_cols size : $c.m_storage.m_rows*$c.m_storage.m_cols
), ),
")" ")"
) )
) )
} }
; Fixed rows, dynamic columns matrix (ColMajor and RowMajor support) ; Fixed rows, dynamic columns matrix (ColMajor and RowMajor support)
Eigen::Matrix<*,*,-1,*,*,*>{ Eigen::Matrix<*,*,-1,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
rows: $c.RowsAtCompileTime, rows: $c.RowsAtCompileTime,
cols: $c.m_storage.m_cols, cols: $c.m_storage.m_cols,
; Check for RowMajorBit ; Check for RowMajorBit
#if ($c.Flags & 0x1) ( #if ($c.Flags & 0x1) (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[($i % $c.RowsAtCompileTime)*$c.m_storage.m_cols + (($i- $i % $c.RowsAtCompileTime)/$c.RowsAtCompileTime)], expr: ($c.m_storage.m_data)[($i % $c.RowsAtCompileTime)*$c.m_storage.m_cols + (($i- $i % $c.RowsAtCompileTime)/$c.RowsAtCompileTime)],
size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.m_storage.m_cols size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.m_storage.m_cols
) )
) #else ( ) #else (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[$i], expr: ($c.m_storage.m_data)[$i],
size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.m_storage.m_cols size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.m_storage.m_cols
) )
) )
) )
) )
preview preview
( (
#( #(
"[", "[",
$c.RowsAtCompileTime, $c.RowsAtCompileTime,
",", ",",
$c.m_storage.m_cols, $c.m_storage.m_cols,
"](", "](",
#array( #array(
expr : [($c.m_storage.m_data)[$i],g], expr : [($c.m_storage.m_data)[$i],g],
size : $c.RowsAtCompileTime*$c.m_storage.m_cols size : $c.RowsAtCompileTime*$c.m_storage.m_cols
), ),
")" ")"
) )
) )
} }
; Dynamic rows, fixed columns matrix (ColMajor and RowMajor support) ; Dynamic rows, fixed columns matrix (ColMajor and RowMajor support)
Eigen::Matrix<*,-1,*,*,*,*>{ Eigen::Matrix<*,-1,*,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
rows: $c.m_storage.m_rows, rows: $c.m_storage.m_rows,
cols: $c.ColsAtCompileTime, cols: $c.ColsAtCompileTime,
; Check for RowMajorBit ; Check for RowMajorBit
#if ($c.Flags & 0x1) ( #if ($c.Flags & 0x1) (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[($i % $c.m_storage.m_rows)*$c.ColsAtCompileTime + (($i- $i % $c.m_storage.m_rows)/$c.m_storage.m_rows)], expr: ($c.m_storage.m_data)[($i % $c.m_storage.m_rows)*$c.ColsAtCompileTime + (($i- $i % $c.m_storage.m_rows)/$c.m_storage.m_rows)],
size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.ColsAtCompileTime size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.ColsAtCompileTime
) )
) #else ( ) #else (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data)[$i], expr: ($c.m_storage.m_data)[$i],
size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.ColsAtCompileTime size: ($r==1)*$c.m_storage.m_rows+($r==0)*$c.ColsAtCompileTime
) )
) )
) )
) )
preview preview
( (
#( #(
"[", "[",
$c.m_storage.m_rows, $c.m_storage.m_rows,
",", ",",
$c.ColsAtCompileTime, $c.ColsAtCompileTime,
"](", "](",
#array( #array(
expr : [($c.m_storage.m_data)[$i],g], expr : [($c.m_storage.m_data)[$i],g],
size : $c.m_storage.m_rows*$c.ColsAtCompileTime size : $c.m_storage.m_rows*$c.ColsAtCompileTime
), ),
")" ")"
) )
) )
} }
; Fixed size matrix (ColMajor and RowMajor support) ; Fixed size matrix (ColMajor and RowMajor support)
Eigen::Matrix<*,*,*,*,*,*>{ Eigen::Matrix<*,*,*,*,*,*>{
children children
( (
#( #(
[internals]: [$c,!], [internals]: [$c,!],
rows: $c.RowsAtCompileTime, rows: $c.RowsAtCompileTime,
cols: $c.ColsAtCompileTime, cols: $c.ColsAtCompileTime,
; Check for RowMajorBit ; Check for RowMajorBit
#if ($c.Flags & 0x1) ( #if ($c.Flags & 0x1) (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data.array)[($i % $c.RowsAtCompileTime)*$c.ColsAtCompileTime + (($i- $i % $c.RowsAtCompileTime)/$c.RowsAtCompileTime)], expr: ($c.m_storage.m_data.array)[($i % $c.RowsAtCompileTime)*$c.ColsAtCompileTime + (($i- $i % $c.RowsAtCompileTime)/$c.RowsAtCompileTime)],
size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.ColsAtCompileTime size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.ColsAtCompileTime
) )
) #else ( ) #else (
#array( #array(
rank: 2, rank: 2,
base: 0, base: 0,
expr: ($c.m_storage.m_data.array)[$i], expr: ($c.m_storage.m_data.array)[$i],
size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.ColsAtCompileTime size: ($r==1)*$c.RowsAtCompileTime+($r==0)*$c.ColsAtCompileTime
) )
) )
) )
) )
preview preview
( (
#( #(
"[", "[",
$c.RowsAtCompileTime, $c.RowsAtCompileTime,
",", ",",
$c.ColsAtCompileTime, $c.ColsAtCompileTime,
"](", "](",
#array( #array(
expr : [($c.m_storage.m_data.array)[$i],g], expr : [($c.m_storage.m_data.array)[$i],g],
size : $c.RowsAtCompileTime*$c.ColsAtCompileTime size : $c.RowsAtCompileTime*$c.ColsAtCompileTime
), ),
")" ")"
) )
) )
} }