Update of /cvsroot/adobe-source/adobe-source/adobe/future/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12808/adobe/future/source Modified Files: assemblage.cpp cmd_system.cpp iomanip.cpp iomanip_asl_cel.cpp iomanip_pdf.cpp iomanip_xml.cpp menu_system.cpp Log Message: asl 1.0.12 Index: cmd_system.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/cmd_system.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cmd_system.cpp 2 Dec 2005 02:52:55 -0000 1.1 --- cmd_system.cpp 6 Jan 2006 18:35:21 -0000 1.2 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) *************** *** 24,28 **** struct command_entry_t { ! typedef boost::signal<void (adobe::name_t, bool)> enable_callback_list_t; command_entry_t() : --- 24,28 ---- struct command_entry_t { ! typedef boost::signal<void (bool)> enable_callback_list_t; command_entry_t() : *************** *** 90,94 **** void command_system_t::implementation_t::insert_command(adobe::name_t name, const command_proc_t& proc) { ! if (command_map_m.find(name) != command_map_m.end()) return; command_entry_t& cmd(command_map_m[name]); --- 90,95 ---- void command_system_t::implementation_t::insert_command(adobe::name_t name, const command_proc_t& proc) { ! if (command_map_m.find(name) != command_map_m.end()) ! throw std::runtime_error("A command by this name already exists"); command_entry_t& cmd(command_map_m[name]); *************** *** 103,107 **** command_map_t::iterator item(command_map_m.find(name)); ! if (item == command_map_m.end()) return; command_map_m.erase(item); --- 104,109 ---- command_map_t::iterator item(command_map_m.find(name)); ! if (item == command_map_m.end()) ! throw std::runtime_error("A command by this name could not be found"); command_map_m.erase(item); *************** *** 112,116 **** void command_system_t::implementation_t::enable_command(adobe::name_t name, bool enabled) { ! assert(command_map_m.find(name) != command_map_m.end()); command_entry_t& cmd(command_map_m[name]); --- 114,119 ---- void command_system_t::implementation_t::enable_command(adobe::name_t name, bool enabled) { ! if (command_map_m.find(name) == command_map_m.end()) ! throw std::runtime_error("A command by this name could not be found"); command_entry_t& cmd(command_map_m[name]); *************** *** 120,124 **** cmd.enabled_m = enabled; ! cmd.enabled_callback_m(name, cmd.enabled_m); } --- 123,127 ---- cmd.enabled_m = enabled; ! cmd.enabled_callback_m(cmd.enabled_m); } *************** *** 127,131 **** void command_system_t::implementation_t::do_command(adobe::name_t name) { ! assert(command_map_m.find(name) != command_map_m.end()); command_entry_t& cmd(command_map_m[name]); --- 130,135 ---- void command_system_t::implementation_t::do_command(adobe::name_t name) { ! if (command_map_m.find(name) == command_map_m.end()) ! throw std::runtime_error("A command by this name could not be found"); command_entry_t& cmd(command_map_m[name]); *************** *** 140,144 **** command_system_t::connection_t command_system_t::implementation_t::monitor_enabled(adobe::name_t name, const command_enabled_callback_t& callback) { ! assert(command_map_m.find(name) != command_map_m.end()); command_entry_t& cmd(command_map_m[name]); --- 144,149 ---- command_system_t::connection_t command_system_t::implementation_t::monitor_enabled(adobe::name_t name, const command_enabled_callback_t& callback) { ! if (command_map_m.find(name) == command_map_m.end()) ! throw std::runtime_error("A command by this name could not be found"); command_entry_t& cmd(command_map_m[name]); Index: menu_system.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/menu_system.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** menu_system.cpp 2 Dec 2005 02:52:55 -0000 1.1 --- menu_system.cpp 6 Jan 2006 18:35:21 -0000 1.2 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) Index: iomanip_asl_cel.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/iomanip_asl_cel.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iomanip_asl_cel.cpp 8 Aug 2005 16:37:11 -0000 1.2 --- iomanip_asl_cel.cpp 6 Jan 2006 18:35:21 -0000 1.3 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) Index: assemblage.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/assemblage.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** assemblage.cpp 2 Apr 2005 05:47:36 -0000 1.3 --- assemblage.cpp 6 Jan 2006 18:35:21 -0000 1.4 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) Index: iomanip.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/iomanip.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** iomanip.cpp 2 Jun 2005 23:14:16 -0000 1.3 --- iomanip.cpp 6 Jan 2006 18:35:21 -0000 1.4 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) Index: iomanip_pdf.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/iomanip_pdf.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** iomanip_pdf.cpp 2 Jun 2005 23:14:16 -0000 1.3 --- iomanip_pdf.cpp 6 Jan 2006 18:35:21 -0000 1.4 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) Index: iomanip_xml.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/source/iomanip_xml.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iomanip_xml.cpp 3 Mar 2005 06:58:16 -0000 1.2 --- iomanip_xml.cpp 6 Jan 2006 18:35:21 -0000 1.3 *************** *** 1,4 **** /* ! Copyright 2005 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) --- 1,4 ---- /* ! Copyright 2005-2006 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) |