rb-gsl 1.16.0.5 → 1.16.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (612) hide show
  1. checksums.yaml +4 -4
  2. data/rb-gsl.gemspec +5 -10
  3. metadata +10 -713
  4. data/.gitignore +0 -12
  5. data/.travis.yml +0 -24
  6. data/AUTHORS +0 -12
  7. data/COPYING +0 -341
  8. data/ChangeLog +0 -621
  9. data/Gemfile +0 -4
  10. data/README.md +0 -77
  11. data/Rakefile +0 -20
  12. data/THANKS +0 -17
  13. data/examples/alf/alf.gp +0 -15
  14. data/examples/alf/alf.rb +0 -32
  15. data/examples/blas/blas.rb +0 -13
  16. data/examples/blas/dnrm2.rb +0 -16
  17. data/examples/blas/level1.rb +0 -81
  18. data/examples/blas/level2.rb +0 -11
  19. data/examples/blas/level3.rb +0 -12
  20. data/examples/bspline.rb +0 -57
  21. data/examples/cdf.rb +0 -16
  22. data/examples/cheb.rb +0 -21
  23. data/examples/combination.rb +0 -23
  24. data/examples/complex/RC-lpf.rb +0 -47
  25. data/examples/complex/add.rb +0 -36
  26. data/examples/complex/coerce.rb +0 -14
  27. data/examples/complex/complex.rb +0 -25
  28. data/examples/complex/fpmi.rb +0 -70
  29. data/examples/complex/functions.rb +0 -77
  30. data/examples/complex/michelson.rb +0 -36
  31. data/examples/complex/mul.rb +0 -28
  32. data/examples/complex/oscillator.rb +0 -17
  33. data/examples/complex/set.rb +0 -37
  34. data/examples/const/physconst.rb +0 -151
  35. data/examples/const/travel.rb +0 -45
  36. data/examples/deriv/demo.rb +0 -13
  37. data/examples/deriv/deriv.rb +0 -36
  38. data/examples/deriv/diff.rb +0 -35
  39. data/examples/dht.rb +0 -42
  40. data/examples/dirac.rb +0 -56
  41. data/examples/eigen/eigen.rb +0 -34
  42. data/examples/eigen/herm.rb +0 -22
  43. data/examples/eigen/narray.rb +0 -9
  44. data/examples/eigen/nonsymm.rb +0 -37
  45. data/examples/eigen/nonsymmv.rb +0 -43
  46. data/examples/eigen/qhoscillator.gp +0 -35
  47. data/examples/eigen/qhoscillator.rb +0 -90
  48. data/examples/eigen/vander.rb +0 -41
  49. data/examples/fft/fft.rb +0 -17
  50. data/examples/fft/fft2.rb +0 -17
  51. data/examples/fft/forward.rb +0 -25
  52. data/examples/fft/forward2.rb +0 -26
  53. data/examples/fft/radix2.rb +0 -18
  54. data/examples/fft/real-halfcomplex.rb +0 -33
  55. data/examples/fft/real-halfcomplex2.rb +0 -30
  56. data/examples/fft/realradix2.rb +0 -19
  57. data/examples/fft/sunspot.dat +0 -256
  58. data/examples/fft/sunspot.rb +0 -16
  59. data/examples/fit/expdata.dat +0 -20
  60. data/examples/fit/expfit.rb +0 -31
  61. data/examples/fit/gaussfit.rb +0 -29
  62. data/examples/fit/gaussian_2peaks.rb +0 -34
  63. data/examples/fit/hillfit.rb +0 -40
  64. data/examples/fit/lognormal.rb +0 -26
  65. data/examples/fit/lorentzfit.rb +0 -22
  66. data/examples/fit/multifit.rb +0 -72
  67. data/examples/fit/ndlinear.rb +0 -133
  68. data/examples/fit/nonlinearfit.rb +0 -89
  69. data/examples/fit/plot.gp +0 -36
  70. data/examples/fit/polyfit.rb +0 -9
  71. data/examples/fit/powerfit.rb +0 -21
  72. data/examples/fit/sigmoidfit.rb +0 -40
  73. data/examples/fit/sinfit.rb +0 -22
  74. data/examples/fit/wlinear.rb +0 -46
  75. data/examples/fresnel.rb +0 -11
  76. data/examples/function/function.rb +0 -36
  77. data/examples/function/log.rb +0 -7
  78. data/examples/function/min.rb +0 -33
  79. data/examples/function/sin.rb +0 -10
  80. data/examples/function/synchrotron.rb +0 -18
  81. data/examples/gallery/butterfly.rb +0 -7
  82. data/examples/gallery/cayley.rb +0 -12
  83. data/examples/gallery/cornu.rb +0 -23
  84. data/examples/gallery/eight.rb +0 -11
  85. data/examples/gallery/koch.rb +0 -40
  86. data/examples/gallery/lemniscate.rb +0 -11
  87. data/examples/gallery/polar.rb +0 -11
  88. data/examples/gallery/rgplot/cossin.rb +0 -35
  89. data/examples/gallery/rgplot/rgplot.replaced +0 -0
  90. data/examples/gallery/rgplot/roesller.rb +0 -55
  91. data/examples/gallery/roesller.rb +0 -39
  92. data/examples/gallery/scarabaeus.rb +0 -14
  93. data/examples/histogram/cauchy.rb +0 -27
  94. data/examples/histogram/cauchy.sh +0 -2
  95. data/examples/histogram/exponential.rb +0 -19
  96. data/examples/histogram/gauss.rb +0 -16
  97. data/examples/histogram/gsl-histogram.rb +0 -40
  98. data/examples/histogram/histo2d.rb +0 -31
  99. data/examples/histogram/histo3d.rb +0 -34
  100. data/examples/histogram/histogram-pdf.rb +0 -27
  101. data/examples/histogram/histogram.rb +0 -26
  102. data/examples/histogram/integral.rb +0 -28
  103. data/examples/histogram/poisson.rb +0 -27
  104. data/examples/histogram/power.rb +0 -25
  105. data/examples/histogram/rebin.rb +0 -17
  106. data/examples/histogram/smp.dat +0 -5
  107. data/examples/histogram/xexp.rb +0 -21
  108. data/examples/integration/ahmed.rb +0 -21
  109. data/examples/integration/cosmology.rb +0 -75
  110. data/examples/integration/friedmann.gp +0 -16
  111. data/examples/integration/friedmann.rb +0 -35
  112. data/examples/integration/gamma-zeta.rb +0 -35
  113. data/examples/integration/integration.rb +0 -22
  114. data/examples/integration/qag.rb +0 -8
  115. data/examples/integration/qag2.rb +0 -14
  116. data/examples/integration/qag3.rb +0 -8
  117. data/examples/integration/qagi.rb +0 -28
  118. data/examples/integration/qagi2.rb +0 -49
  119. data/examples/integration/qagiu.rb +0 -29
  120. data/examples/integration/qagp.rb +0 -20
  121. data/examples/integration/qags.rb +0 -14
  122. data/examples/integration/qawc.rb +0 -18
  123. data/examples/integration/qawf.rb +0 -41
  124. data/examples/integration/qawo.rb +0 -29
  125. data/examples/integration/qaws.rb +0 -30
  126. data/examples/integration/qng.rb +0 -17
  127. data/examples/interp/demo.gp +0 -20
  128. data/examples/interp/demo.rb +0 -45
  129. data/examples/interp/interp.rb +0 -37
  130. data/examples/interp/points +0 -10
  131. data/examples/interp/spline.rb +0 -20
  132. data/examples/jacobi/deriv.rb +0 -40
  133. data/examples/jacobi/integrate.rb +0 -34
  134. data/examples/jacobi/interp.rb +0 -43
  135. data/examples/jacobi/jacobi.rb +0 -11
  136. data/examples/linalg/HH.rb +0 -15
  137. data/examples/linalg/HH_narray.rb +0 -13
  138. data/examples/linalg/LQ_solve.rb +0 -73
  139. data/examples/linalg/LU.rb +0 -84
  140. data/examples/linalg/LU2.rb +0 -31
  141. data/examples/linalg/LU_narray.rb +0 -24
  142. data/examples/linalg/PTLQ.rb +0 -47
  143. data/examples/linalg/QR.rb +0 -18
  144. data/examples/linalg/QRPT.rb +0 -47
  145. data/examples/linalg/QR_solve.rb +0 -78
  146. data/examples/linalg/QR_solve_narray.rb +0 -13
  147. data/examples/linalg/SV.rb +0 -16
  148. data/examples/linalg/SV_narray.rb +0 -12
  149. data/examples/linalg/SV_solve.rb +0 -49
  150. data/examples/linalg/chol.rb +0 -29
  151. data/examples/linalg/chol_narray.rb +0 -15
  152. data/examples/linalg/complex.rb +0 -57
  153. data/examples/linalg/invert_narray.rb +0 -10
  154. data/examples/math/const.rb +0 -67
  155. data/examples/math/elementary.rb +0 -35
  156. data/examples/math/functions.rb +0 -41
  157. data/examples/math/inf_nan.rb +0 -34
  158. data/examples/math/minmax.rb +0 -22
  159. data/examples/math/power.rb +0 -18
  160. data/examples/math/test.rb +0 -31
  161. data/examples/matrix/a.dat +0 -0
  162. data/examples/matrix/add.rb +0 -45
  163. data/examples/matrix/b.dat +0 -4
  164. data/examples/matrix/cat.rb +0 -31
  165. data/examples/matrix/colvectors.rb +0 -24
  166. data/examples/matrix/complex.rb +0 -41
  167. data/examples/matrix/det.rb +0 -29
  168. data/examples/matrix/diagonal.rb +0 -23
  169. data/examples/matrix/get_all.rb +0 -159
  170. data/examples/matrix/hilbert.rb +0 -31
  171. data/examples/matrix/iterator.rb +0 -19
  172. data/examples/matrix/matrix.rb +0 -57
  173. data/examples/matrix/minmax.rb +0 -53
  174. data/examples/matrix/mul.rb +0 -39
  175. data/examples/matrix/rand.rb +0 -20
  176. data/examples/matrix/read.rb +0 -29
  177. data/examples/matrix/rowcol.rb +0 -47
  178. data/examples/matrix/set.rb +0 -41
  179. data/examples/matrix/set_all.rb +0 -100
  180. data/examples/matrix/view.rb +0 -32
  181. data/examples/matrix/view_all.rb +0 -148
  182. data/examples/matrix/write.rb +0 -23
  183. data/examples/min.rb +0 -29
  184. data/examples/monte/miser.rb +0 -47
  185. data/examples/monte/monte.rb +0 -47
  186. data/examples/monte/plain.rb +0 -47
  187. data/examples/monte/vegas.rb +0 -46
  188. data/examples/multimin/bundle.rb +0 -66
  189. data/examples/multimin/cqp.rb +0 -109
  190. data/examples/multimin/fdfminimizer.rb +0 -40
  191. data/examples/multimin/fminimizer.rb +0 -41
  192. data/examples/multiroot/demo.rb +0 -36
  193. data/examples/multiroot/fdfsolver.rb +0 -50
  194. data/examples/multiroot/fsolver.rb +0 -33
  195. data/examples/multiroot/fsolver2.rb +0 -32
  196. data/examples/multiroot/fsolver3.rb +0 -26
  197. data/examples/narray/histogram.rb +0 -14
  198. data/examples/narray/mandel.rb +0 -27
  199. data/examples/narray/narray.rb +0 -28
  200. data/examples/narray/narray2.rb +0 -44
  201. data/examples/narray/sf.rb +0 -26
  202. data/examples/ntuple/create.rb +0 -17
  203. data/examples/ntuple/project.rb +0 -31
  204. data/examples/odeiv/binarysystem.gp +0 -23
  205. data/examples/odeiv/binarysystem.rb +0 -104
  206. data/examples/odeiv/demo.gp +0 -24
  207. data/examples/odeiv/demo.rb +0 -69
  208. data/examples/odeiv/demo2.gp +0 -26
  209. data/examples/odeiv/duffing.rb +0 -45
  210. data/examples/odeiv/frei1.rb +0 -109
  211. data/examples/odeiv/frei2.rb +0 -76
  212. data/examples/odeiv/legendre.rb +0 -52
  213. data/examples/odeiv/odeiv.rb +0 -32
  214. data/examples/odeiv/odeiv2.rb +0 -45
  215. data/examples/odeiv/oscillator.rb +0 -42
  216. data/examples/odeiv/sedov.rb +0 -97
  217. data/examples/odeiv/whitedwarf.gp +0 -40
  218. data/examples/odeiv/whitedwarf.rb +0 -158
  219. data/examples/ool/conmin.rb +0 -100
  220. data/examples/ool/gencan.rb +0 -99
  221. data/examples/ool/pgrad.rb +0 -100
  222. data/examples/ool/spg.rb +0 -100
  223. data/examples/pdf/bernoulli.rb +0 -5
  224. data/examples/pdf/beta.rb +0 -7
  225. data/examples/pdf/binomiral.rb +0 -10
  226. data/examples/pdf/cauchy.rb +0 -6
  227. data/examples/pdf/chisq.rb +0 -8
  228. data/examples/pdf/exponential.rb +0 -7
  229. data/examples/pdf/exppow.rb +0 -6
  230. data/examples/pdf/fdist.rb +0 -7
  231. data/examples/pdf/flat.rb +0 -7
  232. data/examples/pdf/gamma.rb +0 -8
  233. data/examples/pdf/gauss-tail.rb +0 -5
  234. data/examples/pdf/gauss.rb +0 -6
  235. data/examples/pdf/geometric.rb +0 -5
  236. data/examples/pdf/gumbel.rb +0 -6
  237. data/examples/pdf/hypergeometric.rb +0 -11
  238. data/examples/pdf/landau.rb +0 -5
  239. data/examples/pdf/laplace.rb +0 -7
  240. data/examples/pdf/logarithmic.rb +0 -5
  241. data/examples/pdf/logistic.rb +0 -6
  242. data/examples/pdf/lognormal.rb +0 -6
  243. data/examples/pdf/neg-binomiral.rb +0 -10
  244. data/examples/pdf/pareto.rb +0 -7
  245. data/examples/pdf/pascal.rb +0 -10
  246. data/examples/pdf/poisson.rb +0 -5
  247. data/examples/pdf/rayleigh-tail.rb +0 -6
  248. data/examples/pdf/rayleigh.rb +0 -6
  249. data/examples/pdf/tdist.rb +0 -6
  250. data/examples/pdf/weibull.rb +0 -8
  251. data/examples/permutation/ex1.rb +0 -22
  252. data/examples/permutation/permutation.rb +0 -16
  253. data/examples/poly/bell.rb +0 -6
  254. data/examples/poly/bessel.rb +0 -6
  255. data/examples/poly/cheb.rb +0 -6
  256. data/examples/poly/cheb_II.rb +0 -6
  257. data/examples/poly/cubic.rb +0 -9
  258. data/examples/poly/demo.rb +0 -20
  259. data/examples/poly/eval.rb +0 -28
  260. data/examples/poly/eval_derivs.rb +0 -14
  261. data/examples/poly/fit.rb +0 -21
  262. data/examples/poly/hermite.rb +0 -6
  263. data/examples/poly/poly.rb +0 -13
  264. data/examples/poly/quadratic.rb +0 -25
  265. data/examples/random/diffusion.rb +0 -34
  266. data/examples/random/gaussian.rb +0 -9
  267. data/examples/random/generator.rb +0 -27
  268. data/examples/random/hdsobol.rb +0 -21
  269. data/examples/random/poisson.rb +0 -9
  270. data/examples/random/qrng.rb +0 -19
  271. data/examples/random/randomwalk.rb +0 -37
  272. data/examples/random/randomwalk2d.rb +0 -19
  273. data/examples/random/rayleigh.rb +0 -36
  274. data/examples/random/rng.rb +0 -33
  275. data/examples/random/rngextra.rb +0 -14
  276. data/examples/roots/bisection.rb +0 -25
  277. data/examples/roots/brent.rb +0 -43
  278. data/examples/roots/demo.rb +0 -30
  279. data/examples/roots/newton.rb +0 -46
  280. data/examples/roots/recombination.gp +0 -11
  281. data/examples/roots/recombination.rb +0 -61
  282. data/examples/roots/steffenson.rb +0 -48
  283. data/examples/sf/ShiChi.rb +0 -6
  284. data/examples/sf/SiCi.rb +0 -6
  285. data/examples/sf/airy_Ai.rb +0 -8
  286. data/examples/sf/airy_Bi.rb +0 -8
  287. data/examples/sf/bessel_IK.rb +0 -12
  288. data/examples/sf/bessel_JY.rb +0 -13
  289. data/examples/sf/beta_inc.rb +0 -9
  290. data/examples/sf/clausen.rb +0 -6
  291. data/examples/sf/dawson.rb +0 -5
  292. data/examples/sf/debye.rb +0 -9
  293. data/examples/sf/dilog.rb +0 -6
  294. data/examples/sf/ellint.rb +0 -6
  295. data/examples/sf/expint.rb +0 -8
  296. data/examples/sf/fermi.rb +0 -10
  297. data/examples/sf/gamma_inc_P.rb +0 -9
  298. data/examples/sf/gegenbauer.rb +0 -8
  299. data/examples/sf/hyperg.rb +0 -7
  300. data/examples/sf/laguerre.rb +0 -19
  301. data/examples/sf/lambertW.rb +0 -5
  302. data/examples/sf/legendre_P.rb +0 -10
  303. data/examples/sf/lngamma.rb +0 -5
  304. data/examples/sf/psi.rb +0 -54
  305. data/examples/sf/sphbessel.gp +0 -27
  306. data/examples/sf/sphbessel.rb +0 -30
  307. data/examples/sf/synchrotron.rb +0 -5
  308. data/examples/sf/transport.rb +0 -10
  309. data/examples/sf/zetam1.rb +0 -5
  310. data/examples/siman.rb +0 -44
  311. data/examples/sort/heapsort.rb +0 -23
  312. data/examples/sort/heapsort_vector_complex.rb +0 -21
  313. data/examples/sort/sort.rb +0 -23
  314. data/examples/sort/sort2.rb +0 -16
  315. data/examples/stats/mean.rb +0 -17
  316. data/examples/stats/statistics.rb +0 -18
  317. data/examples/stats/test.rb +0 -9
  318. data/examples/sum.rb +0 -34
  319. data/examples/tamu_anova.rb +0 -18
  320. data/examples/vector/a.dat +0 -0
  321. data/examples/vector/add.rb +0 -56
  322. data/examples/vector/b.dat +0 -4
  323. data/examples/vector/c.dat +0 -3
  324. data/examples/vector/collect.rb +0 -26
  325. data/examples/vector/compare.rb +0 -28
  326. data/examples/vector/complex.rb +0 -51
  327. data/examples/vector/complex_get_all.rb +0 -85
  328. data/examples/vector/complex_set_all.rb +0 -131
  329. data/examples/vector/complex_view_all.rb +0 -77
  330. data/examples/vector/connect.rb +0 -22
  331. data/examples/vector/decimate.rb +0 -38
  332. data/examples/vector/diff.rb +0 -31
  333. data/examples/vector/filescan.rb +0 -17
  334. data/examples/vector/floor.rb +0 -23
  335. data/examples/vector/get_all.rb +0 -82
  336. data/examples/vector/gnuplot.rb +0 -38
  337. data/examples/vector/graph.rb +0 -28
  338. data/examples/vector/histogram.rb +0 -22
  339. data/examples/vector/linspace.rb +0 -24
  340. data/examples/vector/log.rb +0 -17
  341. data/examples/vector/logic.rb +0 -33
  342. data/examples/vector/logspace.rb +0 -25
  343. data/examples/vector/minmax.rb +0 -47
  344. data/examples/vector/mul.rb +0 -49
  345. data/examples/vector/narray.rb +0 -46
  346. data/examples/vector/read.rb +0 -29
  347. data/examples/vector/set.rb +0 -35
  348. data/examples/vector/set_all.rb +0 -121
  349. data/examples/vector/smpv.dat +0 -15
  350. data/examples/vector/test.rb +0 -43
  351. data/examples/vector/test_gslblock.rb +0 -58
  352. data/examples/vector/vector.rb +0 -110
  353. data/examples/vector/view.rb +0 -35
  354. data/examples/vector/view_all.rb +0 -73
  355. data/examples/vector/where.rb +0 -29
  356. data/examples/vector/write.rb +0 -24
  357. data/examples/vector/zip.rb +0 -34
  358. data/examples/wavelet/ecg.dat +0 -256
  359. data/examples/wavelet/wavelet1.rb +0 -50
  360. data/ext/gsl_native/alf.c +0 -206
  361. data/ext/gsl_native/array.c +0 -553
  362. data/ext/gsl_native/array_complex.c +0 -245
  363. data/ext/gsl_native/blas.c +0 -28
  364. data/ext/gsl_native/blas1.c +0 -733
  365. data/ext/gsl_native/blas2.c +0 -1088
  366. data/ext/gsl_native/blas3.c +0 -880
  367. data/ext/gsl_native/block.c +0 -40
  368. data/ext/gsl_native/block_source.h +0 -885
  369. data/ext/gsl_native/bspline.c +0 -122
  370. data/ext/gsl_native/bundle.c +0 -3
  371. data/ext/gsl_native/cdf.c +0 -740
  372. data/ext/gsl_native/cheb.c +0 -531
  373. data/ext/gsl_native/combination.c +0 -275
  374. data/ext/gsl_native/common.c +0 -293
  375. data/ext/gsl_native/complex.c +0 -1002
  376. data/ext/gsl_native/const.c +0 -331
  377. data/ext/gsl_native/const_additional.c +0 -99
  378. data/ext/gsl_native/cqp.c +0 -283
  379. data/ext/gsl_native/deriv.c +0 -187
  380. data/ext/gsl_native/dht.c +0 -353
  381. data/ext/gsl_native/diff.c +0 -164
  382. data/ext/gsl_native/dirac.c +0 -388
  383. data/ext/gsl_native/eigen.c +0 -2322
  384. data/ext/gsl_native/error.c +0 -193
  385. data/ext/gsl_native/extconf.rb +0 -118
  386. data/ext/gsl_native/fft.c +0 -1095
  387. data/ext/gsl_native/fit.c +0 -204
  388. data/ext/gsl_native/fresnel.c +0 -312
  389. data/ext/gsl_native/function.c +0 -518
  390. data/ext/gsl_native/geometry.c +0 -139
  391. data/ext/gsl_native/graph.c +0 -1590
  392. data/ext/gsl_native/gsl.c +0 -259
  393. data/ext/gsl_native/gsl_narray.c +0 -794
  394. data/ext/gsl_native/histogram.c +0 -1964
  395. data/ext/gsl_native/histogram2d.c +0 -1042
  396. data/ext/gsl_native/histogram3d.c +0 -884
  397. data/ext/gsl_native/histogram3d_source.c +0 -749
  398. data/ext/gsl_native/histogram_find.c +0 -99
  399. data/ext/gsl_native/histogram_oper.c +0 -150
  400. data/ext/gsl_native/ieee.c +0 -88
  401. data/ext/gsl_native/include/rb_gsl.h +0 -136
  402. data/ext/gsl_native/include/rb_gsl_array.h +0 -214
  403. data/ext/gsl_native/include/rb_gsl_cheb.h +0 -19
  404. data/ext/gsl_native/include/rb_gsl_common.h +0 -348
  405. data/ext/gsl_native/include/rb_gsl_complex.h +0 -25
  406. data/ext/gsl_native/include/rb_gsl_const.h +0 -23
  407. data/ext/gsl_native/include/rb_gsl_dirac.h +0 -6
  408. data/ext/gsl_native/include/rb_gsl_eigen.h +0 -17
  409. data/ext/gsl_native/include/rb_gsl_fft.h +0 -49
  410. data/ext/gsl_native/include/rb_gsl_fit.h +0 -23
  411. data/ext/gsl_native/include/rb_gsl_function.h +0 -23
  412. data/ext/gsl_native/include/rb_gsl_graph.h +0 -68
  413. data/ext/gsl_native/include/rb_gsl_histogram.h +0 -63
  414. data/ext/gsl_native/include/rb_gsl_histogram3d.h +0 -97
  415. data/ext/gsl_native/include/rb_gsl_integration.h +0 -17
  416. data/ext/gsl_native/include/rb_gsl_interp.h +0 -41
  417. data/ext/gsl_native/include/rb_gsl_linalg.h +0 -21
  418. data/ext/gsl_native/include/rb_gsl_math.h +0 -20
  419. data/ext/gsl_native/include/rb_gsl_odeiv.h +0 -18
  420. data/ext/gsl_native/include/rb_gsl_poly.h +0 -67
  421. data/ext/gsl_native/include/rb_gsl_rational.h +0 -30
  422. data/ext/gsl_native/include/rb_gsl_rng.h +0 -20
  423. data/ext/gsl_native/include/rb_gsl_root.h +0 -22
  424. data/ext/gsl_native/include/rb_gsl_sf.h +0 -110
  425. data/ext/gsl_native/include/rb_gsl_statistics.h +0 -17
  426. data/ext/gsl_native/include/rb_gsl_tensor.h +0 -43
  427. data/ext/gsl_native/include/rb_gsl_with_narray.h +0 -31
  428. data/ext/gsl_native/include/templates_off.h +0 -87
  429. data/ext/gsl_native/include/templates_on.h +0 -241
  430. data/ext/gsl_native/integration.c +0 -1154
  431. data/ext/gsl_native/interp.c +0 -499
  432. data/ext/gsl_native/jacobi.c +0 -733
  433. data/ext/gsl_native/linalg.c +0 -3915
  434. data/ext/gsl_native/linalg_complex.c +0 -726
  435. data/ext/gsl_native/math.c +0 -706
  436. data/ext/gsl_native/matrix.c +0 -36
  437. data/ext/gsl_native/matrix_complex.c +0 -1733
  438. data/ext/gsl_native/matrix_double.c +0 -557
  439. data/ext/gsl_native/matrix_int.c +0 -255
  440. data/ext/gsl_native/matrix_source.h +0 -2708
  441. data/ext/gsl_native/min.c +0 -219
  442. data/ext/gsl_native/monte.c +0 -978
  443. data/ext/gsl_native/multifit.c +0 -1862
  444. data/ext/gsl_native/multimin.c +0 -778
  445. data/ext/gsl_native/multimin_fsdf.c +0 -156
  446. data/ext/gsl_native/multiroots.c +0 -952
  447. data/ext/gsl_native/multiset.c +0 -210
  448. data/ext/gsl_native/ndlinear.c +0 -320
  449. data/ext/gsl_native/nmf.c +0 -171
  450. data/ext/gsl_native/nmf_wrap.c +0 -75
  451. data/ext/gsl_native/ntuple.c +0 -469
  452. data/ext/gsl_native/odeiv.c +0 -947
  453. data/ext/gsl_native/ool.c +0 -879
  454. data/ext/gsl_native/permutation.c +0 -598
  455. data/ext/gsl_native/poly.c +0 -39
  456. data/ext/gsl_native/poly2.c +0 -265
  457. data/ext/gsl_native/poly_source.h +0 -1871
  458. data/ext/gsl_native/qrng.c +0 -160
  459. data/ext/gsl_native/randist.c +0 -1848
  460. data/ext/gsl_native/rational.c +0 -480
  461. data/ext/gsl_native/rng.c +0 -595
  462. data/ext/gsl_native/root.c +0 -407
  463. data/ext/gsl_native/sf.c +0 -1446
  464. data/ext/gsl_native/sf_airy.c +0 -200
  465. data/ext/gsl_native/sf_bessel.c +0 -871
  466. data/ext/gsl_native/sf_clausen.c +0 -28
  467. data/ext/gsl_native/sf_coulomb.c +0 -206
  468. data/ext/gsl_native/sf_coupling.c +0 -121
  469. data/ext/gsl_native/sf_dawson.c +0 -29
  470. data/ext/gsl_native/sf_debye.c +0 -148
  471. data/ext/gsl_native/sf_dilog.c +0 -43
  472. data/ext/gsl_native/sf_elementary.c +0 -46
  473. data/ext/gsl_native/sf_ellint.c +0 -206
  474. data/ext/gsl_native/sf_elljac.c +0 -30
  475. data/ext/gsl_native/sf_erfc.c +0 -89
  476. data/ext/gsl_native/sf_exp.c +0 -169
  477. data/ext/gsl_native/sf_expint.c +0 -201
  478. data/ext/gsl_native/sf_fermi_dirac.c +0 -148
  479. data/ext/gsl_native/sf_gamma.c +0 -343
  480. data/ext/gsl_native/sf_gegenbauer.c +0 -97
  481. data/ext/gsl_native/sf_hyperg.c +0 -203
  482. data/ext/gsl_native/sf_laguerre.c +0 -113
  483. data/ext/gsl_native/sf_lambert.c +0 -47
  484. data/ext/gsl_native/sf_legendre.c +0 -368
  485. data/ext/gsl_native/sf_log.c +0 -105
  486. data/ext/gsl_native/sf_mathieu.c +0 -235
  487. data/ext/gsl_native/sf_power.c +0 -47
  488. data/ext/gsl_native/sf_psi.c +0 -89
  489. data/ext/gsl_native/sf_synchrotron.c +0 -48
  490. data/ext/gsl_native/sf_transport.c +0 -76
  491. data/ext/gsl_native/sf_trigonometric.c +0 -210
  492. data/ext/gsl_native/sf_zeta.c +0 -115
  493. data/ext/gsl_native/signal.c +0 -303
  494. data/ext/gsl_native/siman.c +0 -713
  495. data/ext/gsl_native/sort.c +0 -207
  496. data/ext/gsl_native/spline.c +0 -377
  497. data/ext/gsl_native/stats.c +0 -787
  498. data/ext/gsl_native/sum.c +0 -168
  499. data/ext/gsl_native/tamu_anova.c +0 -56
  500. data/ext/gsl_native/tensor.c +0 -35
  501. data/ext/gsl_native/tensor_source.h +0 -1122
  502. data/ext/gsl_native/vector.c +0 -35
  503. data/ext/gsl_native/vector_complex.c +0 -2241
  504. data/ext/gsl_native/vector_double.c +0 -1433
  505. data/ext/gsl_native/vector_int.c +0 -202
  506. data/ext/gsl_native/vector_source.h +0 -3321
  507. data/ext/gsl_native/wavelet.c +0 -923
  508. data/lib/gsl.rb +0 -8
  509. data/lib/gsl/gnuplot.rb +0 -41
  510. data/lib/gsl/oper.rb +0 -43
  511. data/lib/gsl/version.rb +0 -3
  512. data/lib/ool.rb +0 -22
  513. data/lib/ool/conmin.rb +0 -30
  514. data/lib/rbgsl.rb +0 -1
  515. data/rdoc/alf.rdoc +0 -77
  516. data/rdoc/blas.rdoc +0 -269
  517. data/rdoc/bspline.rdoc +0 -42
  518. data/rdoc/changes.rdoc +0 -159
  519. data/rdoc/cheb.rdoc +0 -99
  520. data/rdoc/cholesky_complex.rdoc +0 -46
  521. data/rdoc/combi.rdoc +0 -125
  522. data/rdoc/complex.rdoc +0 -210
  523. data/rdoc/const.rdoc +0 -546
  524. data/rdoc/dht.rdoc +0 -122
  525. data/rdoc/diff.rdoc +0 -133
  526. data/rdoc/ehandling.rdoc +0 -50
  527. data/rdoc/eigen.rdoc +0 -401
  528. data/rdoc/fft.rdoc +0 -535
  529. data/rdoc/fit.rdoc +0 -284
  530. data/rdoc/function.rdoc +0 -94
  531. data/rdoc/graph.rdoc +0 -137
  532. data/rdoc/hist.rdoc +0 -409
  533. data/rdoc/hist2d.rdoc +0 -279
  534. data/rdoc/hist3d.rdoc +0 -112
  535. data/rdoc/integration.rdoc +0 -398
  536. data/rdoc/interp.rdoc +0 -231
  537. data/rdoc/intro.rdoc +0 -27
  538. data/rdoc/linalg.rdoc +0 -681
  539. data/rdoc/linalg_complex.rdoc +0 -88
  540. data/rdoc/math.rdoc +0 -276
  541. data/rdoc/matrix.rdoc +0 -1093
  542. data/rdoc/min.rdoc +0 -189
  543. data/rdoc/monte.rdoc +0 -234
  544. data/rdoc/multimin.rdoc +0 -312
  545. data/rdoc/multiroot.rdoc +0 -293
  546. data/rdoc/narray.rdoc +0 -177
  547. data/rdoc/ndlinear.rdoc +0 -250
  548. data/rdoc/nonlinearfit.rdoc +0 -348
  549. data/rdoc/ntuple.rdoc +0 -88
  550. data/rdoc/odeiv.rdoc +0 -378
  551. data/rdoc/perm.rdoc +0 -221
  552. data/rdoc/poly.rdoc +0 -335
  553. data/rdoc/qrng.rdoc +0 -90
  554. data/rdoc/randist.rdoc +0 -233
  555. data/rdoc/ref.rdoc +0 -93
  556. data/rdoc/rng.rdoc +0 -203
  557. data/rdoc/roots.rdoc +0 -305
  558. data/rdoc/sf.rdoc +0 -1622
  559. data/rdoc/siman.rdoc +0 -89
  560. data/rdoc/sort.rdoc +0 -94
  561. data/rdoc/start.rdoc +0 -16
  562. data/rdoc/stats.rdoc +0 -219
  563. data/rdoc/sum.rdoc +0 -65
  564. data/rdoc/tensor.rdoc +0 -251
  565. data/rdoc/tut.rdoc +0 -5
  566. data/rdoc/use.rdoc +0 -177
  567. data/rdoc/vector.rdoc +0 -1243
  568. data/rdoc/vector_complex.rdoc +0 -347
  569. data/rdoc/wavelet.rdoc +0 -218
  570. data/test/gsl/blas_test.rb +0 -79
  571. data/test/gsl/bspline_test.rb +0 -63
  572. data/test/gsl/cdf_test.rb +0 -1512
  573. data/test/gsl/cheb_test.rb +0 -80
  574. data/test/gsl/combination_test.rb +0 -100
  575. data/test/gsl/complex_test.rb +0 -20
  576. data/test/gsl/const_test.rb +0 -29
  577. data/test/gsl/deriv_test.rb +0 -62
  578. data/test/gsl/dht_test.rb +0 -79
  579. data/test/gsl/diff_test.rb +0 -53
  580. data/test/gsl/eigen_test.rb +0 -563
  581. data/test/gsl/err_test.rb +0 -23
  582. data/test/gsl/fit_test.rb +0 -101
  583. data/test/gsl/histo_test.rb +0 -14
  584. data/test/gsl/index_test.rb +0 -61
  585. data/test/gsl/integration_test.rb +0 -274
  586. data/test/gsl/interp_test.rb +0 -27
  587. data/test/gsl/linalg_test.rb +0 -463
  588. data/test/gsl/matrix_nmf_test.rb +0 -37
  589. data/test/gsl/matrix_test.rb +0 -98
  590. data/test/gsl/min_test.rb +0 -89
  591. data/test/gsl/monte_test.rb +0 -77
  592. data/test/gsl/multifit_test.rb +0 -753
  593. data/test/gsl/multimin_test.rb +0 -157
  594. data/test/gsl/multiroot_test.rb +0 -135
  595. data/test/gsl/multiset_test.rb +0 -52
  596. data/test/gsl/odeiv_test.rb +0 -275
  597. data/test/gsl/oper_test.rb +0 -98
  598. data/test/gsl/poly_test.rb +0 -338
  599. data/test/gsl/qrng_test.rb +0 -94
  600. data/test/gsl/quartic_test.rb +0 -28
  601. data/test/gsl/randist_test.rb +0 -122
  602. data/test/gsl/rng_test.rb +0 -303
  603. data/test/gsl/roots_test.rb +0 -78
  604. data/test/gsl/sf_test.rb +0 -2079
  605. data/test/gsl/stats_test.rb +0 -122
  606. data/test/gsl/sum_test.rb +0 -69
  607. data/test/gsl/tensor_test.rb +0 -396
  608. data/test/gsl/vector_test.rb +0 -223
  609. data/test/gsl/wavelet_test.rb +0 -130
  610. data/test/gsl_test.rb +0 -321
  611. data/test/test_helper.rb +0 -42
  612. data/uncrustify.cfg +0 -1693
@@ -1,42 +0,0 @@
1
- require 'test/unit'
2
- require 'gsl'
3
-
4
- GSL::IEEE.env_setup
5
- GSL::Rng.env_setup
6
-
7
- class GSL::TestCase < Test::Unit::TestCase
8
-
9
- def assert_factor(result, expected, factor, desc)
10
- refute result == expected ? false : expected.zero? ? result != expected :
11
- (u = result / expected; u > factor || u < 1.0 / factor),
12
- '%s (%.18g observed vs %.18g expected)' % [desc, result, expected]
13
- end
14
-
15
- def assert_rel(result, expected, relerr, desc)
16
- refute((GSL.isnan?(result) || GSL.isnan?(expected)) ?
17
- GSL.isnan?(result) != GSL.isnan?(expected) :
18
- (GSL.isinf?(result) || GSL.isinf?(expected)) ?
19
- GSL.isinf?(result) != GSL.isinf?(expected) :
20
- expected.zero? ? result.abs > relerr :
21
- (result - expected).abs / expected.abs > relerr,
22
- '%s (%.18g observed vs %.18g expected)' % [desc, result, expected])
23
- end
24
-
25
- def assert_abs(result, expected, abserr, desc)
26
- refute((GSL.isnan?(result) || GSL.isnan?(expected)) ?
27
- GSL.isnan?(result) != GSL.isnan?(expected) :
28
- (GSL.isinf?(result) || GSL.isinf?(expected)) ?
29
- GSL.isinf?(result) != GSL.isinf?(expected) :
30
- (result - expected).abs > abserr,
31
- '%s (%.18g observed vs %.18g expected)' % [desc, result, expected])
32
- end
33
-
34
- def assert_int(result, expected, desc)
35
- assert(result == expected, '%s (%d observed vs %d expected)' % [desc, result, expected])
36
- end
37
-
38
- def assert_tol(a, b, msg)
39
- assert((a - b).abs < (self.class::EPSREL * GSL.MIN(a.abs, b.abs) + self.class::EPSABS), msg)
40
- end
41
-
42
- end
@@ -1,1693 +0,0 @@
1
- # Uncrustify 0.61
2
-
3
- #
4
- # General options
5
- #
6
-
7
- # The type of line endings
8
- newlines = lf # auto/lf/crlf/cr
9
-
10
- # The original size of tabs in the input
11
- input_tab_size = 8 # number
12
-
13
- # The size of tabs in the output (only used if align_with_tabs=true)
14
- output_tab_size = 8 # number
15
-
16
- # The ASCII value of the string escape char, usually 92 (\) or 94 (^). (Pawn)
17
- string_escape_char = 92 # number
18
-
19
- # Alternate string escape char for Pawn. Only works right before the quote char.
20
- string_escape_char2 = 0 # number
21
-
22
- # Allow interpreting '>=' and '>>=' as part of a template in 'void f(list<list<B>>=val);'.
23
- # If true (default), 'assert(x<0 && y>=3)' will be broken.
24
- # Improvements to template detection may make this option obsolete.
25
- tok_split_gte = false # false/true
26
-
27
- # Control what to do with the UTF-8 BOM (recommend 'remove')
28
- utf8_bom = remove # ignore/add/remove/force
29
-
30
- # If the file contains bytes with values between 128 and 255, but is not UTF-8, then output as UTF-8
31
- utf8_byte = false # false/true
32
-
33
- # Force the output encoding to UTF-8
34
- utf8_force = false # false/true
35
-
36
- #
37
- # Indenting
38
- #
39
-
40
- # The number of columns to indent per level.
41
- # Usually 2, 3, 4, or 8.
42
- indent_columns = 2 # number
43
-
44
- # The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
45
- # For FreeBSD, this is set to 4. Negative value is absolute and not increased for each ( level
46
- indent_continue = 0 # number
47
-
48
- # How to use tabs when indenting code
49
- # 0=spaces only
50
- # 1=indent with tabs to brace level, align with spaces
51
- # 2=indent and align with tabs, using spaces when not on a tabstop
52
- indent_with_tabs = 0 # number
53
-
54
- # Comments that are not a brace level are indented with tabs on a tabstop.
55
- # Requires indent_with_tabs=2. If false, will use spaces.
56
- indent_cmt_with_tabs = false # false/true
57
-
58
- # Whether to indent strings broken by '\' so that they line up
59
- indent_align_string = false # false/true
60
-
61
- # The number of spaces to indent multi-line XML strings.
62
- # Requires indent_align_string=True
63
- indent_xml_string = 0 # number
64
-
65
- # Spaces to indent '{' from level
66
- indent_brace = 0 # number
67
-
68
- # Whether braces are indented to the body level
69
- indent_braces = false # false/true
70
-
71
- # Disabled indenting function braces if indent_braces is true
72
- indent_braces_no_func = false # false/true
73
-
74
- # Disabled indenting class braces if indent_braces is true
75
- indent_braces_no_class = false # false/true
76
-
77
- # Disabled indenting struct braces if indent_braces is true
78
- indent_braces_no_struct = false # false/true
79
-
80
- # Indent based on the size of the brace parent, i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
81
- indent_brace_parent = false # false/true
82
-
83
- # Indent based on the paren open instead of the brace open in '({\n', default is to indent by brace.
84
- indent_paren_open_brace = false # false/true
85
-
86
- # Whether the 'namespace' body is indented
87
- indent_namespace = false # false/true
88
-
89
- # Only indent one namespace and no sub-namepaces.
90
- # Requires indent_namespace=true.
91
- indent_namespace_single_indent = false # false/true
92
-
93
- # The number of spaces to indent a namespace block
94
- indent_namespace_level = 0 # number
95
-
96
- # If the body of the namespace is longer than this number, it won't be indented.
97
- # Requires indent_namespace=true. Default=0 (no limit)
98
- indent_namespace_limit = 0 # number
99
-
100
- # Whether the 'extern "C"' body is indented
101
- indent_extern = false # false/true
102
-
103
- # Whether the 'class' body is indented
104
- indent_class = false # false/true
105
-
106
- # Whether to indent the stuff after a leading base class colon
107
- indent_class_colon = false # false/true
108
-
109
- # Whether to indent the stuff after a leading class initializer colon
110
- indent_constr_colon = false # false/true
111
-
112
- # Virtual indent from the ':' for member initializers. Default is 2
113
- indent_ctor_init_leading = 2 # number
114
-
115
- # Additional indenting for constructor initializer list
116
- indent_ctor_init = 0 # number
117
-
118
- # False=treat 'else\nif' as 'else if' for indenting purposes
119
- # True=indent the 'if' one level
120
- indent_else_if = false # false/true
121
-
122
- # Amount to indent variable declarations after a open brace. neg=relative, pos=absolute
123
- indent_var_def_blk = 0 # number
124
-
125
- # Indent continued variable declarations instead of aligning.
126
- indent_var_def_cont = false # false/true
127
-
128
- # True: force indentation of function definition to start in column 1
129
- # False: use the default behavior
130
- indent_func_def_force_col1 = false # false/true
131
-
132
- # True: indent continued function call parameters one indent level
133
- # False: align parameters under the open paren
134
- indent_func_call_param = false # false/true
135
-
136
- # Same as indent_func_call_param, but for function defs
137
- indent_func_def_param = false # false/true
138
-
139
- # Same as indent_func_call_param, but for function protos
140
- indent_func_proto_param = false # false/true
141
-
142
- # Same as indent_func_call_param, but for class declarations
143
- indent_func_class_param = false # false/true
144
-
145
- # Same as indent_func_call_param, but for class variable constructors
146
- indent_func_ctor_var_param = false # false/true
147
-
148
- # Same as indent_func_call_param, but for templates
149
- indent_template_param = false # false/true
150
-
151
- # Double the indent for indent_func_xxx_param options
152
- indent_func_param_double = false # false/true
153
-
154
- # Indentation column for standalone 'const' function decl/proto qualifier
155
- indent_func_const = 0 # number
156
-
157
- # Indentation column for standalone 'throw' function decl/proto qualifier
158
- indent_func_throw = 0 # number
159
-
160
- # The number of spaces to indent a continued '->' or '.'
161
- # Usually set to 0, 1, or indent_columns.
162
- indent_member = 0 # number
163
-
164
- # Spaces to indent single line ('//') comments on lines before code
165
- indent_sing_line_comments = 0 # number
166
-
167
- # If set, will indent trailing single line ('//') comments relative
168
- # to the code instead of trying to keep the same absolute column
169
- indent_relative_single_line_comments = false # false/true
170
-
171
- # Spaces to indent 'case' from 'switch'
172
- # Usually 0 or indent_columns.
173
- indent_switch_case = 0 # number
174
-
175
- # Spaces to shift the 'case' line, without affecting any other lines
176
- # Usually 0.
177
- indent_case_shift = 0 # number
178
-
179
- # Spaces to indent '{' from 'case'.
180
- # By default, the brace will appear under the 'c' in case.
181
- # Usually set to 0 or indent_columns.
182
- indent_case_brace = 0 # number
183
-
184
- # Whether to indent comments found in first column
185
- indent_col1_comment = false # false/true
186
-
187
- # How to indent goto labels
188
- # >0 : absolute column where 1 is the leftmost column
189
- # <=0 : subtract from brace indent
190
- indent_label = 1 # number
191
-
192
- # Same as indent_label, but for access specifiers that are followed by a colon
193
- indent_access_spec = 1 # number
194
-
195
- # Indent the code after an access specifier by one level.
196
- # If set, this option forces 'indent_access_spec=0'
197
- indent_access_spec_body = false # false/true
198
-
199
- # If an open paren is followed by a newline, indent the next line so that it lines up after the open paren (not recommended)
200
- indent_paren_nl = false # false/true
201
-
202
- # Controls the indent of a close paren after a newline.
203
- # 0: Indent to body level
204
- # 1: Align under the open paren
205
- # 2: Indent to the brace level
206
- indent_paren_close = 0 # number
207
-
208
- # Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren
209
- indent_comma_paren = false # false/true
210
-
211
- # Controls the indent of a BOOL operator when inside a paren.If TRUE, aligns under the open paren
212
- indent_bool_paren = false # false/true
213
-
214
- # If 'indent_bool_paren' is true, controls the indent of the first expression. If TRUE, aligns the first expression to the following ones
215
- indent_first_bool_expr = false # false/true
216
-
217
- # If an open square is followed by a newline, indent the next line so that it lines up after the open square (not recommended)
218
- indent_square_nl = false # false/true
219
-
220
- # Don't change the relative indent of ESQL/C 'EXEC SQL' bodies
221
- indent_preserve_sql = false # false/true
222
-
223
- # Align continued statements at the '='. Default=True
224
- # If FALSE or the '=' is followed by a newline, the next line is indent one tab.
225
- indent_align_assign = true # false/true
226
-
227
- # Indent OC blocks at brace level instead of usual rules.
228
- indent_oc_block = false # false/true
229
-
230
- # Indent OC blocks in a message relative to the parameter name.
231
- # 0=use indent_oc_block rules, 1+=spaces to indent
232
- indent_oc_block_msg = 0 # number
233
-
234
- # Minimum indent for subsequent parameters
235
- indent_oc_msg_colon = 0 # number
236
-
237
- # If true, prioritize aligning with initial colon (and stripping spaces from lines, if necessary).
238
- # Default is true.
239
- indent_oc_msg_prioritize_first_colon = true # false/true
240
-
241
- # If indent_oc_block_msg and this option are on, blocks will be indented the way that Xcode does by default (from keyword if the parameter is on its own line; otherwise, from the previous indentation level).
242
- indent_oc_block_msg_xcode_style = false # false/true
243
-
244
- # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg keyword.
245
- indent_oc_block_msg_from_keyword = false # false/true
246
-
247
- # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg colon.
248
- indent_oc_block_msg_from_colon = false # false/true
249
-
250
- # If indent_oc_block_msg and this option are on, blocks will be indented from where the block caret is.
251
- indent_oc_block_msg_from_caret = false # false/true
252
-
253
- # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is.
254
- indent_oc_block_msg_from_brace = false # false/true
255
-
256
- #
257
- # Spacing options
258
- #
259
-
260
- # Add or remove space around arithmetic operator '+', '-', '/', '*', etc
261
- sp_arith = ignore # ignore/add/remove/force
262
-
263
- # Add or remove space around assignment operator '=', '+=', etc
264
- sp_assign = add # ignore/add/remove/force
265
-
266
- # Add or remove space around '=' in C++11 lambda capture specifications. Overrides sp_assign
267
- sp_cpp_lambda_assign = ignore # ignore/add/remove/force
268
-
269
- # Add or remove space after the capture specification in C++11 lambda.
270
- sp_cpp_lambda_paren = ignore # ignore/add/remove/force
271
-
272
- # Add or remove space around assignment operator '=' in a prototype
273
- sp_assign_default = ignore # ignore/add/remove/force
274
-
275
- # Add or remove space before assignment operator '=', '+=', etc. Overrides sp_assign.
276
- sp_before_assign = add # ignore/add/remove/force
277
-
278
- # Add or remove space after assignment operator '=', '+=', etc. Overrides sp_assign.
279
- sp_after_assign = add # ignore/add/remove/force
280
-
281
- # Add or remove space in 'NS_ENUM ('
282
- sp_enum_paren = ignore # ignore/add/remove/force
283
-
284
- # Add or remove space around assignment '=' in enum
285
- sp_enum_assign = ignore # ignore/add/remove/force
286
-
287
- # Add or remove space before assignment '=' in enum. Overrides sp_enum_assign.
288
- sp_enum_before_assign = ignore # ignore/add/remove/force
289
-
290
- # Add or remove space after assignment '=' in enum. Overrides sp_enum_assign.
291
- sp_enum_after_assign = ignore # ignore/add/remove/force
292
-
293
- # Add or remove space around preprocessor '##' concatenation operator. Default=Add
294
- sp_pp_concat = add # ignore/add/remove/force
295
-
296
- # Add or remove space after preprocessor '#' stringify operator. Also affects the '#@' charizing operator.
297
- sp_pp_stringify = ignore # ignore/add/remove/force
298
-
299
- # Add or remove space before preprocessor '#' stringify operator as in '#define x(y) L#y'.
300
- sp_before_pp_stringify = ignore # ignore/add/remove/force
301
-
302
- # Add or remove space around boolean operators '&&' and '||'
303
- sp_bool = ignore # ignore/add/remove/force
304
-
305
- # Add or remove space around compare operator '<', '>', '==', etc
306
- sp_compare = ignore # ignore/add/remove/force
307
-
308
- # Add or remove space inside '(' and ')'
309
- sp_inside_paren = ignore # ignore/add/remove/force
310
-
311
- # Add or remove space between nested parens: '((' vs ') )'
312
- sp_paren_paren = ignore # ignore/add/remove/force
313
-
314
- # Add or remove space between back-to-back parens: ')(' vs ') ('
315
- sp_cparen_oparen = ignore # ignore/add/remove/force
316
-
317
- # Whether to balance spaces inside nested parens
318
- sp_balance_nested_parens = false # false/true
319
-
320
- # Add or remove space between ')' and '{'
321
- sp_paren_brace = ignore # ignore/add/remove/force
322
-
323
- # Add or remove space before pointer star '*'
324
- sp_before_ptr_star = ignore # ignore/add/remove/force
325
-
326
- # Add or remove space before pointer star '*' that isn't followed by a variable name
327
- # If set to 'ignore', sp_before_ptr_star is used instead.
328
- sp_before_unnamed_ptr_star = ignore # ignore/add/remove/force
329
-
330
- # Add or remove space between pointer stars '*'
331
- sp_between_ptr_star = ignore # ignore/add/remove/force
332
-
333
- # Add or remove space after pointer star '*', if followed by a word.
334
- sp_after_ptr_star = ignore # ignore/add/remove/force
335
-
336
- # Add or remove space after pointer star '*', if followed by a qualifier.
337
- sp_after_ptr_star_qualifier = ignore # ignore/add/remove/force
338
-
339
- # Add or remove space after a pointer star '*', if followed by a func proto/def.
340
- sp_after_ptr_star_func = ignore # ignore/add/remove/force
341
-
342
- # Add or remove space after a pointer star '*', if followed by an open paren (function types).
343
- sp_ptr_star_paren = ignore # ignore/add/remove/force
344
-
345
- # Add or remove space before a pointer star '*', if followed by a func proto/def.
346
- sp_before_ptr_star_func = ignore # ignore/add/remove/force
347
-
348
- # Add or remove space before a reference sign '&'
349
- sp_before_byref = ignore # ignore/add/remove/force
350
-
351
- # Add or remove space before a reference sign '&' that isn't followed by a variable name
352
- # If set to 'ignore', sp_before_byref is used instead.
353
- sp_before_unnamed_byref = ignore # ignore/add/remove/force
354
-
355
- # Add or remove space after reference sign '&', if followed by a word.
356
- sp_after_byref = ignore # ignore/add/remove/force
357
-
358
- # Add or remove space after a reference sign '&', if followed by a func proto/def.
359
- sp_after_byref_func = ignore # ignore/add/remove/force
360
-
361
- # Add or remove space before a reference sign '&', if followed by a func proto/def.
362
- sp_before_byref_func = ignore # ignore/add/remove/force
363
-
364
- # Add or remove space between type and word. Default=Force
365
- sp_after_type = force # ignore/add/remove/force
366
-
367
- # Add or remove space before the paren in the D constructs 'template Foo(' and 'class Foo('.
368
- sp_before_template_paren = ignore # ignore/add/remove/force
369
-
370
- # Add or remove space in 'template <' vs 'template<'.
371
- # If set to ignore, sp_before_angle is used.
372
- sp_template_angle = ignore # ignore/add/remove/force
373
-
374
- # Add or remove space before '<>'
375
- sp_before_angle = ignore # ignore/add/remove/force
376
-
377
- # Add or remove space inside '<' and '>'
378
- sp_inside_angle = ignore # ignore/add/remove/force
379
-
380
- # Add or remove space after '<>'
381
- sp_after_angle = ignore # ignore/add/remove/force
382
-
383
- # Add or remove space between '<>' and '(' as found in 'new List<byte>();'
384
- sp_angle_paren = ignore # ignore/add/remove/force
385
-
386
- # Add or remove space between '<>' and a word as in 'List<byte> m;'
387
- sp_angle_word = ignore # ignore/add/remove/force
388
-
389
- # Add or remove space between '>' and '>' in '>>' (template stuff C++/C# only). Default=Add
390
- sp_angle_shift = add # ignore/add/remove/force
391
-
392
- # Permit removal of the space between '>>' in 'foo<bar<int> >' (C++11 only). Default=False
393
- # sp_angle_shift cannot remove the space without this option.
394
- sp_permit_cpp11_shift = false # false/true
395
-
396
- # Add or remove space before '(' of 'if', 'for', 'switch', and 'while'
397
- sp_before_sparen = ignore # ignore/add/remove/force
398
-
399
- # Add or remove space inside if-condition '(' and ')'
400
- sp_inside_sparen = ignore # ignore/add/remove/force
401
-
402
- # Add or remove space before if-condition ')'. Overrides sp_inside_sparen.
403
- sp_inside_sparen_close = ignore # ignore/add/remove/force
404
-
405
- # Add or remove space before if-condition '('. Overrides sp_inside_sparen.
406
- sp_inside_sparen_open = ignore # ignore/add/remove/force
407
-
408
- # Add or remove space after ')' of 'if', 'for', 'switch', and 'while'
409
- sp_after_sparen = ignore # ignore/add/remove/force
410
-
411
- # Add or remove space between ')' and '{' of 'if', 'for', 'switch', and 'while'
412
- sp_sparen_brace = ignore # ignore/add/remove/force
413
-
414
- # Add or remove space between 'invariant' and '(' in the D language.
415
- sp_invariant_paren = ignore # ignore/add/remove/force
416
-
417
- # Add or remove space after the ')' in 'invariant (C) c' in the D language.
418
- sp_after_invariant_paren = ignore # ignore/add/remove/force
419
-
420
- # Add or remove space before empty statement ';' on 'if', 'for' and 'while'
421
- sp_special_semi = ignore # ignore/add/remove/force
422
-
423
- # Add or remove space before ';'. Default=Remove
424
- sp_before_semi = remove # ignore/add/remove/force
425
-
426
- # Add or remove space before ';' in non-empty 'for' statements
427
- sp_before_semi_for = ignore # ignore/add/remove/force
428
-
429
- # Add or remove space before a semicolon of an empty part of a for statement.
430
- sp_before_semi_for_empty = ignore # ignore/add/remove/force
431
-
432
- # Add or remove space after ';', except when followed by a comment. Default=Add
433
- sp_after_semi = add # ignore/add/remove/force
434
-
435
- # Add or remove space after ';' in non-empty 'for' statements. Default=Force
436
- sp_after_semi_for = force # ignore/add/remove/force
437
-
438
- # Add or remove space after the final semicolon of an empty part of a for statement: for ( ; ; <here> ).
439
- sp_after_semi_for_empty = ignore # ignore/add/remove/force
440
-
441
- # Add or remove space before '[' (except '[]')
442
- sp_before_square = ignore # ignore/add/remove/force
443
-
444
- # Add or remove space before '[]'
445
- sp_before_squares = ignore # ignore/add/remove/force
446
-
447
- # Add or remove space inside a non-empty '[' and ']'
448
- sp_inside_square = ignore # ignore/add/remove/force
449
-
450
- # Add or remove space after ','
451
- sp_after_comma = ignore # ignore/add/remove/force
452
-
453
- # Add or remove space before ','
454
- sp_before_comma = remove # ignore/add/remove/force
455
-
456
- # Add or remove space between an open paren and comma: '(,' vs '( ,'
457
- sp_paren_comma = force # ignore/add/remove/force
458
-
459
- # Add or remove space before the variadic '...' when preceded by a non-punctuator
460
- sp_before_ellipsis = ignore # ignore/add/remove/force
461
-
462
- # Add or remove space after class ':'
463
- sp_after_class_colon = ignore # ignore/add/remove/force
464
-
465
- # Add or remove space before class ':'
466
- sp_before_class_colon = ignore # ignore/add/remove/force
467
-
468
- # Add or remove space after class constructor ':'
469
- sp_after_constr_colon = ignore # ignore/add/remove/force
470
-
471
- # Add or remove space before class constructor ':'
472
- sp_before_constr_colon = ignore # ignore/add/remove/force
473
-
474
- # Add or remove space before case ':'. Default=Remove
475
- sp_before_case_colon = remove # ignore/add/remove/force
476
-
477
- # Add or remove space between 'operator' and operator sign
478
- sp_after_operator = ignore # ignore/add/remove/force
479
-
480
- # Add or remove space between the operator symbol and the open paren, as in 'operator ++('
481
- sp_after_operator_sym = ignore # ignore/add/remove/force
482
-
483
- # Add or remove space after C/D cast, i.e. 'cast(int)a' vs 'cast(int) a' or '(int)a' vs '(int) a'
484
- sp_after_cast = ignore # ignore/add/remove/force
485
-
486
- # Add or remove spaces inside cast parens
487
- sp_inside_paren_cast = ignore # ignore/add/remove/force
488
-
489
- # Add or remove space between the type and open paren in a C++ cast, i.e. 'int(exp)' vs 'int (exp)'
490
- sp_cpp_cast_paren = ignore # ignore/add/remove/force
491
-
492
- # Add or remove space between 'sizeof' and '('
493
- sp_sizeof_paren = ignore # ignore/add/remove/force
494
-
495
- # Add or remove space after the tag keyword (Pawn)
496
- sp_after_tag = ignore # ignore/add/remove/force
497
-
498
- # Add or remove space inside enum '{' and '}'
499
- sp_inside_braces_enum = ignore # ignore/add/remove/force
500
-
501
- # Add or remove space inside struct/union '{' and '}'
502
- sp_inside_braces_struct = ignore # ignore/add/remove/force
503
-
504
- # Add or remove space inside '{' and '}'
505
- sp_inside_braces = ignore # ignore/add/remove/force
506
-
507
- # Add or remove space inside '{}'
508
- sp_inside_braces_empty = ignore # ignore/add/remove/force
509
-
510
- # Add or remove space between return type and function name
511
- # A minimum of 1 is forced except for pointer return types.
512
- sp_type_func = ignore # ignore/add/remove/force
513
-
514
- # Add or remove space between function name and '(' on function declaration
515
- sp_func_proto_paren = ignore # ignore/add/remove/force
516
-
517
- # Add or remove space between function name and '(' on function definition
518
- sp_func_def_paren = ignore # ignore/add/remove/force
519
-
520
- # Add or remove space inside empty function '()'
521
- sp_inside_fparens = ignore # ignore/add/remove/force
522
-
523
- # Add or remove space inside function '(' and ')'
524
- sp_inside_fparen = ignore # ignore/add/remove/force
525
-
526
- # Add or remove space inside the first parens in the function type: 'void (*x)(...)'
527
- sp_inside_tparen = ignore # ignore/add/remove/force
528
-
529
- # Add or remove between the parens in the function type: 'void (*x)(...)'
530
- sp_after_tparen_close = ignore # ignore/add/remove/force
531
-
532
- # Add or remove space between ']' and '(' when part of a function call.
533
- sp_square_fparen = ignore # ignore/add/remove/force
534
-
535
- # Add or remove space between ')' and '{' of function
536
- sp_fparen_brace = ignore # ignore/add/remove/force
537
-
538
- # Java: Add or remove space between ')' and '{{' of double brace initializer.
539
- sp_fparen_dbrace = ignore # ignore/add/remove/force
540
-
541
- # Add or remove space between function name and '(' on function calls
542
- sp_func_call_paren = ignore # ignore/add/remove/force
543
-
544
- # Add or remove space between function name and '()' on function calls without parameters.
545
- # If set to 'ignore' (the default), sp_func_call_paren is used.
546
- sp_func_call_paren_empty = ignore # ignore/add/remove/force
547
-
548
- # Add or remove space between the user function name and '(' on function calls
549
- # You need to set a keyword to be a user function, like this: 'set func_call_user _' in the config file.
550
- sp_func_call_user_paren = ignore # ignore/add/remove/force
551
-
552
- # Add or remove space between a constructor/destructor and the open paren
553
- sp_func_class_paren = ignore # ignore/add/remove/force
554
-
555
- # Add or remove space between 'return' and '('
556
- sp_return_paren = ignore # ignore/add/remove/force
557
-
558
- # Add or remove space between '__attribute__' and '('
559
- sp_attribute_paren = ignore # ignore/add/remove/force
560
-
561
- # Add or remove space between 'defined' and '(' in '#if defined (FOO)'
562
- sp_defined_paren = ignore # ignore/add/remove/force
563
-
564
- # Add or remove space between 'throw' and '(' in 'throw (something)'
565
- sp_throw_paren = ignore # ignore/add/remove/force
566
-
567
- # Add or remove space between 'throw' and anything other than '(' as in '@throw [...];'
568
- sp_after_throw = ignore # ignore/add/remove/force
569
-
570
- # Add or remove space between 'catch' and '(' in 'catch (something) { }'
571
- # If set to ignore, sp_before_sparen is used.
572
- sp_catch_paren = ignore # ignore/add/remove/force
573
-
574
- # Add or remove space between 'version' and '(' in 'version (something) { }' (D language)
575
- # If set to ignore, sp_before_sparen is used.
576
- sp_version_paren = ignore # ignore/add/remove/force
577
-
578
- # Add or remove space between 'scope' and '(' in 'scope (something) { }' (D language)
579
- # If set to ignore, sp_before_sparen is used.
580
- sp_scope_paren = ignore # ignore/add/remove/force
581
-
582
- # Add or remove space between macro and value
583
- sp_macro = ignore # ignore/add/remove/force
584
-
585
- # Add or remove space between macro function ')' and value
586
- sp_macro_func = ignore # ignore/add/remove/force
587
-
588
- # Add or remove space between 'else' and '{' if on the same line
589
- sp_else_brace = ignore # ignore/add/remove/force
590
-
591
- # Add or remove space between '}' and 'else' if on the same line
592
- sp_brace_else = ignore # ignore/add/remove/force
593
-
594
- # Add or remove space between '}' and the name of a typedef on the same line
595
- sp_brace_typedef = ignore # ignore/add/remove/force
596
-
597
- # Add or remove space between 'catch' and '{' if on the same line
598
- sp_catch_brace = ignore # ignore/add/remove/force
599
-
600
- # Add or remove space between '}' and 'catch' if on the same line
601
- sp_brace_catch = ignore # ignore/add/remove/force
602
-
603
- # Add or remove space between 'finally' and '{' if on the same line
604
- sp_finally_brace = ignore # ignore/add/remove/force
605
-
606
- # Add or remove space between '}' and 'finally' if on the same line
607
- sp_brace_finally = ignore # ignore/add/remove/force
608
-
609
- # Add or remove space between 'try' and '{' if on the same line
610
- sp_try_brace = ignore # ignore/add/remove/force
611
-
612
- # Add or remove space between get/set and '{' if on the same line
613
- sp_getset_brace = ignore # ignore/add/remove/force
614
-
615
- # Add or remove space between a variable and '{' for C++ uniform initialization
616
- sp_word_brace = add # ignore/add/remove/force
617
-
618
- # Add or remove space between a variable and '{' for a namespace
619
- sp_word_brace_ns = add # ignore/add/remove/force
620
-
621
- # Add or remove space before the '::' operator
622
- sp_before_dc = ignore # ignore/add/remove/force
623
-
624
- # Add or remove space after the '::' operator
625
- sp_after_dc = ignore # ignore/add/remove/force
626
-
627
- # Add or remove around the D named array initializer ':' operator
628
- sp_d_array_colon = ignore # ignore/add/remove/force
629
-
630
- # Add or remove space after the '!' (not) operator. Default=Remove
631
- sp_not = remove # ignore/add/remove/force
632
-
633
- # Add or remove space after the '~' (invert) operator. Default=Remove
634
- sp_inv = remove # ignore/add/remove/force
635
-
636
- # Add or remove space after the '&' (address-of) operator. Default=Remove
637
- # This does not affect the spacing after a '&' that is part of a type.
638
- sp_addr = remove # ignore/add/remove/force
639
-
640
- # Add or remove space around the '.' or '->' operators. Default=Remove
641
- sp_member = remove # ignore/add/remove/force
642
-
643
- # Add or remove space after the '*' (dereference) operator. Default=Remove
644
- # This does not affect the spacing after a '*' that is part of a type.
645
- sp_deref = remove # ignore/add/remove/force
646
-
647
- # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'. Default=Remove
648
- sp_sign = remove # ignore/add/remove/force
649
-
650
- # Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'. Default=Remove
651
- sp_incdec = remove # ignore/add/remove/force
652
-
653
- # Add or remove space before a backslash-newline at the end of a line. Default=Add
654
- sp_before_nl_cont = add # ignore/add/remove/force
655
-
656
- # Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
657
- sp_after_oc_scope = ignore # ignore/add/remove/force
658
-
659
- # Add or remove space after the colon in message specs
660
- # '-(int) f:(int) x;' vs '-(int) f: (int) x;'
661
- sp_after_oc_colon = ignore # ignore/add/remove/force
662
-
663
- # Add or remove space before the colon in message specs
664
- # '-(int) f: (int) x;' vs '-(int) f : (int) x;'
665
- sp_before_oc_colon = ignore # ignore/add/remove/force
666
-
667
- # Add or remove space after the colon in immutable dictionary expression
668
- # 'NSDictionary *test = @{@"foo" :@"bar"};'
669
- sp_after_oc_dict_colon = ignore # ignore/add/remove/force
670
-
671
- # Add or remove space before the colon in immutable dictionary expression
672
- # 'NSDictionary *test = @{@"foo" :@"bar"};'
673
- sp_before_oc_dict_colon = ignore # ignore/add/remove/force
674
-
675
- # Add or remove space after the colon in message specs
676
- # '[object setValue:1];' vs '[object setValue: 1];'
677
- sp_after_send_oc_colon = ignore # ignore/add/remove/force
678
-
679
- # Add or remove space before the colon in message specs
680
- # '[object setValue:1];' vs '[object setValue :1];'
681
- sp_before_send_oc_colon = ignore # ignore/add/remove/force
682
-
683
- # Add or remove space after the (type) in message specs
684
- # '-(int)f: (int) x;' vs '-(int)f: (int)x;'
685
- sp_after_oc_type = ignore # ignore/add/remove/force
686
-
687
- # Add or remove space after the first (type) in message specs
688
- # '-(int) f:(int)x;' vs '-(int)f:(int)x;'
689
- sp_after_oc_return_type = ignore # ignore/add/remove/force
690
-
691
- # Add or remove space between '@selector' and '('
692
- # '@selector(msgName)' vs '@selector (msgName)'
693
- # Also applies to @protocol() constructs
694
- sp_after_oc_at_sel = ignore # ignore/add/remove/force
695
-
696
- # Add or remove space between '@selector(x)' and the following word
697
- # '@selector(foo) a:' vs '@selector(foo)a:'
698
- sp_after_oc_at_sel_parens = ignore # ignore/add/remove/force
699
-
700
- # Add or remove space inside '@selector' parens
701
- # '@selector(foo)' vs '@selector( foo )'
702
- # Also applies to @protocol() constructs
703
- sp_inside_oc_at_sel_parens = ignore # ignore/add/remove/force
704
-
705
- # Add or remove space before a block pointer caret
706
- # '^int (int arg){...}' vs. ' ^int (int arg){...}'
707
- sp_before_oc_block_caret = ignore # ignore/add/remove/force
708
-
709
- # Add or remove space after a block pointer caret
710
- # '^int (int arg){...}' vs. '^ int (int arg){...}'
711
- sp_after_oc_block_caret = ignore # ignore/add/remove/force
712
-
713
- # Add or remove space between the receiver and selector in a message.
714
- # '[receiver selector ...]'
715
- sp_after_oc_msg_receiver = ignore # ignore/add/remove/force
716
-
717
- # Add or remove space after @property.
718
- sp_after_oc_property = ignore # ignore/add/remove/force
719
-
720
- # Add or remove space around the ':' in 'b ? t : f'
721
- sp_cond_colon = ignore # ignore/add/remove/force
722
-
723
- # Add or remove space before the ':' in 'b ? t : f'. Overrides sp_cond_colon.
724
- sp_cond_colon_before = ignore # ignore/add/remove/force
725
-
726
- # Add or remove space after the ':' in 'b ? t : f'. Overrides sp_cond_colon.
727
- sp_cond_colon_after = ignore # ignore/add/remove/force
728
-
729
- # Add or remove space around the '?' in 'b ? t : f'
730
- sp_cond_question = ignore # ignore/add/remove/force
731
-
732
- # Add or remove space before the '?' in 'b ? t : f'. Overrides sp_cond_question.
733
- sp_cond_question_before = ignore # ignore/add/remove/force
734
-
735
- # Add or remove space after the '?' in 'b ? t : f'. Overrides sp_cond_question.
736
- sp_cond_question_after = ignore # ignore/add/remove/force
737
-
738
- # In the abbreviated ternary form (a ?: b), add/remove space between ? and :.'. Overrides all other sp_cond_* options.
739
- sp_cond_ternary_short = ignore # ignore/add/remove/force
740
-
741
- # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
742
- sp_case_label = ignore # ignore/add/remove/force
743
-
744
- # Control the space around the D '..' operator.
745
- sp_range = ignore # ignore/add/remove/force
746
-
747
- # Control the spacing after ':' in 'for (TYPE VAR : EXPR)' (Java)
748
- sp_after_for_colon = ignore # ignore/add/remove/force
749
-
750
- # Control the spacing before ':' in 'for (TYPE VAR : EXPR)' (Java)
751
- sp_before_for_colon = ignore # ignore/add/remove/force
752
-
753
- # Control the spacing in 'extern (C)' (D)
754
- sp_extern_paren = ignore # ignore/add/remove/force
755
-
756
- # Control the space after the opening of a C++ comment '// A' vs '//A'
757
- sp_cmt_cpp_start = ignore # ignore/add/remove/force
758
-
759
- # Controls the spaces between #else or #endif and a trailing comment
760
- sp_endif_cmt = ignore # ignore/add/remove/force
761
-
762
- # Controls the spaces after 'new', 'delete', and 'delete[]'
763
- sp_after_new = ignore # ignore/add/remove/force
764
-
765
- # Controls the spaces before a trailing or embedded comment
766
- sp_before_tr_emb_cmt = ignore # ignore/add/remove/force
767
-
768
- # Number of spaces before a trailing or embedded comment
769
- sp_num_before_tr_emb_cmt = 0 # number
770
-
771
- # Control space between a Java annotation and the open paren.
772
- sp_annotation_paren = ignore # ignore/add/remove/force
773
-
774
- #
775
- # Code alignment (not left column spaces/tabs)
776
- #
777
-
778
- # Whether to keep non-indenting tabs
779
- align_keep_tabs = false # false/true
780
-
781
- # Whether to use tabs for aligning
782
- align_with_tabs = false # false/true
783
-
784
- # Whether to bump out to the next tab when aligning
785
- align_on_tabstop = false # false/true
786
-
787
- # Whether to left-align numbers
788
- align_number_left = false # false/true
789
-
790
- # Whether to keep whitespace not required for alignment.
791
- align_keep_extra_space = false # false/true
792
-
793
- # Align variable definitions in prototypes and functions
794
- align_func_params = false # false/true
795
-
796
- # Align parameters in single-line functions that have the same name.
797
- # The function names must already be aligned with each other.
798
- align_same_func_call_params = false # false/true
799
-
800
- # The span for aligning variable definitions (0=don't align)
801
- align_var_def_span = 0 # number
802
-
803
- # How to align the star in variable definitions.
804
- # 0=Part of the type 'void * foo;'
805
- # 1=Part of the variable 'void *foo;'
806
- # 2=Dangling 'void *foo;'
807
- align_var_def_star_style = 0 # number
808
-
809
- # How to align the '&' in variable definitions.
810
- # 0=Part of the type
811
- # 1=Part of the variable
812
- # 2=Dangling
813
- align_var_def_amp_style = 0 # number
814
-
815
- # The threshold for aligning variable definitions (0=no limit)
816
- align_var_def_thresh = 0 # number
817
-
818
- # The gap for aligning variable definitions
819
- align_var_def_gap = 0 # number
820
-
821
- # Whether to align the colon in struct bit fields
822
- align_var_def_colon = false # false/true
823
-
824
- # Whether to align any attribute after the variable name
825
- align_var_def_attribute = false # false/true
826
-
827
- # Whether to align inline struct/enum/union variable definitions
828
- align_var_def_inline = false # false/true
829
-
830
- # The span for aligning on '=' in assignments (0=don't align)
831
- align_assign_span = 0 # number
832
-
833
- # The threshold for aligning on '=' in assignments (0=no limit)
834
- align_assign_thresh = 0 # number
835
-
836
- # The span for aligning on '=' in enums (0=don't align)
837
- align_enum_equ_span = 0 # number
838
-
839
- # The threshold for aligning on '=' in enums (0=no limit)
840
- align_enum_equ_thresh = 0 # number
841
-
842
- # The span for aligning struct/union (0=don't align)
843
- align_var_struct_span = 0 # number
844
-
845
- # The threshold for aligning struct/union member definitions (0=no limit)
846
- align_var_struct_thresh = 0 # number
847
-
848
- # The gap for aligning struct/union member definitions
849
- align_var_struct_gap = 0 # number
850
-
851
- # The span for aligning struct initializer values (0=don't align)
852
- align_struct_init_span = 0 # number
853
-
854
- # The minimum space between the type and the synonym of a typedef
855
- align_typedef_gap = 0 # number
856
-
857
- # The span for aligning single-line typedefs (0=don't align)
858
- align_typedef_span = 0 # number
859
-
860
- # How to align typedef'd functions with other typedefs
861
- # 0: Don't mix them at all
862
- # 1: align the open paren with the types
863
- # 2: align the function type name with the other type names
864
- align_typedef_func = 0 # number
865
-
866
- # Controls the positioning of the '*' in typedefs. Just try it.
867
- # 0: Align on typedef type, ignore '*'
868
- # 1: The '*' is part of type name: typedef int *pint;
869
- # 2: The '*' is part of the type, but dangling: typedef int *pint;
870
- align_typedef_star_style = 0 # number
871
-
872
- # Controls the positioning of the '&' in typedefs. Just try it.
873
- # 0: Align on typedef type, ignore '&'
874
- # 1: The '&' is part of type name: typedef int &pint;
875
- # 2: The '&' is part of the type, but dangling: typedef int &pint;
876
- align_typedef_amp_style = 0 # number
877
-
878
- # The span for aligning comments that end lines (0=don't align)
879
- align_right_cmt_span = 0 # number
880
-
881
- # If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment
882
- align_right_cmt_mix = false # false/true
883
-
884
- # If a trailing comment is more than this number of columns away from the text it follows,
885
- # it will qualify for being aligned. This has to be > 0 to do anything.
886
- align_right_cmt_gap = 0 # number
887
-
888
- # Align trailing comment at or beyond column N; 'pulls in' comments as a bonus side effect (0=ignore)
889
- align_right_cmt_at_col = 0 # number
890
-
891
- # The span for aligning function prototypes (0=don't align)
892
- align_func_proto_span = 0 # number
893
-
894
- # Minimum gap between the return type and the function name.
895
- align_func_proto_gap = 0 # number
896
-
897
- # Align function protos on the 'operator' keyword instead of what follows
898
- align_on_operator = false # false/true
899
-
900
- # Whether to mix aligning prototype and variable declarations.
901
- # If true, align_var_def_XXX options are used instead of align_func_proto_XXX options.
902
- align_mix_var_proto = false # false/true
903
-
904
- # Align single-line functions with function prototypes, uses align_func_proto_span
905
- align_single_line_func = false # false/true
906
-
907
- # Aligning the open brace of single-line functions.
908
- # Requires align_single_line_func=true, uses align_func_proto_span
909
- align_single_line_brace = false # false/true
910
-
911
- # Gap for align_single_line_brace.
912
- align_single_line_brace_gap = 0 # number
913
-
914
- # The span for aligning ObjC msg spec (0=don't align)
915
- align_oc_msg_spec_span = 0 # number
916
-
917
- # Whether to align macros wrapped with a backslash and a newline.
918
- # This will not work right if the macro contains a multi-line comment.
919
- align_nl_cont = false # false/true
920
-
921
- # # Align macro functions and variables together
922
- align_pp_define_together = false # false/true
923
-
924
- # The minimum space between label and value of a preprocessor define
925
- align_pp_define_gap = 0 # number
926
-
927
- # The span for aligning on '#define' bodies (0=don't align, other=number of lines including comments between blocks)
928
- align_pp_define_span = 0 # number
929
-
930
- # Align lines that start with '<<' with previous '<<'. Default=true
931
- align_left_shift = true # false/true
932
-
933
- # Span for aligning parameters in an Obj-C message call on the ':' (0=don't align)
934
- align_oc_msg_colon_span = 0 # number
935
-
936
- # If true, always align with the first parameter, even if it is too short.
937
- align_oc_msg_colon_first = false # false/true
938
-
939
- # Aligning parameters in an Obj-C '+' or '-' declaration on the ':'
940
- align_oc_decl_colon = false # false/true
941
-
942
- #
943
- # Newline adding and removing options
944
- #
945
-
946
- # Whether to collapse empty blocks between '{' and '}'
947
- nl_collapse_empty_body = false # false/true
948
-
949
- # Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
950
- nl_assign_leave_one_liners = false # false/true
951
-
952
- # Don't split one-line braced statements inside a class xx { } body
953
- nl_class_leave_one_liners = false # false/true
954
-
955
- # Don't split one-line enums: 'enum foo { BAR = 15 };'
956
- nl_enum_leave_one_liners = false # false/true
957
-
958
- # Don't split one-line get or set functions
959
- nl_getset_leave_one_liners = false # false/true
960
-
961
- # Don't split one-line function definitions - 'int foo() { return 0; }'
962
- nl_func_leave_one_liners = false # false/true
963
-
964
- # Don't split one-line C++11 lambdas - '[]() { return 0; }'
965
- nl_cpp_lambda_leave_one_liners = false # false/true
966
-
967
- # Don't split one-line if/else statements - 'if(a) b++;'
968
- nl_if_leave_one_liners = false # false/true
969
-
970
- # Don't split one-line OC messages
971
- nl_oc_msg_leave_one_liner = false # false/true
972
-
973
- # Add or remove newlines at the start of the file
974
- nl_start_of_file = ignore # ignore/add/remove/force
975
-
976
- # The number of newlines at the start of the file (only used if nl_start_of_file is 'add' or 'force'
977
- nl_start_of_file_min = 0 # number
978
-
979
- # Add or remove newline at the end of the file
980
- nl_end_of_file = ignore # ignore/add/remove/force
981
-
982
- # The number of newlines at the end of the file (only used if nl_end_of_file is 'add' or 'force')
983
- nl_end_of_file_min = 0 # number
984
-
985
- # Add or remove newline between '=' and '{'
986
- nl_assign_brace = ignore # ignore/add/remove/force
987
-
988
- # Add or remove newline between '=' and '[' (D only)
989
- nl_assign_square = ignore # ignore/add/remove/force
990
-
991
- # Add or remove newline after '= [' (D only). Will also affect the newline before the ']'
992
- nl_after_square_assign = ignore # ignore/add/remove/force
993
-
994
- # The number of blank lines after a block of variable definitions at the top of a function body
995
- # 0 = No change (default)
996
- nl_func_var_def_blk = 0 # number
997
-
998
- # The number of newlines before a block of typedefs
999
- # 0 = No change (default)
1000
- nl_typedef_blk_start = 0 # number
1001
-
1002
- # The number of newlines after a block of typedefs
1003
- # 0 = No change (default)
1004
- nl_typedef_blk_end = 0 # number
1005
-
1006
- # The maximum consecutive newlines within a block of typedefs
1007
- # 0 = No change (default)
1008
- nl_typedef_blk_in = 0 # number
1009
-
1010
- # The number of newlines before a block of variable definitions not at the top of a function body
1011
- # 0 = No change (default)
1012
- nl_var_def_blk_start = 0 # number
1013
-
1014
- # The number of newlines after a block of variable definitions not at the top of a function body
1015
- # 0 = No change (default)
1016
- nl_var_def_blk_end = 0 # number
1017
-
1018
- # The maximum consecutive newlines within a block of variable definitions
1019
- # 0 = No change (default)
1020
- nl_var_def_blk_in = 0 # number
1021
-
1022
- # Add or remove newline between a function call's ')' and '{', as in:
1023
- # list_for_each(item, &list) { }
1024
- nl_fcall_brace = ignore # ignore/add/remove/force
1025
-
1026
- # Add or remove newline between 'enum' and '{'
1027
- nl_enum_brace = ignore # ignore/add/remove/force
1028
-
1029
- # Add or remove newline between 'struct and '{'
1030
- nl_struct_brace = ignore # ignore/add/remove/force
1031
-
1032
- # Add or remove newline between 'union' and '{'
1033
- nl_union_brace = ignore # ignore/add/remove/force
1034
-
1035
- # Add or remove newline between 'if' and '{'
1036
- nl_if_brace = ignore # ignore/add/remove/force
1037
-
1038
- # Add or remove newline between '}' and 'else'
1039
- nl_brace_else = ignore # ignore/add/remove/force
1040
-
1041
- # Add or remove newline between 'else if' and '{'
1042
- # If set to ignore, nl_if_brace is used instead
1043
- nl_elseif_brace = ignore # ignore/add/remove/force
1044
-
1045
- # Add or remove newline between 'else' and '{'
1046
- nl_else_brace = ignore # ignore/add/remove/force
1047
-
1048
- # Add or remove newline between 'else' and 'if'
1049
- nl_else_if = ignore # ignore/add/remove/force
1050
-
1051
- # Add or remove newline between '}' and 'finally'
1052
- nl_brace_finally = ignore # ignore/add/remove/force
1053
-
1054
- # Add or remove newline between 'finally' and '{'
1055
- nl_finally_brace = ignore # ignore/add/remove/force
1056
-
1057
- # Add or remove newline between 'try' and '{'
1058
- nl_try_brace = ignore # ignore/add/remove/force
1059
-
1060
- # Add or remove newline between get/set and '{'
1061
- nl_getset_brace = ignore # ignore/add/remove/force
1062
-
1063
- # Add or remove newline between 'for' and '{'
1064
- nl_for_brace = ignore # ignore/add/remove/force
1065
-
1066
- # Add or remove newline between 'catch' and '{'
1067
- nl_catch_brace = ignore # ignore/add/remove/force
1068
-
1069
- # Add or remove newline between '}' and 'catch'
1070
- nl_brace_catch = ignore # ignore/add/remove/force
1071
-
1072
- # Add or remove newline between '}' and ']'
1073
- nl_brace_square = ignore # ignore/add/remove/force
1074
-
1075
- # Add or remove newline between '}' and ')' in a function invocation
1076
- nl_brace_fparen = ignore # ignore/add/remove/force
1077
-
1078
- # Add or remove newline between 'while' and '{'
1079
- nl_while_brace = ignore # ignore/add/remove/force
1080
-
1081
- # Add or remove newline between 'scope (x)' and '{' (D)
1082
- nl_scope_brace = ignore # ignore/add/remove/force
1083
-
1084
- # Add or remove newline between 'unittest' and '{' (D)
1085
- nl_unittest_brace = ignore # ignore/add/remove/force
1086
-
1087
- # Add or remove newline between 'version (x)' and '{' (D)
1088
- nl_version_brace = ignore # ignore/add/remove/force
1089
-
1090
- # Add or remove newline between 'using' and '{'
1091
- nl_using_brace = ignore # ignore/add/remove/force
1092
-
1093
- # Add or remove newline between two open or close braces.
1094
- # Due to general newline/brace handling, REMOVE may not work.
1095
- nl_brace_brace = ignore # ignore/add/remove/force
1096
-
1097
- # Add or remove newline between 'do' and '{'
1098
- nl_do_brace = ignore # ignore/add/remove/force
1099
-
1100
- # Add or remove newline between '}' and 'while' of 'do' statement
1101
- nl_brace_while = ignore # ignore/add/remove/force
1102
-
1103
- # Add or remove newline between 'switch' and '{'
1104
- nl_switch_brace = ignore # ignore/add/remove/force
1105
-
1106
- # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc.
1107
- # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch, and nl_catch_brace.
1108
- nl_multi_line_cond = false # false/true
1109
-
1110
- # Force a newline in a define after the macro name for multi-line defines.
1111
- nl_multi_line_define = false # false/true
1112
-
1113
- # Whether to put a newline before 'case' statement
1114
- nl_before_case = false # false/true
1115
-
1116
- # Add or remove newline between ')' and 'throw'
1117
- nl_before_throw = ignore # ignore/add/remove/force
1118
-
1119
- # Whether to put a newline after 'case' statement
1120
- nl_after_case = false # false/true
1121
-
1122
- # Add or remove a newline between a case ':' and '{'. Overrides nl_after_case.
1123
- nl_case_colon_brace = ignore # ignore/add/remove/force
1124
-
1125
- # Newline between namespace and {
1126
- nl_namespace_brace = ignore # ignore/add/remove/force
1127
-
1128
- # Add or remove newline between 'template<>' and whatever follows.
1129
- nl_template_class = ignore # ignore/add/remove/force
1130
-
1131
- # Add or remove newline between 'class' and '{'
1132
- nl_class_brace = ignore # ignore/add/remove/force
1133
-
1134
- # Add or remove newline after each ',' in the class base list
1135
- nl_class_init_args = ignore # ignore/add/remove/force
1136
-
1137
- # Add or remove newline after each ',' in the constructor member initialization
1138
- nl_constr_init_args = ignore # ignore/add/remove/force
1139
-
1140
- # Add or remove newline between return type and function name in a function definition
1141
- nl_func_type_name = ignore # ignore/add/remove/force
1142
-
1143
- # Add or remove newline between return type and function name inside a class {}
1144
- # Uses nl_func_type_name or nl_func_proto_type_name if set to ignore.
1145
- nl_func_type_name_class = ignore # ignore/add/remove/force
1146
-
1147
- # Add or remove newline between function scope and name in a definition
1148
- # Controls the newline after '::' in 'void A::f() { }'
1149
- nl_func_scope_name = ignore # ignore/add/remove/force
1150
-
1151
- # Add or remove newline between return type and function name in a prototype
1152
- nl_func_proto_type_name = ignore # ignore/add/remove/force
1153
-
1154
- # Add or remove newline between a function name and the opening '('
1155
- nl_func_paren = ignore # ignore/add/remove/force
1156
-
1157
- # Add or remove newline between a function name and the opening '(' in the definition
1158
- nl_func_def_paren = ignore # ignore/add/remove/force
1159
-
1160
- # Add or remove newline after '(' in a function declaration
1161
- nl_func_decl_start = ignore # ignore/add/remove/force
1162
-
1163
- # Add or remove newline after '(' in a function definition
1164
- nl_func_def_start = ignore # ignore/add/remove/force
1165
-
1166
- # Overrides nl_func_decl_start when there is only one parameter.
1167
- nl_func_decl_start_single = ignore # ignore/add/remove/force
1168
-
1169
- # Overrides nl_func_def_start when there is only one parameter.
1170
- nl_func_def_start_single = ignore # ignore/add/remove/force
1171
-
1172
- # Add or remove newline after each ',' in a function declaration
1173
- nl_func_decl_args = ignore # ignore/add/remove/force
1174
-
1175
- # Add or remove newline after each ',' in a function definition
1176
- nl_func_def_args = ignore # ignore/add/remove/force
1177
-
1178
- # Add or remove newline before the ')' in a function declaration
1179
- nl_func_decl_end = ignore # ignore/add/remove/force
1180
-
1181
- # Add or remove newline before the ')' in a function definition
1182
- nl_func_def_end = ignore # ignore/add/remove/force
1183
-
1184
- # Overrides nl_func_decl_end when there is only one parameter.
1185
- nl_func_decl_end_single = ignore # ignore/add/remove/force
1186
-
1187
- # Overrides nl_func_def_end when there is only one parameter.
1188
- nl_func_def_end_single = ignore # ignore/add/remove/force
1189
-
1190
- # Add or remove newline between '()' in a function declaration.
1191
- nl_func_decl_empty = ignore # ignore/add/remove/force
1192
-
1193
- # Add or remove newline between '()' in a function definition.
1194
- nl_func_def_empty = ignore # ignore/add/remove/force
1195
-
1196
- # Whether to put each OC message parameter on a separate line
1197
- # See nl_oc_msg_leave_one_liner
1198
- nl_oc_msg_args = false # false/true
1199
-
1200
- # Add or remove newline between function signature and '{'
1201
- nl_fdef_brace = ignore # ignore/add/remove/force
1202
-
1203
- # Add or remove newline between C++11 lambda signature and '{'
1204
- nl_cpp_ldef_brace = ignore # ignore/add/remove/force
1205
-
1206
- # Add or remove a newline between the return keyword and return expression.
1207
- nl_return_expr = ignore # ignore/add/remove/force
1208
-
1209
- # Whether to put a newline after semicolons, except in 'for' statements
1210
- nl_after_semicolon = false # false/true
1211
-
1212
- # Java: Control the newline between the ')' and '{{' of the double brace initializer.
1213
- nl_paren_dbrace_open = ignore # ignore/add/remove/force
1214
-
1215
- # Whether to put a newline after brace open.
1216
- # This also adds a newline before the matching brace close.
1217
- nl_after_brace_open = false # false/true
1218
-
1219
- # If nl_after_brace_open and nl_after_brace_open_cmt are true, a newline is
1220
- # placed between the open brace and a trailing single-line comment.
1221
- nl_after_brace_open_cmt = false # false/true
1222
-
1223
- # Whether to put a newline after a virtual brace open with a non-empty body.
1224
- # These occur in un-braced if/while/do/for statement bodies.
1225
- nl_after_vbrace_open = false # false/true
1226
-
1227
- # Whether to put a newline after a virtual brace open with an empty body.
1228
- # These occur in un-braced if/while/do/for statement bodies.
1229
- nl_after_vbrace_open_empty = false # false/true
1230
-
1231
- # Whether to put a newline after a brace close.
1232
- # Does not apply if followed by a necessary ';'.
1233
- nl_after_brace_close = false # false/true
1234
-
1235
- # Whether to put a newline after a virtual brace close.
1236
- # Would add a newline before return in: 'if (foo) a++; return;'
1237
- nl_after_vbrace_close = false # false/true
1238
-
1239
- # Control the newline between the close brace and 'b' in: 'struct { int a; } b;'
1240
- # Affects enums, unions, and structures. If set to ignore, uses nl_after_brace_close
1241
- nl_brace_struct_var = ignore # ignore/add/remove/force
1242
-
1243
- # Whether to alter newlines in '#define' macros
1244
- nl_define_macro = false # false/true
1245
-
1246
- # Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
1247
- nl_squeeze_ifdef = false # false/true
1248
-
1249
- # Add or remove blank line before 'if'
1250
- nl_before_if = ignore # ignore/add/remove/force
1251
-
1252
- # Add or remove blank line after 'if' statement
1253
- nl_after_if = remove # ignore/add/remove/force
1254
-
1255
- # Add or remove blank line before 'for'
1256
- nl_before_for = ignore # ignore/add/remove/force
1257
-
1258
- # Add or remove blank line after 'for' statement
1259
- nl_after_for = remove # ignore/add/remove/force
1260
-
1261
- # Add or remove blank line before 'while'
1262
- nl_before_while = ignore # ignore/add/remove/force
1263
-
1264
- # Add or remove blank line after 'while' statement
1265
- nl_after_while = ignore # ignore/add/remove/force
1266
-
1267
- # Add or remove blank line before 'switch'
1268
- nl_before_switch = ignore # ignore/add/remove/force
1269
-
1270
- # Add or remove blank line after 'switch' statement
1271
- nl_after_switch = ignore # ignore/add/remove/force
1272
-
1273
- # Add or remove blank line before 'do'
1274
- nl_before_do = ignore # ignore/add/remove/force
1275
-
1276
- # Add or remove blank line after 'do/while' statement
1277
- nl_after_do = ignore # ignore/add/remove/force
1278
-
1279
- # Whether to double-space commented-entries in struct/enum
1280
- nl_ds_struct_enum_cmt = false # false/true
1281
-
1282
- # Whether to double-space before the close brace of a struct/union/enum
1283
- # (lower priority than 'eat_blanks_before_close_brace')
1284
- nl_ds_struct_enum_close_brace = false # false/true
1285
-
1286
- # Add or remove a newline around a class colon.
1287
- # Related to pos_class_colon, nl_class_init_args, and pos_class_comma.
1288
- nl_class_colon = ignore # ignore/add/remove/force
1289
-
1290
- # Add or remove a newline around a class constructor colon.
1291
- # Related to pos_constr_colon, nl_constr_init_args, and pos_constr_comma.
1292
- nl_constr_colon = ignore # ignore/add/remove/force
1293
-
1294
- # Change simple unbraced if statements into a one-liner
1295
- # 'if(b)\n i++;' => 'if(b) i++;'
1296
- nl_create_if_one_liner = false # false/true
1297
-
1298
- # Change simple unbraced for statements into a one-liner
1299
- # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'
1300
- nl_create_for_one_liner = false # false/true
1301
-
1302
- # Change simple unbraced while statements into a one-liner
1303
- # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'
1304
- nl_create_while_one_liner = false # false/true
1305
-
1306
- #
1307
- # Positioning options
1308
- #
1309
-
1310
- # The position of arithmetic operators in wrapped expressions
1311
- pos_arith = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1312
-
1313
- # The position of assignment in wrapped expressions.
1314
- # Do not affect '=' followed by '{'
1315
- pos_assign = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1316
-
1317
- # The position of boolean operators in wrapped expressions
1318
- pos_bool = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1319
-
1320
- # The position of comparison operators in wrapped expressions
1321
- pos_compare = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1322
-
1323
- # The position of conditional (b ? t : f) operators in wrapped expressions
1324
- pos_conditional = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1325
-
1326
- # The position of the comma in wrapped expressions
1327
- pos_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1328
-
1329
- # The position of the comma in the class base list
1330
- pos_class_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1331
-
1332
- # The position of the comma in the constructor initialization list
1333
- pos_constr_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1334
-
1335
- # The position of colons between class and base class list
1336
- pos_class_colon = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1337
-
1338
- # The position of colons between constructor and member initialization
1339
- pos_constr_colon = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1340
-
1341
- #
1342
- # Line Splitting options
1343
- #
1344
-
1345
- # Try to limit code width to N number of columns
1346
- code_width = 0 # number
1347
-
1348
- # Whether to fully split long 'for' statements at semi-colons
1349
- ls_for_split_full = false # false/true
1350
-
1351
- # Whether to fully split long function protos/calls at commas
1352
- ls_func_split_full = false # false/true
1353
-
1354
- # Whether to split lines as close to code_width as possible and ignore some groupings
1355
- ls_code_width = false # false/true
1356
-
1357
- #
1358
- # Blank line options
1359
- #
1360
-
1361
- # The maximum consecutive newlines
1362
- nl_max = 0 # number
1363
-
1364
- # The number of newlines after a function prototype, if followed by another function prototype
1365
- nl_after_func_proto = 0 # number
1366
-
1367
- # The number of newlines after a function prototype, if not followed by another function prototype
1368
- nl_after_func_proto_group = 0 # number
1369
-
1370
- # The number of newlines after '}' of a multi-line function body
1371
- nl_after_func_body = 0 # number
1372
-
1373
- # The number of newlines after '}' of a multi-line function body in a class declaration
1374
- nl_after_func_body_class = 0 # number
1375
-
1376
- # The number of newlines after '}' of a single line function body
1377
- nl_after_func_body_one_liner = 0 # number
1378
-
1379
- # The minimum number of newlines before a multi-line comment.
1380
- # Doesn't apply if after a brace open or another multi-line comment.
1381
- nl_before_block_comment = 0 # number
1382
-
1383
- # The minimum number of newlines before a single-line C comment.
1384
- # Doesn't apply if after a brace open or other single-line C comments.
1385
- nl_before_c_comment = 0 # number
1386
-
1387
- # The minimum number of newlines before a CPP comment.
1388
- # Doesn't apply if after a brace open or other CPP comments.
1389
- nl_before_cpp_comment = 0 # number
1390
-
1391
- # Whether to force a newline after a multi-line comment.
1392
- nl_after_multiline_comment = false # false/true
1393
-
1394
- # The number of newlines after '}' or ';' of a struct/enum/union definition
1395
- nl_after_struct = 0 # number
1396
-
1397
- # The number of newlines after '}' or ';' of a class definition
1398
- nl_after_class = 0 # number
1399
-
1400
- # The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1401
- # Will not change the newline count if after a brace open.
1402
- # 0 = No change.
1403
- nl_before_access_spec = 0 # number
1404
-
1405
- # The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1406
- # 0 = No change.
1407
- nl_after_access_spec = 0 # number
1408
-
1409
- # The number of newlines between a function def and the function comment.
1410
- # 0 = No change.
1411
- nl_comment_func_def = 0 # number
1412
-
1413
- # The number of newlines after a try-catch-finally block that isn't followed by a brace close.
1414
- # 0 = No change.
1415
- nl_after_try_catch_finally = 0 # number
1416
-
1417
- # The number of newlines before and after a property, indexer or event decl.
1418
- # 0 = No change.
1419
- nl_around_cs_property = 0 # number
1420
-
1421
- # The number of newlines between the get/set/add/remove handlers in C#.
1422
- # 0 = No change.
1423
- nl_between_get_set = 0 # number
1424
-
1425
- # Add or remove newline between C# property and the '{'
1426
- nl_property_brace = ignore # ignore/add/remove/force
1427
-
1428
- # Whether to remove blank lines after '{'
1429
- eat_blanks_after_open_brace = false # false/true
1430
-
1431
- # Whether to remove blank lines before '}'
1432
- eat_blanks_before_close_brace = false # false/true
1433
-
1434
- # How aggressively to remove extra newlines not in preproc.
1435
- # 0: No change
1436
- # 1: Remove most newlines not handled by other config
1437
- # 2: Remove all newlines and reformat completely by config
1438
- nl_remove_extra_newlines = 0 # number
1439
-
1440
- # Whether to put a blank line before 'return' statements, unless after an open brace.
1441
- nl_before_return = false # false/true
1442
-
1443
- # Whether to put a blank line after 'return' statements, unless followed by a close brace.
1444
- nl_after_return = false # false/true
1445
-
1446
- # Whether to put a newline after a Java annotation statement.
1447
- # Only affects annotations that are after a newline.
1448
- nl_after_annotation = ignore # ignore/add/remove/force
1449
-
1450
- # Controls the newline between two annotations.
1451
- nl_between_annotation = ignore # ignore/add/remove/force
1452
-
1453
- #
1454
- # Code modifying options (non-whitespace)
1455
- #
1456
-
1457
- # Add or remove braces on single-line 'do' statement
1458
- mod_full_brace_do = ignore # ignore/add/remove/force
1459
-
1460
- # Add or remove braces on single-line 'for' statement
1461
- mod_full_brace_for = ignore # ignore/add/remove/force
1462
-
1463
- # Add or remove braces on single-line function definitions. (Pawn)
1464
- mod_full_brace_function = ignore # ignore/add/remove/force
1465
-
1466
- # Add or remove braces on single-line 'if' statement. Will not remove the braces if they contain an 'else'.
1467
- mod_full_brace_if = ignore # ignore/add/remove/force
1468
-
1469
- # Make all if/elseif/else statements in a chain be braced or not. Overrides mod_full_brace_if.
1470
- # If any must be braced, they are all braced. If all can be unbraced, then the braces are removed.
1471
- mod_full_brace_if_chain = false # false/true
1472
-
1473
- # Don't remove braces around statements that span N newlines
1474
- mod_full_brace_nl = 0 # number
1475
-
1476
- # Add or remove braces on single-line 'while' statement
1477
- mod_full_brace_while = ignore # ignore/add/remove/force
1478
-
1479
- # Add or remove braces on single-line 'using ()' statement
1480
- mod_full_brace_using = ignore # ignore/add/remove/force
1481
-
1482
- # Add or remove unnecessary paren on 'return' statement
1483
- mod_paren_on_return = ignore # ignore/add/remove/force
1484
-
1485
- # Whether to change optional semicolons to real semicolons
1486
- mod_pawn_semicolon = false # false/true
1487
-
1488
- # Add parens on 'while' and 'if' statement around bools
1489
- mod_full_paren_if_bool = false # false/true
1490
-
1491
- # Whether to remove superfluous semicolons
1492
- mod_remove_extra_semicolon = true # false/true
1493
-
1494
- # If a function body exceeds the specified number of newlines and doesn't have a comment after
1495
- # the close brace, a comment will be added.
1496
- mod_add_long_function_closebrace_comment = 0 # number
1497
-
1498
- # If a namespace body exceeds the specified number of newlines and doesn't have a comment after
1499
- # the close brace, a comment will be added.
1500
- mod_add_long_namespace_closebrace_comment = 0 # number
1501
-
1502
- # If a switch body exceeds the specified number of newlines and doesn't have a comment after
1503
- # the close brace, a comment will be added.
1504
- mod_add_long_switch_closebrace_comment = 0 # number
1505
-
1506
- # If an #ifdef body exceeds the specified number of newlines and doesn't have a comment after
1507
- # the #endif, a comment will be added.
1508
- mod_add_long_ifdef_endif_comment = 0 # number
1509
-
1510
- # If an #ifdef or #else body exceeds the specified number of newlines and doesn't have a comment after
1511
- # the #else, a comment will be added.
1512
- mod_add_long_ifdef_else_comment = 0 # number
1513
-
1514
- # If TRUE, will sort consecutive single-line 'import' statements [Java, D]
1515
- mod_sort_import = false # false/true
1516
-
1517
- # If TRUE, will sort consecutive single-line 'using' statements [C#]
1518
- mod_sort_using = false # false/true
1519
-
1520
- # If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
1521
- # This is generally a bad idea, as it may break your code.
1522
- mod_sort_include = false # false/true
1523
-
1524
- # If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
1525
- mod_move_case_break = false # false/true
1526
-
1527
- # Will add or remove the braces around a fully braced case statement.
1528
- # Will only remove the braces if there are no variable declarations in the block.
1529
- mod_case_brace = ignore # ignore/add/remove/force
1530
-
1531
- # If TRUE, it will remove a void 'return;' that appears as the last statement in a function.
1532
- mod_remove_empty_return = false # false/true
1533
-
1534
- #
1535
- # Comment modifications
1536
- #
1537
-
1538
- # Try to wrap comments at cmt_width columns
1539
- cmt_width = 0 # number
1540
-
1541
- # Set the comment reflow mode (default: 0)
1542
- # 0: no reflowing (apart from the line wrapping due to cmt_width)
1543
- # 1: no touching at all
1544
- # 2: full reflow
1545
- cmt_reflow_mode = 0 # number
1546
-
1547
- # Whether to convert all tabs to spaces in comments. Default is to leave tabs inside comments alone, unless used for indenting.
1548
- cmt_convert_tab_to_spaces = false # false/true
1549
-
1550
- # If false, disable all multi-line comment changes, including cmt_width. keyword substitution, and leading chars.
1551
- # Default is true.
1552
- cmt_indent_multi = false # false/true
1553
-
1554
- # Whether to group c-comments that look like they are in a block
1555
- cmt_c_group = false # false/true
1556
-
1557
- # Whether to put an empty '/*' on the first line of the combined c-comment
1558
- cmt_c_nl_start = false # false/true
1559
-
1560
- # Whether to put a newline before the closing '*/' of the combined c-comment
1561
- cmt_c_nl_end = false # false/true
1562
-
1563
- # Whether to group cpp-comments that look like they are in a block
1564
- cmt_cpp_group = false # false/true
1565
-
1566
- # Whether to put an empty '/*' on the first line of the combined cpp-comment
1567
- cmt_cpp_nl_start = false # false/true
1568
-
1569
- # Whether to put a newline before the closing '*/' of the combined cpp-comment
1570
- cmt_cpp_nl_end = false # false/true
1571
-
1572
- # Whether to change cpp-comments into c-comments
1573
- cmt_cpp_to_c = false # false/true
1574
-
1575
- # Whether to put a star on subsequent comment lines
1576
- cmt_star_cont = false # false/true
1577
-
1578
- # The number of spaces to insert at the start of subsequent comment lines
1579
- cmt_sp_before_star_cont = 0 # number
1580
-
1581
- # The number of spaces to insert after the star on subsequent comment lines
1582
- cmt_sp_after_star_cont = 0 # number
1583
-
1584
- # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
1585
- # the comment are the same length. Default=True
1586
- cmt_multi_check_last = true # false/true
1587
-
1588
- # The filename that contains text to insert at the head of a file if the file doesn't start with a C/C++ comment.
1589
- # Will substitute $(filename) with the current file's name.
1590
- cmt_insert_file_header = "" # string
1591
-
1592
- # The filename that contains text to insert at the end of a file if the file doesn't end with a C/C++ comment.
1593
- # Will substitute $(filename) with the current file's name.
1594
- cmt_insert_file_footer = "" # string
1595
-
1596
- # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ comment.
1597
- # Will substitute $(function) with the function name and $(javaparam) with the javadoc @param and @return stuff.
1598
- # Will also substitute $(fclass) with the class name: void CFoo::Bar() { ... }
1599
- cmt_insert_func_header = "" # string
1600
-
1601
- # The filename that contains text to insert before a class if the class isn't preceded with a C/C++ comment.
1602
- # Will substitute $(class) with the class name.
1603
- cmt_insert_class_header = "" # string
1604
-
1605
- # The filename that contains text to insert before a Obj-C message specification if the method isn't preceded with a C/C++ comment.
1606
- # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff.
1607
- cmt_insert_oc_msg_header = "" # string
1608
-
1609
- # If a preprocessor is encountered when stepping backwards from a function name, then
1610
- # this option decides whether the comment should be inserted.
1611
- # Affects cmt_insert_oc_msg_header, cmt_insert_func_header and cmt_insert_class_header.
1612
- cmt_insert_before_preproc = false # false/true
1613
-
1614
- #
1615
- # Preprocessor options
1616
- #
1617
-
1618
- # Control indent of preprocessors inside #if blocks at brace level 0 (file-level)
1619
- pp_indent = ignore # ignore/add/remove/force
1620
-
1621
- # Whether to indent #if/#else/#endif at the brace level (true) or from column 1 (false)
1622
- pp_indent_at_level = false # false/true
1623
-
1624
- # Specifies the number of columns to indent preprocessors per level at brace level 0 (file-level).
1625
- # If pp_indent_at_level=false, specifies the number of columns to indent preprocessors per level at brace level > 0 (function-level).
1626
- # Default=1.
1627
- pp_indent_count = 1 # number
1628
-
1629
- # Add or remove space after # based on pp_level of #if blocks
1630
- pp_space = ignore # ignore/add/remove/force
1631
-
1632
- # Sets the number of spaces added with pp_space
1633
- pp_space_count = 0 # number
1634
-
1635
- # The indent for #region and #endregion in C# and '#pragma region' in C/C++
1636
- pp_indent_region = 0 # number
1637
-
1638
- # Whether to indent the code between #region and #endregion
1639
- pp_region_indent_code = false # false/true
1640
-
1641
- # If pp_indent_at_level=true, sets the indent for #if, #else, and #endif when not at file-level.
1642
- # 0: indent preprocessors using output_tab_size.
1643
- # >0: column at which all preprocessors will be indented.
1644
- pp_indent_if = 0 # number
1645
-
1646
- # Control whether to indent the code between #if, #else and #endif.
1647
- pp_if_indent_code = false # false/true
1648
-
1649
- # Whether to indent '#define' at the brace level (true) or from column 1 (false)
1650
- pp_define_at_level = false # false/true
1651
-
1652
- # You can force a token to be a type with the 'type' option.
1653
- # Example:
1654
- # type myfoo1 myfoo2
1655
- #
1656
- # You can create custom macro-based indentation using macro-open,
1657
- # macro-else and macro-close.
1658
- # Example:
1659
- # macro-open BEGIN_TEMPLATE_MESSAGE_MAP
1660
- # macro-open BEGIN_MESSAGE_MAP
1661
- # macro-close END_MESSAGE_MAP
1662
- #
1663
- # You can assign any keyword to any type with the set option.
1664
- # set func_call_user _ N_
1665
- #
1666
- # The full syntax description of all custom definition config entries
1667
- # is shown below:
1668
- #
1669
- # define custom tokens as:
1670
- # - embed whitespace in token using '' escape character, or
1671
- # put token in quotes
1672
- # - these: ' " and ` are recognized as quote delimiters
1673
- #
1674
- # type token1 token2 token3 ...
1675
- # ^ optionally specify multiple tokens on a single line
1676
- # define def_token output_token
1677
- # ^ output_token is optional, then NULL is assumed
1678
- # macro-open token
1679
- # macro-close token
1680
- # macro-else token
1681
- # set id token1 token2 ...
1682
- # ^ optionally specify multiple tokens on a single line
1683
- # ^ id is one of the names in token_enum.h sans the CT_ prefix,
1684
- # e.g. PP_PRAGMA
1685
- #
1686
- # all tokens are separated by any mix of ',' commas, '=' equal signs
1687
- # and whitespace (space, tab)
1688
- #
1689
- # You can add support for other file extensions using the 'file_ext' command.
1690
- # The first arg is the language name used with the '-l' option.
1691
- # The remaining args are file extensions, matched with 'endswith'.
1692
- # file_ext CPP .ch .cxx .cpp.in
1693
- #