Jump to navigation Jump to search
3,733 bytes added ,  13:09, 5 October 2016
== ToDo ==
=== Core ===
* <strike>fix imread bug with opaque images, see</strike> Thanks Carne* <strike>FFTW multithreaded</strike>* <strike>remove removed but still referenced function in "seealso" blocks</strike> * Add swisdom (single prec.) to /libinterp/dldfcn/ documentation* linguist-qt4: octave-src/libgui$ "lupdate -recursive -no-obsolete -locations relative src qterminal graphics -ts languages/*ts" === GUI ===<strike>FFTW multithreaded httpsWhen opening and closing the GUI HDF5: infinite loop closing library</strike> [] No icons in qt4 GUI?7922< gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true gconftool-2 --type boolean --set /desktop/gnome/interface/strike>menus_have_icons true
=== Forge ===
==== signal or fltk plotting? ====
pkg load signal
graphics_toolkit fltk
-> r300: Implementation error: Render targets are too big in r300_set_framebuffer_state, refusing to bind framebuffer state!
==== video ====
<strike>fix build, see</strike>
==== signal ====
* findpeaks.m, print error if data is not a column vector (error: vertical dimensions mismatch (1x10000 vs 1x1)
==== image ====
* implement [ SURF], integralImage is cumsum(cumsum(a,1),2)
* implement impixelinfo
* implement getpixelposition, axes2pix, pix2map, map2pix
===== corner/cornermetric, harris =====
First post on mailing list in 12.01.2013
== brainstorming ==
* something like autobuilder for octave would be cool. Jordi mentioned
* perhaps
== Snippets ==
=== 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==
I had a [ strange problem ] when loading gzip compressed ascii files in octave. It failed dependent on the integer values. After some stripping I made a minimalistic test script (min_testcase_fails.m) which always fails in a current dev (88616c872933):
fid = fopen (fn,"w");
c=load("file2.txt.gz") #this fails in newer versions
When run:
$ octave -q min_testcase_fails.m
fn = file2.txt
cmd = gzip file2.txt -c > file2.txt.gz
error: value on right hand side of assignment is undefined
error: called from:
error: /home/andy/src/octave-bugs/min_testcase_fails.m at line 17, column 2
If line 4 with "663, 15, 154, 978161" is changed to ""663, 16, 154, 978161", load works as expected. '''Strange, isn't it?'''
make -j 7
After compilation I tried my test min_testcase_fails.m:
<pre>~/src/octave-build$ ./run-octave -q ../min_testcase_fails.mfn = file2.txtcmd = gzip file2.txt -c > file2.txt.gzc =
639 25 160 978160 687 25 171 978160 663 31 173 978161 663 15 154 978161 655 21 151 978161</pre>So this is apparently a good or bad?one. Tell it hg bisect!
cd ../octave-src && hg bisect -g
After this you try make again, bootstrap && configure if this make fails, run rerun the testscript, tell hg bisect if its it's good or bad and repeat this until the revision which introduced the problem is found.
Or you can use "hg bisect --command", see next point.
$BUILDDIR/run-octave -q ~/src/min_testcase_fails.m || exit 1
exit 0
After making it executable, let hg bisect use it
~/src/octave-src$ hg bisect -c ../
Now sit back and relax, this could last some hours... Finally:
<pre>Änderungssatz 16554:03a28487fa9d: good
Die erste fehlerhafte Revision ist:
Änderung: 16555:04fb96f4bea1
Nutzer: John W. Eaton <>
Datum: Tue Apr 23 12:57:16 2013 -0400
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');
And the script which runs it,
## Try a simple build first
if ! make -j 6
# make failed, run bootstrap and configure
./bootstrap || exit 127
$SRCDIR/configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-bounds-check --disable-java --disable-gui --disable-docs|| exit 127
make -j 7|| exit 127
$BUILDDIR/run-octave -q clf_fails_42612.m
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 ==
* [ hgweb on sourceforge]
* [ bash parameter expansion]


Navigation menu