# HG changeset patch # User John W. Eaton # Date 1387651453 18000 # Node ID d13fb462dd9231b556ca8fbac5a194cbfbc03fbb # Parent 14acb08d75fae928db2d8162c51fe63b25f27570# Parent 20f2b3c48c4c658fb774e320867d368400d87174 maint: Periodic merge of stable to gui-release. diff -r 14acb08d75fa -r d13fb462dd92 configure.ac --- a/configure.ac Fri Dec 20 16:13:20 2013 +0100 +++ b/configure.ac Sat Dec 21 13:44:13 2013 -0500 @@ -443,7 +443,7 @@ ### it without having to run an executable, but this sounds pretty dicey. AC_ARG_ENABLE([float-truncate], [AS_HELP_STRING([--enable-float-truncate], - [enables truncating intermediate FP results.])], + [truncate intermediate FP results])], [if test "$enableval" = yes; then ac_float_truncate=volatile else diff -r 14acb08d75fa -r d13fb462dd92 libgui/languages/nl_NL.ts --- a/libgui/languages/nl_NL.ts Fri Dec 20 16:13:20 2013 +0100 +++ b/libgui/languages/nl_NL.ts Sat Dec 21 13:44:13 2013 -0500 @@ -14,57 +14,57 @@ Hu&e: - + Tint: &Sat: - + Intens.: &Val: - + Waarde: &Red: - + Rood &Green: - + Groen Bl&ue: - + Blauw A&lpha channel: - + Alpha kanaal Select Color - + Kies kleur &Basic colors - + Basiskleuren &Custom colors - + Aangepaste kleuren &Add to Custom Colors - + Voeg toe aan aangepaste kleuren @@ -72,12 +72,12 @@ Done - + Klaar What's This? - + Wat is dit? @@ -86,7 +86,7 @@ OK - + OK @@ -94,27 +94,27 @@ Debug Message: - + Debug melding: Warning: - + Opgelet: Fatal Error: - + Fatale fout: &Show this message again - + Laat deze melding opnieuw zien &OK - + OK @@ -123,84 +123,84 @@ Find Directory - + Zoek map Open - Open + Open Save As - + Bewaar als All Files (*) - + Alle bestanden (*) Show - + Toon &Rename - + He&rnoem &Delete - + Verwijder Show &hidden files - + Toon verborgen bestanden &New Folder - + Nieuwe map Directory: - + Map: File &name: - + Bestands&naam: &Open - + &Open - &Save - + Save + Bewaar Directories - + Mappen &Choose - + Kies @@ -208,51 +208,57 @@ %1 Directory not found. Please verify the correct directory name was given. - + %1 +Map niet gevonden. +Controleer s.v.p. of de juiste mapnaam is opgegeven. %1 already exists. Do you want to replace it? - + %1 bestaat al. +Wil je die vervangen? %1 File not found. Please verify the correct file name was given. - + %1 +Bestand niet gevonden. +Controleer s.v.p. of de juiste bestandsnaam is opgegeven. New Folder - + Nieuwe map '%1' is write protected. Do you want to delete it anyway? - + '%1' is beveiligd tegen overschrijven. +Wil je die toch verwijderen? Are sure you want to delete '%1'? - + Weet je zeker dat je '%1' wil verwijderen? Could not delete directory. - + Kon map niet verwijderen. Recent Places - + Recente plekken All Files (*.*) - + Alle bestanden (*.*) @@ -260,64 +266,64 @@ %1 TB - + %1 TB %1 GB - + %1 GB %1 MB - + %1 MB %1 KB - + %1 KB %1 bytes - + %1 bytes Invalid filename - + Ongeldige bestandsnaam <b>The name "%1" can not be used.</b><p>Try using another name, with fewer characters or no punctuations marks. - + <b>De naam "%1" kan niet worden gebruikt.</b><p>Probeer een andere naam met minder tekens en zonder interpunctietekens. Name - Naam + Naam Size - + Grootte Kind Match OS X Finder - + Soort Type All other platforms - + Type Date Modified - + Datum verandering @@ -325,47 +331,47 @@ Select Font - + Kies lettertype &Font - + Lettertype Font st&yle - + Letter stijl &Size - + Grootte Effects - + Effecten Stri&keout - + Doorhalen &Underline - + Onderstrepen Sample - + Voorbeeld Wr&iting System - + Schrijfsysteem @@ -373,7 +379,7 @@ Enter a value: - + Geef waarde op: @@ -381,38 +387,38 @@ Show Details... - + Toon details... Hide Details... - + Verberg details... OK - + OK Help - + Hulp <h3>About Qt</h3><p>This program uses Qt version %1.</p> - + <h3>Over Qt</h3><p>Dit programma werkt met Qt versie %1.</p> <p>Qt is a C++ toolkit for cross-platform application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants. Qt is also available for embedded devices as Qt for Embedded Linux and Qt for Windows CE.</p><p>Qt is available under three different licensing options designed to accommodate the needs of our various users.</p><p>Qt licensed under our commercial license agreement is appropriate for development of proprietary/commercial software where you do not want to share any source code with third parties or otherwise cannot comply with the terms of the GNU LGPL version 2.1 or GNU GPL version 3.0.</p><p>Qt licensed under the GNU LGPL version 2.1 is appropriate for the development of Qt applications (proprietary or open source) provided you can comply with the terms and conditions of the GNU LGPL version 2.1.</p><p>Qt licensed under the GNU General Public License version 3.0 is appropriate for the development of Qt applications where you wish to use such applications in combination with software subject to the terms of the GNU GPL version 3.0 or where you are otherwise willing to comply with the terms of the GNU GPL version 3.0.</p><p>Please see <a href="http://qt.digia.com/product/licensing">qt.digia.com/product/licensing</a> for an overview of Qt licensing.</p><p>Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).</p><p>Qt is a Digia product. See <a href="http://qt.digia.com/">qt.digia.com</a> for more information.</p> - + <p>Qt is een C++ gereedschapskit voor cross-platform ontwikkeling van applicaties.</p><p>Qt biedt enkele-broncode portabiliteit voor MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux en alle belangrijke commerciële Unix varianten. Qt is ook beschikbaar voor embedded devices, zoals Qt voor Embedded Linux en Qt voor Windows CE.</p><p>Qt is beschikbaar met drie verschillende licentie-opties bedoeld om te voorzien in de behoeftes van onze gevarieerde gebruikersgroep.</p><p>Qt met een commerciële licentie is past bij ontwikkeling van gesloten/commerciële programmatuur waarbij geen broncode met derden wordt gedeeld of anderzins niet kan worden voldaan aan de eisen van de GNU LGPL versie 2.1 of GNU GPL versie 3.0.</p><p>Qt met een GNU LGPL versie 2.1 licentie past bij ontwikkeling van Qt programma's (gesloten of open source) indien je kan voldoen aan de eisen en voorwaarden van de GNU LGPL versie 2.1.</p><p>Qt met een GNU General Public License versie 3.0 past bij de ontwikkeling van Qt programma's als je die programma's wenst te gebruiken in combinatie met programma's onderworpen aan de GNU GPL versie 3.0 of als je anderszins beeid bent te voldoen aan de eisen van de GNU GPL versie 3.0.</p><p>Kijk op <a href="http://qt.digia.com/product/licensing">qt.digia.com/product/licensing</a> voor een overzicht van Qt licenties.</p><p>Copyright (C) 2013 Digia Plc en/of dochteronderneming(-en).</p><p>Qt is een Digia product. Kijk op <a href="http://qt.digia.com/">qt.digia.com</a> voor meer informatie.</p> About Qt - + Over Qt @@ -473,12 +479,12 @@ Name - Naam + Naam Value - Waarde + Waarde @@ -486,22 +492,22 @@ Centimeters (cm) - + Centimeters (cm) Millimeters (mm) - + Millimeters (mm) Inches (in) - + Inches (in) Points (pt) - + Punten (pt) @@ -511,411 +517,414 @@ Print - Afdrukken + Afdrukken A0 - + A0 A1 - + A1 A2 - + A2 A3 - + A3 A4 - + A4 A5 - + A5 A6 - + A6 A7 - + A7 A8 - + A8 A9 - + A9 B0 - + B0 B1 - + B1 B2 - + B2 B3 - + B3 B4 - + B4 B5 - + B5 B6 - + B6 B7 - + B7 B8 - + B8 B9 - + B9 B10 - + B10 C5E - + C5E DLE - + DLE Executive - + Executive Folio - + Folio Ledger - + Ledger Legal - + Legal Letter - + Letter Tabloid - + tabloid US Common #10 Envelope - + US Common #10 Envelope Custom - + Aangepast File exists - + Bestand bestaat al <qt>Do you want to overwrite it?</qt> - + <qt>Wil je het overschrijven?</qt> A0 (841 x 1189 mm) - + A0 (841 x 1189 mm) A1 (594 x 841 mm) - + A1 (594 x 841 mm) A2 (420 x 594 mm) - + A2 (420 x 594 mm) A3 (297 x 420 mm) - + A3 (297 x 420 mm) A4 (210 x 297 mm, 8.26 x 11.7 inches) - + A4 (210 x 297 mm, 8.26 x 11.7 inches) A5 (148 x 210 mm) - + A5 (148 x 210 mm)>A5 (148 x 210 mm) A6 (105 x 148 mm) - + A6 (105 x 148 mm) A7 (74 x 105 mm) - + A7 (74 x 105 mm) A8 (52 x 74 mm) - + A8 (52 x 74 mm) A9 (37 x 52 mm) - + A9 (37 x 52 mm) B0 (1000 x 1414 mm) - + B0 (1000 x 1414 mm) B1 (707 x 1000 mm) - + B1 (707 x 1000 mm) B2 (500 x 707 mm) - + B2 (500 x 707 mm) B3 (353 x 500 mm) - + B3 (353 x 500 mm) B4 (250 x 353 mm) - + B4 (250 x 353 mm) B5 (176 x 250 mm, 6.93 x 9.84 inches) - + B5 (176 x 250 mm, 6.93 x 9.84 inches) B6 (125 x 176 mm) - + B6 (125 x 176 mm) B7 (88 x 125 mm) - + B7 (88 x 125 mm) B8 (62 x 88 mm) - + B8 (62 x 88 mm) B9 (44 x 62 mm) - + B9 (44 x 62 mm) B10 (31 x 44 mm) - + B10 (31 x 44 mm) C5E (163 x 229 mm) - + C5E (163 x 229 mm) DLE (110 x 220 mm) - + DLE (110 x 220 mm) Executive (7.5 x 10 inches, 191 x 254 mm) - + Executive (7.5 x 10 inches, 191 x 254 mm) Folio (210 x 330 mm) - + Folio (210 x 330 mm) Ledger (432 x 279 mm) - + Ledger (432 x 279 mm) Legal (8.5 x 14 inches, 216 x 356 mm) - + Legal (8.5 x 14 inches, 216 x 356 mm) Letter (8.5 x 11 inches, 216 x 279 mm) - + Letter (8.5 x 11 inches, 216 x 279 mm) Tabloid (279 x 432 mm) - + Tabloid (279 x 432 mm) US Common #10 Envelope (105 x 241 mm) - + US Common #10 Envelope (105 x 241 mm) Print all - + Druk alles af Print selection - + Druk selectie af Print range - + Bereik afdrukken Print current page - + Druk huidige pagina af &Options >> - + opties &Print - + Druk af &Options << - + Opties Print to File (PDF) - + Druk af naar bestand (PDF) Print to File (Postscript) - + Druk af naar bestand (Postscript) Local file - + Lokaal bestand Write %1 file - + Bewaar %1 bestand Print To File ... - + Druk af naar bestand... %1 is a directory. Please choose a different file name. - + %1 is een map. +Kies s.v.p. een andere bestandsnaam. File %1 is not writable. Please choose a different file name. - + %1 is niet overschrijfbaar. +Geef een andere bestandsnaam op. %1 already exists. Do you want to overwrite it? - + %1 bestaat al. +Wil je die overschrijven? The 'From' value cannot be greater than the 'To' value. - + De 'Van' waarde kan niet groter zijn dan de 'Naar' waarde. OK - + OK @@ -924,7 +933,7 @@ Page Setup - + Pagina opmaak @@ -2690,7 +2699,7 @@ The release notes file '%1' cannot be read. - Bestand met Rlease Notes '%1' kan nit worden gelezen. + Bestand met Release Notes '%1' kan nit worden gelezen. @@ -2820,28 +2829,28 @@ <strong>You are using a release candidate of Octave's experimental GUI.</strong> Octave is under continuous improvement and the GUI will be the default interface for the 4.0 release. For more information, select the "Release Notes" item in the "Help" menu of the GUI, or visit <a href="http://octave.org">http://octave.org</a>. - + Je gerbuikt een "release candiadate" van Octave's experimentele GUI.</strong> Octave wordt continu doorontwikkeld en de GUI zal de standaard interface zijn voor versie 4.0. Kies Release Notes in het Hulp menu van de GUI voor meer informatie, of kijk op <a href="http://octave.org">http://octave.org</a>. More Info - + Meer informatie Hide - + Verberg Experimental GUI Info - + Experimentele GUI Informatie <p><strong>A Note about Octave's New GUI</strong></p><p>One of the biggest new features for Octave 3.8 is a graphical user interface. It is the one thing that users have requested most often over the last few years and now it is almost ready. But because it is not quite as polished as we would like, we have decided to wait until the 4.0.x release series before making the GUI the default interface.</p><p>Given the length of time and the number of bug fixes and improvements since the last major release Octave, we also decided against delaying the release of all these new improvements any longer just to perfect the GUI. So please enjoy the 3.8 release of Octave and the preview of the new GUI. We believe it is working reasonably well, but we also know that there are some obvious rough spots and many things that could be improved.</p><p><strong>We Need Your Help</strong></p><p>There are many ways that you can help us fix the remaining problems, complete the GUI, and improve the overall user experience for both novices and experts alike (links will open an external browser):</p><p><ul><li>If you are a skilled software developer, you can help by contributing your time to help <a href="http://octave.org/get-involved.html">develop Octave</a>.</li><li>If Octave does not work properly, you are encouraged to <a href="http://octave.org/bugs.html">report problems </a> that you find.</li><li>Whether you are a user or developer, you can <a href="http://octave.org/donate.html">help to fund the project</a>. Octave development takes a lot of time and expertise. Your contributions help to ensure that Octave will continue to improve.</li></ul></p><p>We hope you find Octave to be useful. Please help us make it even better for the future!</p> - + <p><strong>Een opmerking over Octave's Nieuwe GUI</strong></p><p>Een van de belangrijkste nieuwe kenmerken van Octave 3.8 is een grafische user interface (GUI). Dat is waar de gebruikers de afgelopen jaren het meest om gevraagd hebben en hij is bijna af. Maar omdat hij nog niet zo gepolijst is als we zouden willen hebben we besloten te wachten tot de versie 4.0 serie voordat we hem de standaard interface maken.</p><p>Vanwege de lange tijd en het aantal bug fixes en verbeteringen sinds de laatste major release versie hebben we ook besloten om niet langer meer te wachten op de GUI om al die verbeteringen door te voeren. Dus geniet van Octave versie 3.8 en de preview van de nieuwe GUI. We denken dat hij redelijk goed werkt, maar natuurlijk weten we dat er nog ruwe kantjes aan zitten en ruimte voor verbeteringen.</p><p><strong>We hebben je hulp nodig</strong></p><p>Er zijn veel manieren waarop je ons kunt helpen de overgebleven problemen te verhelpen, de GUI te completeren, en de gebruikerservaring voor nieuwelingen en experts (de URLs openen een nieuwe browser):</p><p><ul><li>Als je een bekwame ontwikkelaar bent kun je ons helpen door bij te dragen <a href="http://octave.org/get-involved.html">develop Octave</a>.</li><li>Als Octave niet goed wekt raden we je aan om <a href="http://octave.org/bugs.html">de problemen te rapporteren </a> die je tegen komt.</li><li>Of je nu gebruiker of ontwikkelaar bent, je kunt ook <a href="http://octave.org/donate.html">een bijdrage geven</a>. De ontwikkeling van Octave vraagt een hoop tijd en expertise. Je bijdrage helpt er aan mee dat Octave verbeterd blijft worden.</li></ul></p><p>We hopen dat je Octave nuttig vindt. Help alsjeblieft om het in de toekomst nog beter te maken!</p> diff -r 14acb08d75fa -r d13fb462dd92 libgui/languages/pt_PT.ts --- a/libgui/languages/pt_PT.ts Fri Dec 20 16:13:20 2013 +0100 +++ b/libgui/languages/pt_PT.ts Sat Dec 21 13:44:13 2013 -0500 @@ -1956,23 +1956,23 @@ <strong>You are using a release candidate of Octave's experimental GUI.</strong> Octave is under continuous improvement and the GUI will be the default interface for the 4.0 release. For more information, select the "Release Notes" item in the "Help" menu of the GUI, or visit <a href="http://octave.org">http://octave.org</a>. - + <strong>Esta é uma versão experimental da interface gráfica para Octave.</strong> Octave é um projecto activo em constante desenvolvimento e a interface gráfica será a interface padrão para a versão 4.0. Para mais informações, ver as "Notas de versão" no menu "Ajuda", ou visitar <a href="http://octave.org">http://octave.org</a>. More Info - + Mais informações Hide - + Esconder Experimental GUI Info - + Informação sobre a interface gráfica experimental diff -r 14acb08d75fa -r d13fb462dd92 libinterp/corefcn/bitfcns.cc --- a/libinterp/corefcn/bitfcns.cc Fri Dec 20 16:13:20 2013 +0100 +++ b/libinterp/corefcn/bitfcns.cc Sat Dec 21 13:44:13 2013 -0500 @@ -723,7 +723,7 @@ unsigned 64-bit integer.\n\ @end table\n\ \n\ -The default for @var{type} is @code{uint32}.\n\ +The default for @var{type} is @code{int32}.\n\ @seealso{intmin, flintmax, bitmax}\n\ @end deftypefn") { @@ -793,7 +793,7 @@ unsigned 64-bit integer.\n\ @end table\n\ \n\ -The default for @var{type} is @code{uint32}.\n\ +The default for @var{type} is @code{int32}.\n\ @seealso{intmax, flintmax, bitmax}\n\ @end deftypefn") { diff -r 14acb08d75fa -r d13fb462dd92 libinterp/dldfcn/__magick_read__.cc --- a/libinterp/dldfcn/__magick_read__.cc Fri Dec 20 16:13:20 2013 +0100 +++ b/libinterp/dldfcn/__magick_read__.cc Sat Dec 21 13:44:13 2013 -0500 @@ -652,13 +652,6 @@ { warning ("Magick++ warning: %s", w.what ()); } - catch (Magick::ErrorCoder& e) - { - // XXX: why is this error being caught as a warning? It has always - // been like this (function was added the first time to the - // Octave Forge image package with cset d756a7b6d533) - warning ("Magick++ coder error: %s", e.what ()); - } catch (Magick::Exception& e) { error ("Magick++ exception: %s", e.what ()); diff -r 14acb08d75fa -r d13fb462dd92 m4/acinclude.m4 --- a/m4/acinclude.m4 Fri Dec 20 16:13:20 2013 +0100 +++ b/m4/acinclude.m4 Sat Dec 21 13:44:13 2013 -0500 @@ -1396,7 +1396,7 @@ READLINE_LIBS= AC_ARG_ENABLE([readline], [AS_HELP_STRING([--disable-readline], - [use readline library])], + [do not use readline library])], [if test "$enableval" = no; then USE_READLINE=no warn_readline="command editing and history features require GNU Readline" diff -r 14acb08d75fa -r d13fb462dd92 src/Makefile.am --- a/src/Makefile.am Fri Dec 20 16:13:20 2013 +0100 +++ b/src/Makefile.am Sat Dec 21 13:44:13 2013 -0500 @@ -49,8 +49,11 @@ octave \ octave-cli +OCTAVE_VERSION_LINKS = octave-cli-$(version) + if AMCOND_BUILD_GUI OCTAVE_BINARIES += octave-gui + OCTAVE_VERSION_LINKS += octave-gui-$(version) endif OCTAVE_CORE_LIBS = \ @@ -136,6 +139,8 @@ octave-config endif +all-local: $(OCTAVE_VERSION_LINKS) + if AMCOND_BUILD_COMPILED_AUX_PROGRAMS octave-config.cc: octave-config.in.cc Makefile @$(do_subst_default_vals) @@ -189,5 +194,17 @@ .PHONY: make-version-links remove-version-links +## We need these file names in the build tree because the wrapper +## program (main.cc) will try to invoke the versioned binaries. + +octave-cli-$(version): octave-cli + rm -f $@ + $(LN_S) $< $@ + +octave-gui-$(version): octave-gui + rm -f $@ + $(LN_S) $< $@ + CLEANFILES = \ - $(bin_SCRIPTS) + $(bin_SCRIPTS) \ + $(OCTAVE_VERSION_LINKS) diff -r 14acb08d75fa -r d13fb462dd92 src/main.in.cc --- a/src/main.in.cc Fri Dec 20 16:13:20 2013 +0100 +++ b/src/main.in.cc Sat Dec 21 13:44:13 2013 -0500 @@ -42,6 +42,18 @@ #include #include +#ifndef OCTAVE_VERSION +#define OCTAVE_VERSION %OCTAVE_VERSION% +#endif + +#ifndef OCTAVE_BINDIR +#define OCTAVE_BINDIR %OCTAVE_BINDIR% +#endif + +#ifndef OCTAVE_PREFIX +#define OCTAVE_PREFIX %OCTAVE_PREFIX% +#endif + #if defined (__WIN32__) && ! defined (_POSIX_VERSION) #define WIN32_LEAN_AND_MEAN @@ -358,14 +370,6 @@ #endif -#ifndef OCTAVE_BINDIR -#define OCTAVE_BINDIR %OCTAVE_BINDIR% -#endif - -#ifndef OCTAVE_PREFIX -#define OCTAVE_PREFIX %OCTAVE_PREFIX% -#endif - // Find the directory where the octave binary is supposed to be // installed. @@ -593,19 +597,14 @@ std::string file = octave_bindir + dir_sep_char; #if defined (HAVE_OCTAVE_GUI) - file += "octave-gui"; + file += "octave-gui-" OCTAVE_VERSION; #else - file += "octave-cli"; + file += "octave-cli-" OCTAVE_VERSION; #endif char **new_argv = new char * [argc + 1]; -#if defined (__WIN32__) && ! defined (__CYGWIN__) int k = 1; -#else - int k = 0; - new_argv[k++] = strsave ("octave"); -#endif bool warn_display = true; @@ -627,9 +626,9 @@ { // If we see this option, then we can just exec octave; we // don't have to create a child process and wait for it to - // exit. But do exec "octave", not "octave-cli", because even - // if the --no-gui option is given, we may be asked to do some - // plotting or ui* calls. + // exit. But do exec "octave-gui", not "octave-cli", because + // even if the --no-gui option is given, we may be asked to do + // some plotting or ui* calls. start_gui = false; new_argv[k++] = argv[i]; @@ -655,7 +654,7 @@ start_gui = false; gui_libs = false; - file = octave_bindir + dir_sep_char + "octave-cli"; + file = octave_bindir + dir_sep_char + "octave-cli-" OCTAVE_VERSION; if (warn_display) { @@ -665,6 +664,12 @@ } } +#if defined (__WIN32__) && ! defined (__CYGWIN__) + file += ".exe"; +#endif + + new_argv[0] = strsave (file.c_str ()); + #if (defined (HAVE_OCTAVE_GUI) \ && ! defined (__WIN32__) || defined (__CYGWIN__)) @@ -730,10 +735,6 @@ #else -#if defined (__WIN32__) && ! defined (__CYGWIN__) - file += ".exe"; - new_argv[0] = strsave (file.c_str ()); -#endif retval = octave_exec (file, new_argv); #endif