Merge master.
authorCarl Hetherington <cth@carlh.net>
Tue, 21 May 2013 20:07:35 +0000 (21:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 May 2013 20:07:35 +0000 (21:07 +0100)
17 files changed:
1  2 
cscript
src/lib/film.cc
src/lib/format.cc
src/lib/po/es_ES.po
src/lib/po/fr_FR.po
src/lib/po/it_IT.po
src/lib/po/sv_SE.po
src/lib/util.cc
src/lib/wscript
src/tools/po/es_ES.po
src/tools/po/fr_FR.po
src/tools/po/sv_SE.po
src/wx/po/es_ES.po
src/wx/po/fr_FR.po
src/wx/po/it_IT.po
src/wx/po/sv_SE.po
wscript

diff --cc cscript
Simple merge
diff --cc src/lib/film.cc
index 37af4cb20c4de0e28e115bf7d05192c93d1938c3,81c7de77f72bb0b3a04f1e7d906011c8777bcca8..487499e32acd8698ed2ca6f6b87ab0e24e7e558c
@@@ -691,18 -1000,14 +691,17 @@@ Film::set_trust_content_headers (bool t
  {
        {
                boost::mutex::scoped_lock lm (_state_mutex);
 -              _trust_content_header = t;
 +              _trust_content_headers = t;
        }
        
 -      signal_changed (TRUST_CONTENT_HEADER);
 -
 -      if (!_trust_content_header && !content().empty()) {
 +      signal_changed (TRUST_CONTENT_HEADERS);
 +      
 +      Playlist::ContentList content = _playlist->content ();
 +      if (!_trust_content_headers && !content.empty()) {
                /* We just said that we don't trust the content's header */
 -              examine_content ();
 +              for (Playlist::ContentList::iterator i = content.begin(); i != content.end(); ++i) {
 +                      examine_content (*i);
 +              }
        }
  }
               
Simple merge
index 7d2f8511e002314ab866778bcdcd18ccffd2b1a9,944505007a05890a56655c94672b05cbb865b545..58ad48a9c9fd2d411910c38a8da878acf9f06759
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: LIBDVDOMATIC\n"
 +"Project-Id-Version: LIBDCPOMATIC\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-04-02 19:10-0500\n"
  "Last-Translator: Manuel AC <manuel.acevedo@civantos.>\n"
  "Language-Team: Manuel AC <manuel.acevedo@civantos.com>\n"
@@@ -247,13 -247,13 +247,13 @@@ msgstr "Horizontal deblocking filter
  msgid "Horizontal deblocking filter A"
  msgstr "Horizontal deblocking filter A"
  
- #: src/lib/job.cc:96 src/lib/job.cc:105
+ #: src/lib/job.cc:97 src/lib/job.cc:106
  msgid ""
  "It is not known what caused this error.  The best idea is to report the "
 -"problem to the DVD-o-matic mailing list (dvdomatic@carlh.net)"
 +"problem to the DCP-o-matic mailing list (dcpomatic@carlh.net)"
  msgstr ""
  "Error desconocido. La mejor idea es informar del problema a la lista de "
 -"correo de DVD-O-matic (dvdomatic@carlh.net)"
 +"correo de DCP-o-matic (dcpomatic@carlh.net)"
  
  #: src/lib/filter.cc:82
  msgid "Kernel deinterlacer"
index 7f3da788b2fc99389540b90b14fe107a380ba08f,a6a72598fd741330b299d4072f77dbba68aae612..d69e2f7d5c31d3587e2b2c747426b25f38e5b029
@@@ -5,11 -5,11 +5,11 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic FRENCH\n"
 +"Project-Id-Version: DCP-o-matic FRENCH\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
- "PO-Revision-Date: 2013-03-20 00:39+0100\n"
- "Last-Translator: FreeDCP.net <freedcp.net@gmail.com>\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
+ "PO-Revision-Date: 2013-05-10 14:33+0100\n"
+ "Last-Translator: \n"
  "Language-Team: \n"
  "Language: \n"
  "MIME-Version: 1.0\n"
@@@ -245,13 -255,10 +255,10 @@@ msgstr "Filtre dé-bloc horizontal
  msgid "Horizontal deblocking filter A"
  msgstr "Filtre dé-bloc horizontal"
  
- #: src/lib/job.cc:96 src/lib/job.cc:105
- msgid ""
- "It is not known what caused this error.  The best idea is to report the "
- "problem to the DCP-o-matic mailing list (dcpomatic@carlh.net)"
- msgstr ""
- "Erreur indéterminée. Merci de rapporter le problème à la liste DCP-o-matic "
- "(dcpomatic@carlh.net)"
+ #: src/lib/job.cc:97
+ #: src/lib/job.cc:106
 -msgid "It is not known what caused this error.  The best idea is to report the problem to the DVD-o-matic mailing list (dvdomatic@carlh.net)"
 -msgstr "Erreur indéterminée. Merci de rapporter le problème à la liste DVD-o-matic (dvdomatic@carlh.net)"
++msgid "It is not known what caused this error.  The best idea is to report the problem to the DCP-o-matic mailing list (dcpomatic@carlh.net)"
++msgstr "Erreur indéterminée. Merci de rapporter le problème à la liste DCP-o-matic (dcpomatic@carlh.net)"
  
  #: src/lib/filter.cc:82
  msgid "Kernel deinterlacer"
index bd22412fc67f4b853eaf575549fc721dc3393316,6a7486d82d415d3e5285fceb4b6d6c7600a9adca..1a46e67be31c9f70d96634ab9bd4d6697aebb9c5
@@@ -244,13 -244,13 +244,13 @@@ msgstr "Filtro sblocco orizzontale
  msgid "Horizontal deblocking filter A"
  msgstr "Filtro A sblocco orizzontale"
  
- #: src/lib/job.cc:96 src/lib/job.cc:105
+ #: src/lib/job.cc:97 src/lib/job.cc:106
  msgid ""
  "It is not known what caused this error.  The best idea is to report the "
 -"problem to the DVD-o-matic mailing list (dvdomatic@carlh.net)"
 +"problem to the DCP-o-matic mailing list (dcpomatic@carlh.net)"
  msgstr ""
  "Non sappiamo cosa ha causato questo errore. La cosa migliore è inviare un "
 -"report del problema alla mailing list di DVD-o-matic (dvdomatic@carlh.net)"
 +"report del problema alla mailing list di DCP-o-matic (dcpomatic@carlh.net)"
  
  #: src/lib/filter.cc:82
  msgid "Kernel deinterlacer"
index ff86e23af926d175446fbe5258a912ddbaf6cbfd,58d336ef8046dbb6bf1cb8a79a30006c606f99f9..d9a9c5955b05d0d71bca2c2fe9718d7b75c55e51
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic\n"
 +"Project-Id-Version: DCP-o-matic\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-04-10 15:35+0100\n"
  "Last-Translator: Adam Klotblixt <adam.klotblixt@gmail.com>\n"
  "Language-Team: \n"
@@@ -245,13 -245,13 +245,13 @@@ msgstr "Filter för horisontal kantighe
  msgid "Horizontal deblocking filter A"
  msgstr "Filter för horisontal kantighetsutjämning A"
  
- #: src/lib/job.cc:96 src/lib/job.cc:105
+ #: src/lib/job.cc:97 src/lib/job.cc:106
  msgid ""
  "It is not known what caused this error.  The best idea is to report the "
 -"problem to the DVD-o-matic mailing list (dvdomatic@carlh.net)"
 +"problem to the DCP-o-matic mailing list (dcpomatic@carlh.net)"
  msgstr ""
  "Det är inte känt vad som orsakade detta fel. Bästa sättet att rapportera "
 -"problemet är till DVD-o-matics mejl-lista (dvdomatic@carlh.net)"
 +"problemet är till DCP-o-matics mejl-lista (dcpomatic@carlh.net)"
  
  #: src/lib/filter.cc:82
  msgid "Kernel deinterlacer"
diff --cc src/lib/util.cc
index 9063b46d49b3514ecf43ebdfe7fbc7f21e996fab,2f8be6edde675dc37de0c1336b7d3a406bcf61fe..de5fbf8d18ecb56182a799d6a58f23532b39bc30
@@@ -63,25 -67,20 +67,26 @@@ extern "C" 
  
  #include "i18n.h"
  
 -using std::cout;
  using std::string;
  using std::stringstream;
 -using std::list;
 +using std::setfill;
  using std::ostream;
 +using std::endl;
  using std::vector;
 +using std::hex;
 +using std::setw;
  using std::ifstream;
 -using std::istream;
 +using std::ios;
  using std::min;
  using std::max;
 +using std::list;
  using std::multimap;
 +using std::istream;
 +using std::numeric_limits;
  using std::pair;
+ using std::ofstream;
  using boost::shared_ptr;
 +using boost::thread;
  using boost::lexical_cast;
  using boost::optional;
  using libdcp::Size;
@@@ -258,8 -262,14 +274,14 @@@ LONG WINAPI exception_handler(struct _E
   *  Must be called from the UI thread, if there is one.
   */
  void
 -dvdomatic_setup ()
 +dcpomatic_setup ()
  {
+ #ifdef DVDOMATIC_WINDOWS
+       backtrace_file /= g_get_user_config_dir ();
+       backtrace_file /= "backtrace.txt";
+       SetUnhandledExceptionFilter(exception_handler);
+ #endif        
+       
        avfilter_register_all ();
        
        Format::setup_formats ();
diff --cc src/lib/wscript
index 0d9da3a8f9aac503d20cb508a07779ffc0656e72,253a496d1ae1caa07fb0ea02b613385b7fec23c8..d8cc8261d386bf0f06482b0bd71082312f22762b
@@@ -69,19 -64,21 +69,23 @@@ def build(bld)
      obj.uselib = """
                   AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE 
                   BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 
 -                 SNDFILE OPENJPEG POSTPROC TIFF MAGICK SSH DCP GLIB LZMA
 +                 SNDFILE OPENJPEG POSTPROC TIFF MAGICK SSH DCP CXML GLIB LZMA
                   """
+     obj.source = sources + ' version.cc'
      if bld.env.TARGET_WINDOWS:
-         obj.uselib += ' WINSOCK2'
+         obj.uselib += ' WINSOCK2 BFD DBGHELP IBERTY'
+         obj.source += ' stack.cpp'
 +    if bld.env.STATIC:
 +        obj.uselib += ' XML++'
 +    obj.source = sources + " version.cc"
 +    obj.target = 'dcpomatic'
  
 -    obj.target = 'dvdomatic'
 -
 -    i18n.po_to_mo(os.path.join('src', 'lib'), 'libdvdomatic', bld)
 +    i18n.po_to_mo(os.path.join('src', 'lib'), 'libdcpomatic', bld)
  
  def pot(bld):
 -    i18n.pot(os.path.join('src', 'lib'), sources, 'libdvdomatic')
 +    i18n.pot(os.path.join('src', 'lib'), sources, 'libdcpomatic')
  
  def pot_merge(bld):
 -    i18n.pot_merge(os.path.join('src', 'lib'), 'libdvdomatic')
 +    i18n.pot_merge(os.path.join('src', 'lib'), 'libdcpomatic')
index 346aa2b39d1ea2137cba34740f9980c82698e01e,30f568c987481381d0c44d322a3551d0ddf7e871..b64478334198f7dbd052c0a50ef96fad1416c86d
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVDOMATIC\n"
 +"Project-Id-Version: DCPOMATIC\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-03-23 21:08-0500\n"
  "Last-Translator: Manuel AC <manuel.acevedo@civantos.>\n"
  "Language-Team: Manuel AC <manuel.acevedo@civantos.com>\n"
@@@ -85,16 -85,16 +85,27 @@@ msgstr "No se pudo cargar la película 
  msgid "Could not open film at %s (%s)"
  msgstr "No se pudo cargar la película en %s (%s)"
  
++<<<<<<< HEAD
 +#: src/tools/dcpomatic.cc:287 src/tools/dcpomatic.cc:410
 +#: src/tools/dcpomatic.cc:531
 +msgid "DCP-o-matic"
 +msgstr "DCP-o-matic"
 +
 +#: src/tools/dcpomatic.cc:75
 +msgid "Film changed"
 +msgstr "Película cambiada"
 +
 +#: src/tools/dcpomatic.cc:416
+ #: src/tools/dvdomatic.cc:288 src/tools/dvdomatic.cc:419
+ #: src/tools/dvdomatic.cc:506
+ msgid "DVD-o-matic"
+ msgstr "DVD-o-matic"
+ #: src/tools/dvdomatic.cc:76
+ msgid "Film changed"
+ msgstr "Película cambiada"
+ #: src/tools/dvdomatic.cc:425
  msgid "Free, open-source DCP generation from almost anything."
  msgstr ""
  "Generación de DCP a partir de casi cualquier fuente, libre y de código "
index 8ce305ccf8b66073c27892d6d64ff5da41001be4,6b8f1e783f5a9e192082b31afa987feae3d86e11..a2c91e65ee19d8cfcd1cf041df65a8d6d9b66ab6
@@@ -5,10 -5,10 +5,10 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic FRENCH\n"
 +"Project-Id-Version: DCP-o-matic FRENCH\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
- "PO-Revision-Date: 2013-03-13 22:33+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
+ "PO-Revision-Date: 2013-05-10 14:09+0100\n"
  "Last-Translator: \n"
  "Language-Team: \n"
  "Language: \n"
index 69706d6479563932ca4cf325de84f006cbe85de5,7e88f84b1c974a6e9843117600fd547d652f19ba..6507bb69cd688f32da0dc5a554dc6856ced4152e
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic\n"
 +"Project-Id-Version: DCP-o-matic\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-04-09 10:12+0100\n"
  "Last-Translator: Adam Klotblixt <adam.klotblixt@gmail.com>\n"
  "Language-Team: \n"
@@@ -84,12 -84,12 +84,12 @@@ msgstr "Kunde inte öppna filmen %1 (%2
  msgid "Could not open film at %s (%s)"
  msgstr "Kunde inte öppna filmen vid %s (%s)"
  
- #: src/tools/dcpomatic.cc:287 src/tools/dcpomatic.cc:410
- #: src/tools/dcpomatic.cc:531
+ #: src/tools/dvdomatic.cc:288 src/tools/dvdomatic.cc:419
+ #: src/tools/dvdomatic.cc:506
 -msgid "DVD-o-matic"
 -msgstr "DVD-o-matic"
 +msgid "DCP-o-matic"
 +msgstr "DCP-o-matic"
  
- #: src/tools/dcpomatic.cc:75
+ #: src/tools/dvdomatic.cc:76
  msgid "Film changed"
  msgstr "Film ändrad"
  
@@@ -106,11 -106,12 +106,12 @@@ msgstr "Ny...
  msgid "S&how DCP"
  msgstr "&Visa DCP"
  
- #: src/tools/dcpomatic.cc:74
+ #: src/tools/dvdomatic.cc:75
+ #, fuzzy, c-format
  msgid "Save changes to film \"%s\" before closing?"
 -msgstr "Spara ändringarna till filmen \"%1\" före avslut?"
 +msgstr "Spara ändringarna till filmen \"%s\" före avslut?"
  
- #: src/tools/dcpomatic.cc:319
+ #: src/tools/dvdomatic.cc:328
  msgid "Select film to open"
  msgstr "Välj film att öppna"
  
index a193325e6c09ad55d08e2602b90ff4a875d114a2,efc8436c553f3d87860c1224f3e0e27f78fe6c7d..bf5dce4b08e69d60c72de97ce20b4bde28d3b98a
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: libdvdomatic-wx\n"
 +"Project-Id-Version: libdcpomatic-wx\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-04-02 19:08-0500\n"
  "Last-Translator: Manuel AC <manuel.acevedo@civantos.>\n"
  "Language-Team: Manuel AC <manuel.acevedo@civantos.com>\n"
@@@ -21,7 -21,7 +21,6 @@@
  msgid "%"
  msgstr "%"
  
- #: src/wx/config_dialog.cc:61
 -#: src/wx/config_dialog.cc:98
  msgid "(restart DCP-o-matic to see language changes)"
  msgstr ""
  
@@@ -150,10 -160,10 +158,10 @@@ msgstr "Preferencias DCP-o-matic
  
  #: src/wx/audio_dialog.cc:101
  #, fuzzy, c-format
 -msgid "DVD-o-matic audio - %s"
 -msgstr "Audio DVD-o-matic - %1"
 +msgid "DCP-o-matic audio - %s"
 +msgstr "Audio DCP-o-matic - %1"
  
- #: src/wx/config_dialog.cc:102
+ #: src/wx/config_dialog.cc:120
  msgid "Default DCI name details"
  msgstr "Detalles por defecto del nombre DCI"
  
index 36ae4a9252727678ed8e53a57c20177d451764c1,ad138d45a1ce2fb9f2044fb617f01b48dde2a83e..aee97956f49d728a69ad4f242694f2e33e994e64
@@@ -5,11 -5,11 +5,11 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic FRENCH\n"
 +"Project-Id-Version: DCP-o-matic FRENCH\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
- "PO-Revision-Date: 2013-03-20 00:34+0100\n"
- "Last-Translator: FreeDCP.net <freedcp.net@gmail.com>\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
+ "PO-Revision-Date: 2013-05-10 14:19+0100\n"
+ "Last-Translator: \n"
  "Language-Team: \n"
  "Language: \n"
  "MIME-Version: 1.0\n"
@@@ -149,10 -159,10 +158,10 @@@ msgstr "Préférences DCP-o-matic
  
  #: src/wx/audio_dialog.cc:101
  #, c-format
 -msgid "DVD-o-matic audio - %s"
 -msgstr "Son DVD-o-matic  - %s"
 +msgid "DCP-o-matic audio - %s"
 +msgstr "Son DCP-o-matic  - %s"
  
- #: src/wx/config_dialog.cc:102
+ #: src/wx/config_dialog.cc:120
  msgid "Default DCI name details"
  msgstr "Détails du nom DCI par défaut"
  
index 2c6c6786802ca35ee8751b41b4f8a11271bdc16b,37ee492fe0bd7a8817472d522f0cabe99f024264..f667a6f2147715b6b2a12c88fc3313b606ff79af
@@@ -150,10 -161,10 +159,10 @@@ msgstr "Preferenze DCP-o-matic
  
  #: src/wx/audio_dialog.cc:101
  #, c-format
 -msgid "DVD-o-matic audio - %s"
 -msgstr "Audio DVD-o-matic - %s"
 +msgid "DCP-o-matic audio - %s"
 +msgstr "Audio DCP-o-matic - %s"
  
- #: src/wx/config_dialog.cc:102
+ #: src/wx/config_dialog.cc:120
  msgid "Default DCI name details"
  msgstr "Dettagli del nome di default DCI"
  
index 9ed7ee2bee987350af06f5b6d379008fcbb41abd,7c10aebcb733fa832cf32c341233097d84d1166b..f31d98c38a1d75ff7d7124bdc435b82c50d521ad
@@@ -5,9 -5,9 +5,9 @@@
  #
  msgid ""
  msgstr ""
 -"Project-Id-Version: DVD-o-matic\n"
 +"Project-Id-Version: DCP-o-matic\n"
  "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2013-04-22 15:06+0100\n"
+ "POT-Creation-Date: 2013-05-09 09:51+0100\n"
  "PO-Revision-Date: 2013-04-09 10:13+0100\n"
  "Last-Translator: Adam Klotblixt <adam.klotblixt@gmail.com>\n"
  "Language-Team: \n"
@@@ -150,10 -161,10 +159,10 @@@ msgstr "DCP-o-matic Inställningar
  
  #: src/wx/audio_dialog.cc:101
  #, c-format
 -msgid "DVD-o-matic audio - %s"
 -msgstr "DVD-o-matic audio - %s"
 +msgid "DCP-o-matic audio - %s"
 +msgstr "DCP-o-matic audio - %s"
  
- #: src/wx/config_dialog.cc:102
+ #: src/wx/config_dialog.cc:120
  msgid "Default DCI name details"
  msgstr "Detaljer om förvalda DCI-namn"
  
diff --cc wscript
Simple merge