bugGNU Octave - Bugs: bug #42687, listdlg.m: demo 1 errors

 
 

bug #42687: listdlg.m: demo 1 errors

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sat 05 Jul 2014 07:50:28 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Philip Nienhuis <philipnienhuis>
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: 3.8.1Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 05 Jul 2014 07:44:29 PM UTC, comment #2:

Thanks for pushing.

Sure, I agree the demos could use some attention; but for the time being I concentrated on "rundemos.m" running & finishing OK.

In the pre-core-Java versions (Java package w Octave 3.6.4) I also see "\Java" show up in the listdlg demo (or rather dlgtest.m).

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Sat 05 Jul 2014 07:26:23 PM UTC, comment #1:

I committed your change to stable (http://hg.savannah.gnu.org/hgweb/octave/rev/310fd62e9d4b).

It seems like there are still some things we could improve with the demos. I don't know why but some of the entries seem to have the text "\alpha" in them. I don't know if it was to test escape character processing, but it doesn't work. When run with Java, the item isn't displayed. When run with Qt, the item shows up as literal "\alpha" rather than the Greek alpha character.

In the second demo, the PromptString uses HTML embedded formatting which only works for the Qt listdlg and not for the Java based ones.

Rik <rik5>
Project Administrator
Sat 05 Jul 2014 07:50:28 AM UTC, original submission:

(see maintainers ML thread:
http://octave.1599824.n4.nabble.com/Octave-3-8-2-rc2-release-candidate-available-for-ftp-tt4665149.html)

When running rundemos.m in octave-3.8.2-rc2, I see a few of these num2str errors:

due to some syntax errors in listdlg.m's demos (space between function name and parameter list within a [ ] construct).

Changeset attached - couldn't upload it to nabble.
Also changed single-quoted strings to double quoted.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #31677:  listdlg.cs added by philipnienhuis (3KiB - text/x-csharp)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by philipnienhuis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Jul 2014 07:26:23 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sat 05 Jul 2014 07:50:28 AM UTCphilipnienhuisAttached File-=>Added listdlg.cs, #31677

    Back to the top


    Powered by Savane 3.1-cleanup1