Muhali | 24 May 2013 18:40

program_name in ~/.octaverc

I find it somewhat confusing that 'program_name' returns different things
when it is invoked in ~/.octaverc and in a script. Specifically, if
~/.octaverc contains 'disp(program_name);' somewhere, I get

%> octave-cli -q ~/.octaverc
octave-cli
.octaverc

The first case is counterintuitive.

The reason I'm doing this is to check (in .octaverc) when octave runs
interactively.

M.

--
View this message in context: http://octave.1599824.n4.nabble.com/program-name-in-octaverc-tp4653308.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

Ming Liu | 24 May 2013 16:27
Picon

THREE NEW IMAGE PROCESSING FUNCTIONS

Hi, 
I have developed three new image processing functions. They are:
rgb2lab(color space transformation)
rank(rank transform for an image)
corner(harris corner detection)
May I submit these three new functions to the patch tracker?
I have installed SVN, and checked out the repository of octave-forge. I am going to use the following lines to make a patch for these three functions under the folder 'octave-forge' :

svn add main/image/inst/rgb2lab.m main/image/inst/rank.m main/image/inst/corner.m
svn diff > liuming198904.patch

and submit the liuming198904.patch to the patch tracker.
Is it a correct way to go?
Thanks a lot.
Kind regards,
Ming Liu
Ming Liu | 24 May 2013 10:27
Picon

ANYONE USE FISHEYE?

Hi, anyone here uses FISHEYE for viewing the repository?
I am using it and facing some problems, anyone could help me with that?
Thanks a lot
Regards,
Ming Liu
Abbott, Ben | 23 May 2013 04:24

Is FTGL still a dependency?

Is ftgl stil being used?  In the log, I see ...

changeset:   9804:6fcc4179c178
user:        Shai Ayal <shaiay <at> users.sourceforge.net>
date:        Wed Nov 11 13:17:34 2009 -0500
summary:     configure.ac: remove  check for ftgl

... and I'm unable to find any mention of ftgl in the sources.

If it's no longer needed then I'll report that upstream to Macports and Fink.

Ben

Michael Goffioul | 23 May 2013 04:06
Picon

Question about Array::index with resizing

Could anybody enlighten me about the implementation of

Array<T>
Array<T>::index (const Array<idx_vector>& ia,
                 bool resize_ok, const T& rfv) const

I'm trying to use it in the classdef branch, assuming this function would resize the array is the given index is out of bound. In my case, "ia" contains only scalars, so the variable "all_scalars" ends up being true. But then the code does:

          if (all_scalars)
            return Array<T> (dim_vector (1, 1), rfv);

In other words, the code always return an array with a single element being the resize_fill_value. No resizing or array indexing actually takes place.

Is it intentional? Unimplemented? Or am I missing something?

Michael.

Michael Goffioul | 22 May 2013 21:53
Picon

Classdef Matlab test

Could anyone test the following for me? Let's say you have the following class:

ClassA.m:

classdef ClassA
  properties
    y = 10;
  end
end

Then at matlab prompt:

x = ClassA()
x(2,2).y = 20
x.y

z(2,2) = ClassA()
z(2,2).y = 20
z.y

Thanks,
Michael.

PhilipNienhuis | 22 May 2013 19:23
Picon

Re: io-1.2.2 uploaded to package release forum

Carnë Draug-4 wrote
> On 21 May 2013 21:35, PhilipNienhuis &lt;

> pr.nienhuis <at> 

> &gt; wrote:
>> There's an io-1.3.1 package as well (upon next stable Octave release to
>> probably morph into io-2.0.0) for the current 3.7.1+ releases, fairly
>> well
>> tested on Windows (only COM interface) and Linux (all Java-based
>> interfaces
>> incl. OpenOffice/LibreOffice UNO).
>> I've got no clue yet how to disseminate that to the (I expect small) pool
>> of
>> interested developers. Would my dropbox be a viable temporary solution?
>> or
>> shall I post it here? (just 183 KB)
> 
> I would say to just upload it somewhere (even if to the mailing list),
> and then mention this on the package's wiki page[1].
> 
> I don't know how much of a difference you have between the two
> versions of the package but was it not possible to just have it
> checking the octave version and act accordingly to it? This has been
> done with no problems.

Of course I have been thinking about that. 

The issue is that a number of Java calls have changed so much that just a
few if-else-endif constructs wouldn't do. I'd have to either add a lot of
those (significantly slowing down the code) or have two versions of the
relevant "low level" routines and choose which to invoke based on Octave
version (optionally at install time, again quite a bit of sorting out,
testing and invoking code bloat that would only be needed for a year or so).

I figured that to be too much hassle.

For now that is, maybe I'll add that stuff later on, but at present I don't
feel inclined to :-)

Philip

--
View this message in context: http://octave.1599824.n4.nabble.com/io-1-2-2-uploaded-to-package-release-forum-tp4653218p4653259.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

vinukn | 22 May 2013 18:24
Picon

Build octave inside any ide

Is there any idea to compile octave using any ide like qtcreator or
codeblocks or visual studio? Is this possible?  

--
View this message in context: http://octave.1599824.n4.nabble.com/Build-octave-inside-any-ide-tp4653255.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

PhilipNienhuis | 21 May 2013 22:35
Picon

io-1.2.2 uploaded to package release forum

I've just uploaded io-1.2.2 to the package release forum.

This is a mere bug fix release, only working properly with the stable Octave
versions (up to 3.6.4, or for the devs, up til < 3.7.1). 
On Windows systems spreadsheet I/O may work with octave-3.7.1+ and the COM
interface (windows package & MS-Excel installed). But DESCRIPTION has to be
adapted manually then to overcome the dependency on octave < 3.7.1.

There's an io-1.3.1 package as well (upon next stable Octave release to
probably morph into io-2.0.0) for the current 3.7.1+ releases, fairly well
tested on Windows (only COM interface) and Linux (all Java-based interfaces
incl. OpenOffice/LibreOffice UNO).
I've got no clue yet how to disseminate that to the (I expect small) pool of
interested developers. Would my dropbox be a viable temporary solution? or
shall I post it here? (just 183 KB)

Philip

--
View this message in context: http://octave.1599824.n4.nabble.com/io-1-2-2-uploaded-to-package-release-forum-tp4653218.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

Thorsten Liebig | 21 May 2013 11:18
Picon
Picon

GUI file dialog freeze

I have a strange problem with the Octave GUI on Kubuntu 13.04 and it already existed on Kubuntu 12.10

If I want to open or save a file, the file dialog and Octave freezes.
At the same time I get this message in the Octave terminal:
"KGlobal::locale(): Warning your global KLocale is being recreated with a valid main component instead
of a fake component, this usually means you
tried to call i18n related functions before your main component was created. You should not do that since it
most likely will not work"
But this seems not necessarily related to the freeze (see below)

If I wait a couple of minutes, I get on the Octave terminal:
QProcess: Destroyed while process is still running.
QProcess: Destroyed while process is still running.

After this two messages, I can browse the files normally and open/save.

But this two processes that got killed seem to be important, because after this Octave behaves strange...
E.g.: Sometimes the entire GUI freezes or at least doesn't get updated if a script is running...
If I'm patient again, I get again:
"QProcess: Destroyed while process is still running."
And the GUI unfreezes again...

I tried a fresh Kubuntu 13.04 on a virtual machine and did *not* see this problems, except the
"KGlobal::locale()..." message, but no freezes... :(
And to make this even more weird. I have been seeing this problem on my machine at work for a long time (>half a
year) but had no time to look closer,
but recently my home machine got infected as well :(

I have no idea how to debug this problem or what is causing it...

Does anybody else have this issues?
Any ideas?

Thorsten

Michael Goffioul | 21 May 2013 04:55
Picon

Classdef property accessor overriding

Could anyone verify for me whether the limitation described in [1] is still present in current Matlab version?

Michael.



Gmane