~ubuntu-branches/ubuntu/wily/octave/wily-proposed

« back to all changes in this revision

Viewing changes to scripts/help/get_first_help_sentence.m

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2014-03-10 17:32:29 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140310173229-000oj77i9m6tjpvd
Tags: 3.8.1-1
* Imported Upstream version 3.8.1
  + libgui/src/main-window.cc: Fix problems with gui startup and focus issues
    (Closes: #738672)
  + scripts/pkg/private/fix_depends.m: Fix installing packages where
    dependency name contains '-' (Closes: #740984)
* debian/copyright: reflect upstream changes.
* octave.postinst: remove workaround for #681064 (package dir re-creation).
  (Closes: #681461)
* Remove patches applied upstream:
  + doc-compressed-info.diff
  + kfreebsd_tcgetattr.diff
  + octave-cli-manpage.diff
  + save-uint8-in-text-format.diff
* mkoctfile is now an executable binary instead of a shell script.
  + mkoctfile-mpi.diff: adapt for new format of mkoctfile.
  + d/control: add shlibs:Depends to liboctave-dev.
* Fix statement about the GUI in NEWS.Debian.
* debian/control: don't mention the FAQ in descriptions, it has been removed.
* Adapt to the fact that JIT is now disabled by default in ./configure script.
* Disable JIT on hurd-i386, LLVM not available there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
    sep_idx = min (space_idx, bracket_idx);
125
125
    def_type = help_text(def1+1:sep_idx-1);
126
126
 
127
 
    end_idx = strfind (help_text, sprintf ("@end %s", def_type))(1);
 
127
    end_idx = strfind (help_text, sprintf ("@end %s", def_type));
128
128
    if (isempty (end_idx))
129
129
      error ("get_first_help_sentence: couldn't parse texinfo");
130
130
    endif
131
 
    keep(end_idx:end) = false;
 
131
    keep(end_idx(1):end) = false;
132
132
 
133
133
    help_text = help_text(keep);
134
134
  endif