[Synfig-devl] SF.net SVN: synfig:[2036] synfig-studio/trunk/src/gtkmm

2008-09-02 Thread genete
Revision: 2036
  http://synfig.svn.sourceforge.net/synfig/?rev=2036&view=rev
Author:   genete
Date: 2008-09-02 20:23:52 + (Tue, 02 Sep 2008)

Log Message:
---
Apply [ 2087747 ] Save preferred X and Y canvas dimensions for new files

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/app.h
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.h

Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===
--- synfig-studio/trunk/src/gtkmm/app.cpp   2008-08-30 13:49:49 UTC (rev 
2035)
+++ synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-02 20:23:52 UTC (rev 
2036)
@@ -274,6 +274,8 @@
 bool studio::App::single_threaded=false;
 #endif
 bool studio::App::restrict_radius_ducks=false;
+int studio::App::preferred_x_size=480;
+int studio::App::preferred_y_size=270;
 #ifdef USE_OPEN_FOR_URLS
 String studio::App::browser_command("open"); // MacOS only
 #else
@@ -511,7 +513,16 @@
value=App::browser_command;
return true;
}
-
+   if(key=="preferred_x_size")
+   {
+   value=strprintf("%i",App::preferred_x_size);
+   return true;
+   }
+   if(key=="preferred_y_size")
+   {
+   value=strprintf("%i",App::preferred_y_size);
+   return true;
+   }
return synfigapp::Settings::get_value(key,value);
}
 
@@ -580,7 +591,18 @@
App::browser_command=value;
return true;
}
-
+   if(key=="preferred_x_size")
+   {
+   int i(atoi(value.c_str()));
+   App::preferred_x_size=i;
+   return true;
+   }
+   if(key=="preferred_y_size")
+   {
+   int i(atoi(value.c_str()));
+   App::preferred_y_size=i;
+   return true;
+   }
return synfigapp::Settings::set_value(key,value);
}
 
@@ -598,6 +620,8 @@
ret.push_back("auto_recover_backup_interval");
ret.push_back("restrict_radius_ducks");
ret.push_back("browser_command");
+   ret.push_back("preferred_x_size");
+   ret.push_back("preferred_y_size");
return ret;
}
 };
@@ -1679,6 +1703,8 @@
synfigapp::Main::settings().set_value("pref.single_threaded","0");
 #endif
synfigapp::Main::settings().set_value("pref.restrict_radius_ducks","0");
+   synfigapp::Main::settings().set_value("pref.preferred_x_size","480");
+   synfigapp::Main::settings().set_value("pref.preferred_y_size","270");
synfigapp::Main::settings().set_value("window.toolbox.pos","4 4");
 }
 
@@ -2347,8 +2373,8 @@
canvas->rend_desc().set_y_res(DPI2DPM(72.0f));
canvas->rend_desc().set_tl(Vector(-4,2.25));
canvas->rend_desc().set_br(Vector(4,-2.25));
-   canvas->rend_desc().set_w(480);
-   canvas->rend_desc().set_h(270);
+   canvas->rend_desc().set_w(preferred_x_size);
+   canvas->rend_desc().set_h(preferred_y_size);
canvas->rend_desc().set_antialias(1);
canvas->rend_desc().set_flags(RendDesc::PX_ASPECT|RendDesc::IM_SPAN);
canvas->set_file_name(file_name);

Modified: synfig-studio/trunk/src/gtkmm/app.h
===
--- synfig-studio/trunk/src/gtkmm/app.h 2008-08-30 13:49:49 UTC (rev 2035)
+++ synfig-studio/trunk/src/gtkmm/app.h 2008-09-02 20:23:52 UTC (rev 2036)
@@ -198,7 +198,8 @@
static bool restrict_radius_ducks;
 
static synfig::String browser_command;
-
+   static int preferred_x_size;
+   static int preferred_y_size;
/*
  -- ** -- S I G N A L S ---
*/

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-08-30 13:49:49 UTC 
(rev 2035)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-02 20:23:52 UTC 
(rev 2036)
@@ -80,8 +80,11 @@
 #ifdef SINGLE_THREADED
toggle_single_threaded(_("Use Only a Single Thread")),
 #endif
-   toggle_restrict_radius_ducks(_("Restrict Real-Valued Ducks to Top Right 
Quadrant"))
-{
+   toggle_restrict_radius_ducks(_("Restrict Real-Valued D

[Synfig-devl] SF.net SVN: synfig:[2039] synfig-studio/trunk/po/es.po

2008-09-02 Thread genete
Revision: 2039
  http://synfig.svn.sourceforge.net/synfig/?rev=2039&view=rev
Author:   genete
Date: 2008-09-02 21:06:57 + (Tue, 02 Sep 2008)

Log Message:
---
Udate Spanish translation for synfigstudio

Modified Paths:
--
synfig-studio/trunk/po/es.po

Modified: synfig-studio/trunk/po/es.po
===
--- synfig-studio/trunk/po/es.po2008-09-02 20:47:34 UTC (rev 2038)
+++ synfig-studio/trunk/po/es.po2008-09-02 21:06:57 UTC (rev 2039)
@@ -8,9 +8,9 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-05-15 22:06+0800\n"
-"PO-Revision-Date: 2008-05-05 16:22+0200\n"
-"Last-Translator: Franco Iacomella <[EMAIL PROTECTED]>\n"
+"POT-Creation-Date: 2008-09-02 23:01+0200\n"
+"PO-Revision-Date: 2008-09-02 23:04+0200\n"
+"Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -101,412 +101,412 @@
 msgid "GTK+ %d.%d.%d"
 msgstr "GTK+ %d.%d.%d"
 
-#: src/gtkmm/app.cpp:616 src/gtkmm/toolbox.cpp:281
+#: src/gtkmm/app.cpp:640 src/gtkmm/toolbox.cpp:281
 msgid "_File"
 msgstr "_Archivo"
 
-#: src/gtkmm/app.cpp:617 src/gtkmm/canvasview.cpp:3320
+#: src/gtkmm/app.cpp:641 src/gtkmm/canvasview.cpp:3320
 msgid "_Edit"
 msgstr "Edi_tar"
 
-#: src/gtkmm/app.cpp:618
+#: src/gtkmm/app.cpp:642
 msgid "_View"
 msgstr "_Ver"
 
-#: src/gtkmm/app.cpp:619
+#: src/gtkmm/app.cpp:643
 msgid "_Canvas"
 msgstr "_Lienzo"
 
-#: src/gtkmm/app.cpp:620
+#: src/gtkmm/app.cpp:644
 msgid "_Layer"
 msgstr "_Capa"
 
-#: src/gtkmm/app.cpp:621
+#: src/gtkmm/app.cpp:645
 msgid "Show/Hide Ducks"
 msgstr "Mostrar/Ocultar Nodos"
 
-#: src/gtkmm/app.cpp:622
+#: src/gtkmm/app.cpp:646
 msgid "Preview Quality"
 msgstr "Calidad de Previsualización"
 
-#: src/gtkmm/app.cpp:623
+#: src/gtkmm/app.cpp:647
 msgid "Low-Res Pixel Size"
 msgstr "Tamaño de pixel en Baja Resolución"
 
-#: src/gtkmm/app.cpp:624 src/gtkmm/canvasview.cpp:2265
+#: src/gtkmm/app.cpp:648 src/gtkmm/canvasview.cpp:2265
 #: src/synfigapp/actions/layeradd.cpp:82
 msgid "New Layer"
 msgstr "Nueva Capa"
 
-#: src/gtkmm/app.cpp:625 src/synfigapp/actions/keyframeduplicate.cpp:79
+#: src/gtkmm/app.cpp:649 src/synfigapp/actions/keyframeduplicate.cpp:79
 #: src/synfigapp/actions/keyframeremove.cpp:78
 #: src/synfigapp/actions/keyframesetdelta.cpp:79
 #: src/synfigapp/actions/keyframewaypointset.cpp:78
 msgid "Keyframe"
 msgstr "Fotograma Clave"
 
-#: src/gtkmm/app.cpp:626 src/gtkmm/iconcontroller.cpp:163
+#: src/gtkmm/app.cpp:650 src/gtkmm/iconcontroller.cpp:163
 #: src/synfigapp/actions/groupaddlayers.cpp:78
 #: src/synfigapp/actions/groupremove.cpp:72
 msgid "Group"
 msgstr "Grupo"
 
-#: src/gtkmm/app.cpp:627
+#: src/gtkmm/app.cpp:651
 msgid "State"
 msgstr "Estado"
 
-#: src/gtkmm/app.cpp:628
+#: src/gtkmm/app.cpp:652
 msgid "Toolbox"
 msgstr "Caja de Herramientas"
 
-#: src/gtkmm/app.cpp:645 src/gtkmm/keyframeactionmanager.cpp:239
+#: src/gtkmm/app.cpp:669 src/gtkmm/keyframeactionmanager.cpp:239
 msgid "Keyframe Properties"
 msgstr "Propiedades del Fotograma Clave"
 
-#: src/gtkmm/app.cpp:656 src/gtkmm/canvasview.cpp:1206
+#: src/gtkmm/app.cpp:680 src/gtkmm/canvasview.cpp:1206
 msgid "Import"
 msgstr "Importar"
 
-#: src/gtkmm/app.cpp:657 src/gtkmm/canvasview.cpp:1209
+#: src/gtkmm/app.cpp:681 src/gtkmm/canvasview.cpp:1209
 msgid "Render"
 msgstr "Renderizar"
 
-#: src/gtkmm/app.cpp:658 src/gtkmm/canvasview.cpp:1212
+#: src/gtkmm/app.cpp:682 src/gtkmm/canvasview.cpp:1212
 #: src/gtkmm/dialog_preview.cpp:171
 msgid "Preview"
 msgstr "Previsualizar"
 
-#: src/gtkmm/app.cpp:659
+#: src/gtkmm/app.cpp:683
 msgid "Preview Dialog"
 msgstr "Diálogo de Previsualización"
 
-#: src/gtkmm/app.cpp:660 src/gtkmm/canvasview.cpp:1215
+#: src/gtkmm/app.cpp:684 src/gtkmm/canvasview.cpp:1215
 msgid "Sound File"
 msgstr "Archivo de Sonido"
 
-#: src/gtkmm/app.cpp:661 src/gtkmm/canvasoptions.cpp:151
+#: src/gtkmm/app.cpp:685 src/gtkmm/canvasoptions.cpp:151
 #: src/gtkmm/canvasview.cpp:1218
 msgid "Options"
 msgstr "Opciones"
 
-#: src/gtkmm/app.cpp:662
+#: src/gtkmm/app.cpp:686
 msgid "Close View"
 msgstr "Cerrar Vista"
 
-#: src/gtkmm/app.cpp:663 src/gtkmm/canvasview.cpp:1224
+#: src/gtkmm/app.cpp:687 src/gtkmm/canvasview.cpp:1224
 msgid "Close Docu

[Synfig-devl] SF.net SVN: synfig:[2041] synfig-studio/trunk/src/gtkmm

2008-09-10 Thread genete
Revision: 2041
  http://synfig.svn.sourceforge.net/synfig/?rev=2041&view=rev
Author:   genete
Date: 2008-09-10 21:36:36 + (Wed, 10 Sep 2008)

Log Message:
---
Create a new Document tab in the Settings Dialog and move the preferred X and Y 
sizes for new Documents there.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.h

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 08:56:42 UTC 
(rev 2040)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 21:36:36 UTC 
(rev 2041)
@@ -213,16 +213,22 @@
attach_label(misc_table, _("Browser Command"), 4, xpadding, ypadding);
misc_table->attach(textbox_browser_command, 1, 2, 4, 5, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
 
-   // Misc - Preferred x size
+   // Document
+   Gtk::Table *document_table=manage(new Gtk::Table(2,2,false));
+   notebook->append_page(*document_table,_("Document"));
+
+   // Document - New Document X size
Gtk::SpinButton* pref_x_size_spinbutton(manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0)));
-   attach_label(misc_table,_("Preferred Canvas X size"),5, xpadding, 
ypadding);
-   misc_table->attach(*pref_x_size_spinbutton, 1, 2, 5, 
6,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding); 
-
-   // Misc - Preferred y size
+   attach_label(document_table,_("New Document X size"),0, xpadding, 
ypadding);
+   document_table->attach(*pref_x_size_spinbutton, 1, 2, 0, 
1,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding); 
+   tooltips_.set_tip(*pref_x_size_spinbutton,_("Width in pixels of the new 
created document"));
+   
+   // Document - New Document Y size
Gtk::SpinButton* pref_y_size_spinbutton(manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0)));
-   attach_label(misc_table,_("Preferred Canvas Y size"),6, xpadding, 
ypadding);
-   misc_table->attach(*pref_y_size_spinbutton, 1, 2, 6, 
7,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding); 
-
+   attach_label(document_table,_("New Document Y size"),1, xpadding, 
ypadding);
+   document_table->attach(*pref_y_size_spinbutton, 1, 2, 1, 
2,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding); 
+   tooltips_.set_tip(*pref_y_size_spinbutton,_("High in pixels of the new 
created document"));
+   
show_all_children();
 }
 
@@ -266,10 +272,10 @@
// Set the browser_command textbox
App::browser_command=textbox_browser_command.get_text();
 
-   // Set the preferred new canvas x dimension
+   // Set the preferred new Document x dimension
App::preferred_x_size=int(adj_pref_x_size.get_value());
 
-   // Set the preferred new canvas y dimension
+   // Set the preferred new Document y dimension
App::preferred_y_size=int(adj_pref_y_size.get_value());
 
App::save_settings();
@@ -359,10 +365,10 @@
// Refresh the browser_command textbox
textbox_browser_command.set_text(App::browser_command);
 
-   // Refresh the preferred new canvas y dimension
+   // Refresh the preferred new Document X dimension
adj_pref_x_size.set_value(App::preferred_x_size);

-   // Refresh the preferred new canvas y dimension
+   // Refresh the preferred new Document Y dimension
adj_pref_y_size.set_value(App::preferred_y_size);
 
 }

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.h
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.h2008-09-10 08:56:42 UTC 
(rev 2040)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.h2008-09-10 21:36:36 UTC 
(rev 2041)
@@ -37,6 +37,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -180,6 +181,7 @@
Gtk::Entry textbox_browser_command;
Gtk::Adjustment adj_pref_x_size;
Gtk::Adjustment adj_pref_y_size;
+   Gtk::Tooltips tooltips_;
 public:
 
void set_time_format(synfig::Time::Format time_format);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2042] synfig-studio/trunk/src/gtkmm

2008-09-10 Thread genete
Revision: 2042
  http://synfig.svn.sourceforge.net/synfig/?rev=2042&view=rev
Author:   genete
Date: 2008-09-10 21:59:27 + (Wed, 10 Sep 2008)

Log Message:
---
Add a text entry in the Document tab of the Setup Dialog to store the preferred 
filename prefix for new documents

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/app.h
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.h
synfig-studio/trunk/src/gtkmm/instance.cpp

Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===
--- synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-10 21:36:36 UTC (rev 
2041)
+++ synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-10 21:59:27 UTC (rev 
2042)
@@ -274,6 +274,7 @@
 bool studio::App::single_threaded=false;
 #endif
 bool studio::App::restrict_radius_ducks=false;
+String studio::App::custom_filename_prefix(DEFAULT_FILENAME_PREFIX);
 int studio::App::preferred_x_size=480;
 int studio::App::preferred_y_size=270;
 #ifdef USE_OPEN_FOR_URLS
@@ -513,6 +514,11 @@
value=App::browser_command;
return true;
}
+   if(key=="custom_filename_prefix")
+   {
+   value=App::custom_filename_prefix;
+   return true;
+   }
if(key=="preferred_x_size")
{
value=strprintf("%i",App::preferred_x_size);
@@ -591,6 +597,11 @@
App::browser_command=value;
return true;
}
+   if(key=="custom_filename_prefix")
+   {
+   App::custom_filename_prefix=value;
+   return true;
+   }
if(key=="preferred_x_size")
{
int i(atoi(value.c_str()));
@@ -620,6 +631,7 @@
ret.push_back("auto_recover_backup_interval");
ret.push_back("restrict_radius_ducks");
ret.push_back("browser_command");
+   ret.push_back("custom_filename_prefix");
ret.push_back("preferred_x_size");
ret.push_back("preferred_y_size");
return ret;
@@ -1703,6 +1715,7 @@
synfigapp::Main::settings().set_value("pref.single_threaded","0");
 #endif
synfigapp::Main::settings().set_value("pref.restrict_radius_ducks","0");
+   
synfigapp::Main::settings().set_value("pref.custom_filename_prefix",DEFAULT_FILENAME_PREFIX);
synfigapp::Main::settings().set_value("pref.preferred_x_size","480");
synfigapp::Main::settings().set_value("pref.preferred_y_size","270");
synfigapp::Main::settings().set_value("window.toolbox.pos","4 4");
@@ -2326,7 +2339,7 @@
if(!canvas)
throw (String)strprintf(_("Unable to open file 
\"%s\""),filename.c_str());
 
-   if (as.find(DEFAULT_FILENAME_PREFIX) != 0)
+   if (as.find(custom_filename_prefix.c_str()) != 0)
add_recent_file(as);
 
handle instance(Instance::create(canvas));
@@ -2362,7 +2375,7 @@
 {
handle canvas=synfig::Canvas::create();
 
-   String file_name(strprintf("%s%d", DEFAULT_FILENAME_PREFIX, 
Instance::get_count()+1));
+   String file_name(strprintf("%s%d", App::custom_filename_prefix.c_str(), 
Instance::get_count()+1));
canvas->set_name(file_name);
file_name += ".sifz";
 

Modified: synfig-studio/trunk/src/gtkmm/app.h
===
--- synfig-studio/trunk/src/gtkmm/app.h 2008-09-10 21:36:36 UTC (rev 2041)
+++ synfig-studio/trunk/src/gtkmm/app.h 2008-09-10 21:59:27 UTC (rev 2042)
@@ -198,6 +198,7 @@
static bool restrict_radius_ducks;
 
static synfig::String browser_command;
+   static synfig::String custom_filename_prefix;
static int preferred_x_size;
static int preferred_y_size;
/*

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 21:36:36 UTC 
(rev 2041)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 21:59:27 UTC 
(rev 2042)
@@ -217,16 +217,21 @@
Gtk::Table *document_table=manage(new Gtk::Table(2,2,false));
notebook->append_page(*document_table,_("Document"));
 
+   // Document - Pr

[Synfig-devl] SF.net SVN: synfig:[2043] synfig-studio/trunk/src/gtkmm

2008-09-10 Thread genete
Revision: 2043
  http://synfig.svn.sourceforge.net/synfig/?rev=2043&view=rev
Author:   genete
Date: 2008-09-10 22:50:34 + (Wed, 10 Sep 2008)

Log Message:
---
Add a ComboBox to the Document tab of the Settings Dialog to select form 
predefined standard resolutions 
for the new created documents.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/app.h
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.h

Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===
--- synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-10 21:59:27 UTC (rev 
2042)
+++ synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-10 22:50:34 UTC (rev 
2043)
@@ -277,6 +277,7 @@
 String studio::App::custom_filename_prefix(DEFAULT_FILENAME_PREFIX);
 int studio::App::preferred_x_size=480;
 int studio::App::preferred_y_size=270;
+String studio::App::predefined_size(DEFAULT_PREDEFINED_SIZE);
 #ifdef USE_OPEN_FOR_URLS
 String studio::App::browser_command("open"); // MacOS only
 #else
@@ -529,6 +530,12 @@
value=strprintf("%i",App::preferred_y_size);
return true;
}
+   if(key=="predefined_size")
+   {
+   value=strprintf("%s",App::predefined_size.c_str());
+   return true;
+   }
+   
return synfigapp::Settings::get_value(key,value);
}
 
@@ -614,6 +621,11 @@
App::preferred_y_size=i;
return true;
}
+   if(key=="predefined_size")
+   {
+   App::predefined_size=value;
+   return true;
+   }
return synfigapp::Settings::set_value(key,value);
}
 
@@ -634,6 +646,7 @@
ret.push_back("custom_filename_prefix");
ret.push_back("preferred_x_size");
ret.push_back("preferred_y_size");
+   ret.push_back("predefined_size");   
return ret;
}
 };
@@ -1718,6 +1731,7 @@

synfigapp::Main::settings().set_value("pref.custom_filename_prefix",DEFAULT_FILENAME_PREFIX);
synfigapp::Main::settings().set_value("pref.preferred_x_size","480");
synfigapp::Main::settings().set_value("pref.preferred_y_size","270");
+   
synfigapp::Main::settings().set_value("pref.predefined_size",DEFAULT_PREDEFINED_SIZE);
synfigapp::Main::settings().set_value("window.toolbox.pos","4 4");
 }
 

Modified: synfig-studio/trunk/src/gtkmm/app.h
===
--- synfig-studio/trunk/src/gtkmm/app.h 2008-09-10 21:59:27 UTC (rev 2042)
+++ synfig-studio/trunk/src/gtkmm/app.h 2008-09-10 22:50:34 UTC (rev 2043)
@@ -201,6 +201,7 @@
static synfig::String custom_filename_prefix;
static int preferred_x_size;
static int preferred_y_size;
+   static synfig::String predefined_size;
/*
  -- ** -- S I G N A L S ---
*/

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 21:59:27 UTC 
(rev 2042)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-09-10 22:50:34 UTC 
(rev 2043)
@@ -214,12 +214,12 @@
misc_table->attach(textbox_browser_command, 1, 2, 4, 5, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
 
// Document
-   Gtk::Table *document_table=manage(new Gtk::Table(2,2,false));
+   Gtk::Table *document_table=manage(new Gtk::Table(2,4,false));
notebook->append_page(*document_table,_("Document"));
 
// Document - Preferred file name prefix
attach_label(document_table, _("New Document filename prefix"), 0, 
xpadding, ypadding);
-   document_table->attach(textbox_custom_filename_prefix, 1, 2, 0, 1, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+   document_table->attach(textbox_custom_filename_prefix, 1, 4, 0, 1, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(textbox_custom_filename_prefix,_("File name prefix 
for the new created document"));
 
// Document - New Document X size
@@ -233,7 +233,30 @@
attach_label(document_table,_("New Document Y size"),2, xpadding, 
ypadding);
document_table->attach(*pref_y_size_spinbutton, 1, 2, 2, 
3,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypaddi

[Synfig-devl] SF.net SVN: synfig:[2046] synfig-studio/trunk/src/gtkmm/app.cpp

2008-09-11 Thread genete
Revision: 2046
  http://synfig.svn.sourceforge.net/synfig/?rev=2046&view=rev
Author:   genete
Date: 2008-09-11 15:00:44 + (Thu, 11 Sep 2008)

Log Message:
---
Fix the aspect ratio bug introduced by the previous commits of preferred X/Y 
new document size.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/app.cpp

Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===
--- synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-11 09:32:25 UTC (rev 
2045)
+++ synfig-studio/trunk/src/gtkmm/app.cpp   2008-09-11 15:00:44 UTC (rev 
2046)
@@ -2398,8 +2398,10 @@
canvas->rend_desc().set_time_end(5.0);
canvas->rend_desc().set_x_res(DPI2DPM(72.0f));
canvas->rend_desc().set_y_res(DPI2DPM(72.0f));
-   canvas->rend_desc().set_tl(Vector(-4,2.25));
-   canvas->rend_desc().set_br(Vector(4,-2.25));
+   // The top left and botton right positions are expressed in units
+   // Original convention is that 1 unit = 60 pixels
+   
canvas->rend_desc().set_tl(Vector(-(preferred_x_size/60.0)/2.0,(preferred_y_size/60.0)/2.0));
+   
canvas->rend_desc().set_br(Vector((preferred_x_size/60.0)/2.0,-(preferred_y_size/60.0)/2.0));
canvas->rend_desc().set_w(preferred_x_size);
canvas->rend_desc().set_h(preferred_y_size);
canvas->rend_desc().set_antialias(1);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2047] synfig-core/trunk/po/fr.po

2008-09-12 Thread genete
Revision: 2047
  http://synfig.svn.sourceforge.net/synfig/?rev=2047&view=rev
Author:   genete
Date: 2008-09-12 17:09:58 + (Fri, 12 Sep 2008)

Log Message:
---
Updated Synfig Core French translation. Thanks to Rore

Modified Paths:
--
synfig-core/trunk/po/fr.po

Modified: synfig-core/trunk/po/fr.po
===
--- synfig-core/trunk/po/fr.po  2008-09-11 15:00:44 UTC (rev 2046)
+++ synfig-core/trunk/po/fr.po  2008-09-12 17:09:58 UTC (rev 2047)
@@ -9,8 +9,8 @@
 msgstr ""
 "Project-Id-Version: fr\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-02 21:01+0200\n"
-"PO-Revision-Date: 2008-03-02 15:44+0100\n"
+"POT-Creation-Date: 2008-09-10 14:52+0200\n"
+"PO-Revision-Date: 2008-09-10 21:28+0200\n"
 "Last-Translator:  <[EMAIL PROTECTED]>\n"
 "Language-Team:  <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -204,7 +204,7 @@
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:737
 msgid "Invalid multibyte sequence - is the locale set?\n"
-msgstr ""
+msgstr "Séquence multi-octets invalide - La locale est-elle définie ?\n"
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:744
 msgid "Can't parse multibyte character.\n"
@@ -284,7 +284,7 @@
 
 #: src/modules/lyr_std/booleancurve.cpp:104
 msgid "Region Set"
-msgstr ""
+msgstr "Jeu de région"
 
 #: src/modules/lyr_std/booleancurve.cpp:105
 msgid "Set of regions to combine"
@@ -292,7 +292,7 @@
 
 #: src/modules/lyr_std/clamp.cpp:54 src/tool/main.cpp:1079
 msgid "Clamp"
-msgstr ""
+msgstr "Limiter"
 
 #: src/modules/lyr_std/clamp.cpp:55 src/modules/mod_filter/colorcorrect.cpp:55
 #: src/modules/mod_filter/halftone2.cpp:58
@@ -563,7 +563,7 @@
 
 #: src/modules/lyr_std/sphere_distort.cpp:158 src/modules/lyr_std/warp.cpp:400
 msgid "Clip"
-msgstr ""
+msgstr "Couper"
 
 #: src/modules/lyr_std/sphere_distort.cpp:162
 msgid "Distort Type"
@@ -641,11 +641,11 @@
 
 #: src/modules/lyr_std/timeloop.cpp:120 src/synfig/valuenode_timeloop.cpp:124
 msgid "Link Time"
-msgstr ""
+msgstr "Début du lien"
 
 #: src/modules/lyr_std/timeloop.cpp:124 src/synfig/valuenode_timeloop.cpp:125
 msgid "Local Time"
-msgstr "Heure locale"
+msgstr "Temps local"
 
 #: src/modules/lyr_std/timeloop.cpp:128 src/synfig/valuenode_step.cpp:214
 #: src/synfig/valuenode_timeloop.cpp:126
@@ -666,7 +666,7 @@
 
 #: src/modules/lyr_std/twirl.cpp:55
 msgid "Twirl"
-msgstr ""
+msgstr "Tourbillon"
 
 #: src/modules/lyr_std/twirl.cpp:114
 #: src/modules/mod_gradient/radialgradient.cpp:119
@@ -684,27 +684,27 @@
 
 #: src/modules/lyr_std/warp.cpp:371
 msgid "Source TL"
-msgstr ""
+msgstr "Haut-Gauche source"
 
 #: src/modules/lyr_std/warp.cpp:376
 msgid "Source BR"
-msgstr ""
+msgstr "Bas-Droite source"
 
 #: src/modules/lyr_std/warp.cpp:380
 msgid "Dest TL"
-msgstr ""
+msgstr "Haut-Gauche dest."
 
 #: src/modules/lyr_std/warp.cpp:385
 msgid "Dest TR"
-msgstr ""
+msgstr "Haut-Droite dest."
 
 #: src/modules/lyr_std/warp.cpp:390
 msgid "Dest BR"
-msgstr ""
+msgstr "Bas-Droite dest."
 
 #: src/modules/lyr_std/warp.cpp:395
 msgid "Dest BL"
-msgstr ""
+msgstr "Bas-Gauche dest."
 
 #: src/modules/lyr_std/warp.cpp:404
 msgid "Horizon"
@@ -840,9 +840,8 @@
 msgstr "Demi-teinte 2"
 
 #: src/modules/mod_filter/halftone2.cpp:147
-#, fuzzy
 msgid "Mask Origin"
-msgstr "Origine"
+msgstr "Origine du masque"
 
 #: src/modules/mod_filter/halftone2.cpp:151
 msgid "Mask Angle"
@@ -892,16 +891,15 @@
 
 #: src/modules/mod_filter/halftone3.cpp:317
 msgid "Subtractive Flag"
-msgstr ""
+msgstr "Soustraire"
 
 #: src/modules/mod_filter/halftone3.cpp:325
 msgid " Color"
 msgstr "Couleur"
 
 #: src/modules/mod_filter/halftone3.cpp:329
-#, fuzzy
 msgid " Mask Origin"
-msgstr "Origine"
+msgstr "Origine du masque"
 
 #: src/modules/mod_filter/halftone3.cpp:333
 msgid " Mask Angle"
@@ -995,14 +993,14 @@
 
 #: src/modules/mod_geometry/outline.cpp:178
 msgid "No vertices in outline "
-msgstr ""
+msgstr "Pas de vertices dans le contour"
 
 #: src/modules/mod_geometry/outline.cpp:807
 #: src/modules/mod_geometry/region.cpp:232
 #: src/modules/mod_gradient/curvegradient.cpp:497
 #: src/modules/mod_particle/plant.cpp:383
 msgid "Vertices"
-msgstr ""
+msgstr "Vertices"
 
 #: src/modules/mod_geomet

[Synfig-devl] SF.net SVN: synfig:[2049] synfig-studio/trunk/po/es.po

2008-09-12 Thread genete
Revision: 2049
  http://synfig.svn.sourceforge.net/synfig/?rev=2049&view=rev
Author:   genete
Date: 2008-09-12 17:58:54 + (Fri, 12 Sep 2008)

Log Message:
---
Updated synfig-studio Spanish translation.

Modified Paths:
--
synfig-studio/trunk/po/es.po

Modified: synfig-studio/trunk/po/es.po
===
--- synfig-studio/trunk/po/es.po2008-09-12 17:10:55 UTC (rev 2048)
+++ synfig-studio/trunk/po/es.po2008-09-12 17:58:54 UTC (rev 2049)
@@ -8,8 +8,8 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-02 23:01+0200\n"
-"PO-Revision-Date: 2008-09-02 23:04+0200\n"
+"POT-Creation-Date: 2008-09-12 19:33+0200\n"
+"PO-Revision-Date: 2008-09-12 19:56+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -101,412 +101,412 @@
 msgid "GTK+ %d.%d.%d"
 msgstr "GTK+ %d.%d.%d"
 
-#: src/gtkmm/app.cpp:640 src/gtkmm/toolbox.cpp:281
+#: src/gtkmm/app.cpp:665 src/gtkmm/toolbox.cpp:281
 msgid "_File"
 msgstr "_Archivo"
 
-#: src/gtkmm/app.cpp:641 src/gtkmm/canvasview.cpp:3320
+#: src/gtkmm/app.cpp:666 src/gtkmm/canvasview.cpp:3320
 msgid "_Edit"
 msgstr "Edi_tar"
 
-#: src/gtkmm/app.cpp:642
+#: src/gtkmm/app.cpp:667
 msgid "_View"
 msgstr "_Ver"
 
-#: src/gtkmm/app.cpp:643
+#: src/gtkmm/app.cpp:668
 msgid "_Canvas"
 msgstr "_Lienzo"
 
-#: src/gtkmm/app.cpp:644
+#: src/gtkmm/app.cpp:669
 msgid "_Layer"
 msgstr "_Capa"
 
-#: src/gtkmm/app.cpp:645
+#: src/gtkmm/app.cpp:670
 msgid "Show/Hide Ducks"
 msgstr "Mostrar/Ocultar Nodos"
 
-#: src/gtkmm/app.cpp:646
+#: src/gtkmm/app.cpp:671
 msgid "Preview Quality"
 msgstr "Calidad de Previsualización"
 
-#: src/gtkmm/app.cpp:647
+#: src/gtkmm/app.cpp:672
 msgid "Low-Res Pixel Size"
 msgstr "Tamaño de pixel en Baja Resolución"
 
-#: src/gtkmm/app.cpp:648 src/gtkmm/canvasview.cpp:2265
+#: src/gtkmm/app.cpp:673 src/gtkmm/canvasview.cpp:2265
 #: src/synfigapp/actions/layeradd.cpp:82
 msgid "New Layer"
 msgstr "Nueva Capa"
 
-#: src/gtkmm/app.cpp:649 src/synfigapp/actions/keyframeduplicate.cpp:79
+#: src/gtkmm/app.cpp:674 src/synfigapp/actions/keyframeduplicate.cpp:79
 #: src/synfigapp/actions/keyframeremove.cpp:78
 #: src/synfigapp/actions/keyframesetdelta.cpp:79
 #: src/synfigapp/actions/keyframewaypointset.cpp:78
 msgid "Keyframe"
 msgstr "Fotograma Clave"
 
-#: src/gtkmm/app.cpp:650 src/gtkmm/iconcontroller.cpp:163
+#: src/gtkmm/app.cpp:675 src/gtkmm/iconcontroller.cpp:163
 #: src/synfigapp/actions/groupaddlayers.cpp:78
 #: src/synfigapp/actions/groupremove.cpp:72
 msgid "Group"
 msgstr "Grupo"
 
-#: src/gtkmm/app.cpp:651
+#: src/gtkmm/app.cpp:676
 msgid "State"
 msgstr "Estado"
 
-#: src/gtkmm/app.cpp:652
+#: src/gtkmm/app.cpp:677
 msgid "Toolbox"
 msgstr "Caja de Herramientas"
 
-#: src/gtkmm/app.cpp:669 src/gtkmm/keyframeactionmanager.cpp:239
+#: src/gtkmm/app.cpp:694 src/gtkmm/keyframeactionmanager.cpp:239
 msgid "Keyframe Properties"
 msgstr "Propiedades del Fotograma Clave"
 
-#: src/gtkmm/app.cpp:680 src/gtkmm/canvasview.cpp:1206
+#: src/gtkmm/app.cpp:705 src/gtkmm/canvasview.cpp:1206
 msgid "Import"
 msgstr "Importar"
 
-#: src/gtkmm/app.cpp:681 src/gtkmm/canvasview.cpp:1209
+#: src/gtkmm/app.cpp:706 src/gtkmm/canvasview.cpp:1209
 msgid "Render"
 msgstr "Renderizar"
 
-#: src/gtkmm/app.cpp:682 src/gtkmm/canvasview.cpp:1212
+#: src/gtkmm/app.cpp:707 src/gtkmm/canvasview.cpp:1212
 #: src/gtkmm/dialog_preview.cpp:171
 msgid "Preview"
 msgstr "Previsualizar"
 
-#: src/gtkmm/app.cpp:683
+#: src/gtkmm/app.cpp:708
 msgid "Preview Dialog"
 msgstr "Diálogo de Previsualización"
 
-#: src/gtkmm/app.cpp:684 src/gtkmm/canvasview.cpp:1215
+#: src/gtkmm/app.cpp:709 src/gtkmm/canvasview.cpp:1215
 msgid "Sound File"
 msgstr "Archivo de Sonido"
 
-#: src/gtkmm/app.cpp:685 src/gtkmm/canvasoptions.cpp:151
+#: src/gtkmm/app.cpp:710 src/gtkmm/canvasoptions.cpp:151
 #: src/gtkmm/canvasview.cpp:1218
 msgid "Options"
 msgstr "Opciones"
 
-#: src/gtkmm/app.cpp:686
+#: src/gtkmm/app.cpp:711
 msgid "Close View"
 msgstr "Cerrar Vista"
 
-#: src/gtkmm/app.cpp:687 src/gtkmm/canvasview.cpp:1224
+#: src/gtkmm/app.cpp:712 src/gtkmm/canvasview.cpp:1224
 msgid "Close Document"
 msgstr "Cerrar Documento"
 
-#: src/gtkmm/app.cpp:696 src/gtkmm/canvasview.cpp:1239
+#: src/gtkmm/app.

[Synfig-devl] SF.net SVN: synfig:[2056] synfig-studio/trunk/src/gtkmm/widget_gradient.cpp

2008-09-14 Thread genete
Revision: 2056
  http://synfig.svn.sourceforge.net/synfig/?rev=2056&view=rev
Author:   genete
Date: 2008-09-14 20:34:26 + (Sun, 14 Sep 2008)

Log Message:
---
Fix bug [ 2096641 ] Thrown exception when all Cpoints are removed in the 
gradient editor

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/widget_gradient.cpp

Modified: synfig-studio/trunk/src/gtkmm/widget_gradient.cpp
===
--- synfig-studio/trunk/src/gtkmm/widget_gradient.cpp   2008-09-14 04:46:31 UTC 
(rev 2055)
+++ synfig-studio/trunk/src/gtkmm/widget_gradient.cpp   2008-09-14 20:34:26 UTC 
(rev 2056)
@@ -295,6 +295,7 @@
case GDK_MOTION_NOTIFY:
if(editable_ && y>get_height()-CONTROL_HEIGHT)
{
+   if(!gradient_.size()) return true;
Gradient::iterator 
iter(gradient_.find(selected_cpoint));
 
if(event->button.state&GDK_SHIFT_MASK)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2058] synfig-core/trunk/src/synfig/time.cpp

2008-09-17 Thread genete
Revision: 2058
  http://synfig.svn.sourceforge.net/synfig/?rev=2058&view=rev
Author:   genete
Date: 2008-09-17 20:27:17 + (Wed, 17 Sep 2008)

Log Message:
---
Apply http://patches.synfig.org/r/4/: Fix bad time entry when format is set to 
FFf. Patch by dooglus

Modified Paths:
--
synfig-core/trunk/src/synfig/time.cpp

Modified: synfig-core/trunk/src/synfig/time.cpp
===
--- synfig-core/trunk/src/synfig/time.cpp   2008-09-15 11:34:34 UTC (rev 
2057)
+++ synfig-core/trunk/src/synfig/time.cpp   2008-09-17 20:27:17 UTC (rev 
2058)
@@ -183,10 +183,11 @@
time.value_=ceil(time.value_);
 
int hour,minute;
-
-   hour=time/3600;time-=hour*3600;
-   minute=time/60;time-=minute*60;
-
+   if(!(format<=FORMAT_FRAMES))
+   {
+   hour=time/3600;time-=hour*3600;
+   minute=time/60;time-=minute*60;
+   }
// <= is redefined, so this means "is the FORMAT_VIDEO bit set in the 
format?"
if(format<=FORMAT_VIDEO)
{


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2073] synfig-core/trunk/src/synfig/listimporter.cpp

2008-09-25 Thread genete
Revision: 2073
  http://synfig.svn.sourceforge.net/synfig/?rev=2073&view=rev
Author:   genete
Date: 2008-09-25 21:25:56 + (Thu, 25 Sep 2008)

Log Message:
---
Add GIF support for imported Papagayo files.

Modified Paths:
--
synfig-core/trunk/src/synfig/listimporter.cpp

Modified: synfig-core/trunk/src/synfig/listimporter.cpp
===
--- synfig-core/trunk/src/synfig/listimporter.cpp   2008-09-25 19:08:24 UTC 
(rev 2072)
+++ synfig-core/trunk/src/synfig/listimporter.cpp   2008-09-25 21:25:56 UTC 
(rev 2073)
@@ -88,6 +88,7 @@
line == "jpg"  ||
line == "png"  ||
line == "ppm"  ||
+   line == "gif"  ||
line == "tiff" )
{
ext = String(".") + line;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2074] synfig-core/trunk/src/synfig/listimporter.cpp

2008-09-25 Thread genete
Revision: 2074
  http://synfig.svn.sourceforge.net/synfig/?rev=2074&view=rev
Author:   genete
Date: 2008-09-25 22:31:48 + (Thu, 25 Sep 2008)

Log Message:
---
Undo last commit. Gif support was already added.

Modified Paths:
--
synfig-core/trunk/src/synfig/listimporter.cpp

Modified: synfig-core/trunk/src/synfig/listimporter.cpp
===
--- synfig-core/trunk/src/synfig/listimporter.cpp   2008-09-25 21:25:56 UTC 
(rev 2073)
+++ synfig-core/trunk/src/synfig/listimporter.cpp   2008-09-25 22:31:48 UTC 
(rev 2074)
@@ -88,7 +88,6 @@
line == "jpg"  ||
line == "png"  ||
line == "ppm"  ||
-   line == "gif"  ||
line == "tiff" )
{
ext = String(".") + line;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2077] synfig-studio/trunk/po/es.po

2008-10-01 Thread genete
Revision: 2077
  http://synfig.svn.sourceforge.net/synfig/?rev=2077&view=rev
Author:   genete
Date: 2008-10-01 21:52:26 + (Wed, 01 Oct 2008)

Log Message:
---
Revised Spanish translation for synfigstudio.

Modified Paths:
--
synfig-studio/trunk/po/es.po

Modified: synfig-studio/trunk/po/es.po
===
--- synfig-studio/trunk/po/es.po2008-09-30 22:18:36 UTC (rev 2076)
+++ synfig-studio/trunk/po/es.po2008-10-01 21:52:26 UTC (rev 2077)
@@ -8,8 +8,8 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-12 19:33+0200\n"
-"PO-Revision-Date: 2008-09-12 19:56+0200\n"
+"POT-Creation-Date: 2008-09-30 23:32+0200\n"
+"PO-Revision-Date: 2008-10-01 23:50+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -36,13 +36,13 @@
 "Adrian Bentley y los contribuidores de Synfig"
 
 #. TRANSLATORS: change this to your name, separate multiple names with \n
-#: src/gtkmm/about.cpp:165
+#: src/gtkmm/about.cpp:166
 msgid "translator-credits"
 msgstr ""
 "Carlos López González (genete)\n"
 "Franco Iacomella (Yaco)"
 
-#: src/gtkmm/about.cpp:192
+#: src/gtkmm/about.cpp:193
 #, c-format
 msgid ""
 "\n"
@@ -53,50 +53,50 @@
 "Versión de desarrollo:\n"
 "%s \n"
 
-#: src/gtkmm/about.cpp:197
+#: src/gtkmm/about.cpp:198
 #, c-format
 msgid "Built on %s\n"
 msgstr "Contruido el %s\n"
 
-#: src/gtkmm/about.cpp:201
+#: src/gtkmm/about.cpp:202
 msgid "Built with:\n"
 msgstr "Construido con: \n"
 
-#: src/gtkmm/about.cpp:202
+#: src/gtkmm/about.cpp:203
 #, c-format
 msgid "ETL %s\n"
 msgstr "ETL %s\n"
 
-#: src/gtkmm/about.cpp:203
+#: src/gtkmm/about.cpp:204
 #, c-format
 msgid "Synfig API %s\n"
 msgstr "Synfig API %s\n"
 
-#: src/gtkmm/about.cpp:204
+#: src/gtkmm/about.cpp:205
 #, c-format
 msgid "Synfig library %d\n"
 msgstr "Librería Synfig %d\n"
 
-#: src/gtkmm/about.cpp:205
+#: src/gtkmm/about.cpp:206
 #, c-format
 msgid "GTK+ %d.%d.%d\n"
 msgstr "GTK+ %d.%d.%d\n"
 
-#: src/gtkmm/about.cpp:207
+#: src/gtkmm/about.cpp:208
 #, c-format
 msgid "GNU G++ %d.%d.%d\n"
 msgstr "GNU G++ %d.%d.%d\n"
 
-#: src/gtkmm/about.cpp:212
+#: src/gtkmm/about.cpp:213
 msgid "Using:\n"
 msgstr "Usando:\n"
 
-#: src/gtkmm/about.cpp:213
+#: src/gtkmm/about.cpp:214
 #, c-format
 msgid "Synfig %s\n"
 msgstr "Synfig %s\n"
 
-#: src/gtkmm/about.cpp:214
+#: src/gtkmm/about.cpp:215
 #, c-format
 msgid "GTK+ %d.%d.%d"
 msgstr "GTK+ %d.%d.%d"
@@ -243,7 +243,7 @@
 
 #: src/gtkmm/app.cpp:733 src/gtkmm/canvasview.cpp:1270
 msgid "Use Parametric Renderer"
-msgstr "Usar Muestreador Paramétrico "
+msgstr "Usar Renderizado Paramétrico "
 
 #: src/gtkmm/app.cpp:734
 msgid "Use Quality Level 1"
@@ -476,15 +476,15 @@
 
 #: src/gtkmm/app.cpp:1241
 msgid "Init ModMirror..."
-msgstr "Iniciar Espejo..."
+msgstr "Iniciar Módulo Espejo..."
 
 #: src/gtkmm/app.cpp:1263
 msgid "Init ModPalette..."
-msgstr "Iniciar Paleta..."
+msgstr "Iniciar Módulo Paleta..."
 
 #: src/gtkmm/app.cpp:1266
 msgid "Init Setup Dialog..."
-msgstr "Iniciar Diálogo de Atributos..."
+msgstr "Iniciar Diálogo de Preferencias..."
 
 #: src/gtkmm/app.cpp:1269
 msgid "Init Input Dialog..."
@@ -496,7 +496,7 @@
 
 #: src/gtkmm/app.cpp:1278
 msgid "Loading Settings..."
-msgstr "Cargando Atributos..."
+msgstr "Cargando Preferencias..."
 
 #: src/gtkmm/app.cpp:1280
 msgid "Checking auto-recover..."
@@ -1070,7 +1070,7 @@
 
 #: src/gtkmm/dialog_preview.cpp:108
 msgid "General Settings"
-msgstr "Atributos Generales"
+msgstr "Preferencias Generales"
 
 #: src/gtkmm/dialog_preview.cpp:120
 msgid "_Zoom"
@@ -1082,7 +1082,7 @@
 
 #: src/gtkmm/dialog_preview.cpp:138 src/gtkmm/renddesc.cpp:532
 msgid "Time Settings"
-msgstr "Atributos de Tiempo"
+msgstr "Preferencias de Tiempo"
 
 #: src/gtkmm/dialog_preview.cpp:140 src/gtkmm/renddesc.cpp:534
 msgid "Time Settings"
@@ -1090,7 +1090,7 @@
 
 #: src/gtkmm/dialog_setup.cpp:73
 msgid "Synfig Studio Setup"
-msgstr "Atributos de Synfig Studio"
+msgstr "Preferencias de Synfig Studio"
 
 #: src/gtkmm/dialog_setup.cpp:79
 msgid "Visually Linear Color Selection"
@@ -1396,7 +1396,7 @@
 "You will not be able to redo any chang

[Synfig-devl] SF.net SVN: synfig:[2076] synfig-core/trunk/po/es.po

2008-10-04 Thread genete
Revision: 2076
  http://synfig.svn.sourceforge.net/synfig/?rev=2076&view=rev
Author:   genete
Date: 2008-09-30 22:18:36 + (Tue, 30 Sep 2008)

Log Message:
---
Updated translation for synfig-core/po/es.po. Typos and corrections.

Modified Paths:
--
synfig-core/trunk/po/es.po

Modified: synfig-core/trunk/po/es.po
===
--- synfig-core/trunk/po/es.po  2008-09-29 17:10:47 UTC (rev 2075)
+++ synfig-core/trunk/po/es.po  2008-09-30 22:18:36 UTC (rev 2076)
@@ -9,8 +9,8 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-08-30 15:40+0200\n"
-"PO-Revision-Date: 2008-08-30 15:41+0200\n"
+"POT-Creation-Date: 2008-09-29 21:46+0200\n"
+"PO-Revision-Date: 2008-10-01 00:16+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -192,7 +192,7 @@
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:644
 msgid "No face loaded, no text will be rendered."
-msgstr "Niguna cara cargada, no se mostrará ningún texto"
+msgstr "Niguna fuente cargada, no se mostrará ningún texto"
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:670
 msgid "Text too small, no text will be rendered."
@@ -200,11 +200,11 @@
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:694
 msgid "Unable to set face size."
-msgstr "Imposible establecer el tamaño de cara"
+msgstr "Imposible establecer el tamaño de fuente"
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:737
 msgid "Invalid multibyte sequence - is the locale set?\n"
-msgstr "Secuencia multibye inválida - se ha establecido el local?\n"
+msgstr "Secuencia multibye inválida - se ha establecido el lenguaje local?\n"
 
 #: src/modules/lyr_freetype/lyr_freetype.cpp:744
 msgid "Can't parse multibyte character.\n"
@@ -768,7 +768,7 @@
 
 #: src/modules/mod_bmp/trgt_bmp.cpp:185
 msgid " (animated)"
-msgstr "(animado)"
+msgstr " (animado)"
 
 #: src/modules/mod_bmp/trgt_bmp.cpp:195 src/modules/mod_bmp/trgt_bmp.cpp:196
 msgid "Unable to open file"
@@ -1102,7 +1102,7 @@
 msgid "The orientation of the star"
 msgstr "La orientación de la estrella"
 
-#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:243
+#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:247
 msgid "Points"
 msgstr "Puntos"
 
@@ -1462,27 +1462,27 @@
 msgid "%s was not in PPM format"
 msgstr "%s no estaba en formato PPM"
 
-#: src/synfig/distance.cpp:241
+#: src/synfig/distance.cpp:245
 msgid "Units"
 msgstr "Unidades"
 
-#: src/synfig/distance.cpp:242
+#: src/synfig/distance.cpp:246
 msgid "Pixels"
 msgstr "Pixels"
 
-#: src/synfig/distance.cpp:244
+#: src/synfig/distance.cpp:248
 msgid "Inches"
 msgstr "Pulgadas"
 
-#: src/synfig/distance.cpp:245
+#: src/synfig/distance.cpp:249
 msgid "Meters"
 msgstr "Metros"
 
-#: src/synfig/distance.cpp:246
+#: src/synfig/distance.cpp:250
 msgid "Millimeters"
 msgstr "Milimetros"
 
-#: src/synfig/distance.cpp:247
+#: src/synfig/distance.cpp:251
 msgid "Centimeters"
 msgstr "Centímetros"
 
@@ -1782,65 +1782,65 @@
 msgid "Unknown Exception thrown when working on element \"%s\""
 msgstr "Lanzada excepción desconocida al trabajar con el elemento \"%s\""
 
-#: src/synfig/loadcanvas.cpp:1295
+#: src/synfig/loadcanvas.cpp:1307
 #, c-format
 msgid "<%s> is missing link %d (%s)"
 msgstr "<%s>esta perdiendo el enlace %d (%s)"
 
-#: src/synfig/loadcanvas.cpp:1361
+#: src/synfig/loadcanvas.cpp:1373
 msgid "Unable to create "
 msgstr "Imposible crear "
 
-#: src/synfig/loadcanvas.cpp:1511
+#: src/synfig/loadcanvas.cpp:1523
 msgid " is missing its contents or missing \"use\" element"
 msgstr " esta perdiendo su contenido o perdiendo el elemento \"use\""
 
-#: src/synfig/loadcanvas.cpp:1556
+#: src/synfig/loadcanvas.cpp:1568
 #, c-format
 msgid "Bad data in <%s>"
 msgstr "Mal dato en <%s>"
 
-#: src/synfig/loadcanvas.cpp:1588
+#: src/synfig/loadcanvas.cpp:1600
 #, c-format
 msgid "Expected a ValueNode.  Refer to '%s'"
 msgstr "Esperado un Valor de Nodo. Refiere a '%s'"
 
-#: src/synfig/loadcanvas.cpp:1609
+#: src/synfig/loadcanvas.cpp:1621
 #, c-format
 msgid "Bad ID \"%s\""
 msgstr "Mal ID \"%s\""
 
-#: src/synfig/loadcanvas.cpp:1614
+#: src/synfig/loadcanvas.cpp:1626
 

[Synfig-devl] SF.net SVN: synfig:[2081] synfig-studio/trunk/src/gtkmm/instance.cpp

2008-10-05 Thread genete
Revision: 2081
  http://synfig.svn.sourceforge.net/synfig/?rev=2081&view=rev
Author:   genete
Date: 2008-10-05 22:50:21 + (Sun, 05 Oct 2008)

Log Message:
---
Mark new strings to be translated.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/instance.cpp

Modified: synfig-studio/trunk/src/gtkmm/instance.cpp
===
--- synfig-studio/trunk/src/gtkmm/instance.cpp  2008-10-02 12:41:20 UTC (rev 
2080)
+++ synfig-studio/trunk/src/gtkmm/instance.cpp  2008-10-05 22:50:21 UTC (rev 
2081)
@@ -229,8 +229,8 @@
App::add_recent_file(etl::handle(this));
return STATUS_OK;
}
-
-   App::dialog_error_blocking("Save - Error","Unable to save to '" + 
get_file_name() + "'");
+   string msg(strprintf(_("Unable to save to '%s'"), 
get_file_name().c_str()));
+   App::dialog_error_blocking(_("Save - Error"), msg.c_str());
return STATUS_ERROR;
 }
 
@@ -260,12 +260,11 @@
Layer::Handle 
parent_layer(dynamic_cast(node));
if(parent_layer && 
parent_layer->get_canvas()->get_root()!=get_canvas())
{
-   App::dialog_error_blocking("SaveAs - 
Error",
-   "There is currently a bug when 
using \"SaveAs\"\n"
+   string msg(strprintf(_("There is 
currently a bug when using \"SaveAs\"\n"
"on a composition that is being 
referenced by other\n"
"files that are currently open. 
Close these\n"
-   "other files first before 
trying to use \"SaveAs\"."
-   );
+   "other files first before 
trying to use \"SaveAs\".")));
+   App::dialog_error_blocking(_("SaveAs - 
Error"), msg.c_str());
 
return false;
}
@@ -315,17 +314,16 @@
if (stat_return == -1 && errno != ENOENT)
{
perror(filename.c_str());
-   App::dialog_error_blocking("SaveAs - 
Error","Unable to check whether '" + filename + "' exists.");
+   string msg(strprintf(_("Unable to check whether 
'%s' exists."), filename.c_str()));
+   App::dialog_error_blocking(_("SaveAs - 
Error"),msg.c_str());
continue;
}
 
// if the file exists and the user doesn't want to 
overwrite it, keep prompting for a filename
+   string msg(strprintf(_("A file named '%s' already 
exists.\n\n"
+   "Do you 
want to replace it with the file you are saving?"), filename.c_str()));
if ((stat_return == 0) &&
-   !App::dialog_yes_no("File exists",
-   "A file 
named '" +
-   
filename +
-   "' 
already exists.\n\n"
-   "Do you 
want to replace it with the file you are saving?"))
+   !App::dialog_yes_no(_("File 
exists"),msg.c_str()))
continue;
}
 
@@ -334,8 +332,8 @@

synfig::set_file_version(ReleaseVersion(RELEASE_VERSION_END-1));
return true;
}
-
-   App::dialog_error_blocking("SaveAs - Error","Unable to save to 
'" + filename + "'");
+   string msg(strprintf(_("Unable to save to '%s'"), 
filename.c_str()));
+   App::dialog_error_blocking(_("SaveAs - Error"),msg.c_str());
}
 
return false;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2085] ETL/trunk/NEWS

2008-10-09 Thread genete
Revision: 2085
  http://synfig.svn.sourceforge.net/synfig/?rev=2085&view=rev
Author:   genete
Date: 2008-10-09 14:56:10 + (Thu, 09 Oct 2008)

Log Message:
---
Updated towards 0.61.09 release

Modified Paths:
--
ETL/trunk/NEWS

Modified: ETL/trunk/NEWS
===
--- ETL/trunk/NEWS  2008-10-09 08:20:18 UTC (rev 2084)
+++ ETL/trunk/NEWS  2008-10-09 14:56:10 UTC (rev 2085)
@@ -4,6 +4,11 @@
 
 http://synfig.org/Releases
 
+ 0.04.12 (SVN 2???) - October ??, 2008 - Bug fixes
+ 
+   * Improve the derivative class for hermites. 
+   * Update configure.ac as suggested by autoupdate.
+
  0.04.11 (SVN 1837) - March 3, 2008 - Bug fixes
 
   * Update the website URL to synfig.org instead of synfig.com


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2086] synfig-core/trunk/NEWS

2008-10-09 Thread genete
Revision: 2086
  http://synfig.svn.sourceforge.net/synfig/?rev=2086&view=rev
Author:   genete
Date: 2008-10-09 14:56:54 + (Thu, 09 Oct 2008)

Log Message:
---
Updated towards 0.61.09 release

Modified Paths:
--
synfig-core/trunk/NEWS

Modified: synfig-core/trunk/NEWS
===
--- synfig-core/trunk/NEWS  2008-10-09 14:56:10 UTC (rev 2085)
+++ synfig-core/trunk/NEWS  2008-10-09 14:56:54 UTC (rev 2086)
@@ -4,6 +4,25 @@
 
 http://synfig.org/Releases
 
+ 0.61.09 (SVN 2???) - October ??, 2008 - Bug fixes, features.
+ 
+  * Segment and Blines tangents are calculated more accurately
+  * Don't allow feather to be negative in any layer.
+  * New Logarithm, Int String, Angle String, Joined List, Real String,
+Time String, Dot Product, Gradient Color, Vector X, Vector Y, 
+Vector Length, Vector Angle convert types. 
+  * Remove TENSION from TCB modes as it is the same as TEMPORAL TENSION.
+  * Unless OpenEXR half mode is used, don't ask synfigstudio to depend on it.
+  * Added "Link to Bline" feature.
+  * Fix several bugs: plant layer, libavformat, time format FFf, libswscale
+straight onto method, eyedrop tool and straight blend method for shape 
type layers,
+  * Fix some compiler warnings.
+  * Rename 'offset' and 'pos' to 'origin'.
+  * Translations in French and Spanish are available.
+  * Now it is possible that Windows Builds with Open EXR 1.6.1
+  * Jpeg support can be switched on/off now.
+  * Fix typos and other issues.
+
  0.61.08 (SVN 1839) - March 3, 2008 - Bug fixes, features
 
   * Update the website URL to synfig.org instead of synfig.com


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2087] synfig-studio/trunk/NEWS

2008-10-09 Thread genete
Revision: 2087
  http://synfig.svn.sourceforge.net/synfig/?rev=2087&view=rev
Author:   genete
Date: 2008-10-09 14:57:36 + (Thu, 09 Oct 2008)

Log Message:
---
Updated towards 0.61.09 release

Modified Paths:
--
synfig-studio/trunk/NEWS

Modified: synfig-studio/trunk/NEWS
===
--- synfig-studio/trunk/NEWS2008-10-09 14:56:54 UTC (rev 2086)
+++ synfig-studio/trunk/NEWS2008-10-09 14:57:36 UTC (rev 2087)
@@ -4,6 +4,30 @@
 
 http://synfig.org/Releases
 
+ 0.61.09 (SVN 2???) - October ??, 2008 - Bug fixes, features
+ 
+  * Fix allow to build synfigstudio in fink distribution.
+  * Improved plant layer
+  * Added new options for Circle and Rectangle tools
+  * Added Text and Star tools. 
+  * Added new plant, text, star and polygon icons.
+  * Synfigstudio is translated to Spanish, French and Catalan.
+  * Added "Link to Bline" feature.
+  * Improved main window zoom behavior and added new zoom icons.
+  * Several fixes and improvements on timetrack slider and waypoints drawing.
+  * Deprecate Manual as interpolation type.
+  * Added new icons for reset and swap FG and BG colors. Re-arrange them 
+to show properly in all GTK themes.
+  * Added some improvements in the Render Description. 
+  * Improved GUI for the sound selection dialog.
+  * When adding layers leave the previously selected layer selected.
+  * Button tools are arranged inthe Tool box.
+  * Added and fixed some keyboard shortcuts.
+  * Show only shared compatible paramters when more than one layer is selected.
+  * Added more funtionality to color and time sliders.
+  * Added new 'Document' tab in Setup dialog for more user preferences.
+  * Fixed some crahses and errors.
+
  0.61.08 (SVN 1839) - March 3, 2008 - Bug fixes, features
 
   * Update the website URL to synfig.org instead of synfig.com


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2094] synfig-studio/trunk/src/gtkmm/state_width.cpp

2008-10-11 Thread genete
Revision: 2094
  http://synfig.svn.sourceforge.net/synfig/?rev=2094&view=rev
Author:   genete
Date: 2008-10-11 09:19:52 + (Sat, 11 Oct 2008)

Log Message:
---
Allow Growth parameter be bigger than 1.0, modified small and big
increments.
Also set default value for Radius parameter to be not 0. Now
the tool works better.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/state_width.cpp

Modified: synfig-studio/trunk/src/gtkmm/state_width.cpp
===
--- synfig-studio/trunk/src/gtkmm/state_width.cpp   2008-10-11 07:00:30 UTC 
(rev 2093)
+++ synfig-studio/trunk/src/gtkmm/state_width.cpp   2008-10-11 09:19:52 UTC 
(rev 2094)
@@ -214,10 +214,10 @@
 
settings(synfigapp::Main::get_selected_input_device()->settings()),
 
-   adj_delta(6,0,1,0.001,0.01),
+   adj_delta(6,0,20,0.01,0.1),
spin_delta(adj_delta,0.01,3),
 
-   adj_radius(0,0,1e50,1,10),
+   adj_radius(200,0,1e50,1,10),
spin_radius(adj_radius,1,1),
 
check_relative(_("Relative Growth"))


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2095] synfig-core/trunk/src

2008-10-13 Thread genete
Revision: 2095
  http://synfig.svn.sourceforge.net/synfig/?rev=2095&view=rev
Author:   genete
Date: 2008-10-13 23:13:07 + (Mon, 13 Oct 2008)

Log Message:
---
Update/add the copyright for poeple who modified synfig-core code.

Modified Paths:
--
synfig-core/trunk/src/modules/example/filledrect.cpp
synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp
synfig-core/trunk/src/modules/lyr_std/xorpattern.h
synfig-core/trunk/src/modules/mod_filter/halftone.cpp
synfig-core/trunk/src/modules/mod_filter/halftone.h
synfig-core/trunk/src/modules/mod_filter/halftone2.cpp
synfig-core/trunk/src/modules/mod_filter/halftone3.cpp
synfig-core/trunk/src/modules/mod_geometry/checkerboard.h
synfig-core/trunk/src/modules/mod_geometry/circle.h
synfig-core/trunk/src/modules/mod_geometry/outline.cpp
synfig-core/trunk/src/modules/mod_geometry/region.cpp
synfig-core/trunk/src/modules/mod_geometry/star.cpp
synfig-core/trunk/src/modules/mod_gradient/curvegradient.cpp
synfig-core/trunk/src/modules/mod_gradient/curvegradient.h
synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
synfig-core/trunk/src/synfig/distance.cpp
synfig-core/trunk/src/synfig/interpolation.h
synfig-core/trunk/src/synfig/layer_polygon.cpp
synfig-core/trunk/src/synfig/layer_shape.h
synfig-core/trunk/src/synfig/renddesc.cpp
synfig-core/trunk/src/synfig/time.cpp
synfig-core/trunk/src/synfig/valuenode.cpp
synfig-core/trunk/src/synfig/valuenode_bline.h
synfig-core/trunk/src/synfig/valuenode_blinecalctangent.h
synfig-core/trunk/src/synfig/valuenode_blinecalcwidth.h
synfig-core/trunk/src/synfig/valuenode_log.cpp
synfig-core/trunk/src/synfig/valuenode_log.h
synfig-core/trunk/src/synfig/waypoint.h

Modified: synfig-core/trunk/src/modules/example/filledrect.cpp
===
--- synfig-core/trunk/src/modules/example/filledrect.cpp2008-10-11 
09:19:52 UTC (rev 2094)
+++ synfig-core/trunk/src/modules/example/filledrect.cpp2008-10-13 
23:13:07 UTC (rev 2095)
@@ -6,6 +6,7 @@
 **
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp
===
--- synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp2008-10-11 
09:19:52 UTC (rev 2094)
+++ synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp2008-10-13 
23:13:07 UTC (rev 2095)
@@ -6,7 +6,7 @@
 **
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2007-2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-core/trunk/src/modules/lyr_std/xorpattern.h
===
--- synfig-core/trunk/src/modules/lyr_std/xorpattern.h  2008-10-11 09:19:52 UTC 
(rev 2094)
+++ synfig-core/trunk/src/modules/lyr_std/xorpattern.h  2008-10-13 23:13:07 UTC 
(rev 2095)
@@ -6,7 +6,7 @@
 **
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2007-2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-core/trunk/src/modules/mod_filter/halftone.cpp
===
--- synfig-core/trunk/src/modules/mod_filter/halftone.cpp   2008-10-11 
09:19:52 UTC (rev 2094)
+++ synfig-core/trunk/src/modules/mod_filter/halftone.cpp   2008-10-13 
23:13:07 UTC (rev 2095)
@@ -6,6 +6,7 @@
 **
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-core/trunk/src/modules/mod_filter/halftone.h
===
--- synfig-core/trunk/src/modules/mod_filter/halftone.h 2008-10-11 09:19:52 UTC 
(rev 2094)
+++ synfig-core/trunk/src/modules/mod_filter/halftone.h 2008-10-13 23:13:07 UTC 
(rev 2095)
@@ -6,6 +6,7 @@
 **
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modi

[Synfig-devl] SF.net SVN: synfig:[2096] synfig-core/trunk/README

2008-10-13 Thread genete
Revision: 2096
  http://synfig.svn.sourceforge.net/synfig/?rev=2096&view=rev
Author:   genete
Date: 2008-10-13 23:18:33 + (Mon, 13 Oct 2008)

Log Message:
---
Add Carlos L?\195?\179pez and Gerco Ballintijn copyright to README file. 

Modified Paths:
--
synfig-core/trunk/README

Modified: synfig-core/trunk/README
===
--- synfig-core/trunk/README2008-10-13 23:13:07 UTC (rev 2095)
+++ synfig-core/trunk/README2008-10-13 23:18:33 UTC (rev 2096)
@@ -29,6 +29,8 @@
 Copyright 2002 Adrian Bentley
 Copyright 2006-2007 Paul Wise
 Copyright 2007-2008 Chris Moore
+Copyright 2008 Carlos López
+Copyright 2008 Gerco Ballintijn
 
 Licence
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2097] ETL/trunk

2008-10-14 Thread genete
Revision: 2097
  http://synfig.svn.sourceforge.net/synfig/?rev=2097&view=rev
Author:   genete
Date: 2008-10-14 14:16:28 + (Tue, 14 Oct 2008)

Log Message:
---
Update/add copyright of people who modified the code.

Modified Paths:
--
ETL/trunk/ETL/_calculus.h
ETL/trunk/README

Modified: ETL/trunk/ETL/_calculus.h
===
--- ETL/trunk/ETL/_calculus.h   2008-10-13 23:18:33 UTC (rev 2096)
+++ ETL/trunk/ETL/_calculus.h   2008-10-14 14:16:28 UTC (rev 2097)
@@ -4,6 +4,7 @@
 ** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+** Copyright (c) 2008 Chris Moore
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: ETL/trunk/README
===
--- ETL/trunk/README2008-10-13 23:18:33 UTC (rev 2096)
+++ ETL/trunk/README2008-10-14 14:16:28 UTC (rev 2097)
@@ -17,6 +17,7 @@
 Copyright 2002 Robert B. Quattlebaum Jr.
 Copyright 2002 Adrian Bentley
 Copyright 2007-2008 Chris Moore
+Copyright 2008 Paul Wise
 
 Licence
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2098] synfig-studio/trunk/src

2008-10-14 Thread genete
Revision: 2098
  http://synfig.svn.sourceforge.net/synfig/?rev=2098&view=rev
Author:   genete
Date: 2008-10-14 21:00:21 + (Tue, 14 Oct 2008)

Log Message:
---
Update/add copyrights for people who modified the code.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/app.h
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.h
synfig-studio/trunk/src/gtkmm/iconcontroller.cpp
synfig-studio/trunk/src/gtkmm/instance.cpp
synfig-studio/trunk/src/gtkmm/renderer_ducks.cpp
synfig-studio/trunk/src/gtkmm/splash.cpp
synfig-studio/trunk/src/gtkmm/state_gradient.cpp
synfig-studio/trunk/src/gtkmm/state_rectangle.cpp
synfig-studio/trunk/src/gtkmm/state_rotate.cpp
synfig-studio/trunk/src/gtkmm/state_scale.cpp
synfig-studio/trunk/src/gtkmm/state_smoothmove.cpp
synfig-studio/trunk/src/gtkmm/state_star.h
synfig-studio/trunk/src/gtkmm/state_text.cpp
synfig-studio/trunk/src/gtkmm/state_text.h
synfig-studio/trunk/src/gtkmm/state_width.cpp
synfig-studio/trunk/src/gtkmm/state_zoom.cpp
synfig-studio/trunk/src/gtkmm/toolbox.cpp
synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp
synfig-studio/trunk/src/gtkmm/widget_curves.cpp
synfig-studio/trunk/src/gtkmm/widget_defaults.cpp
synfig-studio/trunk/src/gtkmm/widget_time.cpp
synfig-studio/trunk/src/gtkmm/widget_waypoint.cpp
synfig-studio/trunk/src/gtkmm/widget_waypointmodel.cpp
synfig-studio/trunk/src/gtkmm/zoomdial.h
synfig-studio/trunk/src/synfigapp/actions/activepointadd.cpp
synfig-studio/trunk/src/synfigapp/actions/activepointremove.cpp
synfig-studio/trunk/src/synfigapp/actions/activepointset.cpp
synfig-studio/trunk/src/synfigapp/actions/activepointsetoff.cpp
synfig-studio/trunk/src/synfigapp/actions/activepointseton.cpp
synfig-studio/trunk/src/synfigapp/actions/activepointsetsmart.cpp
synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistinsert.cpp
synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistloop.cpp
synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistremove.cpp

synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistremovesmart.cpp

synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistrotateorder.cpp
synfig-studio/trunk/src/synfigapp/actions/valuenodedynamiclistunloop.cpp
synfig-studio/trunk/src/synfigapp/actions/waypointadd.cpp

Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===
--- synfig-studio/trunk/src/gtkmm/app.cpp   2008-10-14 14:16:28 UTC (rev 
2097)
+++ synfig-studio/trunk/src/gtkmm/app.cpp   2008-10-14 21:00:21 UTC (rev 
2098)
@@ -8,6 +8,7 @@
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
 ** Copyright (c) 2008 Gerald Young
+**  Copyright (c) 2008 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-studio/trunk/src/gtkmm/app.h
===
--- synfig-studio/trunk/src/gtkmm/app.h 2008-10-14 14:16:28 UTC (rev 2097)
+++ synfig-studio/trunk/src/gtkmm/app.h 2008-10-14 21:00:21 UTC (rev 2098)
@@ -7,6 +7,7 @@
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
+**  Copyright (c) 2008 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-10-14 14:16:28 UTC 
(rev 2097)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp  2008-10-14 21:00:21 UTC 
(rev 2098)
@@ -7,6 +7,7 @@
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
+**  Copyright (c) 2008 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.h
===
--- synfig-studio/trunk/src/gtkmm/dialog_setup.h2008-10-14 14:16:28 UTC 
(rev 2097)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.h2008-10-14 21:00:21 UTC 
(rev 2098)
@@ -7,6 +7,7 @@
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
+**  Copyright (c) 2008 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of

[Synfig-devl] SF.net SVN: synfig:[2099] ETL/trunk

2008-10-14 Thread genete
Revision: 2099
  http://synfig.svn.sourceforge.net/synfig/?rev=2099&view=rev
Author:   genete
Date: 2008-10-14 21:27:50 + (Tue, 14 Oct 2008)

Log Message:
---
Release 0.04.12!

Modified Paths:
--
ETL/trunk/NEWS
ETL/trunk/configure.ac

Modified: ETL/trunk/NEWS
===
--- ETL/trunk/NEWS  2008-10-14 21:00:21 UTC (rev 2098)
+++ ETL/trunk/NEWS  2008-10-14 21:27:50 UTC (rev 2099)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.04.12 (SVN 2???) - October ??, 2008 - Bug fixes
+ 0.04.12 (SVN 2099) - October 14, 2008 - Bug fixes
  
   * Improve the derivative class for hermites. 
   * Update configure.ac as suggested by autoupdate.

Modified: ETL/trunk/configure.ac
===
--- ETL/trunk/configure.ac  2008-10-14 21:00:21 UTC (rev 2098)
+++ ETL/trunk/configure.ac  2008-10-14 21:27:50 UTC (rev 2099)
@@ -2,7 +2,7 @@
 
 # -- I N I T --
 
-AC_INIT([Extended Template Library],[0.04.11],[http://synfig.org/Bugs],[ETL])
+AC_INIT([Extended Template Library],[0.04.12],[http://synfig.org/Bugs],[ETL])
 AC_REVISION
 
 AC_CONFIG_AUX_DIR(config)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2100] synfig-core/trunk

2008-10-14 Thread genete
Revision: 2100
  http://synfig.svn.sourceforge.net/synfig/?rev=2100&view=rev
Author:   genete
Date: 2008-10-14 21:38:51 + (Tue, 14 Oct 2008)

Log Message:
---
Release 0.61.09!

Modified Paths:
--
synfig-core/trunk/NEWS
synfig-core/trunk/configure.ac

Modified: synfig-core/trunk/NEWS
===
--- synfig-core/trunk/NEWS  2008-10-14 21:27:50 UTC (rev 2099)
+++ synfig-core/trunk/NEWS  2008-10-14 21:38:51 UTC (rev 2100)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.61.09 (SVN 2???) - October ??, 2008 - Bug fixes, features.
+ 0.61.09 (SVN 2100) - October 14, 2008 - Bug fixes, features.
  
   * Segment and Blines tangents are calculated more accurately
   * Don't allow feather to be negative in any layer

Modified: synfig-core/trunk/configure.ac
===
--- synfig-core/trunk/configure.ac  2008-10-14 21:27:50 UTC (rev 2099)
+++ synfig-core/trunk/configure.ac  2008-10-14 21:38:51 UTC (rev 2100)
@@ -2,7 +2,7 @@
 
 # -- I N I T --
 
-AC_INIT([Synfig Core],[0.61.08],[http://synfig.org/Bugs],[synfig])
+AC_INIT([Synfig Core],[0.61.09],[http://synfig.org/Bugs],[synfig])
 AC_REVISION
 
 AC_CONFIG_AUX_DIR(config)
@@ -398,8 +398,8 @@
 AM_GNU_GETTEXT_VERSION([0.14.4])
 localedir="$datadir/locale"
 
-PKG_CHECK_MODULES(ETL, [ETL >= 0.04.11],,[
-   AC_MSG_ERROR([ ** You need to install the ETL (version 0.04.11 or 
greater).])
+PKG_CHECK_MODULES(ETL, [ETL >= 0.04.12],,[
+   AC_MSG_ERROR([ ** You need to install the ETL (version 0.04.12 or 
greater).])
 ])
 CONFIG_DEPS="$CONFIG_DEPS ETL"
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2101] synfig-studio/trunk

2008-10-14 Thread genete
Revision: 2101
  http://synfig.svn.sourceforge.net/synfig/?rev=2101&view=rev
Author:   genete
Date: 2008-10-14 21:41:48 + (Tue, 14 Oct 2008)

Log Message:
---
Release 0.61.09!

Modified Paths:
--
synfig-studio/trunk/NEWS
synfig-studio/trunk/README
synfig-studio/trunk/configure.ac
synfig-studio/trunk/src/gtkmm/about.cpp

Modified: synfig-studio/trunk/NEWS
===
--- synfig-studio/trunk/NEWS2008-10-14 21:38:51 UTC (rev 2100)
+++ synfig-studio/trunk/NEWS2008-10-14 21:41:48 UTC (rev 2101)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.61.09 (SVN 2???) - October ??, 2008 - Bug fixes, features
+ 0.61.09 (SVN 2101) - October 14, 2008 - Bug fixes, features
  
   * Fix building synfigstudio in the fink distribution
   * Improved plant layer

Modified: synfig-studio/trunk/README
===
--- synfig-studio/trunk/README  2008-10-14 21:38:51 UTC (rev 2100)
+++ synfig-studio/trunk/README  2008-10-14 21:41:48 UTC (rev 2101)
@@ -32,6 +32,8 @@
 Copyright 2008 Gerald Young
 Copyright 2008 David Roden
 Copyright 2008 Daniel Hornung
+Copyright 2008 Carlos López
+Copyright 2008 Gerco Ballintijn
 
 Some of the icons are placed in the Public Domain by Chris Norman
 Some of the icons are placed in the Public Domain by Carlos López González

Modified: synfig-studio/trunk/configure.ac
===
--- synfig-studio/trunk/configure.ac2008-10-14 21:38:51 UTC (rev 2100)
+++ synfig-studio/trunk/configure.ac2008-10-14 21:41:48 UTC (rev 2101)
@@ -2,7 +2,7 @@
 
 # -- I N I T --
 
-AC_INIT([Synfig Studio],[0.61.08],[http://synfig.org/Bugs],[synfigstudio])
+AC_INIT([Synfig Studio],[0.61.09],[http://synfig.org/Bugs],[synfigstudio])
 AC_REVISION
 
 AC_CONFIG_AUX_DIR(config)
@@ -135,8 +135,8 @@
 AC_SUBST(GTKMM_CFLAGS)
 AC_SUBST(GTKMM_LIBS)
 
-PKG_CHECK_MODULES(SYNFIG, [synfig >= 0.61.08] [ETL >= 0.04.11] sigc++-2.0,,[
-   AC_MSG_ERROR([ ** Unable to set up dependent libraries (synfig >= 
0.61.08, ETL >= 0.04.11)])
+PKG_CHECK_MODULES(SYNFIG, [synfig >= 0.61.09] [ETL >= 0.04.12] sigc++-2.0,,[
+   AC_MSG_ERROR([ ** Unable to set up dependent libraries (synfig >= 
0.61.09, ETL >= 0.04.12)])
 ])
 AC_SUBST(SYNFIG_CFLAGS)
 AC_SUBST(SYNFIG_LIBS)

Modified: synfig-studio/trunk/src/gtkmm/about.cpp
===
--- synfig-studio/trunk/src/gtkmm/about.cpp 2008-10-14 21:38:51 UTC (rev 
2100)
+++ synfig-studio/trunk/src/gtkmm/about.cpp 2008-10-14 21:41:48 UTC (rev 
2101)
@@ -141,10 +141,12 @@
authors.push_back("Chris Moore (dooglus)");
authors.push_back("Chris Norman (pixelgeek)");
authors.push_back("Daniel Fort");
+   authors.push_back("Daniel Hornung (rubikcube)");
authors.push_back("David Roden (Bombe)");
authors.push_back("Dmitriy Pomerantsev (Atrus)");
authors.push_back("Douglas Lau");
authors.push_back("Gerald Young (Yoyobuae)");
+   authors.push_back("Gerco Ballintijn");
authors.push_back("IL'dar AKHmetgaleev (AkhIL)");
authors.push_back("Luka Pravica");
authors.push_back("Martin Michlmayr (tbm)");


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2104] ETL/trunk/configure.ac

2008-10-17 Thread genete
Revision: 2104
  http://synfig.svn.sourceforge.net/synfig/?rev=2104&view=rev
Author:   genete
Date: 2008-10-17 15:21:58 + (Fri, 17 Oct 2008)

Log Message:
---
Update SVN_REPOSITORY variable to the new svn in sourceforge

Modified Paths:
--
ETL/trunk/configure.ac

Modified: ETL/trunk/configure.ac
===
--- ETL/trunk/configure.ac  2008-10-16 18:22:50 UTC (rev 2103)
+++ ETL/trunk/configure.ac  2008-10-17 15:21:58 UTC (rev 2104)
@@ -17,7 +17,7 @@
 
 debug="no"
 
-SVN_REPOSITORY=http://svn.voria.com/code/ETL
+SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/ETL
 AC_SUBST(SVN_REPOSITORY)
 
 # -- A R G U M E N T S 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2105] synfig-core/trunk/configure.ac

2008-10-17 Thread genete
Revision: 2105
  http://synfig.svn.sourceforge.net/synfig/?rev=2105&view=rev
Author:   genete
Date: 2008-10-17 15:22:50 + (Fri, 17 Oct 2008)

Log Message:
---
Update SVN_REPOSITORY variable to the new svn in sourceforge

Modified Paths:
--
synfig-core/trunk/configure.ac

Modified: synfig-core/trunk/configure.ac
===
--- synfig-core/trunk/configure.ac  2008-10-17 15:21:58 UTC (rev 2104)
+++ synfig-core/trunk/configure.ac  2008-10-17 15:22:50 UTC (rev 2105)
@@ -27,7 +27,7 @@
 
 # -- V A R I A B L E S 
 
-SVN_REPOSITORY=http://svn.voria.com/code/synfig-core
+SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core
 AC_SUBST(SVN_REPOSITORY)
 
 # -- P R O G R A M S --


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2106] synfig-studio/trunk/configure.ac

2008-10-17 Thread genete
Revision: 2106
  http://synfig.svn.sourceforge.net/synfig/?rev=2106&view=rev
Author:   genete
Date: 2008-10-17 15:23:30 + (Fri, 17 Oct 2008)

Log Message:
---
Update SVN_REPOSITORY variable to the new svn in sourceforge

Modified Paths:
--
synfig-studio/trunk/configure.ac

Modified: synfig-studio/trunk/configure.ac
===
--- synfig-studio/trunk/configure.ac2008-10-17 15:22:50 UTC (rev 2105)
+++ synfig-studio/trunk/configure.ac2008-10-17 15:23:30 UTC (rev 2106)
@@ -17,7 +17,7 @@
 
 # -- V A R I A B L E S 
 
-SVN_REPOSITORY=http://svn.voria.com/code/synfig-studio
+SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-studio
 
 # -- P R O G R A M S --
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2111] ETL/trunk/NEWS

2008-10-21 Thread genete
Revision: 2111
  http://synfig.svn.sourceforge.net/synfig/?rev=2111&view=rev
Author:   genete
Date: 2008-10-21 14:21:39 + (Tue, 21 Oct 2008)

Log Message:
---
Formal Release of etl 0.04.12

Modified Paths:
--
ETL/trunk/NEWS

Modified: ETL/trunk/NEWS
===
--- ETL/trunk/NEWS  2008-10-20 23:08:50 UTC (rev 2110)
+++ ETL/trunk/NEWS  2008-10-21 14:21:39 UTC (rev 2111)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.04.12 (SVN 2099) - October 14, 2008 - Bug fixes
+ 0.04.12 (SVN 2112) - October 21, 2008 - Bug fixes
  
   * Improve the derivative class for hermites. 
   * Update configure.ac as suggested by autoupdate.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2112] ETL/trunk/NEWS

2008-10-21 Thread genete
Revision: 2112
  http://synfig.svn.sourceforge.net/synfig/?rev=2112&view=rev
Author:   genete
Date: 2008-10-21 14:31:05 + (Tue, 21 Oct 2008)

Log Message:
---
Release of etl 0.04.12 version. *

Modified Paths:
--
ETL/trunk/NEWS

Modified: ETL/trunk/NEWS
===
--- ETL/trunk/NEWS  2008-10-21 14:21:39 UTC (rev 2111)
+++ ETL/trunk/NEWS  2008-10-21 14:31:05 UTC (rev 2112)
@@ -1,6 +1,6 @@
   ETL releases
 
-More detailed notes are available on the releases page:
+More detailed notes are available on the releases page: 
 
 http://synfig.org/Releases
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2113] synfig-core/trunk/NEWS

2008-10-21 Thread genete
Revision: 2113
  http://synfig.svn.sourceforge.net/synfig/?rev=2113&view=rev
Author:   genete
Date: 2008-10-21 14:35:55 + (Tue, 21 Oct 2008)

Log Message:
---
Release of synfig 0.61.09 version. *

Modified Paths:
--
synfig-core/trunk/NEWS

Modified: synfig-core/trunk/NEWS
===
--- synfig-core/trunk/NEWS  2008-10-21 14:31:05 UTC (rev 2112)
+++ synfig-core/trunk/NEWS  2008-10-21 14:35:55 UTC (rev 2113)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.61.09 (SVN 2100) - October 14, 2008 - Bug fixes, features.
+ 0.61.09 (SVN 2113) - October 21, 2008 - Bug fixes, features.
  
   * Segment and Blines tangents are calculated more accurately
   * Don't allow feather to be negative in any layer


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2114] synfig-studio/trunk/NEWS

2008-10-21 Thread genete
Revision: 2114
  http://synfig.svn.sourceforge.net/synfig/?rev=2114&view=rev
Author:   genete
Date: 2008-10-21 14:36:49 + (Tue, 21 Oct 2008)

Log Message:
---
Release of synfigstudio 0.61.09 version. *

Modified Paths:
--
synfig-studio/trunk/NEWS

Modified: synfig-studio/trunk/NEWS
===
--- synfig-studio/trunk/NEWS2008-10-21 14:35:55 UTC (rev 2113)
+++ synfig-studio/trunk/NEWS2008-10-21 14:36:49 UTC (rev 2114)
@@ -4,7 +4,7 @@
 
 http://synfig.org/Releases
 
- 0.61.09 (SVN 2101) - October 14, 2008 - Bug fixes, features
+ 0.61.09 (SVN 2114) - October 21, 2008 - Bug fixes, features
  
   * Fix building synfigstudio in the fink distribution
   * Improved plant layer
@@ -27,6 +27,7 @@
   * Added more functionality to colour and time sliders
   * Added new 'Document' tab in Setup dialog for more user preferences
   * Fixed some crashes and errors
+  * Width tool returned to the Tool Box by default.
 
  0.61.08 (SVN 1839) - March 3, 2008 - Bug fixes, features
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2115] ETL/tags/stable/

2008-10-21 Thread genete
Revision: 2115
  http://synfig.svn.sourceforge.net/synfig/?rev=2115&view=rev
Author:   genete
Date: 2008-10-21 19:27:27 + (Tue, 21 Oct 2008)

Log Message:
---
Stable Tag: Removing old tag

Removed Paths:
-
ETL/tags/stable/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2116] ETL/tags/stable/

2008-10-21 Thread genete
Revision: 2116
  http://synfig.svn.sourceforge.net/synfig/?rev=2116&view=rev
Author:   genete
Date: 2008-10-21 19:28:00 + (Tue, 21 Oct 2008)

Log Message:
---
Stable Tag: Copying everything over

Added Paths:
---
ETL/tags/stable/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2117] ETL/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@_@ VERSION_REV@/

2008-10-21 Thread genete
Revision: 2117
  http://synfig.svn.sourceforge.net/synfig/?rev=2117&view=rev
Author:   genete
Date: 2008-10-21 19:28:52 + (Tue, 21 Oct 2008)

Log Message:
---
Release [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@

Added Paths:
---
ETL/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2118] synfig-core/tags/stable/

2008-10-21 Thread genete
Revision: 2118
  http://synfig.svn.sourceforge.net/synfig/?rev=2118&view=rev
Author:   genete
Date: 2008-10-21 19:30:00 + (Tue, 21 Oct 2008)

Log Message:
---
Stable Tag: Removing old tag

Removed Paths:
-
synfig-core/tags/stable/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2119] synfig-core/tags

2008-10-21 Thread genete
Revision: 2119
  http://synfig.svn.sourceforge.net/synfig/?rev=2119&view=rev
Author:   genete
Date: 2008-10-21 19:30:16 + (Tue, 21 Oct 2008)

Log Message:
---
Stable Tag: Copying everything over

Modified Paths:
--
synfig-core/tags/stable/po/es.po
synfig-core/tags/stable/po/fr.po

Added Paths:
---
synfig-core/tags/stable/

Modified: synfig-core/tags/stable/po/es.po
===
--- synfig-core/trunk/po/es.po  2008-10-21 14:36:49 UTC (rev 2114)
+++ synfig-core/tags/stable/po/es.po2008-10-21 19:30:16 UTC (rev 2119)
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-29 21:46+0200\n"
+"POT-Creation-Date: 2008-10-21 16:15+0200\n"
 "PO-Revision-Date: 2008-10-01 00:16+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
@@ -634,7 +634,7 @@
 msgid "Be Alpha Safe"
 msgstr "Estar a salvo de Transparencia"
 
-#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:161
+#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:162
 #: src/synfig/valuenode_timeloop.cpp:188
 msgid "Time Loop"
 msgstr "Bucle de Tiempo"
@@ -930,7 +930,7 @@
 #: src/modules/mod_geometry/outline.cpp:71
 #: src/modules/mod_geometry/rectangle.cpp:59
 #: src/modules/mod_geometry/region.cpp:64 src/modules/mod_geometry/star.cpp:63
-#: src/synfig/layer_polygon.cpp:60 src/synfig/layer_solidcolor.cpp:56
+#: src/synfig/layer_polygon.cpp:61 src/synfig/layer_solidcolor.cpp:56
 msgid "Geometry"
 msgstr "Geometría"
 
@@ -964,7 +964,7 @@
 
 #: src/modules/mod_geometry/circle.cpp:148
 #: src/modules/mod_noise/distort.cpp:211 src/modules/mod_noise/noise.cpp:263
-#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:134
+#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:135
 #: src/synfig/valuenode_linear.cpp:142
 msgid "Linear"
 msgstr "Linear"
@@ -1102,7 +1102,7 @@
 msgid "The orientation of the star"
 msgstr "La orientación de la estrella"
 
-#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:247
+#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:248
 msgid "Points"
 msgstr "Puntos"
 
@@ -1366,7 +1366,8 @@
 msgstr "Velocidad Perpendicular"
 
 #: src/modules/mod_particle/plant.cpp:416
-msgid "Amount to which shoots tend to grow perpendicular to the tangent to the 
BLine"
+msgid ""
+"Amount to which shoots tend to grow perpendicular to the tangent to the BLine"
 msgstr ""
 "Cantidad que tienden a crecer las ramas en la dirección perpendicular a la "
 "tangente a la línea Beizer"
@@ -1400,7 +1401,7 @@
 msgid "If enabled, render the plant in the opposite direction"
 msgstr "Si se habilita la planta se muestra en la dirección opuesta"
 
-#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:165
+#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:166
 #: src/synfig/valuenode_duplicate.cpp:123 src/synfig/valuenode_step.cpp:138
 msgid "Step"
 msgstr "Paso"
@@ -1436,7 +1437,8 @@
 msgstr "Factor de Aleatoriedad"
 
 #: src/modules/mod_particle/plant.cpp:457
-msgid "Used to scale down all random effects.  Set to zero to disable 
randomness"
+msgid ""
+"Used to scale down all random effects.  Set to zero to disable randomness"
 msgstr ""
 "Usado para escalar todos los efectos aleatorios. Establecer a cero para "
 "desactivar la aleatoriedad"
@@ -1462,27 +1464,27 @@
 msgid "%s was not in PPM format"
 msgstr "%s no estaba en formato PPM"
 
-#: src/synfig/distance.cpp:245
+#: src/synfig/distance.cpp:246
 msgid "Units"
 msgstr "Unidades"
 
-#: src/synfig/distance.cpp:246
+#: src/synfig/distance.cpp:247
 msgid "Pixels"
 msgstr "Pixels"
 
-#: src/synfig/distance.cpp:248
+#: src/synfig/distance.cpp:249
 msgid "Inches"
 msgstr "Pulgadas"
 
-#: src/synfig/distance.cpp:249
+#: src/synfig/distance.cpp:250
 msgid "Meters"
 msgstr "Metros"
 
-#: src/synfig/distance.cpp:250
+#: src/synfig/distance.cpp:251
 msgid "Millimeters"
 msgstr "Milimetros"
 
-#: src/synfig/distance.cpp:251
+#: src/synfig/distance.cpp:252
 msgid "Centimeters"
 msgstr "Centímetros"
 
@@ -1526,7 +1528,7 @@
 msgid "Blend Method"
 msgstr "Metodo de Mezcla"
 
-#: src/synfig/layer_duplicate.cpp:56 src/synfig/valuenode.cpp:163
+#: src/synfig/layer_duplicate.cpp:56 src/synfig/valuenode.cpp:164
 #: src/synfig/valuenode_d

[Synfig-devl] SF.net SVN: synfig:[2121] synfig-studio/tags/stable/

2008-10-21 Thread genete
Revision: 2121
  http://synfig.svn.sourceforge.net/synfig/?rev=2121&view=rev
Author:   genete
Date: 2008-10-21 19:31:19 + (Tue, 21 Oct 2008)

Log Message:
---
Stable Tag: Removing old tag

Removed Paths:
-
synfig-studio/tags/stable/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2120] synfig-core/tags

2008-10-21 Thread genete
Revision: 2120
  http://synfig.svn.sourceforge.net/synfig/?rev=2120&view=rev
Author:   genete
Date: 2008-10-21 19:30:47 + (Tue, 21 Oct 2008)

Log Message:
---
Release [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@

Modified Paths:
--
synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@/po/es.po
synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@/po/fr.po

Added Paths:
---
synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/

Modified: synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@/po/es.po
===
--- synfig-core/trunk/po/es.po  2008-10-21 14:36:49 UTC (rev 2114)
+++ synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@/po/es.po2008-10-21 19:30:47 UTC (rev 2120)
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-29 21:46+0200\n"
+"POT-Creation-Date: 2008-10-21 16:15+0200\n"
 "PO-Revision-Date: 2008-10-01 00:16+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
@@ -634,7 +634,7 @@
 msgid "Be Alpha Safe"
 msgstr "Estar a salvo de Transparencia"
 
-#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:161
+#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:162
 #: src/synfig/valuenode_timeloop.cpp:188
 msgid "Time Loop"
 msgstr "Bucle de Tiempo"
@@ -930,7 +930,7 @@
 #: src/modules/mod_geometry/outline.cpp:71
 #: src/modules/mod_geometry/rectangle.cpp:59
 #: src/modules/mod_geometry/region.cpp:64 src/modules/mod_geometry/star.cpp:63
-#: src/synfig/layer_polygon.cpp:60 src/synfig/layer_solidcolor.cpp:56
+#: src/synfig/layer_polygon.cpp:61 src/synfig/layer_solidcolor.cpp:56
 msgid "Geometry"
 msgstr "Geometría"
 
@@ -964,7 +964,7 @@
 
 #: src/modules/mod_geometry/circle.cpp:148
 #: src/modules/mod_noise/distort.cpp:211 src/modules/mod_noise/noise.cpp:263
-#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:134
+#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:135
 #: src/synfig/valuenode_linear.cpp:142
 msgid "Linear"
 msgstr "Linear"
@@ -1102,7 +1102,7 @@
 msgid "The orientation of the star"
 msgstr "La orientación de la estrella"
 
-#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:247
+#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:248
 msgid "Points"
 msgstr "Puntos"
 
@@ -1366,7 +1366,8 @@
 msgstr "Velocidad Perpendicular"
 
 #: src/modules/mod_particle/plant.cpp:416
-msgid "Amount to which shoots tend to grow perpendicular to the tangent to the 
BLine"
+msgid ""
+"Amount to which shoots tend to grow perpendicular to the tangent to the BLine"
 msgstr ""
 "Cantidad que tienden a crecer las ramas en la dirección perpendicular a la "
 "tangente a la línea Beizer"
@@ -1400,7 +1401,7 @@
 msgid "If enabled, render the plant in the opposite direction"
 msgstr "Si se habilita la planta se muestra en la dirección opuesta"
 
-#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:165
+#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:166
 #: src/synfig/valuenode_duplicate.cpp:123 src/synfig/valuenode_step.cpp:138
 msgid "Step"
 msgstr "Paso"
@@ -1436,7 +1437,8 @@
 msgstr "Factor de Aleatoriedad"
 
 #: src/modules/mod_particle/plant.cpp:457
-msgid "Used to scale down all random effects.  Set to zero to disable 
randomness"
+msgid ""
+"Used to scale down all random effects.  Set to zero to disable randomness"
 msgstr ""
 "Usado para escalar todos los efectos aleatorios. Establecer a cero para "
 "desactivar la aleatoriedad"
@@ -1462,27 +1464,27 @@
 msgid "%s was not in PPM format"
 msgstr "%s no estaba en formato PPM"
 
-#: src/synfig/distance.cpp:245
+#: src/synfig/distance.cpp:246
 msgid "Units"
 msgstr "Unidades"
 
-#: src/synfig/distance.cpp:246
+#: src/synfig/distance.cpp:247
 msgid "Pixels"
 msgstr "Pixels"
 
-#: src/synfig/distance.cpp:248
+#: src/synfig/distance.cpp:249
 msgid "Inches"
 msgstr "Pulgadas"
 
-#: src/synfig/distance.cpp:249
+#: src/synfig/distance.cpp:250
 msgid "Meters"
 msgstr "Metros"
 
-#: src/synfig/distance.cpp:250
+#: src/synfig/distance.cpp:251
 msgid "Millimeters"
 msgstr "Milimetros"
 
-#: src/synfig/distance.cpp:251
+#: src/synfig/distance.cpp:252
 msgid "Centimeters"
 msgstr "Centí

[Synfig-devl] SF.net SVN: synfig:[2124] ETL/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@_@ VERSION_REV@/

2008-10-21 Thread genete
Revision: 2124
  http://synfig.svn.sourceforge.net/synfig/?rev=2124&view=rev
Author:   genete
Date: 2008-10-21 21:16:00 + (Tue, 21 Oct 2008)

Log Message:
---
Remove bad tag

Removed Paths:
-
ETL/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2125] synfig-core/tags/[EMAIL PROTECTED]@_@ [EMAIL PROTECTED]@VERSION_REV@/

2008-10-21 Thread genete
Revision: 2125
  http://synfig.svn.sourceforge.net/synfig/?rev=2125&view=rev
Author:   genete
Date: 2008-10-21 21:17:28 + (Tue, 21 Oct 2008)

Log Message:
---
Remove bad tag

Removed Paths:
-
synfig-core/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2126] synfig-studio/tags/[EMAIL PROTECTED]@_@ [EMAIL PROTECTED]@VERSION_REV@/

2008-10-21 Thread genete
Revision: 2126
  http://synfig.svn.sourceforge.net/synfig/?rev=2126&view=rev
Author:   genete
Date: 2008-10-21 21:18:59 + (Tue, 21 Oct 2008)

Log Message:
---
Remove bad tag

Removed Paths:
-
synfig-studio/tags/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2127] ETL/tags/0.04.12/

2008-10-21 Thread genete
Revision: 2127
  http://synfig.svn.sourceforge.net/synfig/?rev=2127&view=rev
Author:   genete
Date: 2008-10-21 21:24:37 + (Tue, 21 Oct 2008)

Log Message:
---
Release 0.04.12

Added Paths:
---
ETL/tags/0.04.12/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2128] synfig-core/tags

2008-10-21 Thread genete
Revision: 2128
  http://synfig.svn.sourceforge.net/synfig/?rev=2128&view=rev
Author:   genete
Date: 2008-10-21 21:26:43 + (Tue, 21 Oct 2008)

Log Message:
---
Release 0.61.09

Modified Paths:
--
synfig-core/tags/0.61.09/po/es.po
synfig-core/tags/0.61.09/po/fr.po

Added Paths:
---
synfig-core/tags/0.61.09/

Modified: synfig-core/tags/0.61.09/po/es.po
===
--- synfig-core/trunk/po/es.po  2008-10-21 14:36:49 UTC (rev 2114)
+++ synfig-core/tags/0.61.09/po/es.po   2008-10-21 21:26:43 UTC (rev 2128)
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: http://synfig.org/Bugs\n";
-"POT-Creation-Date: 2008-09-29 21:46+0200\n"
+"POT-Creation-Date: 2008-10-21 16:15+0200\n"
 "PO-Revision-Date: 2008-10-01 00:16+0200\n"
 "Last-Translator: Carlos López González <[EMAIL PROTECTED]>\n"
 "Language-Team: Español <[EMAIL PROTECTED]>\n"
@@ -634,7 +634,7 @@
 msgid "Be Alpha Safe"
 msgstr "Estar a salvo de Transparencia"
 
-#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:161
+#: src/modules/lyr_std/timeloop.cpp:57 src/synfig/valuenode.cpp:162
 #: src/synfig/valuenode_timeloop.cpp:188
 msgid "Time Loop"
 msgstr "Bucle de Tiempo"
@@ -930,7 +930,7 @@
 #: src/modules/mod_geometry/outline.cpp:71
 #: src/modules/mod_geometry/rectangle.cpp:59
 #: src/modules/mod_geometry/region.cpp:64 src/modules/mod_geometry/star.cpp:63
-#: src/synfig/layer_polygon.cpp:60 src/synfig/layer_solidcolor.cpp:56
+#: src/synfig/layer_polygon.cpp:61 src/synfig/layer_solidcolor.cpp:56
 msgid "Geometry"
 msgstr "Geometría"
 
@@ -964,7 +964,7 @@
 
 #: src/modules/mod_geometry/circle.cpp:148
 #: src/modules/mod_noise/distort.cpp:211 src/modules/mod_noise/noise.cpp:263
-#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:134
+#: src/synfig/layer_bitmap.cpp:132 src/synfig/valuenode.cpp:135
 #: src/synfig/valuenode_linear.cpp:142
 msgid "Linear"
 msgstr "Linear"
@@ -1102,7 +1102,7 @@
 msgid "The orientation of the star"
 msgstr "La orientación de la estrella"
 
-#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:247
+#: src/modules/mod_geometry/star.cpp:194 src/synfig/distance.cpp:248
 msgid "Points"
 msgstr "Puntos"
 
@@ -1366,7 +1366,8 @@
 msgstr "Velocidad Perpendicular"
 
 #: src/modules/mod_particle/plant.cpp:416
-msgid "Amount to which shoots tend to grow perpendicular to the tangent to the 
BLine"
+msgid ""
+"Amount to which shoots tend to grow perpendicular to the tangent to the BLine"
 msgstr ""
 "Cantidad que tienden a crecer las ramas en la dirección perpendicular a la "
 "tangente a la línea Beizer"
@@ -1400,7 +1401,7 @@
 msgid "If enabled, render the plant in the opposite direction"
 msgstr "Si se habilita la planta se muestra en la dirección opuesta"
 
-#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:165
+#: src/modules/mod_particle/plant.cpp:436 src/synfig/valuenode.cpp:166
 #: src/synfig/valuenode_duplicate.cpp:123 src/synfig/valuenode_step.cpp:138
 msgid "Step"
 msgstr "Paso"
@@ -1436,7 +1437,8 @@
 msgstr "Factor de Aleatoriedad"
 
 #: src/modules/mod_particle/plant.cpp:457
-msgid "Used to scale down all random effects.  Set to zero to disable 
randomness"
+msgid ""
+"Used to scale down all random effects.  Set to zero to disable randomness"
 msgstr ""
 "Usado para escalar todos los efectos aleatorios. Establecer a cero para "
 "desactivar la aleatoriedad"
@@ -1462,27 +1464,27 @@
 msgid "%s was not in PPM format"
 msgstr "%s no estaba en formato PPM"
 
-#: src/synfig/distance.cpp:245
+#: src/synfig/distance.cpp:246
 msgid "Units"
 msgstr "Unidades"
 
-#: src/synfig/distance.cpp:246
+#: src/synfig/distance.cpp:247
 msgid "Pixels"
 msgstr "Pixels"
 
-#: src/synfig/distance.cpp:248
+#: src/synfig/distance.cpp:249
 msgid "Inches"
 msgstr "Pulgadas"
 
-#: src/synfig/distance.cpp:249
+#: src/synfig/distance.cpp:250
 msgid "Meters"
 msgstr "Metros"
 
-#: src/synfig/distance.cpp:250
+#: src/synfig/distance.cpp:251
 msgid "Millimeters"
 msgstr "Milimetros"
 
-#: src/synfig/distance.cpp:251
+#: src/synfig/distance.cpp:252
 msgid "Centimeters"
 msgstr "Centímetros"
 
@@ -1526,7 +1528,7 @@
 msgid "Blend Method"
 msgstr "Metodo de Mezcla"
 
-#: src/synfig/layer_duplicate.cpp:56 src/synfig/valuenode.cpp:163
+#: src/synfig/layer_duplicate.cpp:56 src/synfig/valuenode.cpp:164
 #: src/synfig/valuenode_duplicate.cpp:206
 ms

[Synfig-devl] SF.net SVN: synfig:[2131] synfig-core/trunk/src/synfig/loadcanvas.cpp

2008-10-26 Thread genete
Revision: 2131
  http://synfig.svn.sourceforge.net/synfig/?rev=2131&view=rev
Author:   genete
Date: 2008-10-26 12:36:00 + (Sun, 26 Oct 2008)

Log Message:
---
FIx a typo in the previous commit

Modified Paths:
--
synfig-core/trunk/src/synfig/loadcanvas.cpp

Modified: synfig-core/trunk/src/synfig/loadcanvas.cpp
===
--- synfig-core/trunk/src/synfig/loadcanvas.cpp 2008-10-26 12:15:50 UTC (rev 
2130)
+++ synfig-core/trunk/src/synfig/loadcanvas.cpp 2008-10-26 12:36:00 UTC (rev 
2131)
@@ -1886,7 +1886,7 @@
if(element->get_attribute("width"))
{
int width = 
atoi(element->get_attribute("width")->get_value().c_str());
-   if (width < -1)
+   if (width < 1)
fatal_error(element, _("Canvas with width or height 
less than one is not allowed"));
canvas->rend_desc().set_w(width);
}
@@ -1894,7 +1894,7 @@
if(element->get_attribute("height"))
{
int height = 
atoi(element->get_attribute("height")->get_value().c_str());
-   if (height < -1)
+   if (height < 1)
fatal_error(element, _("Canvas with width or height 
less than one is not allowed"));
canvas->rend_desc().set_h(height);
}


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2190] ETL/trunk/ETL/_stringf.h

2008-11-12 Thread genete
Revision: 2190
  http://synfig.svn.sourceforge.net/synfig/?rev=2190&view=rev
Author:   genete
Date: 2008-11-12 19:01:34 + (Wed, 12 Nov 2008)

Log Message:
---
Stop a bunch of compile warnings about not used returned value from vasprintf 
function in _string.h file.

Modified Paths:
--
ETL/trunk/ETL/_stringf.h

Modified: ETL/trunk/ETL/_stringf.h
===
--- ETL/trunk/ETL/_stringf.h2008-11-11 19:51:53 UTC (rev 2189)
+++ ETL/trunk/ETL/_stringf.h2008-11-12 19:01:34 UTC (rev 2190)
@@ -91,9 +91,12 @@
 #ifdef HAVE_VASPRINTF  // This is the preferred method (and safest)
char *buffer;
std::string ret;
-   vasprintf(&buffer,format,args);
-   ret=buffer;
-   free(buffer);
+   int i=vasprintf(&buffer,format,args);
+   if (i>-1) 
+   {
+   ret=buffer;
+   free(buffer);
+   }
return ret;
 #else
 #ifdef HAVE_VSNPRINTF  // This is the secondary method (Safe, but bulky)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2294] synfig-core/trunk/src/synfig/matrix.h

2008-11-27 Thread genete
Revision: 2294
  http://synfig.svn.sourceforge.net/synfig/?rev=2294&view=rev
Author:   genete
Date: 2008-11-27 23:32:38 + (Thu, 27 Nov 2008)

Log Message:
---
Add matrix.h. Matrix implementation for bones.

Added Paths:
---
synfig-core/trunk/src/synfig/matrix.h

Added: synfig-core/trunk/src/synfig/matrix.h
===
--- synfig-core/trunk/src/synfig/matrix.h   (rev 0)
+++ synfig-core/trunk/src/synfig/matrix.h   2008-11-27 23:32:38 UTC (rev 
2294)
@@ -0,0 +1,229 @@
+/* === S Y N F I G = */
+/*!\file matrix.h
+** \brief Matrix definitions for 2D affine transformations
+**  
+** $Id$
+**
+** \legal
+** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Carlos López
+**
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
+**
+** This package is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public License for more details.
+** \endlegal
+*/
+/* = */
+
+/* === S T A R T === */
+
+#ifndef __SYNFIG_MATRIX_H
+#define __SYNFIG_MATRIX_H
+
+/* === H E A D E R S === */
+
+#include "angle.h"
+#include "real.h"
+#include "vector.h"
+#include 
+
+/* === M A C R O S = */
+
+
+#ifdef WIN32
+#include 
+#ifndef isnan
+extern "C" { int _isnan(double x); }
+#define isnan _isnan
+#endif
+#endif
+
+// For some reason isnan() isn't working on macosx any more.
+// This is a quick fix.
+#if defined(__APPLE__) && !defined(SYNFIG_ISNAN_FIX)
+#ifdef isnan
+#undef isnan
+#endif
+inline bool isnan(double x) { return x != x; }
+inline bool isnan(float x) { return x != x; }
+#define SYNFIG_ISNAN_FIX 1
+#endif
+
+
+/* === T Y P E D E F S = */
+
+/* === C L A S S E S & S T R U C T S === */
+
+namespace synfig {
+
+/*!\class Matrix
+** \todo writeme
+*/
+class Matrix
+{
+public:
+   typedef Real value_type;
+
+private:
+   //! The matrix array
+   value_type m00, m01, m02; 
+   value_type m10, m11, m12; 
+   value_type m20, m21, m22; 
+   // Index convention
+   // 00 01 02 
+   // 10 11 12
+   // 20 21 22
+   // vectors are premultiplied when the matrix transformation is applied
+   // we consider the vectors as [1]x[3] arrays.
+   // [1]x[3] * [3]x[3] = [1]x[3]
+   // vector  * matrix  = vector
+   // In affine transformation matrixes the values of 
+   // m02=0, m12=0 and m22=1 for non projective transformations.
+
+public:
+   //!Deafult constructor makes a identity matrix
+   Matrix() { 
+   m00=1.0; m01=0.0; m02=0.0;
+   m10=0.0; m11=1.0; m12=0.0;
+   m20=0.0; m21=0.0; m22=1.0;
+   }
+
+   //!Constructor from Angle create a rotate matrix
+   Matrix(const Angle &a){
+   (*this).set_rotate(a);
+   }
+   //!set_identity member. Set an identity matrix
+   Matrix & 
+   set_identity(){ 
+   m00=1.0; m01=0.0; m02=0.0;
+   m10=0.0; m11=1.0; m12=0.0;
+   m20=0.0; m21=0.0; m22=1.0;
+return (*this);
+}
+   //!set_scale member fucntion. Sets a scale matrix
+   //! @param sx Scale by X axis
+   //! @param sy Scale by Y axis
+   //! @return A matrix reference filled with the sx, sy values
+   Matrix & 
+   set_scale(const value_type &sx, const value_type &sy){
+   m00=sx;  m01=0.0; m02=0.0;
+   m10=0.0; m11=sy;  m12=0.0;
+   m20=0.0; m21=0.0; m22=1.0;
+return (*this);
+   }
+   //!set_rotate member function. Sets a rotate matrix
+   //! @param a Rotation angle counterclock wise
+   //! @return A matrix reference filled with the proper rotation 
parameters
+   Matrix & 
+   set_rotate(const Angle &a){
+   value_type c(Angle::cos(a).get());
+   value_type s(Angle::sin(a).get());
+   m00= c; m01=s;m02=0.0;
+   m10=-1.0*s; m11=c;m12=0.0;
+   m20=0.0;m21=0.0;  m22=1.0;
+return (*this);
+ 

[Synfig-devl] SF.net SVN: synfig:[2353] synfig-studio/trunk/src/gtkmm/workarea.cpp

2009-03-17 Thread genete
Revision: 2353
  http://synfig.svn.sourceforge.net/synfig/?rev=2353&view=rev
Author:   genete
Date: 2009-03-17 22:16:02 + (Tue, 17 Mar 2009)

Log Message:
---
Fix bug #2652974. Reverts revision r2326 to previous state.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/workarea.cpp

Modified: synfig-studio/trunk/src/gtkmm/workarea.cpp
===
--- synfig-studio/trunk/src/gtkmm/workarea.cpp  2009-02-26 07:16:48 UTC (rev 
2352)
+++ synfig-studio/trunk/src/gtkmm/workarea.cpp  2009-03-17 22:16:02 UTC (rev 
2353)
@@ -124,8 +124,8 @@
Time time(rend_desc().get_time_start());
 
onion_skin_queue.push_back(time);
-   onion_skin_queue.push_back(time-1);
-   onion_skin_queue.push_back(time+1);
+   //onion_skin_queue.push_back(time-1);
+   //onion_skin_queue.push_back(time+1);
 
try
{
@@ -420,8 +420,8 @@
Time time(rend_desc().get_time_start());
 
onion_skin_queue.push_back(time);
-   onion_skin_queue.push_back(time-1);
-   onion_skin_queue.push_back(time+1);
+   //onion_skin_queue.push_back(time-1);
+   //onion_skin_queue.push_back(time+1);
if(!onionskin)
return;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2354] synfig-studio/trunk/src/gtkmm/workarea.cpp

2009-03-18 Thread genete
Revision: 2354
  http://synfig.svn.sourceforge.net/synfig/?rev=2354&view=rev
Author:   genete
Date: 2009-03-18 20:58:38 + (Wed, 18 Mar 2009)

Log Message:
---
Don't push back any onion skin queue unless onionskin boolean is set to true.

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/workarea.cpp

Modified: synfig-studio/trunk/src/gtkmm/workarea.cpp
===
--- synfig-studio/trunk/src/gtkmm/workarea.cpp  2009-03-17 22:16:02 UTC (rev 
2353)
+++ synfig-studio/trunk/src/gtkmm/workarea.cpp  2009-03-18 20:58:38 UTC (rev 
2354)
@@ -123,10 +123,11 @@
 
Time time(rend_desc().get_time_start());
 
+   if(!onionskin)
+   return;
onion_skin_queue.push_back(time);
//onion_skin_queue.push_back(time-1);
//onion_skin_queue.push_back(time+1);
-
try
{
onion_skin_queue.push_back(
@@ -419,12 +420,11 @@
 
Time time(rend_desc().get_time_start());
 
+   if(!onionskin)
+   return;
onion_skin_queue.push_back(time);
//onion_skin_queue.push_back(time-1);
//onion_skin_queue.push_back(time+1);
-   if(!onionskin)
-   return;
-
try
{
onion_skin_queue.push_back(


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] SF.net SVN: synfig:[2361] synfig-studio/trunk/src

2009-04-22 Thread genete
Revision: 2361
  http://synfig.svn.sourceforge.net/synfig/?rev=2361&view=rev
Author:   genete
Date: 2009-04-22 14:28:06 + (Wed, 22 Apr 2009)

Log Message:
---
Apply patch #17: Implement a Fill/Outline system in place of 
Foreground/Background. Thanks 
nikitakit

Modified Paths:
--
synfig-studio/trunk/src/gtkmm/dialog_color.cpp
synfig-studio/trunk/src/gtkmm/dialog_color.h
synfig-studio/trunk/src/gtkmm/mod_palette/dock_paledit.cpp
synfig-studio/trunk/src/gtkmm/state_bline.cpp
synfig-studio/trunk/src/gtkmm/state_circle.cpp
synfig-studio/trunk/src/gtkmm/state_draw.cpp
synfig-studio/trunk/src/gtkmm/state_eyedrop.cpp
synfig-studio/trunk/src/gtkmm/state_fill.cpp
synfig-studio/trunk/src/gtkmm/state_polygon.cpp
synfig-studio/trunk/src/gtkmm/state_rectangle.cpp
synfig-studio/trunk/src/gtkmm/state_sketch.cpp
synfig-studio/trunk/src/gtkmm/state_star.cpp
synfig-studio/trunk/src/gtkmm/state_stroke.cpp
synfig-studio/trunk/src/gtkmm/widget_defaults.cpp
synfig-studio/trunk/src/gtkmm/widget_defaults.h
synfig-studio/trunk/src/synfigapp/action.cpp
synfig-studio/trunk/src/synfigapp/actions/colorset.cpp
synfig-studio/trunk/src/synfigapp/actions/colorset.h
synfig-studio/trunk/src/synfigapp/canvasinterface.cpp
synfig-studio/trunk/src/synfigapp/inputdevice.cpp
synfig-studio/trunk/src/synfigapp/inputdevice.h
synfig-studio/trunk/src/synfigapp/main.cpp
synfig-studio/trunk/src/synfigapp/main.h

Modified: synfig-studio/trunk/src/gtkmm/dialog_color.cpp
===
--- synfig-studio/trunk/src/gtkmm/dialog_color.cpp  2009-04-12 13:59:11 UTC 
(rev 2360)
+++ synfig-studio/trunk/src/gtkmm/dialog_color.cpp  2009-04-22 14:28:06 UTC 
(rev 2361)
@@ -63,10 +63,10 @@
set_type_hint(Gdk::WINDOW_TYPE_HINT_UTILITY);
 
create_color_edit_widget();
-   create_set_color_button("synfig-set_fg_color", _("Set as Foreground"), 
0,
-   sigc::mem_fun(*this, &Dialog_Color::on_set_fg_pressed));
-   create_set_color_button("synfig-set_bg_color", _("Set as Background"), 
1,
-   sigc::mem_fun(*this, &Dialog_Color::on_set_bg_pressed));
+   create_set_color_button("synfig-set_fg_color", _("Set as Outline"), 0,
+   sigc::mem_fun(*this, &Dialog_Color::on_set_oc_pressed));
+   create_set_color_button("synfig-set_bg_color", _("Set as Fill"), 1,
+   sigc::mem_fun(*this, &Dialog_Color::on_set_fc_pressed));
create_close_button();
 
add_accel_group(App::ui_manager()->get_accel_group());
@@ -123,18 +123,18 @@
 }
 
 void
-Dialog_Color::on_set_fg_pressed()
+Dialog_Color::on_set_oc_pressed()
 {
busy_ = true;
-   synfigapp::Main::set_foreground_color(get_color());
+   synfigapp::Main::set_outline_color(get_color());
busy_ = false;
 }
 
 void
-Dialog_Color::on_set_bg_pressed()
+Dialog_Color::on_set_fc_pressed()
 {
busy_ = true;
-   synfigapp::Main::set_background_color(get_color());
+   synfigapp::Main::set_fill_color(get_color());
busy_ = false;
 }
 

Modified: synfig-studio/trunk/src/gtkmm/dialog_color.h
===
--- synfig-studio/trunk/src/gtkmm/dialog_color.h2009-04-12 13:59:11 UTC 
(rev 2360)
+++ synfig-studio/trunk/src/gtkmm/dialog_color.h2009-04-22 14:28:06 UTC 
(rev 2361)
@@ -63,8 +63,8 @@
void create_close_button();
 
void on_color_changed();
-   void on_set_fg_pressed();
-   void on_set_bg_pressed();
+   void on_set_oc_pressed();
+   void on_set_fc_pressed();
bool on_close_pressed();
 
 public:

Modified: synfig-studio/trunk/src/gtkmm/mod_palette/dock_paledit.cpp
===
--- synfig-studio/trunk/src/gtkmm/mod_palette/dock_paledit.cpp  2009-04-12 
13:59:11 UTC (rev 2360)
+++ synfig-studio/trunk/src/gtkmm/mod_palette/dock_paledit.cpp  2009-04-22 
14:28:06 UTC (rev 2361)
@@ -126,7 +126,7 @@
"palette-add-color",
Gtk::StockID("gtk-add"),
_("Add Color"),
-   _("Add current foreground color\nto the palette")
+   _("Add current outline color\nto the palette")
),
sigc::mem_fun(
*this,
@@ -151,7 +151,7 @@
/*
add_button(
Gtk::StockID("gtk-add"),
-   _("Add current foreground color\nto the palette")
+   _("Add current outline color\nto the palette")
)->signal_clicked().connect(
sigc::mem_fun(
*this,
@@ -183,7 +183,7 @@
 void
 Dock_PalEdit::o

[Synfig-devl] SF.net SVN: synfig:[2362] synfig-core/trunk/src/synfig

2009-04-22 Thread genete
Revision: 2362
  http://synfig.svn.sourceforge.net/synfig/?rev=2362&view=rev
Author:   genete
Date: 2009-04-22 15:43:31 + (Wed, 22 Apr 2009)

Log Message:
---
Apply patch #18: Valuenode Type Power. Thanks to nikitakit.

Modified Paths:
--
synfig-core/trunk/src/synfig/Makefile.am
synfig-core/trunk/src/synfig/valuenode.cpp

Added Paths:
---
synfig-core/trunk/src/synfig/valuenode_pow.cpp
synfig-core/trunk/src/synfig/valuenode_pow.h

Modified: synfig-core/trunk/src/synfig/Makefile.am
===
--- synfig-core/trunk/src/synfig/Makefile.am2009-04-22 14:28:06 UTC (rev 
2361)
+++ synfig-core/trunk/src/synfig/Makefile.am2009-04-22 15:43:31 UTC (rev 
2362)
@@ -84,6 +84,7 @@
valuenode_join.h \
valuenode_linear.h \
valuenode_log.h \
+   valuenode_pow.h \
valuenode_radialcomposite.h \
valuenode_range.h \
valuenode_realstring.h \
@@ -132,6 +133,7 @@
valuenode_join.cpp \
valuenode_linear.cpp \
valuenode_log.cpp \
+   valuenode_pow.cpp \
valuenode_radialcomposite.cpp \
valuenode_range.cpp \
valuenode_realstring.cpp \

Modified: synfig-core/trunk/src/synfig/valuenode.cpp
===
--- synfig-core/trunk/src/synfig/valuenode.cpp  2009-04-22 14:28:06 UTC (rev 
2361)
+++ synfig-core/trunk/src/synfig/valuenode.cpp  2009-04-22 15:43:31 UTC (rev 
2362)
@@ -86,6 +86,7 @@
 #include "valuenode_anglestring.h"
 #include "valuenode_intstring.h"
 #include "valuenode_log.h"
+#include "valuenode_pow.h"
 
 #include "layer.h"
 
@@ -181,6 +182,7 @@
ADD_VALUENODE(ValueNode_Logarithm,"logarithm",  
  _("Logarithm"),RELEASE_VERSION_0_61_09); // SVN r2034
 
ADD_VALUENODE(ValueNode_Greyed,   "greyed", 
  _("Greyed"),   RELEASE_VERSION_0_61_10); // SVN r2305
+   ADD_VALUENODE(ValueNode_Pow,  "power",
_("Power"),RELEASE_VERSION_0_61_09); // SVN r2362
 
 #undef ADD_VALUENODE
 #undef ADD_VALUENODE2

Added: synfig-core/trunk/src/synfig/valuenode_pow.cpp
===
--- synfig-core/trunk/src/synfig/valuenode_pow.cpp  
(rev 0)
+++ synfig-core/trunk/src/synfig/valuenode_pow.cpp  2009-04-22 15:43:31 UTC 
(rev 2362)
@@ -0,0 +1,204 @@
+/* === S Y N F I G = */
+/*!\file valuenode_pow.cpp
+** \brief Implementation of the "Power" valuenode conversion.
+**
+** $Id$
+**
+** \legal
+** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007, 2008 Chris Moore
+** Copyright (c) 2009 Nikita Kitaev
+**
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
+**
+** This package is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public License for more details.
+** \endlegal
+*/
+/* = */
+
+/* === H E A D E R S === */
+
+#ifdef USING_PCH
+#  include "pch.h"
+#else
+#ifdef HAVE_CONFIG_H
+#  include 
+#endif
+
+#include "valuenode_pow.h"
+#include "valuenode_const.h"
+#include "general.h"
+
+#endif
+
+/* === U S I N G === */
+
+using namespace std;
+using namespace etl;
+using namespace synfig;
+
+/* === M A C R O S = */
+
+/* === G L O B A L S === */
+
+/* === P R O C E D U R E S = */
+
+/* === M E T H O D S === */
+
+ValueNode_Pow::ValueNode_Pow(const ValueBase &x):
+   LinkableValueNode(x.get_type())
+{
+   Real value(x.get(Real()));
+   Real infinity(99.0);
+   Real epsilon(0.01);
+
+   set_link("base", ValueNode_Const::create(Real(value)));
+   set_link("power",ValueNode_Const::create(Real(1)));
+   set_link("epsilon",  ValueNode_Const::create(Real(epsilon)));
+   set_link("infinite", ValueNode_Const::c

[Synfig-devl] Carlos Lopez : Remove assert(o) call because this function

2009-06-16 Thread Genete
Module: synfig
Branch: master
Commit: f8df1636f328f694a2b9c511e6c750ee57162dbe
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f8df1636f328f694a2b9c511e6c750ee57162dbe

Author: Carlos Lopez 
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp 
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -409,7 +409,7 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback 
*/*cb*/)
 {
-   assert(0);  // shouldn't be called?
+   //assert(0);// shouldn't be called?
surface=surface_buffer;
return true;
 }


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove assert(o) call because this function

2009-06-16 Thread Genete
Module: synfig
Branch: genete_master
Commit: cc5bd2cfec356289b1113f4c4b98dc6a6abfd800
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=cc5bd2cfec356289b1113f4c4b98dc6a6abfd800

Author: Carlos Lopez 
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp 
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -409,7 +409,7 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback 
*/*cb*/)
 {
-   assert(0);  // shouldn't be called?
+   //assert(0);// shouldn't be called?
surface=surface_buffer;
return true;
 }


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Initial import of SVG importer

2009-06-16 Thread Genete
Module: synfig
Branch: genete_svg
Commit: 5584aaf44ff3156a136fba65dcf229c00511f5a1
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=5584aaf44ff3156a136fba65dcf229c00511f5a1

Author: Carlos Lopez 
Date:   Tue Jun 16 16:24:01 2009 +0200

Initial import of SVG importer

---

 synfig-core/trunk/src/modules/mod_svg/Makefile.am  |   28 +
 .../trunk/src/modules/mod_svg/layer_svg.cpp|  210 ++
 synfig-core/trunk/src/modules/mod_svg/layer_svg.h  |  132 +
 synfig-core/trunk/src/modules/mod_svg/main.cpp |  112 +
 synfig-core/trunk/src/modules/mod_svg/mod_svg.nsh  |   42 +
 .../trunk/src/modules/mod_svg/svg_parser.cpp   | 3807 
 synfig-core/trunk/src/modules/mod_svg/svg_parser.h |  360 ++
 .../trunk/src/modules/mod_svg/unmod_svg.nsh|   16 +
 .../trunk/src/modules/synfig_modules.cfg.in|1 +
 synfig-core/trunk/src/synfig/loadcanvas.cpp|   81 +
 synfig-core/trunk/src/synfig/loadcanvas.h  |2 +
 .../trunk/src/synfigapp/canvasinterface.cpp|   30 +-
 12 files changed, 4819 insertions(+), 2 deletions(-)

Diff:   
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commitdiff;h=5584aaf44ff3156a136fba65dcf229c00511f5a1

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Add preferred and predefined FPS options in the Setup Dialog

2009-06-17 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 01ac0bd92a2342a4cdc10ad5e8300a1bf79a0f4b
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=01ac0bd92a2342a4cdc10ad5e8300a1bf79a0f4b

Author: Carlos Lopez 
Date:   Thu Jun 18 00:32:38 2009 +0200

Add preferred and predefined FPS options in the Setup Dialog

---

 synfig-studio/trunk/src/gtkmm/app.cpp  |   30 ++-
 synfig-studio/trunk/src/gtkmm/app.h|2 +
 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |   50 +++-
 synfig-studio/trunk/src/gtkmm/dialog_setup.h   |7 +++
 4 files changed, 87 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp 
b/synfig-studio/trunk/src/gtkmm/app.cpp
index ffca6fd..ee4cfde 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -280,6 +280,8 @@ String 
studio::App::custom_filename_prefix(DEFAULT_FILENAME_PREFIX);
 int studio::App::preferred_x_size=480;
 int studio::App::preferred_y_size=270;
 String studio::App::predefined_size(DEFAULT_PREDEFINED_SIZE);
+String studio::App::predefined_fps(DEFAULT_PREDEFINED_FPS);
+float studio::App::preferred_fps=24.0;
 #ifdef USE_OPEN_FOR_URLS
 String studio::App::browser_command("open"); // MacOS only
 #else
@@ -542,6 +544,16 @@ public:
value=strprintf("%s",App::predefined_size.c_str());
return true;
}
+   if(key=="preferred_fps")
+   {
+   value=strprintf("%f",App::preferred_fps);
+   return true;
+   }
+   if(key=="predefined_fps")
+   {
+   value=strprintf("%s",App::predefined_fps.c_str());
+   return true;
+   }
 
return synfigapp::Settings::get_value(key,value);
}
@@ -639,6 +651,18 @@ public:
App::predefined_size=value;
return true;
}
+   if(key=="preferred_fps")
+   {
+   float i(atof(value.c_str()));
+   App::preferred_fps=i;
+   return true;
+   }
+   if(key=="predefined_fps")
+   {
+   App::predefined_fps=value;
+   return true;
+   }
+
return synfigapp::Settings::set_value(key,value);
}
 
@@ -661,6 +685,8 @@ public:
ret.push_back("preferred_x_size");
ret.push_back("preferred_y_size");
ret.push_back("predefined_size");
+   ret.push_back("preferred_fps");
+   ret.push_back("predefined_fps");
return ret;
}
 };
@@ -1739,6 +1765,8 @@ App::reset_initial_window_configuration()
synfigapp::Main::settings().set_value("pref.preferred_x_size","480");
synfigapp::Main::settings().set_value("pref.preferred_y_size","270");

synfigapp::Main::settings().set_value("pref.predefined_size",DEFAULT_PREDEFINED_SIZE);
+   synfigapp::Main::settings().set_value("pref.preferred_fps","24.0");
+   
synfigapp::Main::settings().set_value("pref.predefined_fps",DEFAULT_PREDEFINED_FPS);
synfigapp::Main::settings().set_value("window.toolbox.pos","4 4");
 }
 
@@ -2409,7 +2437,7 @@ App::new_instance()
canvas->set_name(file_name);
file_name += ".sifz";
 
-   canvas->rend_desc().set_frame_rate(24.0);
+   canvas->rend_desc().set_frame_rate(preferred_fps);
canvas->rend_desc().set_time_start(0.0);
canvas->rend_desc().set_time_end(5.0);
canvas->rend_desc().set_x_res(DPI2DPM(72.0f));
diff --git a/synfig-studio/trunk/src/gtkmm/app.h 
b/synfig-studio/trunk/src/gtkmm/app.h
index 507bc75..89cd528 100644
--- a/synfig-studio/trunk/src/gtkmm/app.h
+++ b/synfig-studio/trunk/src/gtkmm/app.h
@@ -204,6 +204,8 @@ public:
static int preferred_x_size;
static int preferred_y_size;
static synfig::String predefined_size;
+   static synfig::String predefined_fps;
+   static float preferred_fps;
/*
  -- ** -- S I G N A L S ---
*/
diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index 9f849b0..7406566 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -84,7 +84,8 @@ Dialog_Setup::Dialog_Setup():
toggle_restrict_radius_ducks(_("Restrict Real-Valued Ducks to Top Right 
Quadrant")),
toggle_resize_imported_images(_("Scale New Imported Images to Fit 
Canvas")),
adj_pref_x_size(480,1,1,1,10,0),
-   adj_pref_y_size(270,1,1,1,10,0)
+   adj_pref_y_size(270,1,1,1,10,0),
+   adj_pref_fps(24.0,1.0,100,0.1,1,0)
 
{
// Setup the buttons
@@ -262,6 +263

[Synfig-devl] Carlos Lopez : Disable fps spin button when combo box selection is a predefined one.

2009-06-17 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: f6d225414c538a10ee0f5e8f94d15bb3554da249
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f6d225414c538a10ee0f5e8f94d15bb3554da249

Author: Carlos Lopez 
Date:   Thu Jun 18 00:54:50 2009 +0200

Disable fps spin button when combo box selection is a predefined one.
Enable in other case.

---

 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |5 +++--
 synfig-studio/trunk/src/gtkmm/dialog_setup.h   |2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index 7406566..175ab36 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -37,7 +37,6 @@
 #include 
 #include 
 #include 
-#include 
 #include "widget_enum.h"
 #include "autorecover.h"
 
@@ -281,7 +280,7 @@ Dialog_Setup::Dialog_Setup():
fps_template_combo->prepend_text(DEFAULT_PREDEFINED_FPS);
 
// Document - New Document FPS
-   Gtk::SpinButton* pref_fps_spinbutton(manage(new 
Gtk::SpinButton(adj_pref_fps,1,3)));
+   pref_fps_spinbutton=Gtk::manage(new Gtk::SpinButton(adj_pref_fps,1,3));
attach_label(document_table,_("New Document FPS"),4, xpadding, 
ypadding);
document_table->attach(*pref_fps_spinbutton, 1, 2, 4, 
5,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(*pref_fps_spinbutton,_("Frames per second of the new 
created document"));
@@ -418,9 +417,11 @@ Dialog_Setup::on_fps_template_combo_change()
String selection(fps_template_combo->get_active_text());
if(selection==DEFAULT_PREDEFINED_FPS)
{
+   pref_fps_spinbutton->set_sensitive(true);
return;
}
adj_pref_fps.set_value(atof(selection.c_str()));
+   pref_fps_spinbutton->set_sensitive(false);
return;
 }
 
diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.h 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
index b9c8c98..36342ae 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.h
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
@@ -40,6 +40,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -197,6 +198,7 @@ class Dialog_Setup : public Gtk::Dialog
Gtk::Adjustment adj_pref_x_size;
Gtk::Adjustment adj_pref_y_size;
Gtk::Adjustment adj_pref_fps;
+   Gtk::SpinButton* pref_fps_spinbutton;
Gtk::Tooltips tooltips_;
 public:
 


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Assure to call Gtk::manage instead of any other version.

2009-06-17 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: ed01e07e5df0c7a99b97b16e3e892e8f2cc98a9e
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=ed01e07e5df0c7a99b97b16e3e892e8f2cc98a9e

Author: Carlos Lopez 
Date:   Thu Jun 18 00:58:43 2009 +0200

Assure to call Gtk::manage instead of any other version.

---

 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index 175ab36..3931dd3 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -228,13 +228,13 @@ Dialog_Setup::Dialog_Setup():
tooltips_.set_tip(textbox_custom_filename_prefix,_("File name prefix 
for the new created document"));
 
// Document - New Document X size
-   Gtk::SpinButton* pref_x_size_spinbutton(manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0)));
+   Gtk::SpinButton* pref_x_size_spinbutton(Gtk::manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0)));
attach_label(document_table,_("New Document X size"),1, xpadding, 
ypadding);
document_table->attach(*pref_x_size_spinbutton, 1, 2, 1, 
2,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(*pref_x_size_spinbutton,_("Width in pixels of the new 
created document"));
 
// Document - New Document Y size
-   Gtk::SpinButton* pref_y_size_spinbutton(manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0)));
+   Gtk::SpinButton* pref_y_size_spinbutton(Gtk::manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0)));
attach_label(document_table,_("New Document Y size"),2, xpadding, 
ypadding);
document_table->attach(*pref_y_size_spinbutton, 1, 2, 2, 
3,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(*pref_y_size_spinbutton,_("High in pixels of the new 
created document"));


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Disable spin buttons for x and y size of new Documents

2009-06-18 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: e41a7cf093a3518d7cbb5919698a5a67b60fc900
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=e41a7cf093a3518d7cbb5919698a5a67b60fc900

Author: Carlos Lopez 
Date:   Thu Jun 18 23:26:28 2009 +0200

Disable spin buttons for x and y size of new Documents
when a predefined size is selected.

---

 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |9 +++--
 synfig-studio/trunk/src/gtkmm/dialog_setup.h   |2 ++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index 3931dd3..dfe377e 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -228,13 +228,13 @@ Dialog_Setup::Dialog_Setup():
tooltips_.set_tip(textbox_custom_filename_prefix,_("File name prefix 
for the new created document"));
 
// Document - New Document X size
-   Gtk::SpinButton* pref_x_size_spinbutton(Gtk::manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0)));
+   pref_x_size_spinbutton=Gtk::manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0));
attach_label(document_table,_("New Document X size"),1, xpadding, 
ypadding);
document_table->attach(*pref_x_size_spinbutton, 1, 2, 1, 
2,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(*pref_x_size_spinbutton,_("Width in pixels of the new 
created document"));
 
// Document - New Document Y size
-   Gtk::SpinButton* pref_y_size_spinbutton(Gtk::manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0)));
+   pref_y_size_spinbutton=Gtk::manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0));
attach_label(document_table,_("New Document Y size"),2, xpadding, 
ypadding);
document_table->attach(*pref_y_size_spinbutton, 1, 2, 2, 
3,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
tooltips_.set_tip(*pref_y_size_spinbutton,_("High in pixels of the new 
created document"));
@@ -398,6 +398,8 @@ Dialog_Setup::on_size_template_combo_change()
String selection(size_template_combo->get_active_text());
if(selection==DEFAULT_PREDEFINED_SIZE)
{
+   pref_y_size_spinbutton->set_sensitive(true);
+   pref_x_size_spinbutton->set_sensitive(true);
return;
}
String::size_type locx=selection.find_first_of("x"); // here should be 
some comparison with string::npos
@@ -408,6 +410,9 @@ Dialog_Setup::on_size_template_combo_change()
int y=atoi(y_size.c_str());
adj_pref_x_size.set_value(x);
adj_pref_y_size.set_value(y);
+   pref_y_size_spinbutton->set_sensitive(false);
+   pref_x_size_spinbutton->set_sensitive(false);
+
return;
 }
 
diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.h 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
index 36342ae..c1cb994 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.h
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
@@ -199,6 +199,8 @@ class Dialog_Setup : public Gtk::Dialog
Gtk::Adjustment adj_pref_y_size;
Gtk::Adjustment adj_pref_fps;
Gtk::SpinButton* pref_fps_spinbutton;
+   Gtk::SpinButton* pref_y_size_spinbutton;
+   Gtk::SpinButton* pref_x_size_spinbutton;
Gtk::Tooltips tooltips_;
 public:
 


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Update my copyright

2009-06-18 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 970dffd6d364d177f772abccaffaad7a7d0d5bd6
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=970dffd6d364d177f772abccaffaad7a7d0d5bd6

Author: Carlos Lopez 
Date:   Thu Jun 18 23:36:50 2009 +0200

Update my copyright

---

 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |2 +-
 synfig-studio/trunk/src/gtkmm/dialog_setup.h   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index dfe377e..7f6d835 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -7,7 +7,7 @@
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
-**  Copyright (c) 2008 Carlos López
+** Copyright (c) 2008, 2009 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as
diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.h 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
index c1cb994..530e4fa 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.h
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.h
@@ -7,7 +7,7 @@
 ** \legal
 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 ** Copyright (c) 2007, 2008 Chris Moore
-**  Copyright (c) 2008 Carlos López
+** Copyright (c) 2008, 2009 Carlos López
 **
 ** This package is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU General Public License as


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Added the necessary buttons to the canvas window to enable the user to go

2009-06-19 Thread Genete
Module: synfig
Branch: genete_master
Commit: 35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

Author: gballintijn 
Date:   Fri Jun 19 08:53:38 2009 +

Added the necessary buttons to the canvas window to enable the user to go
to the beginning, end, previous frame, and next frame. Before this was
only possible using key bindings. Note: The patch does not add the previous
or next *second* buttons.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2382 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/images/Makefile.am   |   13 +-
 synfig-studio/trunk/images/seek_begin.sif|  339 ++
 synfig-studio/trunk/images/seek_end.sif  |  339 ++
 synfig-studio/trunk/images/seek_next_frame.sif   |  339 ++
 synfig-studio/trunk/images/seek_prev_frame.sif   |  339 ++
 synfig-studio/trunk/src/gtkmm/Makefile.am|6 +-
 synfig-studio/trunk/src/gtkmm/canvasview.cpp |   33 ++-
 synfig-studio/trunk/src/gtkmm/framedial.cpp  |   80 +
 synfig-studio/trunk/src/gtkmm/framedial.h|   73 +
 synfig-studio/trunk/src/gtkmm/iconcontroller.cpp |5 +
 10 files changed, 1554 insertions(+), 12 deletions(-)

Diff:   
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commitdiff;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being

2009-06-19 Thread Genete
Module: synfig
Branch: genete_master
Commit: b629d4c68aa88800d2db81e922468da3e5122bef
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b629d4c68aa88800d2db81e922468da3e5122bef

Author: gballintijn 
Date:   Fri Jun 19 07:31:56 2009 +

Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being
called before AC_GNU_SOURCE was called. AC_COMPILE_IFELSE and AC_RUN_IFELSE
are indirectly called via AC_BIGENDIAN.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2379 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-core/trunk/configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac
index 7e6161b..66a6407 100644
--- a/synfig-core/trunk/configure.ac
+++ b/synfig-core/trunk/configure.ac
@@ -30,7 +30,6 @@ AC_DEFINE(LT_SCOPE,[extern],[LibLTDL is linked staticly])
 SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core
 AC_SUBST(SVN_REPOSITORY)
 
-AC_C_BIGENDIAN
 
 # -- P R O G R A M S --
 
@@ -43,6 +42,8 @@ AC_PROG_INSTALL
 
 AC_LANG([C++])
 
+AC_C_BIGENDIAN
+
 
 # -- A R G U M E N T S 
 


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove assert(o) call because this function

2009-06-19 Thread Genete
Module: synfig
Branch: master
Commit: cc5bd2cfec356289b1113f4c4b98dc6a6abfd800
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=cc5bd2cfec356289b1113f4c4b98dc6a6abfd800

Author: Carlos Lopez 
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp 
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -409,7 +409,7 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback 
*/*cb*/)
 {
-   assert(0);  // shouldn't be called?
+   //assert(0);// shouldn't be called?
surface=surface_buffer;
return true;
 }


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Added the necessary buttons to the canvas window to enable the user to go

2009-06-19 Thread Genete
Module: synfig
Branch: master
Commit: 35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

Author: gballintijn 
Date:   Fri Jun 19 08:53:38 2009 +

Added the necessary buttons to the canvas window to enable the user to go
to the beginning, end, previous frame, and next frame. Before this was
only possible using key bindings. Note: The patch does not add the previous
or next *second* buttons.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2382 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/images/Makefile.am   |   13 +-
 synfig-studio/trunk/images/seek_begin.sif|  339 ++
 synfig-studio/trunk/images/seek_end.sif  |  339 ++
 synfig-studio/trunk/images/seek_next_frame.sif   |  339 ++
 synfig-studio/trunk/images/seek_prev_frame.sif   |  339 ++
 synfig-studio/trunk/src/gtkmm/Makefile.am|6 +-
 synfig-studio/trunk/src/gtkmm/canvasview.cpp |   33 ++-
 synfig-studio/trunk/src/gtkmm/framedial.cpp  |   80 +
 synfig-studio/trunk/src/gtkmm/framedial.h|   73 +
 synfig-studio/trunk/src/gtkmm/iconcontroller.cpp |5 +
 10 files changed, 1554 insertions(+), 12 deletions(-)

Diff:   
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commitdiff;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being

2009-06-19 Thread Genete
Module: synfig
Branch: master
Commit: b629d4c68aa88800d2db81e922468da3e5122bef
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b629d4c68aa88800d2db81e922468da3e5122bef

Author: gballintijn 
Date:   Fri Jun 19 07:31:56 2009 +

Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being
called before AC_GNU_SOURCE was called. AC_COMPILE_IFELSE and AC_RUN_IFELSE
are indirectly called via AC_BIGENDIAN.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2379 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-core/trunk/configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac
index 7e6161b..66a6407 100644
--- a/synfig-core/trunk/configure.ac
+++ b/synfig-core/trunk/configure.ac
@@ -30,7 +30,6 @@ AC_DEFINE(LT_SCOPE,[extern],[LibLTDL is linked staticly])
 SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core
 AC_SUBST(SVN_REPOSITORY)
 
-AC_C_BIGENDIAN
 
 # -- P R O G R A M S --
 
@@ -43,6 +42,8 @@ AC_PROG_INSTALL
 
 AC_LANG([C++])
 
+AC_C_BIGENDIAN
+
 
 # -- A R G U M E N T S 
 


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Merge branch 'genete_master'

2009-06-19 Thread Genete
Module: synfig
Branch: master
Commit: 3ff4f5ed21761e28999d5e355c3fafe95cfd081b
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=3ff4f5ed21761e28999d5e355c3fafe95cfd081b

Author: Carlos Lopez 
Date:   Fri Jun 19 17:16:24 2009 +0200

Merge branch 'genete_master'

---




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove assert(o) call because this function

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: f8df1636f328f694a2b9c511e6c750ee57162dbe
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f8df1636f328f694a2b9c511e6c750ee57162dbe

Author: Carlos Lopez 
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp 
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -409,7 +409,7 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback 
*/*cb*/)
 {
-   assert(0);  // shouldn't be called?
+   //assert(0);// shouldn't be called?
surface=surface_buffer;
return true;
 }


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: b629d4c68aa88800d2db81e922468da3e5122bef
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b629d4c68aa88800d2db81e922468da3e5122bef

Author: gballintijn 
Date:   Fri Jun 19 07:31:56 2009 +

Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being
called before AC_GNU_SOURCE was called. AC_COMPILE_IFELSE and AC_RUN_IFELSE
are indirectly called via AC_BIGENDIAN.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2379 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-core/trunk/configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac
index 7e6161b..66a6407 100644
--- a/synfig-core/trunk/configure.ac
+++ b/synfig-core/trunk/configure.ac
@@ -30,7 +30,6 @@ AC_DEFINE(LT_SCOPE,[extern],[LibLTDL is linked staticly])
 SVN_REPOSITORY=https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core
 AC_SUBST(SVN_REPOSITORY)
 
-AC_C_BIGENDIAN
 
 # -- P R O G R A M S --
 
@@ -43,6 +42,8 @@ AC_PROG_INSTALL
 
 AC_LANG([C++])
 
+AC_C_BIGENDIAN
+
 
 # -- A R G U M E N T S 
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Merge branch 'genete_master'

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 3ff4f5ed21761e28999d5e355c3fafe95cfd081b
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=3ff4f5ed21761e28999d5e355c3fafe95cfd081b

Author: Carlos Lopez 
Date:   Fri Jun 19 17:16:24 2009 +0200

Merge branch 'genete_master'

---




--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : Added the necessary buttons to the canvas window to enable the user to go

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

Author: gballintijn 
Date:   Fri Jun 19 08:53:38 2009 +

Added the necessary buttons to the canvas window to enable the user to go
to the beginning, end, previous frame, and next frame. Before this was
only possible using key bindings. Note: The patch does not add the previous
or next *second* buttons.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2382 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/images/Makefile.am   |   13 +-
 synfig-studio/trunk/images/seek_begin.sif|  339 ++
 synfig-studio/trunk/images/seek_end.sif  |  339 ++
 synfig-studio/trunk/images/seek_next_frame.sif   |  339 ++
 synfig-studio/trunk/images/seek_prev_frame.sif   |  339 ++
 synfig-studio/trunk/src/gtkmm/Makefile.am|6 +-
 synfig-studio/trunk/src/gtkmm/canvasview.cpp |   33 ++-
 synfig-studio/trunk/src/gtkmm/framedial.cpp  |   80 +
 synfig-studio/trunk/src/gtkmm/framedial.h|   73 +
 synfig-studio/trunk/src/gtkmm/iconcontroller.cpp |5 +
 10 files changed, 1554 insertions(+), 12 deletions(-)

Diff:   
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commitdiff;h=35faf1afc5a4a015bfe70be49d528b8a3ea4b0d5

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Merge branch 'master' into genete_setup_dialog

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: b0212b80e88492fb1fb98086dabb519ea901045e
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b0212b80e88492fb1fb98086dabb519ea901045e

Author: Carlos Lopez 
Date:   Sat Jun 20 10:11:27 2009 +0200

Merge branch 'master' into genete_setup_dialog

---




--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Konstantin Dmitriev : Script to generate API documentation and send it to sf.net.

2009-06-20 Thread Genete
Module: synfig
Branch: master
Commit: 2dad2793a54098ce7c65a8796c8ddf2fc7569f24
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=2dad2793a54098ce7c65a8796c8ddf2fc7569f24

Author: Konstantin Dmitriev 
Date:   Fri Jun 19 22:35:10 2009 +0700

Script to generate API documentation and send it to sf.net.

Uses doxygen to generate API docs from source code and pushing them on 
http://synfig.sourceforge.net/api/ via rsync.

---

 autobuild/api.sh |   72 ++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
new file mode 100755
index 000..6a43267
--- /dev/null
+++ b/autobuild/api.sh
@@ -0,0 +1,72 @@
+#!/bin/sh
+#
+# Script to generate API documentation and send it to sf.net
+#
+# Copyright 2009 Konstantin Dmitriev
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+
+USERNAME=your_username #set this to your sf.net username to publish api 
+  #(you need privilegies for that)
+
+export HTMLDIR=~/synfig/api/html
+export SOURCEDIR=~/synfig/api/source
+
+set -e
+
+if [ ! -d $SOURCEDIR ]; then
+   mkdir -p `dirname $SOURCEDIR`
+   cd `dirname $SOURCEDIR`
+   git clone git://synfig.git.sourceforge.net/gitroot/synfig `basename 
$SOURCEDIR`
+fi
+
+getversion(){
+   VERSION=`cat configure| egrep PACKAGE_VERSION=\'`
+   VERSION=${VERSION#*\'}
+   VERSION=${VERSION%\'}
+}
+
+mkdir -p $HTMLDIR
+
+cd $SOURCEDIR
+git fetch
+git checkout remotes/origin/master
+
+for module in ETL synfig-core synfig-studio; do
+cd $module/trunk
+autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+getversion
+cp -f doxygen.cfg.in doxygen.cfg
+sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
+sed -i "s/@PACKAGE@/$module/" doxygen.cfg
+doxygen doxygen.cfg
+rm -rf $HTMLDIR/$module
+mv doc/html $HTMLDIR/$module
+cp $SOURCEDIR/$module/trunk/doxygen.cfg $HTMLDIR/$module
+cd ../..
+done
+
+#index.html
+DATE=`date -R`
+cat > $HTMLDIR/index.html 

[Synfig-devl] Konstantin Dmitriev : API generation script update.

2009-06-20 Thread Genete
Module: synfig
Branch: master
Commit: d7342f658534a6a4e7758b404e655b8b6e80355c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=d7342f658534a6a4e7758b404e655b8b6e80355c

Author: Konstantin Dmitriev 
Date:   Sat Jun 20 11:13:04 2009 +0700

API generation script update.

- replaced ~ with $HOME
- fixed AC_CONFIG_SUBDIRS exception
- checks for doxygen and git available at the start
- ask sf.net username at runtime

---

 autobuild/api.sh |   25 +++--
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
index 6a43267..8cd2355 100755
--- a/autobuild/api.sh
+++ b/autobuild/api.sh
@@ -9,14 +9,22 @@
 # published by the Free Software Foundation; either version 2 of
 # the License, or (at your option) any later version.
 
-USERNAME=your_username #set this to your sf.net username to publish api 
-  #(you need privilegies for that)
-
-export HTMLDIR=~/synfig/api/html
-export SOURCEDIR=~/synfig/api/source
+export HTMLDIR=$HOME/synfig/api/html
+export SOURCEDIR=$HOME/synfig/api/source
 
 set -e
 
+#check for git and doxygen
+if ! which git > /dev/null 2>&1; then
+   echo "Please install git."
+   exit
+fi
+if ! which doxygen > /dev/null 2>&1; then
+   echo "Please install doxygen."
+   exit
+fi
+
+#fetching sources
 if [ ! -d $SOURCEDIR ]; then
mkdir -p `dirname $SOURCEDIR`
cd `dirname $SOURCEDIR`
@@ -35,9 +43,11 @@ cd $SOURCEDIR
 git fetch
 git checkout remotes/origin/master
 
+#generating api to htmldir
 for module in ETL synfig-core synfig-studio; do
 cd $module/trunk
-autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+echo "Generating API for $module..."
+autoreconf --install --force || ( sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' configure.ac && autoreconf --install --force )
 getversion
 cp -f doxygen.cfg.in doxygen.cfg
 sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
@@ -67,6 +77,9 @@ EOF
 #beep (because we asking password)
 echo -e "\a"; sleep 0.2; echo -e "\a"; sleep 0.2; echo -e "\a"
 
+echo -n "Enter your sf.net username: "
+read USERNAME
+
 #push to sf.net
 rsync -avP -e ssh $HTMLDIR/ $USERNAME,syn...@web.sourceforge.net:htdocs/api/
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove assert(o) call because this function

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: f8df1636f328f694a2b9c511e6c750ee57162dbe
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f8df1636f328f694a2b9c511e6c750ee57162dbe

Author: Carlos Lopez 
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp 
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -409,7 +409,7 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback 
*/*cb*/)
 {
-   assert(0);  // shouldn't be called?
+   //assert(0);// shouldn't be called?
surface=surface_buffer;
return true;
 }


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Konstantin Dmitriev : Script to generate API documentation and send it to sf.net.

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: 2dad2793a54098ce7c65a8796c8ddf2fc7569f24
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=2dad2793a54098ce7c65a8796c8ddf2fc7569f24

Author: Konstantin Dmitriev 
Date:   Fri Jun 19 22:35:10 2009 +0700

Script to generate API documentation and send it to sf.net.

Uses doxygen to generate API docs from source code and pushing them on 
http://synfig.sourceforge.net/api/ via rsync.

---

 autobuild/api.sh |   72 ++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
new file mode 100755
index 000..6a43267
--- /dev/null
+++ b/autobuild/api.sh
@@ -0,0 +1,72 @@
+#!/bin/sh
+#
+# Script to generate API documentation and send it to sf.net
+#
+# Copyright 2009 Konstantin Dmitriev
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+
+USERNAME=your_username #set this to your sf.net username to publish api 
+  #(you need privilegies for that)
+
+export HTMLDIR=~/synfig/api/html
+export SOURCEDIR=~/synfig/api/source
+
+set -e
+
+if [ ! -d $SOURCEDIR ]; then
+   mkdir -p `dirname $SOURCEDIR`
+   cd `dirname $SOURCEDIR`
+   git clone git://synfig.git.sourceforge.net/gitroot/synfig `basename 
$SOURCEDIR`
+fi
+
+getversion(){
+   VERSION=`cat configure| egrep PACKAGE_VERSION=\'`
+   VERSION=${VERSION#*\'}
+   VERSION=${VERSION%\'}
+}
+
+mkdir -p $HTMLDIR
+
+cd $SOURCEDIR
+git fetch
+git checkout remotes/origin/master
+
+for module in ETL synfig-core synfig-studio; do
+cd $module/trunk
+autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+getversion
+cp -f doxygen.cfg.in doxygen.cfg
+sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
+sed -i "s/@PACKAGE@/$module/" doxygen.cfg
+doxygen doxygen.cfg
+rm -rf $HTMLDIR/$module
+mv doc/html $HTMLDIR/$module
+cp $SOURCEDIR/$module/trunk/doxygen.cfg $HTMLDIR/$module
+cd ../..
+done
+
+#index.html
+DATE=`date -R`
+cat > $HTMLDIR/index.html 

[Synfig-devl] Konstantin Dmitriev : API generation script update.

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: d7342f658534a6a4e7758b404e655b8b6e80355c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=d7342f658534a6a4e7758b404e655b8b6e80355c

Author: Konstantin Dmitriev 
Date:   Sat Jun 20 11:13:04 2009 +0700

API generation script update.

- replaced ~ with $HOME
- fixed AC_CONFIG_SUBDIRS exception
- checks for doxygen and git available at the start
- ask sf.net username at runtime

---

 autobuild/api.sh |   25 +++--
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
index 6a43267..8cd2355 100755
--- a/autobuild/api.sh
+++ b/autobuild/api.sh
@@ -9,14 +9,22 @@
 # published by the Free Software Foundation; either version 2 of
 # the License, or (at your option) any later version.
 
-USERNAME=your_username #set this to your sf.net username to publish api 
-  #(you need privilegies for that)
-
-export HTMLDIR=~/synfig/api/html
-export SOURCEDIR=~/synfig/api/source
+export HTMLDIR=$HOME/synfig/api/html
+export SOURCEDIR=$HOME/synfig/api/source
 
 set -e
 
+#check for git and doxygen
+if ! which git > /dev/null 2>&1; then
+   echo "Please install git."
+   exit
+fi
+if ! which doxygen > /dev/null 2>&1; then
+   echo "Please install doxygen."
+   exit
+fi
+
+#fetching sources
 if [ ! -d $SOURCEDIR ]; then
mkdir -p `dirname $SOURCEDIR`
cd `dirname $SOURCEDIR`
@@ -35,9 +43,11 @@ cd $SOURCEDIR
 git fetch
 git checkout remotes/origin/master
 
+#generating api to htmldir
 for module in ETL synfig-core synfig-studio; do
 cd $module/trunk
-autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+echo "Generating API for $module..."
+autoreconf --install --force || ( sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' configure.ac && autoreconf --install --force )
 getversion
 cp -f doxygen.cfg.in doxygen.cfg
 sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
@@ -67,6 +77,9 @@ EOF
 #beep (because we asking password)
 echo -e "\a"; sleep 0.2; echo -e "\a"; sleep 0.2; echo -e "\a"
 
+echo -n "Enter your sf.net username: "
+read USERNAME
+
 #push to sf.net
 rsync -avP -e ssh $HTMLDIR/ $USERNAME,syn...@web.sourceforge.net:htdocs/api/
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Merge branch 'genete_master'

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: 3ff4f5ed21761e28999d5e355c3fafe95cfd081b
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=3ff4f5ed21761e28999d5e355c3fafe95cfd081b

Author: Carlos Lopez 
Date:   Fri Jun 19 17:16:24 2009 +0200

Merge branch 'genete_master'

---




--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Konstantin Dmitriev : Script to generate API documentation and send it to sf.net.

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 2dad2793a54098ce7c65a8796c8ddf2fc7569f24
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=2dad2793a54098ce7c65a8796c8ddf2fc7569f24

Author: Konstantin Dmitriev 
Date:   Fri Jun 19 22:35:10 2009 +0700

Script to generate API documentation and send it to sf.net.

Uses doxygen to generate API docs from source code and pushing them on 
http://synfig.sourceforge.net/api/ via rsync.

---

 autobuild/api.sh |   72 ++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
new file mode 100755
index 000..6a43267
--- /dev/null
+++ b/autobuild/api.sh
@@ -0,0 +1,72 @@
+#!/bin/sh
+#
+# Script to generate API documentation and send it to sf.net
+#
+# Copyright 2009 Konstantin Dmitriev
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+
+USERNAME=your_username #set this to your sf.net username to publish api 
+  #(you need privilegies for that)
+
+export HTMLDIR=~/synfig/api/html
+export SOURCEDIR=~/synfig/api/source
+
+set -e
+
+if [ ! -d $SOURCEDIR ]; then
+   mkdir -p `dirname $SOURCEDIR`
+   cd `dirname $SOURCEDIR`
+   git clone git://synfig.git.sourceforge.net/gitroot/synfig `basename 
$SOURCEDIR`
+fi
+
+getversion(){
+   VERSION=`cat configure| egrep PACKAGE_VERSION=\'`
+   VERSION=${VERSION#*\'}
+   VERSION=${VERSION%\'}
+}
+
+mkdir -p $HTMLDIR
+
+cd $SOURCEDIR
+git fetch
+git checkout remotes/origin/master
+
+for module in ETL synfig-core synfig-studio; do
+cd $module/trunk
+autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+getversion
+cp -f doxygen.cfg.in doxygen.cfg
+sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
+sed -i "s/@PACKAGE@/$module/" doxygen.cfg
+doxygen doxygen.cfg
+rm -rf $HTMLDIR/$module
+mv doc/html $HTMLDIR/$module
+cp $SOURCEDIR/$module/trunk/doxygen.cfg $HTMLDIR/$module
+cd ../..
+done
+
+#index.html
+DATE=`date -R`
+cat > $HTMLDIR/index.html 

[Synfig-devl] Carlos Lopez : Merge branch 'master' into genete_setup_dialog

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 429a714273c61bfadf0f8f373403760910f75eef
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=429a714273c61bfadf0f8f373403760910f75eef

Author: Carlos Lopez 
Date:   Sat Jun 20 14:15:37 2009 +0200

Merge branch 'master' into genete_setup_dialog

---




--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Konstantin Dmitriev : API generation script update.

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: d7342f658534a6a4e7758b404e655b8b6e80355c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=d7342f658534a6a4e7758b404e655b8b6e80355c

Author: Konstantin Dmitriev 
Date:   Sat Jun 20 11:13:04 2009 +0700

API generation script update.

- replaced ~ with $HOME
- fixed AC_CONFIG_SUBDIRS exception
- checks for doxygen and git available at the start
- ask sf.net username at runtime

---

 autobuild/api.sh |   25 +++--
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/autobuild/api.sh b/autobuild/api.sh
index 6a43267..8cd2355 100755
--- a/autobuild/api.sh
+++ b/autobuild/api.sh
@@ -9,14 +9,22 @@
 # published by the Free Software Foundation; either version 2 of
 # the License, or (at your option) any later version.
 
-USERNAME=your_username #set this to your sf.net username to publish api 
-  #(you need privilegies for that)
-
-export HTMLDIR=~/synfig/api/html
-export SOURCEDIR=~/synfig/api/source
+export HTMLDIR=$HOME/synfig/api/html
+export SOURCEDIR=$HOME/synfig/api/source
 
 set -e
 
+#check for git and doxygen
+if ! which git > /dev/null 2>&1; then
+   echo "Please install git."
+   exit
+fi
+if ! which doxygen > /dev/null 2>&1; then
+   echo "Please install doxygen."
+   exit
+fi
+
+#fetching sources
 if [ ! -d $SOURCEDIR ]; then
mkdir -p `dirname $SOURCEDIR`
cd `dirname $SOURCEDIR`
@@ -35,9 +43,11 @@ cd $SOURCEDIR
 git fetch
 git checkout remotes/origin/master
 
+#generating api to htmldir
 for module in ETL synfig-core synfig-studio; do
 cd $module/trunk
-autoreconf --install --force || sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' && autoreconf --install --force
+echo "Generating API for $module..."
+autoreconf --install --force || ( sed -i 's/^AC_CONFIG_SUBDIRS/# 
AC_CONFIG_SUBDIRS/' configure.ac && autoreconf --install --force )
 getversion
 cp -f doxygen.cfg.in doxygen.cfg
 sed -i "s/@VERSION@/$VERSION/" doxygen.cfg
@@ -67,6 +77,9 @@ EOF
 #beep (because we asking password)
 echo -e "\a"; sleep 0.2; echo -e "\a"; sleep 0.2; echo -e "\a"
 
+echo -n "Enter your sf.net username: "
+read USERNAME
+
 #push to sf.net
 rsync -avP -e ssh $HTMLDIR/ $USERNAME,syn...@web.sourceforge.net:htdocs/api/
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : #2602803: "Patch: Improve UI on crash recovery dialog."

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: 1e706e54c01cd6baae01b1199c8997c48345ed8c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e706e54c01cd6baae01b1199c8997c48345ed8c

Author: gballintijn 
Date:   Sat Jun 20 11:59:12 2009 +

#2602803: "Patch: Improve UI on crash recovery dialog."
Simplified version of the patch that Bombe added to SourceForge.net on 
2009-02-15. Based on suggestions by Pabs, I cleaned up and shortened the code a 
bit, making it more consistent with surrounding code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2383 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/src/gtkmm/app.cpp   |   41 +++---
 synfig-studio/trunk/src/gtkmm/canvasview.cpp|   31 +
 synfig-studio/trunk/src/synfigapp/uimanager.cpp |   27 +++
 synfig-studio/trunk/src/synfigapp/uimanager.h   |   14 
 4 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp 
b/synfig-studio/trunk/src/gtkmm/app.cpp
index ffca6fd..3099c44 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -322,6 +322,34 @@ class GlobalUIInterface : public synfigapp::UIInterface
 {
 public:
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse)
+   {
+   Gtk::MessageDialog dialog(
+   primaryText,// Message
+   false,  // Markup
+   Gtk::MESSAGE_WARNING,   // Type
+   Gtk::BUTTONS_NONE,  // Buttons
+   true// Modal
+   );
+
+   if (! title.empty())
+   dialog.set_title(title);
+   if (! secondaryText.empty())
+   dialog.set_secondary_text(secondaryText);
+
+   dialog.add_button(cancelPhrase, RESPONSE_CANCEL);
+   dialog.add_button(confirmPhrase, RESPONSE_OK);
+   dialog.set_default_response(defaultResponse);
+
+   dialog.show_all();
+   return (Response) dialog.run();
+   }
+
virtual Response yes_no(const std::string &title, const std::string 
&message,Response dflt=RESPONSE_YES)
{
Gtk::Dialog dialog(
@@ -1290,12 +1318,13 @@ App::App(int *argc, char ***argv):
if(auto_recover->recovery_needed())
{
splash_screen.hide();
-   if (get_ui_interface()->yes_no(_("Auto Recovery"),
-   
   _("Synfig Studio seems to have crashed\n"
-   
 "before you could save all your files.\n"
-   
 "Would you like to re-open those files\n"
-   
 "and recover your unsaved changes?")) ==
-   synfigapp::UIInterface::RESPONSE_YES)
+   if (get_ui_interface()->confirmation("Crash Recovery",
+   _("Auto recovery file found"),
+   _("Synfig Studio seems to have 
crashed\n"
+ "before you could save all your 
files.\n"
+ "Recover unsaved changes?"),
+   _("Recover"), _("Ignore"))
+   == synfigapp::UIInterface::RESPONSE_OK)
{
int number_recovered;
if(!auto_recover->recover(number_recovered))
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 72a3ed6..44c8340 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -248,6 +248,37 @@ public:
//view->progressbar->set_fraction(0);
}
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse=RESPONSE_OK)
+   {
+   view->present();
+   
//while(studio::App::events_pending())studio::App::iteration(false);
+   G

[Synfig-devl] gballintijn : #2602803: "Patch: Improve UI on crash recovery dialog."

2009-06-20 Thread Genete
Module: synfig
Branch: zelgadis_master
Commit: 1e706e54c01cd6baae01b1199c8997c48345ed8c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e706e54c01cd6baae01b1199c8997c48345ed8c

Author: gballintijn 
Date:   Sat Jun 20 11:59:12 2009 +

#2602803: "Patch: Improve UI on crash recovery dialog."
Simplified version of the patch that Bombe added to SourceForge.net on 
2009-02-15. Based on suggestions by Pabs, I cleaned up and shortened the code a 
bit, making it more consistent with surrounding code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2383 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/src/gtkmm/app.cpp   |   41 +++---
 synfig-studio/trunk/src/gtkmm/canvasview.cpp|   31 +
 synfig-studio/trunk/src/synfigapp/uimanager.cpp |   27 +++
 synfig-studio/trunk/src/synfigapp/uimanager.h   |   14 
 4 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp 
b/synfig-studio/trunk/src/gtkmm/app.cpp
index ffca6fd..3099c44 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -322,6 +322,34 @@ class GlobalUIInterface : public synfigapp::UIInterface
 {
 public:
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse)
+   {
+   Gtk::MessageDialog dialog(
+   primaryText,// Message
+   false,  // Markup
+   Gtk::MESSAGE_WARNING,   // Type
+   Gtk::BUTTONS_NONE,  // Buttons
+   true// Modal
+   );
+
+   if (! title.empty())
+   dialog.set_title(title);
+   if (! secondaryText.empty())
+   dialog.set_secondary_text(secondaryText);
+
+   dialog.add_button(cancelPhrase, RESPONSE_CANCEL);
+   dialog.add_button(confirmPhrase, RESPONSE_OK);
+   dialog.set_default_response(defaultResponse);
+
+   dialog.show_all();
+   return (Response) dialog.run();
+   }
+
virtual Response yes_no(const std::string &title, const std::string 
&message,Response dflt=RESPONSE_YES)
{
Gtk::Dialog dialog(
@@ -1290,12 +1318,13 @@ App::App(int *argc, char ***argv):
if(auto_recover->recovery_needed())
{
splash_screen.hide();
-   if (get_ui_interface()->yes_no(_("Auto Recovery"),
-   
   _("Synfig Studio seems to have crashed\n"
-   
 "before you could save all your files.\n"
-   
 "Would you like to re-open those files\n"
-   
 "and recover your unsaved changes?")) ==
-   synfigapp::UIInterface::RESPONSE_YES)
+   if (get_ui_interface()->confirmation("Crash Recovery",
+   _("Auto recovery file found"),
+   _("Synfig Studio seems to have 
crashed\n"
+ "before you could save all your 
files.\n"
+ "Recover unsaved changes?"),
+   _("Recover"), _("Ignore"))
+   == synfigapp::UIInterface::RESPONSE_OK)
{
int number_recovered;
if(!auto_recover->recover(number_recovered))
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 72a3ed6..44c8340 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -248,6 +248,37 @@ public:
//view->progressbar->set_fraction(0);
}
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse=RESPONSE_OK)
+   {
+   view->present();
+   
//while(studio::App::events_pending())studio::App::iteration(false);
+  

[Synfig-devl] gballintijn : #2602803: "Patch: Improve UI on crash recovery dialog."

2009-06-20 Thread Genete
Module: synfig
Branch: master
Commit: 1e706e54c01cd6baae01b1199c8997c48345ed8c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e706e54c01cd6baae01b1199c8997c48345ed8c

Author: gballintijn 
Date:   Sat Jun 20 11:59:12 2009 +

#2602803: "Patch: Improve UI on crash recovery dialog."
Simplified version of the patch that Bombe added to SourceForge.net on 
2009-02-15. Based on suggestions by Pabs, I cleaned up and shortened the code a 
bit, making it more consistent with surrounding code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2383 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/src/gtkmm/app.cpp   |   41 +++---
 synfig-studio/trunk/src/gtkmm/canvasview.cpp|   31 +
 synfig-studio/trunk/src/synfigapp/uimanager.cpp |   27 +++
 synfig-studio/trunk/src/synfigapp/uimanager.h   |   14 
 4 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp 
b/synfig-studio/trunk/src/gtkmm/app.cpp
index ffca6fd..3099c44 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -322,6 +322,34 @@ class GlobalUIInterface : public synfigapp::UIInterface
 {
 public:
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse)
+   {
+   Gtk::MessageDialog dialog(
+   primaryText,// Message
+   false,  // Markup
+   Gtk::MESSAGE_WARNING,   // Type
+   Gtk::BUTTONS_NONE,  // Buttons
+   true// Modal
+   );
+
+   if (! title.empty())
+   dialog.set_title(title);
+   if (! secondaryText.empty())
+   dialog.set_secondary_text(secondaryText);
+
+   dialog.add_button(cancelPhrase, RESPONSE_CANCEL);
+   dialog.add_button(confirmPhrase, RESPONSE_OK);
+   dialog.set_default_response(defaultResponse);
+
+   dialog.show_all();
+   return (Response) dialog.run();
+   }
+
virtual Response yes_no(const std::string &title, const std::string 
&message,Response dflt=RESPONSE_YES)
{
Gtk::Dialog dialog(
@@ -1290,12 +1318,13 @@ App::App(int *argc, char ***argv):
if(auto_recover->recovery_needed())
{
splash_screen.hide();
-   if (get_ui_interface()->yes_no(_("Auto Recovery"),
-   
   _("Synfig Studio seems to have crashed\n"
-   
 "before you could save all your files.\n"
-   
 "Would you like to re-open those files\n"
-   
 "and recover your unsaved changes?")) ==
-   synfigapp::UIInterface::RESPONSE_YES)
+   if (get_ui_interface()->confirmation("Crash Recovery",
+   _("Auto recovery file found"),
+   _("Synfig Studio seems to have 
crashed\n"
+ "before you could save all your 
files.\n"
+ "Recover unsaved changes?"),
+   _("Recover"), _("Ignore"))
+   == synfigapp::UIInterface::RESPONSE_OK)
{
int number_recovered;
if(!auto_recover->recover(number_recovered))
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 72a3ed6..44c8340 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -248,6 +248,37 @@ public:
//view->progressbar->set_fraction(0);
}
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse=RESPONSE_OK)
+   {
+   view->present();
+   
//while(studio::App::events_pending())studio::App::iteration(false);
+   Gtk::Mes

[Synfig-devl] Carlos Lopez : Merge branch 'master' into genete_setup_dialog

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 6965ba8940707105d613447e60f072549bde4ad4
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=6965ba8940707105d613447e60f072549bde4ad4

Author: Carlos Lopez 
Date:   Sat Jun 20 14:22:02 2009 +0200

Merge branch 'master' into genete_setup_dialog

---




--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] gballintijn : #2602803: "Patch: Improve UI on crash recovery dialog."

2009-06-20 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 1e706e54c01cd6baae01b1199c8997c48345ed8c
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e706e54c01cd6baae01b1199c8997c48345ed8c

Author: gballintijn 
Date:   Sat Jun 20 11:59:12 2009 +

#2602803: "Patch: Improve UI on crash recovery dialog."
Simplified version of the patch that Bombe added to SourceForge.net on 
2009-02-15. Based on suggestions by Pabs, I cleaned up and shortened the code a 
bit, making it more consistent with surrounding code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/syn...@2383 
1f10aa63-cdf2-0310-b900-c93c546f37ac

---

 synfig-studio/trunk/src/gtkmm/app.cpp   |   41 +++---
 synfig-studio/trunk/src/gtkmm/canvasview.cpp|   31 +
 synfig-studio/trunk/src/synfigapp/uimanager.cpp |   27 +++
 synfig-studio/trunk/src/synfigapp/uimanager.h   |   14 
 4 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp 
b/synfig-studio/trunk/src/gtkmm/app.cpp
index ffca6fd..3099c44 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -322,6 +322,34 @@ class GlobalUIInterface : public synfigapp::UIInterface
 {
 public:
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse)
+   {
+   Gtk::MessageDialog dialog(
+   primaryText,// Message
+   false,  // Markup
+   Gtk::MESSAGE_WARNING,   // Type
+   Gtk::BUTTONS_NONE,  // Buttons
+   true// Modal
+   );
+
+   if (! title.empty())
+   dialog.set_title(title);
+   if (! secondaryText.empty())
+   dialog.set_secondary_text(secondaryText);
+
+   dialog.add_button(cancelPhrase, RESPONSE_CANCEL);
+   dialog.add_button(confirmPhrase, RESPONSE_OK);
+   dialog.set_default_response(defaultResponse);
+
+   dialog.show_all();
+   return (Response) dialog.run();
+   }
+
virtual Response yes_no(const std::string &title, const std::string 
&message,Response dflt=RESPONSE_YES)
{
Gtk::Dialog dialog(
@@ -1290,12 +1318,13 @@ App::App(int *argc, char ***argv):
if(auto_recover->recovery_needed())
{
splash_screen.hide();
-   if (get_ui_interface()->yes_no(_("Auto Recovery"),
-   
   _("Synfig Studio seems to have crashed\n"
-   
 "before you could save all your files.\n"
-   
 "Would you like to re-open those files\n"
-   
 "and recover your unsaved changes?")) ==
-   synfigapp::UIInterface::RESPONSE_YES)
+   if (get_ui_interface()->confirmation("Crash Recovery",
+   _("Auto recovery file found"),
+   _("Synfig Studio seems to have 
crashed\n"
+ "before you could save all your 
files.\n"
+ "Recover unsaved changes?"),
+   _("Recover"), _("Ignore"))
+   == synfigapp::UIInterface::RESPONSE_OK)
{
int number_recovered;
if(!auto_recover->recover(number_recovered))
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 72a3ed6..44c8340 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -248,6 +248,37 @@ public:
//view->progressbar->set_fraction(0);
}
 
+   virtual Response confirmation(const std::string &title,
+   const std::string &primaryText,
+   const std::string &secondaryText,
+   const std::string &confirmPhrase,
+   const std::string &cancelPhrase,
+   Response defaultResponse=RESPONSE_OK)
+   {
+   view->present();
+   
//while(studio::App::events_pending())studio::App::iteration(false);
+  

[Synfig-devl] Carlos Lopez : Use GTK media icons for Frame Dial navigation buttons

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: 85041620c2c84b2b5c46207483c3441e8b0330d9
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=85041620c2c84b2b5c46207483c3441e8b0330d9

Author: Carlos Lopez 
Date:   Sat Jun 20 19:56:40 2009 +0200

Use GTK media icons for Frame Dial navigation buttons

---

 synfig-studio/trunk/src/gtkmm/framedial.cpp |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/framedial.cpp 
b/synfig-studio/trunk/src/gtkmm/framedial.cpp
index a88af27..f892b60 100644
--- a/synfig-studio/trunk/src/gtkmm/framedial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/framedial.cpp
@@ -52,10 +52,10 @@ FrameDial::FrameDial(): Gtk::Table(3, 1, false)
 {
Gtk::IconSize iconsize = Gtk::IconSize::from_name("synfig-small_icon");
 
-   seek_begin = create_icon(iconsize, "synfig-seek_begin", _("Seek to 
Begin"));
-   seek_prev_frame = create_icon(iconsize, "synfig-seek_prev_frame", 
_("Previous Frame"));
-   seek_next_frame = create_icon(iconsize, "synfig-seek_next_frame", 
_("Next Frame"));
-   seek_end = create_icon(iconsize, "synfig-seek_end", _("Seek to End"));
+   seek_begin = create_icon(iconsize, GTK_STOCK_MEDIA_PREVIOUS, _("Seek to 
Begin"));
+   seek_prev_frame = create_icon(iconsize, GTK_STOCK_MEDIA_REWIND, 
_("Previous Frame"));
+   seek_next_frame = create_icon(iconsize, GTK_STOCK_MEDIA_FORWARD, 
_("Next Frame"));
+   seek_end = create_icon(iconsize, GTK_STOCK_MEDIA_NEXT, _("Seek to 
End"));
 
attach(*seek_begin, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*seek_prev_frame, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Use GTK media icons for Frame Dial navigation buttons

2009-06-20 Thread Genete
Module: synfig
Branch: master
Commit: 85041620c2c84b2b5c46207483c3441e8b0330d9
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=85041620c2c84b2b5c46207483c3441e8b0330d9

Author: Carlos Lopez 
Date:   Sat Jun 20 19:56:40 2009 +0200

Use GTK media icons for Frame Dial navigation buttons

---

 synfig-studio/trunk/src/gtkmm/framedial.cpp |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/framedial.cpp 
b/synfig-studio/trunk/src/gtkmm/framedial.cpp
index a88af27..f892b60 100644
--- a/synfig-studio/trunk/src/gtkmm/framedial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/framedial.cpp
@@ -52,10 +52,10 @@ FrameDial::FrameDial(): Gtk::Table(3, 1, false)
 {
Gtk::IconSize iconsize = Gtk::IconSize::from_name("synfig-small_icon");
 
-   seek_begin = create_icon(iconsize, "synfig-seek_begin", _("Seek to 
Begin"));
-   seek_prev_frame = create_icon(iconsize, "synfig-seek_prev_frame", 
_("Previous Frame"));
-   seek_next_frame = create_icon(iconsize, "synfig-seek_next_frame", 
_("Next Frame"));
-   seek_end = create_icon(iconsize, "synfig-seek_end", _("Seek to End"));
+   seek_begin = create_icon(iconsize, GTK_STOCK_MEDIA_PREVIOUS, _("Seek to 
Begin"));
+   seek_prev_frame = create_icon(iconsize, GTK_STOCK_MEDIA_REWIND, 
_("Previous Frame"));
+   seek_next_frame = create_icon(iconsize, GTK_STOCK_MEDIA_FORWARD, 
_("Next Frame"));
+   seek_end = create_icon(iconsize, GTK_STOCK_MEDIA_NEXT, _("Seek to 
End"));
 
attach(*seek_begin, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*seek_prev_frame, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Use GTK icons for Zoom Dial buttons

2009-06-20 Thread Genete
Module: synfig
Branch: genete_master
Commit: 1e38f2edd694159be2e2f3b00ef9845a2ef0fc30
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e38f2edd694159be2e2f3b00ef9845a2ef0fc30

Author: Carlos Lopez 
Date:   Sat Jun 20 20:03:38 2009 +0200

Use GTK icons for Zoom Dial buttons

---

 synfig-studio/trunk/src/gtkmm/zoomdial.cpp |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp 
b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
index 78c76c1..aa42f1c 100644
--- a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
@@ -51,10 +51,10 @@ using namespace studio;
 
 ZoomDial::ZoomDial(Gtk::IconSize & size): Table(3, 1, false)
 {
-   zoom_in = create_icon(size, "gtk-add", _("Zoom In"));
-   zoom_out = create_icon(size, "gtk-remove", _("Zoom Out"));
-   zoom_fit = create_icon(size, "gtk-zoom-fit", _("Zoom to Fit"));
-   zoom_norm = create_icon(size, "gtk-zoom-100", _("Zoom to 100%"));
+   zoom_in = create_icon(size, GTK_STOCK_ZOOM_IN, _("Zoom In"));
+   zoom_out = create_icon(size, GTK_STOCK_ZOOM_OUT, _("Zoom Out"));
+   zoom_fit = create_icon(size, GTK_STOCK_ZOOM_FIT, _("Zoom to Fit"));
+   zoom_norm = create_icon(size, GTK_STOCK_ZOOM_100, _("Zoom to 100%"));
 
attach(*zoom_out, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*zoom_norm, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Use GTK icons for Zoom Dial buttons

2009-06-20 Thread Genete
Module: synfig
Branch: master
Commit: 1e38f2edd694159be2e2f3b00ef9845a2ef0fc30
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1e38f2edd694159be2e2f3b00ef9845a2ef0fc30

Author: Carlos Lopez 
Date:   Sat Jun 20 20:03:38 2009 +0200

Use GTK icons for Zoom Dial buttons

---

 synfig-studio/trunk/src/gtkmm/zoomdial.cpp |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp 
b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
index 78c76c1..aa42f1c 100644
--- a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
@@ -51,10 +51,10 @@ using namespace studio;
 
 ZoomDial::ZoomDial(Gtk::IconSize & size): Table(3, 1, false)
 {
-   zoom_in = create_icon(size, "gtk-add", _("Zoom In"));
-   zoom_out = create_icon(size, "gtk-remove", _("Zoom Out"));
-   zoom_fit = create_icon(size, "gtk-zoom-fit", _("Zoom to Fit"));
-   zoom_norm = create_icon(size, "gtk-zoom-100", _("Zoom to 100%"));
+   zoom_in = create_icon(size, GTK_STOCK_ZOOM_IN, _("Zoom In"));
+   zoom_out = create_icon(size, GTK_STOCK_ZOOM_OUT, _("Zoom Out"));
+   zoom_fit = create_icon(size, GTK_STOCK_ZOOM_FIT, _("Zoom to Fit"));
+   zoom_norm = create_icon(size, GTK_STOCK_ZOOM_100, _("Zoom to 100%"));
 
attach(*zoom_out, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*zoom_norm, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove uneeded code

2009-06-21 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: afda5d93409d50ccfb5167d1b808300b7e2e833d
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=afda5d93409d50ccfb5167d1b808300b7e2e833d

Author: Carlos Lopez 
Date:   Sun Jun 21 12:46:20 2009 +0200

Remove uneeded code

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |7 +--
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 7223410..d877e6d 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -972,12 +972,7 @@ CanvasView::create_time_bar()
SMALL_BUTTON(animatebutton,"gtk-yes",_("Animate"));
animatebutton->signal_clicked().connect(sigc::mem_fun(*this, 
&studio::CanvasView::on_animate_button_pressed));
animatebutton->show();
-/*
-   NORMAL_BUTTON(keyframebutton,"synfig-keyframe_lock_all",_("All 
Keyframes Locked"));
-   keyframebutton->signal_clicked().connect(sigc::mem_fun(*this, 
&studio::CanvasView::on_keyframe_button_pressed));
-   keyframebutton->show();
-   keyframebutton->set_relief(Gtk::RELIEF_NONE);
-*/
+
//Setup the audio display
disp_audio->set_size_request(-1,32); //disp_audio->show();
disp_audio->set_time_adjustment(&time_adjustment());


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Gerco Ballintijn : Use the GTKmm (instead of GTK) icon specifications for the Zoom and Frame

2009-06-22 Thread Genete
Module: synfig
Branch: genete_master
Commit: 2d3216db7740f8155429914c17af1edb04a032bb
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=2d3216db7740f8155429914c17af1edb04a032bb

Author: Gerco Ballintijn 
Date:   Mon Jun 22 14:02:52 2009 +0200

Use the GTKmm (instead of GTK) icon specifications for the Zoom and Frame
Navigation buttons.

---

 synfig-studio/trunk/src/gtkmm/framedial.cpp |   18 --
 synfig-studio/trunk/src/gtkmm/framedial.h   |3 ++-
 synfig-studio/trunk/src/gtkmm/zoomdial.cpp  |   14 +++---
 synfig-studio/trunk/src/gtkmm/zoomdial.h|2 +-
 4 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/framedial.cpp 
b/synfig-studio/trunk/src/gtkmm/framedial.cpp
index f892b60..a361bd3 100644
--- a/synfig-studio/trunk/src/gtkmm/framedial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/framedial.cpp
@@ -32,6 +32,7 @@
 
 #include "framedial.h"
 #include 
+#include 
 
 #endif
 
@@ -52,10 +53,14 @@ FrameDial::FrameDial(): Gtk::Table(3, 1, false)
 {
Gtk::IconSize iconsize = Gtk::IconSize::from_name("synfig-small_icon");
 
-   seek_begin = create_icon(iconsize, GTK_STOCK_MEDIA_PREVIOUS, _("Seek to 
Begin"));
-   seek_prev_frame = create_icon(iconsize, GTK_STOCK_MEDIA_REWIND, 
_("Previous Frame"));
-   seek_next_frame = create_icon(iconsize, GTK_STOCK_MEDIA_FORWARD, 
_("Next Frame"));
-   seek_end = create_icon(iconsize, GTK_STOCK_MEDIA_NEXT, _("Seek to 
End"));
+   seek_begin = create_icon(iconsize, Gtk::Stock::MEDIA_PREVIOUS,
+   _("Seek to Begin"));
+   seek_prev_frame = create_icon(iconsize, Gtk::Stock::MEDIA_REWIND,
+   _("Previous Frame"));
+   seek_next_frame = create_icon(iconsize, Gtk::Stock::MEDIA_FORWARD,
+   _("Next Frame"));
+   seek_end = create_icon(iconsize, Gtk::Stock::MEDIA_NEXT,
+   _("Seek to End"));
 
attach(*seek_begin, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*seek_prev_frame, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
@@ -64,11 +69,11 @@ FrameDial::FrameDial(): Gtk::Table(3, 1, false)
 }
 
 Gtk::Button *
-FrameDial::create_icon(Gtk::IconSize iconsize, const char * stockid,
+FrameDial::create_icon(Gtk::IconSize size, const Gtk::BuiltinStockID & stockid,
const char * tooltip)
 {
Gtk::Button *button = manage(new class Gtk::Button());
-   Gtk::Image *icon = manage(new Gtk::Image(Gtk::StockID(stockid), 
iconsize));
+   Gtk::Image *icon = manage(new Gtk::Image(stockid, size));
button->add(*icon);
tooltips.set_tip(*button, tooltip);
icon->set_padding(0, 0);
@@ -78,3 +83,4 @@ FrameDial::create_icon(Gtk::IconSize iconsize, const char * 
stockid,
 
return button;
 }
+
diff --git a/synfig-studio/trunk/src/gtkmm/framedial.h 
b/synfig-studio/trunk/src/gtkmm/framedial.h
index 58136b7..01f2be0 100644
--- a/synfig-studio/trunk/src/gtkmm/framedial.h
+++ b/synfig-studio/trunk/src/gtkmm/framedial.h
@@ -53,7 +53,8 @@ class FrameDial : public Gtk::Table
Gtk::Button *seek_next_frame;
Gtk::Button *seek_end;
 
-   Gtk::Button *create_icon(Gtk::IconSize iconsize, const char * stockid, 
const char * tooltip);
+   Gtk::Button *create_icon(Gtk::IconSize size, const Gtk::BuiltinStockID 
& stockid,
+   const char * tooltip);
 
 public:
FrameDial();
diff --git a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp 
b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
index aa42f1c..ae2f4a4 100644
--- a/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/zoomdial.cpp
@@ -31,6 +31,7 @@
 
 #include "zoomdial.h"
 #include 
+#include 
 
 #include "general.h"
 
@@ -51,10 +52,10 @@ using namespace studio;
 
 ZoomDial::ZoomDial(Gtk::IconSize & size): Table(3, 1, false)
 {
-   zoom_in = create_icon(size, GTK_STOCK_ZOOM_IN, _("Zoom In"));
-   zoom_out = create_icon(size, GTK_STOCK_ZOOM_OUT, _("Zoom Out"));
-   zoom_fit = create_icon(size, GTK_STOCK_ZOOM_FIT, _("Zoom to Fit"));
-   zoom_norm = create_icon(size, GTK_STOCK_ZOOM_100, _("Zoom to 100%"));
+   zoom_in = create_icon(size, Gtk::Stock::ZOOM_IN, _("Zoom In"));
+   zoom_out = create_icon(size, Gtk::Stock::ZOOM_OUT, _("Zoom Out"));
+   zoom_fit = create_icon(size, Gtk::Stock::ZOOM_FIT, _("Zoom to Fit"));
+   zoom_norm = create_icon(size, Gtk::Stock::ZOOM_100, _("Zoom to 100%"));
 
attach(*zoom_out, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
attach(*zoom_norm, 1, 2, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
@@ -63,11 +64,11 @@ ZoomDial::ZoomDial(Gtk::IconSize & size): Table(3, 1, false)
 }
 
 Gtk::Button *
-ZoomDial::create_icon(Gtk::IconSize size, const char * stockid,
+ZoomDial::create_icon(Gtk::IconSize size, const Gtk::BuiltinStockID & stockid,
const char * tooltip)
 {
Gtk::B

[Synfig-devl] Carlos Lopez : Moved keyframedial to the first row as well as the animate button

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: 9c73091357a9e0c1b3fe30fe2445b4d71996882e
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=9c73091357a9e0c1b3fe30fe2445b4d71996882e

Author: Carlos Lopez 
Date:   Mon Jun 22 01:11:15 2009 +0200

Moved keyframedial to the first row as well as the animate button
to save space.
Added tooltip to the Current time

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |   13 +++--
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index b3e243f..32530cd 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -993,6 +993,7 @@ CanvasView::create_time_bar()
sigc::mem_fun(*this,&CanvasView::on_current_time_widget_changed)
);
current_time_widget->set_size_request(0,-1); // request horizontal 
shrink
+   tooltips.set_tip(*current_time_widget,_("Current time"));
current_time_widget->show();
 
//Setup the FrameDial widget
@@ -1019,17 +1020,17 @@ CanvasView::create_time_bar()
keyframedial->show();
keyframebutton=keyframedial->get_lock_button();
 
-   Gtk::Table *table = manage(new class Gtk::Table(4, 4, false));
+   Gtk::Table *table = manage(new class Gtk::Table(5, 3, false));
timebar = table;
 
//Attach widgets to the time bar table
-   table->attach(*manage(disp_audio), 1, 4, 0, 1, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
+   table->attach(*manage(disp_audio), 1, 5, 0, 1, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
table->attach(*framedial, 0, 1, 2, 3,Gtk::SHRINK, Gtk::SHRINK);
table->attach(*current_time_widget, 0, 1, 1, 2, Gtk::SHRINK|Gtk::FILL, 
Gtk::SHRINK|Gtk::FILL, 0, 0);
-   table->attach(*timeslider, 1, 4, 1, 2, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
-   table->attach(*time_window_scroll, 1, 4, 2, 3, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
-   table->attach(*keyframedial, 0, 1, 3, 4, Gtk::SHRINK, Gtk::SHRINK);
-   table->attach(*animatebutton, 2, 3, 3, 4, Gtk::SHRINK, Gtk::SHRINK);
+   table->attach(*timeslider, 1, 3, 1, 2, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
+   table->attach(*time_window_scroll, 1, 3, 2, 3, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK);
+   table->attach(*keyframedial, 3, 4, 1, 2, Gtk::SHRINK, Gtk::SHRINK);
+   table->attach(*animatebutton, 4, 5, 1, 2, Gtk::SHRINK, Gtk::SHRINK);
//table->attach(*keyframebutton, 1, 2, 3, 4, Gtk::SHRINK, Gtk::SHRINK);
 
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Add Play/Stop button to the Frame Dial.

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: f2a5ca9cf3c770c4eb236d0c5c1ae7ecab242787
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f2a5ca9cf3c770c4eb236d0c5c1ae7ecab242787

Author: Carlos Lopez 
Date:   Mon Jun 22 20:08:36 2009 +0200

Add Play/Stop button to the Frame Dial.

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |   35 +++--
 synfig-studio/trunk/src/gtkmm/canvasview.h   |4 +++
 synfig-studio/trunk/src/gtkmm/framedial.cpp  |9 --
 synfig-studio/trunk/src/gtkmm/framedial.h|   12 ++---
 4 files changed, 50 insertions(+), 10 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 32530cd..7c3aa0a 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -99,7 +99,6 @@
 #include "preview.h"
 #include "audiocontainer.h"
 #include "widget_timeslider.h"
-#include "framedial.h"
 #include "keyframedial.h"
 
 #include 
@@ -997,13 +996,16 @@ CanvasView::create_time_bar()
current_time_widget->show();
 
//Setup the FrameDial widget
-   FrameDial *framedial = manage(new class FrameDial());
+   framedial = manage(new class FrameDial());
framedial->signal_seek_begin().connect(
sigc::bind(sigc::mem_fun(*canvas_interface().get(), 
&synfigapp::CanvasInterface::seek_time), Time::begin())
);
framedial->signal_seek_prev_frame().connect(
sigc::bind(sigc::mem_fun(*canvas_interface().get(), 
&synfigapp::CanvasInterface::seek_frame), -1)
);
+   framedial->signal_play_stop().connect(
+   sigc::mem_fun(*this, 
&studio::CanvasView::on_play_stop_pressed)
+   );
framedial->signal_seek_next_frame().connect(
sigc::bind(sigc::mem_fun(*canvas_interface().get(), 
&synfigapp::CanvasInterface::seek_frame), 1)
);
@@ -3154,8 +3156,8 @@ CanvasView::play()
return;
}
}
+   on_play_stop_pressed();
is_playing_=false;
-
time_adjustment().set_value(endtime);
time_adjustment().value_changed();
 }
@@ -3919,3 +3921,30 @@ CanvasView::on_delete_event(GdkEventAny* event 
__attribute__ ((unused)))
 
return true;
 }
+
+//! Modify the play stop button apearence and play stop the animation
+void
+CanvasView::on_play_stop_pressed()
+{
+   Gtk::Image *icon;
+   Gtk::Button *stop_button;
+   stop_button=framedial->get_play_button();
+   bool play_flag;
+   if(!is_playing())
+   {
+   icon = manage(new Gtk::Image(Gtk::Stock::MEDIA_STOP, 
Gtk::IconSize::from_name("synfig-small_icon")));
+   stop_button->set_relief(Gtk::RELIEF_NORMAL);
+   play_flag=true;
+   }
+   else
+   {
+   icon = manage(new Gtk::Image(Gtk::Stock::MEDIA_PLAY, 
Gtk::IconSize::from_name("synfig-small_icon")));
+   stop_button->set_relief(Gtk::RELIEF_NONE);
+   play_flag=false;
+   }
+   stop_button->remove();
+   stop_button->add(*icon);
+   icon->set_padding(0, 0);
+   icon->show();
+   if(play_flag) play(); else stop();
+}
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h 
b/synfig-studio/trunk/src/gtkmm/canvasview.h
index 6f1f87e..844a57f 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.h
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.h
@@ -65,6 +65,7 @@
 
 #include "dialog_waypoint.h"
 #include "dialog_keyframe.h"
+#include "framedial.h"
 
 #include "duckmatic.h"
 #include 
@@ -263,6 +264,7 @@ private:
Gtk::Widget *timebar;
Gtk::Button *animatebutton;
Gtk::Button *keyframebutton;
+   FrameDial *framedial;
 
 
//! Shows current time and allows edition
@@ -679,6 +681,8 @@ private:
//void on_audio_play();
bool on_audio_scrub();
 
+   void on_play_stop_pressed();
+
 protected:
bool close_instance_when_safe();
bool on_delete_event(GdkEventAny* event);
diff --git a/synfig-studio/trunk/src/gtkmm/framedial.cpp 
b/synfig-studio/trunk/src/gtkmm/framedial.cpp
index a361bd3..0392f4b 100644
--- a/synfig-studio/trunk/src/gtkmm/framedial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/framedial.cpp
@@ -49,7 +49,7 @@ using namespace studio;
 
 /* === M E T H O D S === */
 
-FrameDial::FrameDial(): Gtk::Table(3, 1, false)
+FrameDial::FrameDial(): Gtk::Table(5, 1, false)
 {
Gtk::IconSize iconsize = Gtk::IconSize::from_name("synfig-small_icon");
 
@@ -57,6 +57,8 @@ FrameDial::FrameDial(): Gtk::Table(3, 1, false)
_("Seek to Begin"));
seek_prev_frame = create_icon(iconsize, Gtk::Stock::MEDIA_REWIND,
_("Previous Frame"));
+   play_stop = create_icon(iconsize, Gtk::Stock::MEDIA_PLAY,
+

[Synfig-devl] Carlos Lopez : Reorder the code a bit and add some comments

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: 1a680abfce7422f6b44756fea9b047a9244ed697
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1a680abfce7422f6b44756fea9b047a9244ed697

Author: Carlos Lopez 
Date:   Mon Jun 22 19:05:34 2009 +0200

Reorder the code a bit and add some comments

---

 synfig-studio/trunk/src/gtkmm/canvasview.h |   17 +++--
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h 
b/synfig-studio/trunk/src/gtkmm/canvasview.h
index 3b27e8b..6f1f87e 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.h
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.h
@@ -258,20 +258,22 @@ private:
 
Gtk::Button *stopbutton;
Gtk::Button *refreshbutton;
-   Gtk::Button *treetogglebutton;
-   Gtk::Notebook *notebook;
+   Gtk::Button *treetogglebutton;  // not used
+   Gtk::Notebook *notebook; // not used
Gtk::Widget *timebar;
+   Gtk::Button *animatebutton;
+   Gtk::Button *keyframebutton;
+
 
+   //! Shows current time and allows edition
Widget_Time *current_time_widget;
void on_current_time_widget_changed();
 
-   std::auto_ptrtimeslider;
+   //! Time slider class. Same than the Time track panel
+   std::auto_ptr timeslider;
 
std::list duck_changed_connections;
 
-   Gtk::Button *animatebutton;
-   Gtk::Button *keyframebutton;
-
 /* DEBUGPOINT_CLASS(8);
 
Gtk::Menu duckmaskmenu;
@@ -308,6 +310,7 @@ private:
Gtk::CheckMenuItem* duck_mask_width;
Gtk::CheckMenuItem* duck_mask_angle;
 */
+   //! Menu members
Gtk::Menu parammenu;
 
Glib::RefPtr grid_snap_toggle;
@@ -400,9 +403,11 @@ private:
 
Gtk::Widget *create_time_bar();
 
+   //! Pop up menu for the bezier (bline, draw) tool (?)
void popup_param_menu_bezier(float location, synfigapp::ValueDesc 
value_desc)
{ popup_param_menu(value_desc,location,true); }
 
+   //! Pop up menu for the tools but not the bezier ones.
void popup_param_menu(synfigapp::ValueDesc value_desc, float 
location=0, bool bezier=false);
 
void workarea_layer_selected(synfig::Layer::Handle layer);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Comment a line that produced a bad render of the HScroll and seems to do nothing special .

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: 70eafd12bd61c47015b2ee21d87e93e5a38eb61e
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=70eafd12bd61c47015b2ee21d87e93e5a38eb61e

Author: Carlos Lopez 
Date:   Mon Jun 22 21:54:01 2009 +0200

Comment a line that produced a bad render of the HScroll and seems to do 
nothing special.

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 0b532cd..76437b9 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -959,7 +959,7 @@ CanvasView::create_time_bar()
tooltips.set_tip(*timeslider,_("Changes the current time"));
time_window_scroll->show();
timeslider->show();
-   time_window_scroll->set_flags(Gtk::CAN_FOCUS);
+   //time_window_scroll->set_flags(Gtk::CAN_FOCUS); // Uncomment this 
produce bad render of the HScroll
timeslider->set_flags(Gtk::CAN_FOCUS);
 
//time_scroll->signal_value_changed().connect(sigc::mem_fun(*work_area, 
&studio::WorkArea::render_preview_hook));


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Remove unneeded member call.

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: b4dbf420eee03a47b270864cfeeae984856b2a3b
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b4dbf420eee03a47b270864cfeeae984856b2a3b

Author: Carlos Lopez 
Date:   Mon Jun 22 21:02:42 2009 +0200

Remove unneeded member call.

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 7c3aa0a..0b532cd 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -951,7 +951,6 @@ CanvasView::create_time_bar()
//Gtk::HScrollbar *time_scroll = manage(new class 
Gtk::HScrollbar(time_adjustment()));
//TIME BAR TEMPORARY POSITION
//Widget_Timeslider *time_scroll = manage(new Widget_Timeslider);
-   timeslider->show();
timeslider->set_time_adjustment(&time_adjustment());
timeslider->set_bounds_adjustment(&time_window_adjustment());
//layout_table->attach(*timeslider, 0, 1, 2, 3, Gtk::EXPAND|Gtk::FILL, 
Gtk::SHRINK|Gtk::FILL);


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Keep correct size on the animate button after pressed.

2009-06-22 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: 62c72bf0bc6482003ae7423ecf727b2576fd5c46
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=62c72bf0bc6482003ae7423ecf727b2576fd5c46

Author: Carlos Lopez 
Date:   Mon Jun 22 22:18:29 2009 +0200

Keep correct size on the animate button after pressed.

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 76437b9..a3c42cc 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -2580,10 +2580,11 @@ void
 CanvasView::on_mode_changed(synfigapp::CanvasInterface::Mode mode)
 {
// If the animate flag was set in mode...
+   Gtk::IconSize iconsize=Gtk::IconSize::from_name("synfig-small_icon");
if(mode&synfigapp::MODE_ANIMATE)
{
Gtk::Image *icon;
-   icon=manage(new 
Gtk::Image(Gtk::StockID("gtk-no"),Gtk::ICON_SIZE_BUTTON));
+   icon=manage(new Gtk::Image(Gtk::StockID("gtk-no"),iconsize));
animatebutton->remove();
animatebutton->add(*icon);
tooltips.set_tip(*animatebutton,_("In Animate Editing Mode"));
@@ -2593,7 +2594,7 @@ 
CanvasView::on_mode_changed(synfigapp::CanvasInterface::Mode mode)
else
{
Gtk::Image *icon;
-   icon=manage(new 
Gtk::Image(Gtk::StockID("gtk-yes"),Gtk::ICON_SIZE_BUTTON));
+   icon=manage(new Gtk::Image(Gtk::StockID("gtk-yes"),iconsize));
animatebutton->remove();
animatebutton->add(*icon);
tooltips.set_tip(*animatebutton,_("Not in Animate Editing 
Mode"));


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Use Gtkmm stock items instead of Gtk ones for Keyframe Dial buttons.

2009-06-23 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: 949e80a73c9134690bbdc40dd4473e83199c462e
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=949e80a73c9134690bbdc40dd4473e83199c462e

Author: Carlos Lopez 
Date:   Tue Jun 23 16:27:06 2009 +0200

Use Gtkmm stock items instead of Gtk ones for Keyframe Dial buttons.

---

 synfig-studio/trunk/src/gtkmm/keyframedial.cpp |   21 +++--
 synfig-studio/trunk/src/gtkmm/keyframedial.h   |1 +
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/keyframedial.cpp 
b/synfig-studio/trunk/src/gtkmm/keyframedial.cpp
index a9bf328..c7b5c56 100644
--- a/synfig-studio/trunk/src/gtkmm/keyframedial.cpp
+++ b/synfig-studio/trunk/src/gtkmm/keyframedial.cpp
@@ -33,6 +33,7 @@
 
 #include "keyframedial.h"
 #include 
+#include 
 
 #endif
 
@@ -53,8 +54,8 @@ KeyFrameDial::KeyFrameDial(): Gtk::Table(1, 3, false)
 {
Gtk::IconSize iconsize = Gtk::IconSize::from_name("synfig-small_icon");
 
-   seek_prev_keyframe = create_icon(iconsize, GTK_STOCK_GO_BACK, 
_("Previous KeyFrame"));
-   seek_next_keyframe = create_icon(iconsize, GTK_STOCK_GO_FORWARD, 
_("Next KeyFrame"));
+   seek_prev_keyframe = create_icon(iconsize, Gtk::Stock::GO_BACK, 
_("Previous KeyFrame"));
+   seek_next_keyframe = create_icon(iconsize, Gtk::Stock::GO_FORWARD, 
_("Next KeyFrame"));
lock_keyframe = create_icon(Gtk::ICON_SIZE_BUTTON, 
"synfig-keyframe_lock_all",_("All Keyframes Locked"));
 
attach(*seek_prev_keyframe, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
@@ -77,3 +78,19 @@ KeyFrameDial::create_icon(Gtk::IconSize iconsize, const char 
* stockid,
 
return button;
 }
+
+Gtk::Button *
+KeyFrameDial::create_icon(Gtk::IconSize iconsize, const Gtk::BuiltinStockID & 
stockid,
+   const char * tooltip)
+{
+   Gtk::Button *button = manage(new class Gtk::Button());
+   Gtk::Image *icon = manage(new Gtk::Image(stockid, iconsize));
+   button->add(*icon);
+   tooltips.set_tip(*button, tooltip);
+   icon->set_padding(0, 0);
+   icon->show();
+   button->set_relief(Gtk::RELIEF_NONE);
+   button->show();
+
+   return button;
+}
diff --git a/synfig-studio/trunk/src/gtkmm/keyframedial.h 
b/synfig-studio/trunk/src/gtkmm/keyframedial.h
index 41dfc57..a6491c9 100644
--- a/synfig-studio/trunk/src/gtkmm/keyframedial.h
+++ b/synfig-studio/trunk/src/gtkmm/keyframedial.h
@@ -54,6 +54,7 @@ class KeyFrameDial : public Gtk::Table
Gtk::Button *lock_keyframe;
 
Gtk::Button *create_icon(Gtk::IconSize iconsize, const char * stockid, 
const char * tooltip);
+   Gtk::Button *create_icon(Gtk::IconSize iconsize, const 
Gtk::BuiltinStockID & stockid, const char * tooltip);
 
 public:
 


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] Carlos Lopez : Initial trial of toggle ducks dial. Needs re factoring to toggle buttons and place them in the top of the window .

2009-06-23 Thread Genete
Module: synfig
Branch: genete_canvasview
Commit: d20da1a857d97844bded15c19a5f81fc0d253b46
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=d20da1a857d97844bded15c19a5f81fc0d253b46

Author: Carlos Lopez 
Date:   Wed Jun 24 00:26:45 2009 +0200

Initial trial of toggle ducks dial. Needs re factoring to toggle buttons and 
place them in the top of the window.

---

 synfig-studio/trunk/src/gtkmm/Makefile.am |7 +-
 synfig-studio/trunk/src/gtkmm/canvasview.cpp  |   26 ++-
 synfig-studio/trunk/src/gtkmm/toggleducksdial.cpp |   83 +
 synfig-studio/trunk/src/gtkmm/toggleducksdial.h   |   78 +++
 4 files changed, 190 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/Makefile.am 
b/synfig-studio/trunk/src/gtkmm/Makefile.am
index 39acf8c..42cdd55 100644
--- a/synfig-studio/trunk/src/gtkmm/Makefile.am
+++ b/synfig-studio/trunk/src/gtkmm/Makefile.am
@@ -294,7 +294,8 @@ OTHER_HH = \
workarea.h \
zoomdial.h \
framedial.h \
-   keyframedial.h
+   keyframedial.h \
+   toggleducksdial.h
 
 OTHER_CC = \
main.cpp \
@@ -326,8 +327,8 @@ OTHER_CC = \
workarea.cpp \
zoomdial.cpp \
framedial.cpp \
-   keyframedial.cpp
-
+   keyframedial.cpp \
+   toggleducksdial.cpp
 
 INCLUDES = \
-I$(top_srcdir)/src
diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index a3c42cc..64bf34a 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -100,6 +100,7 @@
 #include "audiocontainer.h"
 #include "widget_timeslider.h"
 #include "keyframedial.h"
+#include "toggleducksdial.h"
 
 #include 
 #include 
@@ -1021,7 +1022,29 @@ CanvasView::create_time_bar()
keyframedial->show();
keyframebutton=keyframedial->get_lock_button();
 
-   Gtk::Table *table = manage(new class Gtk::Table(5, 3, false));
+   // Setup the ToggleDuckDial widget
+   ToggleDucksDial *toggleducksdial = Gtk::manage(new class 
ToggleDucksDial());
+   toggleducksdial->signal_ducks_position().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_POSITION)
+   );
+   toggleducksdial->signal_ducks_vertex().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_VERTEX)
+   );
+   toggleducksdial->signal_ducks_tangent().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_TANGENT)
+   );
+   toggleducksdial->signal_ducks_radius().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_RADIUS)
+   );
+   toggleducksdial->signal_ducks_width().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_WIDTH)
+   );
+   toggleducksdial->signal_ducks_angle().connect(
+   sigc::bind(sigc::mem_fun(*this, 
&studio::CanvasView::toggle_duck_mask),Duck::TYPE_ANGLE)
+   );
+   toggleducksdial->show();
+
+   Gtk::Table *table = manage(new class Gtk::Table(5, 4, false));
timebar = table;
 
//Attach widgets to the time bar table
@@ -1033,6 +1056,7 @@ CanvasView::create_time_bar()
table->attach(*keyframedial, 3, 4, 1, 2, Gtk::SHRINK, Gtk::SHRINK);
table->attach(*animatebutton, 4, 5, 1, 2, Gtk::SHRINK, Gtk::SHRINK);
//table->attach(*keyframebutton, 1, 2, 3, 4, Gtk::SHRINK, Gtk::SHRINK);
+   table->attach(*toggleducksdial, 0, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK);
 
 
table->show();
diff --git a/synfig-studio/trunk/src/gtkmm/toggleducksdial.cpp 
b/synfig-studio/trunk/src/gtkmm/toggleducksdial.cpp
new file mode 100644
index 000..b23acde
--- /dev/null
+++ b/synfig-studio/trunk/src/gtkmm/toggleducksdial.cpp
@@ -0,0 +1,83 @@
+/* === S Y N F I G = */
+/*!\file toggleducksdial.cpp
+** \brief Template File
+**
+** $Id$
+**
+** \legal
+** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2009 Gerco Ballintijn
+** Copyright (c) 2009 Carlos Lopez
+**
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
+**
+** This package is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public L

[Synfig-devl] Carlos Lopez : Reformat code a bit. No changes.

2009-06-24 Thread Genete
Module: synfig
Branch: genete_setup_dialog
Commit: 13674a3200c086cb4ac7539b2f7114be9faed9a7
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=13674a3200c086cb4ac7539b2f7114be9faed9a7

Author: Carlos Lopez 
Date:   Wed Jun 24 20:32:11 2009 +0200

Reformat code a bit. No changes.

---

 synfig-studio/trunk/src/gtkmm/dialog_setup.cpp |   57 
 1 files changed, 29 insertions(+), 28 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp 
b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
index 37eef72..89199c9 100644
--- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
+++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
@@ -219,33 +219,33 @@ Dialog_Setup::Dialog_Setup():
misc_table->attach(textbox_browser_command, 1, 2, 4, 5, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
 
// Document
-   Gtk::Table *document_table=manage(new Gtk::Table(2,4,false));
-   notebook->append_page(*document_table,_("Document"));
+   Gtk::Table *document_table = manage(new Gtk::Table(2, 4, false));
+   notebook->append_page(*document_table, _("Document"));
 
// Document - Preferred file name prefix
attach_label(document_table, _("New Document filename prefix"), 0, 
xpadding, ypadding);
document_table->attach(textbox_custom_filename_prefix, 1, 4, 0, 1, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
-   tooltips_.set_tip(textbox_custom_filename_prefix,_("File name prefix 
for the new created document"));
+   tooltips_.set_tip(textbox_custom_filename_prefix, _("File name prefix 
for the new created document"));
 
// Document - New Document X size
-   pref_x_size_spinbutton=Gtk::manage(new 
Gtk::SpinButton(adj_pref_x_size,1,0));
-   attach_label(document_table,_("New Document X size"),1, xpadding, 
ypadding);
-   document_table->attach(*pref_x_size_spinbutton, 1, 2, 1, 
2,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
-   tooltips_.set_tip(*pref_x_size_spinbutton,_("Width in pixels of the new 
created document"));
+   pref_x_size_spinbutton = Gtk::manage(new 
Gtk::SpinButton(adj_pref_x_size, 1, 0));
+   attach_label(document_table, _("New Document X size"),1, xpadding, 
ypadding);
+   document_table->attach(*pref_x_size_spinbutton, 1, 2, 1, 2, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+   tooltips_.set_tip(*pref_x_size_spinbutton, _("Width in pixels of the 
new created document"));
 
// Document - New Document Y size
-   pref_y_size_spinbutton=Gtk::manage(new 
Gtk::SpinButton(adj_pref_y_size,1,0));
-   attach_label(document_table,_("New Document Y size"),2, xpadding, 
ypadding);
+   pref_y_size_spinbutton = Gtk::manage(new 
Gtk::SpinButton(adj_pref_y_size, 1, 0));
+   attach_label(document_table,_("New Document Y size"), 2, xpadding, 
ypadding);
document_table->attach(*pref_y_size_spinbutton, 1, 2, 2, 
3,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
-   tooltips_.set_tip(*pref_y_size_spinbutton,_("High in pixels of the new 
created document"));
+   tooltips_.set_tip(*pref_y_size_spinbutton, _("High in pixels of the new 
created document"));
 
//Document - Template for predefined sizes of canvases.
-   size_template_combo=Gtk::manage(new Gtk::ComboBoxText());
+   size_template_combo = Gtk::manage(new Gtk::ComboBoxText());
Gtk::Label* label(manage(new Gtk::Label(_("Predefined Resolutions:";
label->set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
document_table->attach(*label, 2, 3, 1, 2, Gtk::SHRINK|Gtk::FILL, 
Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
-   document_table->attach(*size_template_combo,2, 3, 2, 3, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
-   
size_template_combo->signal_changed().connect(sigc::mem_fun(*this,&studio::Dialog_Setup::on_size_template_combo_change));
+   document_table->attach(*size_template_combo, 2, 3, 2, 3, 
Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+   size_template_combo->signal_changed().connect(sigc::mem_fun(*this, 
&studio::Dialog_Setup::on_size_template_combo_change));
size_template_combo->prepend_text(_("4096x3112 Full Aperture 4K"));
size_template_combo->prepend_text(_("2048x1556 Full Aperture Native 
2K"));
size_template_combo->prepend_text(_("1920x1080 HDTV 1080p/i"));
@@ -263,31 +263,32 @@ Dialog_Setup::Dialog_Setup():
size_template_combo->prepend_text(DEFAULT_PREDEFINED_SIZE);
 
//Document - Template for predefined fps
-   fps_template_combo=Gtk::manage(new Gtk::ComboBoxText());
+   fps_template_combo = Gtk::manage(new Gtk::ComboBoxText());
Gtk::Label* label1(manage(new Gtk::Label(_("Predefined FPS:";
label1->set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
document_table->attach(*label1, 2, 3

  1   2   3   4   5   6   7   8   9   10   >