User:Andy1978: Difference between revisions

Jump to navigation Jump to search
1,308 bytes added ,  5 October 2016
 
(29 intermediate revisions by 2 users not shown)
Line 4: Line 4:
=== Core ===
=== Core ===
* <strike>fix imread bug with opaque images, see https://savannah.gnu.org/bugs/?func=detailitem&item_id=36820</strike> Thanks Carne
* <strike>fix imread bug with opaque images, see https://savannah.gnu.org/bugs/?func=detailitem&item_id=36820</strike> Thanks Carne
* <strike>FFTW multithreaded https://savannah.gnu.org/patch/?7922</strike>
* <strike>FFTW multithreaded</strike> hg.savannah.gnu.org/hgweb/octave/rev/bde7731b2b83
* remove removed but still referenced function in "seealso" blocks
* <strike>remove removed but still referenced function in "seealso" blocks</strike>
  References to removed funktions
  betai:
  ./scripts/statistics/tests/manova.m:37:## (Currently NOT because the fcdf respectively betai code is too bad.)
 
  values: http://hg.savannah.gnu.org/hgweb/octave/file/937035390ec0/scripts/deprecated/values.m
  ./scripts/polynomial/private/__splinefit__.m:66:%      'yc', y-values (vector or ND array)
  ./scripts/polynomial/private/__splinefit__.m:182:%  y          Noisy data y-values (prod(dim) x mx)
  ./scripts/polynomial/private/__splinefit__.m:190:%  constr.yc  y-values (prod(dim) x nx)


* Add swisdom (single) to /libinterp/dldfcn/fftw.cc documentation
* Add swisdom (single prec.) to /libinterp/dldfcn/fftw.cc documentation
* linguist-qt4: octave-src/libgui$ "lupdate -recursive -no-obsolete -locations relative src qterminal graphics -ts languages/*ts"


=== Forge ===
=== GUI ===
<strike>When opening and closing the GUI HDF5: infinite loop closing library</strike> [http://hg.savannah.gnu.org/hgweb/octave/rev/9c03b071fd7b]


==== signal ====
No icons in qt4 GUI?
* findpeaks.m, print error if data is not a column vector (error: vertical dimensions mismatch (1x10000 vs 1x1)
  gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true
  gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true


==== FAQ for windows user ====
=== Forge ===


octave-forge packages on windows
==== signal or fltk plotting? ====
  pkg load signal
  t=0:1/4e4:12;
  y=chirp(t,100,5,18000);
  graphics_toolkit fltk
  specgram(y)


You should follow the README for the binary octave bundle, for example
-> r300: Implementation error: Render targets are too big in r300_set_framebuffer_state, refusing to bind framebuffer state!
http://wiki.octave.org/Octave_for_Windows#Octave-3.6.4-mingw_.2B_octaveforge_pkgs


The additional forge-pkgs (ex. Octave3.6.4_gcc4.6.2_pkgs_20130331.7z) contains the already compiled
==== video ====
packages for the specific (Octave-3.6.4) version.
<strike>fix build, see http://octave.1599824.n4.nabble.com/quot-package-video-is-empty-quot-td4656346.html</strike>


Normally windows users can't just install octave forge packages with
==== signal ====
  pkg install package
* findpeaks.m, print error if data is not a column vector (error: vertical dimensions mismatch (1x10000 vs 1x1)
or
  pkg install -forge package
because their system lacks a build system with autotools, make, c++ compiler etc.


==== image ====
==== image ====


* implement [http://en.wikipedia.org/wiki/SURF SURF], integralImage is cumsum(cumsum(a,1),2)
* implement [http://en.wikipedia.org/wiki/SURF SURF], integralImage is cumsum(cumsum(a,1),2)
* implement impixelinfo http://stackoverflow.com/questions/23706937/displaying-pixel-values-of-an-image-in-octave
* implement getpixelposition, axes2pix, pix2map, map2pix


===== corner/cornermetric, harris =====
===== corner/cornermetric, harris =====


First post on mailing list in 12.01.2013 http://octave.1599824.n4.nabble.com/corner-cornermetric-equivalent-in-octave-td4648802.html
First post on mailing list in 12.01.2013 http://octave.1599824.n4.nabble.com/corner-cornermetric-equivalent-in-octave-td4648802.html
== brainstorming ==
* something like autobuilder for octave would be cool. Jordi mentioned http://hydra.nixos.org/jobset/gnu/octave-default
* perhaps http://www.phoronix-test-suite.com/?


== Snippets ==
== Snippets ==
Line 62: Line 56:
  mtimes(num2cell(m,[1,2]){:})
  mtimes(num2cell(m,[1,2]){:})
  mtimes(s{:})
  mtimes(s{:})
=== commands from which I regularly doesn't find the name ===
* octave_config_info ()
* merge (C's (a)? b: c); syntax
=== libgraphicsmagick++3 quantum-depth ===
in debian wheezy
sudo apt-get build-dep libgraphicsmagick++3
apt-get source libgraphicsmagick++3
edit debian/rules
--with-quantum-depth=16 \
works without problems
--with-quantum-depth=32 \
shows one error:
UYVY format ...
mean-error=0.0209018218321559, maximum-error=0.816509137487552
not ok 77
Failed 1/77 subtests
debuild -i -us -uc -b
dpkg -i ....


== Tracking octave bugs with hg bisect==
== Tracking octave bugs with hg bisect==
Line 156: Line 174:
Datum:          Tue Apr 23 12:57:16 2013 -0400
Datum:          Tue Apr 23 12:57:16 2013 -0400
Zusammenfassung: allow double-click in file browser to load data files</pre>
Zusammenfassung: allow double-click in file browser to load data files</pre>
=== bisect bug 42612 ===
For bug #42612 I created a minimal script which fails: clf_fails_42612.m
subplot (2,1,1);
plot (1:5);
legend ('hello', 'location', 'northwestoutside');
clf
And the script which runs it, bisect_clf.sh:
#!/bin/bash
SRCDIR=~/src/octave-untouched-src
BUILDDIR=~/src/bisect_build
cd $BUILDDIR
## Try a simple build first
if  ! make -j 6
then
  # make failed, run bootstrap and configure
  cd $SRCDIR
  ./bootstrap || exit 127
  cd $BUILDDIR
  $SRCDIR/configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-bounds-check --disable-java --disable-gui --disable-docs|| exit 127
  make -j 7|| exit 127
fi
cd $SRCDIR
$BUILDDIR/run-octave -q clf_fails_42612.m
ret=$?
echo $(hg id) $ret >> clf_fails_42612.log
exit $ret
=== show bisect history ===
hg log -r "bisect(good) or bisect(bad)" --template "{rev}:{node|short} {bisect}\n"
== Links ==
* [http://hg.code.sf.net/p/octave/image hgweb on sourceforge]
* [http://mywiki.wooledge.org/BashFAQ/073 bash parameter expansion]
219

edits

Navigation menu