You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(67) |
Apr
(455) |
May
(202) |
Jun
(136) |
Jul
(203) |
Aug
(60) |
Sep
(88) |
Oct
(64) |
Nov
(56) |
Dec
(78) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(271) |
Feb
(207) |
Mar
|
Apr
|
May
(167) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Foster B. <fos...@us...> - 2005-04-02 05:48:13
|
Update of /cvsroot/adobe-source/adobe-source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172 Modified Files: read_me.txt Added Files: Jamfile boost-build.jam project-root.jam Log Message: asl 1.0.2 --- NEW FILE: boost-build.jam --- boost-build third_party/boost_tp/boost/tools/build/v2/ ; Index: read_me.txt =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/read_me.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** read_me.txt 17 Mar 2005 18:02:39 -0000 1.3 --- read_me.txt 2 Apr 2005 05:47:33 -0000 1.4 *************** *** 1,14 **** ! Release Notes 2005XXYY -=-=-= REVISION HISTORY ! 2005/XX/YY Reworked ui_core API for edit_text, popup, and unit_edit_text widgets ! Improved ui_core fudge code, though it still needs improvement Added command line tutorial program for Adam (thanks to Peter Kummel for the discussion prompting the work) Fixed several ASL compilation bugs for various platforms. Added boost patch file to the distro (thanks to Nick Kraft for pointing out the omission) - // Started working on website tutorial for Eve Multiple documentation tweaks and enhancements 2005/02/28 First public release! Lots of kinks to work out still, though. 2005/01/24 Many content-related documentation tweaks --- 1,19 ---- ! Release Notes 20050401 -=-=-= REVISION HISTORY ! 2005/04/01 Started bringing Adobe Begin for Win32 online. Took a good chunk out of it, but bugs remain. ! Reworking of Win32 metrics measurement / UI enchancement on Win32 (by Ralph Thomas) ! Reworking of bjam build environment within adobe-source (by Ralph Thomas) ! Separation of platform code from express_viewer.cpp (by Ralph Thomas) ! Added eve_smoke, a test app for verifying Eve2 view definitions from the command line ! Reworked ui_core API for edit_text, popup, and unit_edit_text widgets ! Improved ui_core fudge code, though it still needs improvement (Mac) Added command line tutorial program for Adam (thanks to Peter Kummel for the discussion prompting the work) Fixed several ASL compilation bugs for various platforms. Added boost patch file to the distro (thanks to Nick Kraft for pointing out the omission) Multiple documentation tweaks and enhancements + Added XCode projects for asl_lib, boost_lib, and Adobe Begin 2005/02/28 First public release! Lots of kinks to work out still, though. 2005/01/24 Many content-related documentation tweaks --- NEW FILE: Jamfile --- # # This Jamfile triggers the build of the visual demo and adam tutorial. # --- NEW FILE: project-root.jam --- use-project /boost : third_party/boost_tp/boost ; use-project /adobe : adobe/build ; use-project /adobe/visual : adobe/test/visual ; use-project /adobe/adam_tutorial : adobe/test/adam_tutorial ; |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/sources/mac Modified Files: ui_core_implementation.cpp Added Files: main.cpp Log Message: asl 1.0.2 --- NEW FILE: main.cpp --- /* Copyright 2005 Ralph Thomas Distributed under the MIT License (see accompanyinf file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /****************************************************************************************************/ #include "express_viewer.hpp" #include "report_exception.hpp" #include "carbon_safe.hpp" #include <boost/filesystem/convenience.hpp> #include <sstream> #include <string> /****************************************************************************************************/ #define kHICommandRefreshView 'Reld' #define kHICommandRefreshSheet 'RfsS' #define kHICommandNormalDialogSize 'NrSz' #define kHICommandSmallDialogSize 'SmSz' #define kHICommandMiniDialogSize 'MnSz' #define kHICommandFrameWidgets 'TgFm' #define kHICommandClearWidgetFrames 'ClFr' #define kHICommandSerializeWidgets 'SzWg' const CFStringRef kMainNibFileName (CFSTR( "Begin" )); const CFStringRef kMenuBarNibName (CFSTR( "MenuBar" )); /****************************************************************************************************/ namespace bfs = boost::filesystem; /****************************************************************************************************/ namespace { /****************************************************************************************************/ // /// Convert a MacOS FSRef into a Boost path. This allows us to use the /// boost::filesystem library to perform operations on the path, rather /// than using the FSRef API. /// /// \param location the FSRef to make into a bfs::path /// \return a bfs path of the given location. // boost::filesystem::path fsref_to_path( const FSRef& location ) { std::size_t max_size (1024); std::vector<char> path_buffer(max_size); OSErr error (noErr); while (true) { error = FSRefMakePath(&location, reinterpret_cast<UInt8*>(&path_buffer[0]), max_size); if (error != pathTooLongErr) break; max_size *= 2; path_buffer.resize(max_size); } ADOBE_REQUIRE_STATUS(error); return boost::filesystem::path( &path_buffer[0], boost::filesystem::native ); } /****************************************************************************************************/ // /// Attempt to open the documents in the given AEDescList. // void OpenTheDocuments(AEDescList* documents) { adobe::simpleApplication* theApp = adobe::simpleApplication::getInstance(); long doc_count; FSRef file; AEKeyword keyword; DescType type_code; Size actual_size; ADOBE_REQUIRE_STATUS(AECountItems(documents, &doc_count)); bool is_adam (false); bool is_eve (false); for (long i = 1 ; i <= doc_count; ++i) { /* get the i'th FSSpec record. NOTE: implicity, we are calling a coercion handler because this list actually contains alias records. In particular, the coercion handler converts them from alias records into FSSpec records. */ ADOBE_REQUIRE_STATUS(AEGetNthPtr(documents, i, typeFSRef, &keyword, &type_code, (Ptr) &file, sizeof(file), (actual_size = sizeof(file), &actual_size))); // // We need to get the directory name and the file name of the document // which we have been asked to open. // bfs::path file_name( fsref_to_path( file ) ); std::string extension( boost::filesystem::extension( file_name ) ); if (extension == ".eve") { theApp->set_eve_file( file_name ); is_eve = true; } else if (extension == ".adm") { theApp->set_adam_file( file_name ); is_adam = true; } } if (is_adam) theApp->load_sheet(); // will display window else if (is_eve) theApp->display_window(); } /****************************************************************************************************/ // /// Handle "open documents" requests coming from AppleEvents. /// /// \param appleEvt the apple event to respond to. /// \param reply the default reply event /// \param ref the AE dispatch table.. // pascal OSErr handle_open( const AppleEvent* appleEvt, AppleEvent* /*reply*/, long /*ref*/ ) try { OSErr error; AEDescList documents; // // Allocate AEDescList's internals. // AECreateDesc( typeNull, 0, 0, &documents ); // // Try to get the list of documents to open. // error = AEGetParamDesc( appleEvt, keyDirectObject, typeAEList, &documents ); if( error == noErr ) OpenTheDocuments( &documents ); // // Release the document list and return. // AEDisposeDesc( &documents ); return error; } catch( ... ) { adobe::report_exception(); return -1; // REVISIT } /****************************************************************************************************/ // /// Handle commands coming from the menubar. /// /// \param handler the next handler to call. /// \param event description of the event. /// \param data the simpleApplication we need to communicate with. // static pascal OSStatus menu_command( EventHandlerCallRef /*handler*/, EventRef event, void* data ) try { adobe::simpleApplication* theApp( static_cast<adobe::simpleApplication*>( data ) ); OSStatus result( noErr ); HICommand command; // // We can't do anything without a pointer to the application // object. // if( !theApp ) return eventNotHandledErr; if( GetEventParameter( event, kEventParamDirectObject, typeHICommand, 0, sizeof( command ), 0, &command ) ) return eventNotHandledErr; // // Figure out what we're meant to do. // switch( command.commandID ) { #ifndef NDEBUG case kHICommandFrameWidgets: theApp->frame_window(); break; case kHICommandClearWidgetFrames: theApp->clear_window_frames(); break; #else case kHICommandFrameWidgets: case kHICommandClearWidgetFrames: adobe::system_beep(); break; #endif case kHICommandNormalDialogSize: theApp->set_dialog_size( size_normal_s ); theApp->display_window(); break; case kHICommandSmallDialogSize: theApp->set_dialog_size( size_small_s ); theApp->display_window(); break; case kHICommandMiniDialogSize: theApp->set_dialog_size( size_mini_s ); theApp->display_window(); break; case kHICommandRefreshView: theApp->display_window(); break; case kHICommandSerializeWidgets: theApp->serialize_connections(); break; case kHICommandSave: case kHICommandSaveAs: case kHICommandClose: case kHICommandNew: case kHICommandOpen: case kHICommandPageSetup: case kHICommandPrint: adobe::system_beep(); break; default: result = eventNotHandledErr; break; } return result; } catch( ... ) { adobe::report_exception(); return eventNotHandledErr; } /****************************************************************************************************/ } // namespace /****************************************************************************************************/ namespace adobe { /****************************************************************************************************/ // /// These template ensures that the static auto_ptr event handlers get /// released when the app closes. // template<> struct adobe::delete_ptr<AEEventHandlerUPP> { void operator()( AEEventHandlerUPP x ) const { if( x ) DisposeAEEventHandlerUPP( x ); } }; /****************************************************************************************************/ template<> struct adobe::delete_ptr<EventHandlerUPP> { void operator()( EventHandlerUPP x ) const { if( x ) DisposeEventHandlerUPP( x ); } }; /****************************************************************************************************/ bool os_initialize( adobe::simpleApplication* theApp ) { // // On the Mac we need to install the application menus, respond // to AppleEvents and set the resource path. We set the resource // path first. // ProcessSerialNumber psn; ADOBE_REQUIRE_STATUS( GetCurrentProcess( &psn ) ); FSRef location; ADOBE_REQUIRE_STATUS( GetProcessBundleLocation( &psn, &location ) ); theApp->set_resource_directory( fsref_to_path( location ) / "Contents/Resources" ); // // Now load our bundle, sign up for AppleEvents and show the menu. // CFBundleRef bundle = CFBundleGetMainBundle(); IBNibRef nibs = 0; if( !bundle ) return false; ADOBE_REQUIRE_STATUS( CreateNibReferenceWithCFBundle( bundle, kMainNibFileName, &nibs ) ); if( !nibs ) { ::CFRelease( bundle ); return false; } // // Sign up to handle the "Open" AppleEvent. // static adobe::auto_resource<AEEventHandlerUPP> ae_handler( NewAEEventHandlerUPP( handle_open ) ); AEInstallEventHandler( kCoreEventClass, kAEOpenDocuments, ae_handler.get(), 0, false ); // // Install the menu, and it's event handler. // ADOBE_REQUIRE_STATUS( SetMenuBarFromNib( nibs, kMenuBarNibName ) ); static EventTypeSpec hi_event = { kEventClassCommand, kHICommandFromMenu }; static adobe::auto_resource<EventHandlerUPP> hi_handler( NewEventHandlerUPP( menu_command ) ); InstallApplicationEventHandler( hi_handler.get(), 1, &hi_event, theApp, 0 ); // // Now that we've finished initializing we can set the cursor to // a pointy arrow (instead of the hourglass). // InitCursor(); // // Register this app as an Appearance Client // RegisterAppearanceClient(); return true; } /****************************************************************************************************/ void os_mainloop() { RunApplicationEventLoop(); } /****************************************************************************************************/ void os_end_mainloop() { QuitApplicationEventLoop(); } /****************************************************************************************************/ } /****************************************************************************************************/ int main() { try { adobe::simpleApplication* theApp = adobe::simpleApplication::getInstance(); if( theApp ) theApp->run(); } catch( ... ) { adobe::report_exception(); } return 0; } /****************************************************************************************************/ Index: ui_core_implementation.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/mac/ui_core_implementation.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ui_core_implementation.cpp 17 Mar 2005 18:03:20 -0000 1.1 --- ui_core_implementation.cpp 2 Apr 2005 05:47:39 -0000 1.2 *************** *** 13,21 **** #include "display.hpp" - #include <adobe/value.hpp> - #include <adobe/future/memory.hpp> - #include <adobe/future/enum_ops.hpp> #include <adobe/algorithm.hpp> #include <adobe/dictionary.hpp> #include <boost/type_traits.hpp> --- 13,23 ---- #include "display.hpp" #include <adobe/algorithm.hpp> + #include <adobe/array.hpp> #include <adobe/dictionary.hpp> + #include <adobe/value.hpp> + + #include <adobe/future/enum_ops.hpp> + #include <adobe/future/memory.hpp> #include <boost/type_traits.hpp> *************** *** 25,28 **** --- 27,34 ---- /****************************************************************************************************/ + namespace adobe { + + /****************************************************************************************************/ + /* REVIST (sparent) : Need to file a bug report on this with Apple. Our default bounds is large *************** *** 36,39 **** --- 42,49 ---- /****************************************************************************************************/ + } // namespace adobe + + /****************************************************************************************************/ + enum metrics { gap = 6 // Measured as space from popup to label. *************** *** 46,49 **** --- 56,144 ---- /****************************************************************************************************/ + #if 0 + #pragma mark - + #endif + + /****************************************************************************************************/ + + inline long theme_metric(ThemeMetric metric) + { + SInt32 value(0); + + ::GetThemeMetric(metric, &value); + + return value; + } + + /****************************************************************************************************/ + + template <typename T> + adobe::rectangle_t widget_metrics(adobe::theme_t /*theme*/) + { return adobe::rectangle_t(); } + + /****************************************************************************************************/ + + template <> + adobe::rectangle_t widget_metrics<adobe::checkbox_t::implementation_t>(adobe::theme_t theme) + { + adobe::rectangle_t result; + + theme &= adobe::theme_mask_s; + + if (theme == adobe::theme_mini_s) + { + result.width() += theme_metric(kThemeMetricMiniCheckBoxWidth); + + result.height() += theme_metric(kThemeMetricMiniCheckBoxHeight); + } + else if (theme == adobe::theme_small_s) + { + result.width() += theme_metric(kThemeMetricSmallCheckBoxWidth); + + result.height() += theme_metric(kThemeMetricSmallCheckBoxHeight); + } + else // if (theme == adobe::theme_normal_s) + { + result.width() += theme_metric(kThemeMetricCheckBoxWidth); + + result.height() += theme_metric(kThemeMetricCheckBoxHeight); + } + + return result; + } + + /****************************************************************************************************/ + + std::string get_control_title(ControlRef control); + adobe::rectangle_t get_text_dimensions(const std::string& text, adobe::theme_t theme); + + /****************************************************************************************************/ + + template <typename T> + adobe::rectangle_t widget_measurement(const T& widget) + { + std::string name(get_control_title(widget.control_m)); + adobe::rectangle_t result(widget_metrics<T>(widget.theme_m)); + adobe::rectangle_t text(get_text_dimensions(name, widget.theme_m)); + + result.width() += text.width(); + + if (name.size()) + result.width() += gap; + + adobe::copy( text.slice_m[adobe::rectangle_slices_t::vertical].poi_m, + std::back_inserter(result.slice_m[adobe::rectangle_slices_t::vertical].poi_m)); + + return result; + } + + /****************************************************************************************************/ + + #if 0 + #pragma mark - + #endif + + /****************************************************************************************************/ + std::string cfstring_to_string(CFStringRef x) { *************** *** 66,70 **** adobe::auto_resource<CFStringRef> string_to_cfstring(const std::string& x) { ! return adobe::auto_resource<CFStringRef>(::CFStringCreateWithCString(NULL, x.c_str(), kCFStringEncodingUTF8)); } --- 161,167 ---- adobe::auto_resource<CFStringRef> string_to_cfstring(const std::string& x) { ! adobe::auto_resource<CFStringRef> convertedString(::CFStringCreateWithCString(NULL, x.c_str(), kCFStringEncodingUTF8)); ! ! return convertedString; } *************** *** 196,199 **** --- 293,310 ---- /****************************************************************************************************/ + + // REVISIT (sparent) : This seems useful enough that we might want to move it into array.hpp + + template <typename T1, typename T2> + inline adobe::array_t make_array(std::pair<T1, T2> p) + { + adobe::array_t a; + a.push_back(p.first); + a.push_back(p.second); + return a; + } + + /****************************************************************************************************/ + adobe::dictionary_t rectangle_slice_to_dictionary(const adobe::rectangle_t::slice_t& s) { *************** *** 208,211 **** --- 319,323 ---- if (s.poi_m.size()) { + #if 0 adobe::points_of_interest_t::const_iterator first(s.poi_m.begin()); adobe::points_of_interest_t::const_iterator last(s.poi_m.end()); *************** *** 213,217 **** for (; first != last; ++first) ! poi_array = adobe::array_push_back(poi_array, adobe::value_t(*first)); result.set(adobe::static_name_t("poi_set"), poi_array); --- 325,334 ---- for (; first != last; ++first) ! poi_array.push_back(*first); ! #endif ! ! adobe::array_t poi_array; ! ! adobe::copy(s.poi_m, poi_array.back_inserter()); result.set(adobe::static_name_t("poi_set"), poi_array); *************** *** 220,231 **** if (s.outset_m.first || s.outset_m.second) { ! adobe::array_t empty; ! result.set(adobe::static_name_t("outset"), adobe::array_push_back(adobe::array_push_back(empty, s.outset_m.first), s.outset_m.second)); } if (s.frame_m.first || s.outset_m.second) { ! adobe::array_t empty; ! result.set(adobe::static_name_t("frame"), adobe::array_push_back(adobe::array_push_back(empty, s.frame_m.first), s.frame_m.second)); } --- 337,346 ---- if (s.outset_m.first || s.outset_m.second) { ! result.set(adobe::static_name_t("outset"), make_array(s.outset_m)); } if (s.frame_m.first || s.outset_m.second) { ! result.set(adobe::static_name_t("frame"), make_array(s.frame_m)); } *************** *** 233,237 **** { adobe::array_t empty; ! result.set(adobe::static_name_t("inset"), adobe::array_push_back(adobe::array_push_back(empty, s.inset_m.first), s.inset_m.second)); } --- 348,352 ---- { adobe::array_t empty; ! result.set(adobe::static_name_t("inset"), make_array(s.inset_m)); } *************** *** 290,298 **** geometry.slice_m[adobe::rectangle_slices_t::horizontal].length_m += fudges.left() + fudges.right(); ! // why did we do this? ! //geometry.slice_m[adobe::rectangle_slices_t::vertical].outset_m.first += fudges.top(); ! //geometry.slice_m[adobe::rectangle_slices_t::vertical].outset_m.second -= fudges.bottom() + fudges.top(); ! //geometry.slice_m[adobe::rectangle_slices_t::horizontal].outset_m.first += fudges.left(); ! //geometry.slice_m[adobe::rectangle_slices_t::horizontal].outset_m.second -= fudges.right() + fudges.left(); adobe::points_of_interest_t& poi(geometry.slice_m[adobe::rectangle_slices_t::vertical].poi_m); --- 405,414 ---- geometry.slice_m[adobe::rectangle_slices_t::horizontal].length_m += fudges.left() + fudges.right(); ! #if 0 ! geometry.slice_m[adobe::rectangle_slices_t::vertical].outset_m.first += fudges.top(); ! geometry.slice_m[adobe::rectangle_slices_t::vertical].outset_m.second -= fudges.bottom() + fudges.top(); ! geometry.slice_m[adobe::rectangle_slices_t::horizontal].outset_m.first += fudges.left(); ! geometry.slice_m[adobe::rectangle_slices_t::horizontal].outset_m.second -= fudges.right() + fudges.left(); ! #endif adobe::points_of_interest_t& poi(geometry.slice_m[adobe::rectangle_slices_t::vertical].poi_m); *************** *** 307,311 **** position.second -= fudges.top(); position.first -= fudges.left(); ! geometry.height() -= fudges.bottom(); geometry.width() -= fudges.right(); --- 423,427 ---- position.second -= fudges.top(); position.first -= fudges.left(); ! geometry.height() -= fudges.bottom(); geometry.width() -= fudges.right(); *************** *** 2282,2287 **** assert(control_m); ! point_t position(pos); ! rectangle_t geometry(geo); shed_fudges(position, geometry, fudges_m); --- 2398,2403 ---- assert(control_m); ! point_t position(pos); ! rectangle_t geometry(geo); shed_fudges(position, geometry, fudges_m); *************** *** 2322,2325 **** --- 2438,2461 ---- set_widget_data(control_m, kControlEntireControl, kControlFontStyleTag, new_style, false); + + #if 0 + try + { + ControlSize control_size(kControlSizeNormal); + + switch ( theme & theme_mask_s ) + { + case theme_large_s: control_size = kControlSizeLarge; break; + //case theme_normal_s: control_size = kControlSizeNormal; break; + case theme_small_s: control_size = kControlSizeSmall; break; + case theme_mini_s: control_size = kControlSizeMini; break; + } + + // could throw -- we don't care + set_widget_data(control_m, kControlEntireControl, kControlSizeTag, control_size); + } + catch (...) + { } + #endif } *************** *** 2678,2683 **** dict.set(static_name_t("name"), first->name_m); dict.set(static_name_t("value"), first->value_m); ! ! tab_array = array_push_back(tab_array, adobe::value_t(dict)); } --- 2814,2819 ---- dict.set(static_name_t("name"), first->name_m); dict.set(static_name_t("value"), first->value_m); ! ! tab_array.push_back(dict); } *************** *** 2896,2901 **** dict.set(static_name_t("modifiers"), first->modifiers_m); dict.set(static_name_t("value"), first->value_m); ! ! state_array = array_push_back(state_array, adobe::value_t(dict)); } --- 3032,3037 ---- dict.set(static_name_t("modifiers"), first->modifiers_m); dict.set(static_name_t("value"), first->value_m); ! ! state_array.push_back(dict); } *************** *** 3057,3062 **** { assert(control_m); ! ! rectangle_t result(_super::best_bounds()); if (get_control_title(control_m).empty()) --- 3193,3200 ---- { assert(control_m); ! #if 0 ! return widget_measurement(*this); ! #else ! rectangle_t result(_super::best_bounds()); if (get_control_title(control_m).empty()) *************** *** 3071,3075 **** temp.set_theme(theme_m); ! rectangle_t result2(temp.best_bounds()); points_of_interest_t& dst_poi(result.slice_m[rectangle_slices_t::vertical].poi_m); --- 3209,3213 ---- temp.set_theme(theme_m); ! rectangle_t result2(temp.best_bounds()); points_of_interest_t& dst_poi(result.slice_m[rectangle_slices_t::vertical].poi_m); *************** *** 3083,3086 **** --- 3221,3225 ---- return result; + #endif } *************** *** 4176,4180 **** dict.set(static_name_t("value"), first->second); ! popup_array = array_push_back(popup_array, adobe::value_t(dict)); } --- 4315,4319 ---- dict.set(static_name_t("value"), first->second); ! popup_array.push_back(dict); } *************** *** 4926,4929 **** --- 5065,5072 ---- { return element; } + template <> + HIViewRef view_for_element<HIViewRef, window_t>(window_t& element) + { return element.implementation().root_control_m.control_m; } + /****************************************************************************************************/ /* Macros to define default functionality for display mechanism hook-up */ *************** *** 4944,4955 **** /****************************************************************************************************/ /* Non-default specialization for window_t */ ADOBE_INSERT_BOILERPLATE_SPECIALIZATION(window_t); - template <> - HIViewRef view_for_element<HIViewRef, window_t>(window_t& element) - { return element.implementation().root_control_m.control_m; } - /****************************************************************************************************/ /* Non-default specialization for edit_text_t */ --- 5087,5098 ---- /****************************************************************************************************/ + + ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(static_text_t); + + /****************************************************************************************************/ /* Non-default specialization for window_t */ ADOBE_INSERT_BOILERPLATE_SPECIALIZATION(window_t); /****************************************************************************************************/ /* Non-default specialization for edit_text_t */ *************** *** 5060,5064 **** ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(progress_bar_t); ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(separator_t); - ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(static_text_t); ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(slider_t); ADOBE_VIEW_FOR_ELEMENT_AND_INSERT_BOILERPLATE_SPECIALIZATION(bevel_button_t); --- 5203,5206 ---- |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/headers/win Modified Files: ui_core_implementation.hpp Added Files: metrics.hpp Log Message: asl 1.0.2 --- NEW FILE: metrics.hpp --- /* Copyright 2005 Ralph Thomas Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /****************************************************************************************************/ // // This header defines a class which can return various widget metrics // on Windows systems. When available the UXTHEME library is used to // discover metrics. When UXTHEME is not available some reasonable // defaults (precalculated on a system with UXTHEME) are returned. // /****************************************************************************************************/ #ifndef ADOBE_METRICS_HPP #define ADOBE_METRICS_HPP /****************************************************************************************************/ #include <windows.h> #include <uxtheme.h> #include <tmschema.h> #include <string> /****************************************************************************************************/ namespace adobe { /****************************************************************************************************/ // /// The metrics_t class is a singleton which can fetch information /// on ideal widget sizes. There are two possible designs here: /// <ol> /// <li>Provide simple metric and text information.</li> /// <li>Provide ideal sizes for specific widgets.</li> /// </ol> /// It has been chosen to take design (1), the calculation of /// individual widget ideal sizes belongs in the ui_core_implementation /// code. This class is a singleton, a reference to it has to be /// obtained using metrics_t::getInstance . /// /// All of the functions which return metrics require the widget type /// and state of the widget. A table of all the part and state names /// is available here: /// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/topics/partsandstates.asp // class metrics_t { public: // /// Return a reference to the single instance of metrics_t. /// /// \return a reference to the single instance of metrics_t. // static metrics_t& get_instance(); // /// Get the correct font to use for the given widget. This font must /// be used for the font metrics to be correct. /// /// \param widget_type the type of the widget. /// \param out_font a reference filled with the requested font. /// /// \return true if the font was returned successfully, false if /// the font could not be returned. // virtual bool get_font(int widget_type, LOGFONTW& out_font) const = 0; // /// Get the metrics for the font which should be used in the given widget. /// /// \param widget_type the type of the widget. /// \param out_metrics a reference filled with the text metrics. /// /// \return true if the font metrics were returned successfully, false /// if the metrics could not be returned. // virtual bool get_font_metrics(int widget_type, TEXTMETRIC& out_metrics) const = 0; // /// Get the extents for the given text string, to be contained in the /// specified widget. /// /// \param widget_type the type of the widget. /// \param text the string to return the extents for. /// \param out_extents a reference filled with the text extents. /// /// \return true if the text extents were returned successfully, false /// if the metrics could not be returned. // virtual bool get_text_extents(int widget_type, std::wstring text, RECT& out_extents) const = 0; // /// Get the specified measurement for the given widget when in the /// given state. /// /// \param widget_type the type of the widget. /// \param measurement the required measurement. /// \param out_val a reference filled with the requested value. /// /// \return true if the value was returned successfully, false /// if the value could not be found. // virtual bool get_integer(int widget_type, int measurement, int& out_val) const = 0; // /// Get the size of the specified widget. /// /// \param widget_type the type of the widget. /// \param measurement the size to get: TS_MIN, TS_TRUE, or TS_DRAW. /// \param out_size a reference filled with the requested rectangle. /// /// \return true if the rectangle was returned successfully, false /// if the rectangle could not be found. // virtual bool get_size(int widget_type, THEMESIZE measurement, SIZE& out_size) const = 0; // /// Get the margins for the specified widget. Typically the margins /// describe space which must be added around the text rectangle for /// controls with a caption. /// /// \param widget_type the type of the widget. /// \param out_margins a reference filled with the margins of the widget. /// /// \return true if the margins were returned successfully, false /// if the margins could not be found. // virtual bool get_margins(int widget_type, MARGINS& out_margins) const = 0; // /// Before any of the other functions can be called, the theme data must be /// loaded from the window. This function should also be called any time the /// window recieves a WM_THEMECHANGED message. /// /// \param window the window to get the theme from. Note that it is not /// important which window is used, it does not have to /// be the same window every time. /// /// \return true if the theme was obtained from the window, false if the /// theme could not be obtained from the window. // virtual bool set_window(HWND window) = 0; }; /****************************************************************************************************/ } // namespace adobe /****************************************************************************************************/ #endif Index: ui_core_implementation.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/win/ui_core_implementation.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ui_core_implementation.hpp 23 Mar 2005 18:51:36 -0000 1.3 --- ui_core_implementation.hpp 2 Apr 2005 05:47:39 -0000 1.4 *************** *** 45,80 **** /****************************************************************************************************/ - // REVISIT (fbrereto) : I'd like to be able to set this up 1) so the fudges can be made on a - // per-OS-version basis, 2) so they can be adjusted without requiring - // a recompile, and 3) so they are dynamic based on the widget's theme settings. - - struct fudge_t : private rectangle_slices_t - { - struct slice_t - { - pair_long_t geometry_m; // affects the position and the length - }; - - boost::array<slice_t, 2> slice_m; - long baseline_m; - - fudge_t() : - baseline_m(0) - { } - - long& top() { return slice_m[vertical].geometry_m.first; } - const long& top() const { return slice_m[vertical].geometry_m.first; } - - long& left() { return slice_m[horizontal].geometry_m.first; } - const long& left() const { return slice_m[horizontal].geometry_m.first; } - - long& bottom() { return slice_m[vertical].geometry_m.second; } - const long& bottom() const { return slice_m[vertical].geometry_m.second; } - - long& right() { return slice_m[horizontal].geometry_m.second; } - const long& right() const { return slice_m[horizontal].geometry_m.second; } - }; - - /****************************************************************************************************/ #ifndef NDEBUG --- 45,48 ---- *************** *** 127,133 **** bool is_focused(); void signal_focus(const implementation::control_focus_proc_t& proc); ! void set_min_value(long value); ! void set_max_value(long value); ! void set_value(long value); ADOBE_SERIALIZABLE_TOTAL_ORDERING_BOILERPLATE_FRIEND_DECLARATION(adobe::control_t); --- 95,99 ---- bool is_focused(); void signal_focus(const implementation::control_focus_proc_t& proc); ! void trap_window_proc(WNDPROC new_window_proc); ADOBE_SERIALIZABLE_TOTAL_ORDERING_BOILERPLATE_FRIEND_DECLARATION(adobe::control_t); *************** *** 135,144 **** virtual dictionary_t essentials() const; HWND control_m; theme_t theme_m; implementation::control_focus_proc_t focus_proc_m; - //EventHandlerRef focus_callback_ref_m; rectangle_t geometry_m; // saving set_bounds param for essentials ! fudge_t fudges_m; // added in best_bounds (apply_fudges); subtracted in set_bounds (shed_fudges) }; --- 101,116 ---- virtual dictionary_t essentials() const; + virtual void user_hit(); + HWND control_m; + WNDPROC default_window_proc_m; theme_t theme_m; implementation::control_focus_proc_t focus_proc_m; rectangle_t geometry_m; // saving set_bounds param for essentials ! point_t position_m; // saving set_bounds param for widget framing ! int uxtheme_type_m; ! #ifndef NDEBUG ! bool placed_m; // used in the framing rect code to make sure the widget is placed first ! #endif }; *************** *** 193,197 **** value_t parse(const std::string& str, value_t the_type); ! //auto_resource<CFNumberFormatterRef> formatter_m; }; --- 165,169 ---- value_t parse(const std::string& str, value_t the_type); ! std::string format_m; }; *************** *** 211,216 **** virtual dictionary_t essentials() const; - - virtual rectangle_t best_bounds(); }; --- 183,186 ---- *************** *** 272,276 **** const button_t::state_descriptor_t* first, const button_t::state_descriptor_t* last); - virtual rectangle_t best_bounds(); void set_default(bool is_default); void set_cancel(bool is_cancel); --- 242,245 ---- *************** *** 282,285 **** --- 251,256 ---- virtual dictionary_t essentials() const; + virtual void user_hit(); + state_set_t state_set_m; //EventHandlerRef handler_ref_m; *************** *** 296,300 **** void initialize(const RECT& bounds, const std::string& name); ! virtual rectangle_t best_bounds(); void signal_hit(const implementation::radio_button_hit_proc_t& proc); --- 267,271 ---- void initialize(const RECT& bounds, const std::string& name); ! virtual void set_value(std::size_t is_checked); void signal_hit(const implementation::radio_button_hit_proc_t& proc); *************** *** 303,307 **** virtual dictionary_t essentials() const; ! implementation::radio_button_hit_proc_t hit_proc_m; }; --- 274,281 ---- virtual dictionary_t essentials() const; ! virtual void user_hit(); ! ! implementation::radio_button_hit_proc_t hit_proc_m; ! bool is_checked_m; }; *************** *** 316,321 **** void initialize(const RECT& bounds, const std::string& name); ! virtual rectangle_t best_bounds(); ! void signal_hit(const implementation::radio_button_hit_proc_t& proc); ADOBE_SERIALIZABLE_TOTAL_ORDERING_BOILERPLATE_FRIEND_DECLARATION(adobe::checkbox_t::implementation_t); --- 290,295 ---- void initialize(const RECT& bounds, const std::string& name); ! virtual void set_value(std::size_t is_checked); ! void signal_hit(const implementation::checkbox_hit_proc_t& proc); ADOBE_SERIALIZABLE_TOTAL_ORDERING_BOILERPLATE_FRIEND_DECLARATION(adobe::checkbox_t::implementation_t); *************** *** 323,327 **** virtual dictionary_t essentials() const; ! implementation::checkbox_hit_proc_t hit_proc_m; }; --- 297,304 ---- virtual dictionary_t essentials() const; ! virtual void user_hit(); ! ! implementation::checkbox_hit_proc_t hit_proc_m; ! bool is_checked_m; }; *************** *** 366,369 **** --- 343,349 ---- bool is_vertical); virtual rectangle_t best_bounds(); + void set_min_value(long min_value); + void set_max_value(long max_value); + void set_value(long value); ADOBE_SERIALIZABLE_TOTAL_ORDERING_BOILERPLATE_FRIEND_DECLARATION(adobe::progress_bar_t::implementation_t); *************** *** 401,405 **** void initialize(const RECT& bounds, const std::string& name); - virtual rectangle_t best_bounds(); long best_height_given_width(long width); void set_name(const std::string& name); --- 381,384 ---- *************** *** 454,460 **** long rows_m; long cols_m; ! long static_width_m; long static_height_m; - long static_adjust_m; implementation::edit_text_pre_edit_proc_t pre_edit_proc_m; implementation::edit_text_post_edit_proc_t post_edit_proc_m; --- 433,440 ---- long rows_m; long cols_m; ! long edit_baseline_m; ! long edit_height_m; ! long static_baseline_m; long static_height_m; implementation::edit_text_pre_edit_proc_t pre_edit_proc_m; implementation::edit_text_post_edit_proc_t post_edit_proc_m; *************** *** 494,500 **** static_text_t static_disabled_text_m; bool static_disabled_m; ! long static_width_m; long static_height_m; ! long static_adjust_m; bool using_label_m; implementation::popup_value_proc_t value_proc_m; --- 474,481 ---- static_text_t static_disabled_text_m; bool static_disabled_m; ! long static_baseline_m; long static_height_m; ! long popup_baseline_m; ! long popup_height_m; bool using_label_m; implementation::popup_value_proc_t value_proc_m; *************** *** 534,541 **** popup_t popup_m; bool using_popup_m; - long popup_width_m; long popup_height_m; ! long popup_adjust_m; ! long edit_width_m; }; --- 515,522 ---- popup_t popup_m; bool using_popup_m; long popup_height_m; ! long popup_baseline_m; ! long edit_height_m; ! long edit_baseline_m; }; *************** *** 555,558 **** --- 536,542 ---- virtual rectangle_t best_bounds(); void set_bounds(const point_t& position, const rectangle_t& geometry); + void set_min_value(long min_value); + void set_max_value(long max_value); + void set_value(long value); void signal_value_change(const implementation::slider_value_proc_t& proc); *************** *** 586,589 **** --- 570,574 ---- void set_bevel_amount(bevel_button_bevel_amount_t amount); void set_current_menu_item(const value_t& item); + void set_value(bool) { /* stubbed out */ } void signal_hit(const implementation::bevel_button_hit_proc_t& proc); void signal_value_change(const implementation::bevel_button_popup_value_proc_t& proc); |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/headers Modified Files: client_assembler.hpp latch.hpp report_exception.hpp ui_core.hpp Added Files: express_viewer.hpp Log Message: asl 1.0.2 Index: client_assembler.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/client_assembler.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** client_assembler.hpp 3 Mar 2005 06:58:38 -0000 1.2 --- client_assembler.hpp 2 Apr 2005 05:47:39 -0000 1.3 *************** *** 79,82 **** --- 79,84 ---- void dispatch_action(adobe::name_t action, const adobe::value_t& parameter); + std::size_t size() const { return window_list_m.size(); } + private: typedef std::list<eve_client_holder*> window_list_t; --- NEW FILE: express_viewer.hpp --- /* Copyright 2005 Ralph Thomas Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /****************************************************************************************************/ #ifndef ADOBE_EXPRESS_VIEWER_HPP #define ADOBE_EXPRESS_VIEWER_HPP #include <boost/filesystem/path.hpp> #include "client_assembler.hpp" #include <adobe/adam.hpp> #include <string> /****************************************************************************************************/ namespace adobe { /****************************************************************************************************/ // /// The simpleApplication class is implemented in express_viewer.cpp and defines /// the basic application operation. The simpleApplication class is a singleton, /// so you must use simpleApplication::getInstance() to get an instance. // class simpleApplication { boost::filesystem::path _resource_dir_m; ///< The directory containing this applications resource files (i.e.: editor.adm, editor.eve). boost::filesystem::path _eve_path_m; ///< The name of the Eve file we are viewing. boost::filesystem::path _adam_path_m; ///< The name of the Adam file we are viewing. adobe::sheet_t* _sheet_m; ///< The sheet we are viewing. eve_client::window_server_t* _holder_m; ///< Contains Eve instance, and all instanciated widgets. adobe::sheet_t* _editor_sheet_m; ///< The sheet for this editor program. size_enum_t _dialog_size_m; ///< The size of dialog to create. bool _initialized; ///< Are we initialized yet? // /// This constructor is private to ensure that the getInstance /// method is used to return a reference to this class. // simpleApplication(); // /// This destructor releases any allocated sheets and Eve bits. // ~simpleApplication(); // /// Initialize the simpleApplication by attempting to load resources from /// disk. This also calls os_initialize, to perform any OS-specific /// initialization which may be required. /// /// \return true if the initialization is successful, false otherwise. /// \sa os_initialize // bool _initialize(); // /// This function gets invoked whenever an action (e.g.: a button with /// "action: @ok" defined) is unhandled by Adam. It is registered with /// _holder_m by initialize(). Currently this function simply writes the /// given value into the output text area. /// /// \param name the name of the action (e.g.: "ok", "cancel"). /// \param value any parameter associated with the value. /// /// \sa _holder_m // void _button_notifier( const adobe::name_t& name, const adobe::value_t& value ); // /// This function will write the given string to the given path name. It /// is usually called by _editor_op when it needs to write a modified adam /// or eve file to disk before reloading them. /// /// \param file_name the file to write to. /// \param contents the file contents to write out. // void _update_file( const boost::filesystem::path& file_name, std::string contents ); // /// This function handles most editor operations, as defined in the /// editor's Eve file. /// /// \param name the name of the operation to perform. /// \param value a dictionary containing the value specific to the operation. // void _editor_op( adobe::name_t name, const adobe::value_t& value ); public: // /// The getInstance method returns a pointer to the single simpleApplication /// instance. If the simpleApplication cannot be initialized then NULL is /// returned. Initialization will fail if: /// <ul> /// <li>The editor.adm and editor.eve files cannot be found</li> /// <li>The editor.adm and editor.eve files do not parse</li> /// <li>OS-specific initialization fails</li> /// </ul> /// /// \return a pointer to the single simpleApplication instance. /// \sa os_initialize // static simpleApplication* getInstance(); // /// Load the main editor GUI and enter the main-loop. This function /// will not return until it's time to quit. // void run(); // /// Load the dialog from disk, and tell the _holder_m to show it. This /// function also updates the contents of the Eve text area to match what /// was loaded from disk. The window loaded is specified by set_eve_file. /// /// \sa set_eve_file // void display_window(); // /// Forget about the existing sheet and load one from disk. This also /// (re)opens the dialog. The sheet loaded is specified by set_adam_file. /// /// \sa set_adam_file // void load_sheet(); // /// Remove any frames which have been drawn around the widgets. // void clear_window_frames(); // /// Draw frames around all widgets. // void frame_window(); // /// Serialize all of the widgets and connections into text and show the /// text in the Results text area. // void serialize_connections(); // /// Set the file name of the Eve file to load. This does not actually /// load the file or display the window, call display_window to make /// that happen. /// /// \param file_name the name of the Eve file to load. /// \sa display_window // void set_eve_file( boost::filesystem::path file_name ); // /// Set the file name of the Adam file to load. This does not actually /// load the file or update the sheet, call load_sheet to make that /// happen. /// /// \param file_name the name of the Adam file to load. /// \sa load_sheet // void set_adam_file( boost::filesystem::path file_name ); // /// Set the directory which is used to load application resources /// (such as the editor.adm and editor.eve files). /// /// \param res_path the directory to load application /// resources from. // void set_resource_directory( boost::filesystem::path res_path ); // /// Set the size of any dialogs which are going to be created after /// this call. /// /// \param s the new size to make dialogs. // void set_dialog_size( size_enum_t s ); }; /****************************************************************************************************/ // /// Emit the system beep sound. // void system_beep(); /****************************************************************************************************/ // /// Perform OS-specific initialization tasks, such as registering menus. This /// function should also set the resource directory used by simpleApplication. /// /// \param theApp the instance of simpleApplication to call into when a menu item is /// selected, or a system event is received. /// \return true if initialization was successful, false otherwise. // bool os_initialize( simpleApplication* theApp ); /****************************************************************************************************/ // /// Enter the OS/toolkit main-loop. This function should return when it's time /// to quit. // void os_mainloop(); /****************************************************************************************************/ // /// Exit the OS/toolkit main-loop. This function should only be called after /// os_mainloop has been called. // void os_end_mainloop(); /****************************************************************************************************/ } // namespace adobe /****************************************************************************************************/ #endif Index: ui_core.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/ui_core.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ui_core.hpp 17 Mar 2005 18:03:16 -0000 1.3 --- ui_core.hpp 2 Apr 2005 05:47:39 -0000 1.4 *************** *** 250,254 **** return format<adobe::value_t>(adobe::value_t(x)); #elif defined(BOOST_MSVC) ! return std::string(); // Stub for now because the above produces and internal compiler error in MSVC. #endif } --- 250,257 ---- return format<adobe::value_t>(adobe::value_t(x)); #elif defined(BOOST_MSVC) ! // Stub for now because the above produces and internal compiler error in MSVC. ! std::stringstream stream; ! stream << x; ! return stream.str(); #endif } *************** *** 260,264 **** return parse<adobe::value_t>(str, adobe::value_t(Numeric())).template get<Numeric>(); #elif defined(BOOST_MSVC) ! return Numeric(); // Stub for now because the above produces and internal compiler error in MSVC. #endif } --- 263,267 ---- return parse<adobe::value_t>(str, adobe::value_t(Numeric())).template get<Numeric>(); #elif defined(BOOST_MSVC) ! return Numeric(std::atof(str.c_str())); // Stub for now because the above produces and internal compiler error in MSVC. #endif } *************** *** 312,316 **** ADOBE_UI_CORE_IMPLEMENTATION_SWAP_FRIEND_DECLARATION(window_t); ! #ifdef BOOST_MSVC public: #endif --- 315,319 ---- ADOBE_UI_CORE_IMPLEMENTATION_SWAP_FRIEND_DECLARATION(window_t); ! #if defined(BOOST_MSVC) || defined(__GNUC__) public: #endif *************** *** 318,322 **** struct implementation_t; ! #ifdef BOOST_MSVC private: #endif --- 321,325 ---- struct implementation_t; ! #if defined(BOOST_MSVC) || defined(__GNUC__) private: #endif Index: report_exception.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/report_exception.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** report_exception.hpp 17 Mar 2005 18:03:16 -0000 1.3 --- report_exception.hpp 2 Apr 2005 05:47:39 -0000 1.4 *************** *** 20,29 **** /****************************************************************************************************/ ! extern adobe::sheet_t* editor_sheet_g; extern const adobe::static_name_t editor_error_cell_g; extern const adobe::static_name_t editor_visible_tab_cell_g; extern const adobe::static_name_t editor_key_errors_tab_g; ! /****************************************************************************************************/ --- 20,33 ---- /****************************************************************************************************/ ! /* ! // ! // REVISIT (ralpht): Get the editor sheet from the simpleApplication singleton ! // instead of this global. ! // extern adobe::sheet_t* editor_sheet_g; extern const adobe::static_name_t editor_error_cell_g; extern const adobe::static_name_t editor_visible_tab_cell_g; extern const adobe::static_name_t editor_key_errors_tab_g; ! */ /****************************************************************************************************/ *************** *** 65,68 **** --- 69,74 ---- } + ~os_exception() throw() {} + const char* what () const throw() { return what_m.c_str(); } *************** *** 122,126 **** err += "Unknown."; } ! if (editor_sheet_g) { --- 128,135 ---- err += "Unknown."; } ! /* ! // ! // REVISIT (ralpht): Get editor_sheet_g from the simpleApplication singleton. ! // if (editor_sheet_g) { *************** *** 129,133 **** editor_sheet_g->update(); } ! else { std::ofstream errorfile("adobe_begin_errors.txt"); --- 138,142 ---- editor_sheet_g->update(); } ! else*/ { std::ofstream errorfile("adobe_begin_errors.txt"); Index: latch.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/latch.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** latch.hpp 3 Mar 2005 06:58:38 -0000 1.2 --- latch.hpp 2 Apr 2005 05:47:39 -0000 1.3 *************** *** 30,34 **** template <typename TriggerFunction, typename ValidFunction> latch_t(const TriggerFunction& trigger, const ValidFunction& valid) : ! trigger_func_m(trigger), validity_func_m(valid), force_m(true) { } --- 30,34 ---- template <typename TriggerFunction, typename ValidFunction> latch_t(const TriggerFunction& trigger, const ValidFunction& valid) : ! trigger_m(trigger), valid_m(valid), force_m(true) { } |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/headers/mac Modified Files: ui_core_implementation.hpp Log Message: asl 1.0.2 Index: ui_core_implementation.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/headers/mac/ui_core_implementation.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ui_core_implementation.hpp 17 Mar 2005 18:03:16 -0000 1.1 --- ui_core_implementation.hpp 2 Apr 2005 05:47:39 -0000 1.2 *************** *** 21,29 **** /****************************************************************************************************/ #define ADOBE_DELETE_PTR_SPECIALIZATION(type, func) \ template <> \ ! struct adobe::delete_ptr<##type> \ { \ ! void operator()(##type x) const \ { if (x) func(x); } \ } --- 21,33 ---- /****************************************************************************************************/ + namespace adobe { + + /****************************************************************************************************/ + #define ADOBE_DELETE_PTR_SPECIALIZATION(type, func) \ template <> \ ! struct adobe::delete_ptr<type> \ { \ ! void operator()(type x) const \ { if (x) func(x); } \ } *************** *** 53,60 **** /****************************************************************************************************/ - namespace adobe { - - /****************************************************************************************************/ - // REVISIT (fbrereto) : I'd like to be able to set this up 1) so the fudges can be made on a // per-OS-version basis, 2) so they can be adjusted without requiring --- 57,60 ---- |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/sources Modified Files: client_assembler.cpp express_viewer.cpp ui_core.cpp Log Message: asl 1.0.2 Index: express_viewer.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/express_viewer.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** express_viewer.cpp 17 Mar 2005 18:03:18 -0000 1.3 --- express_viewer.cpp 2 Apr 2005 05:47:39 -0000 1.4 *************** *** 9,30 **** #include <boost/config.hpp> - #ifdef BOOST_MSVC - #include <windows.h> - #else - #include <Carbon/Carbon.h> - - /* - REVISIT (sparent) : Apple insists that you include the entire Carbon/Carbon.h framework to - use any of Carbon. This header file #defines check which conflicts with boost. The work- [...1258 lines suppressed...] ! /****************************************************************************************************/ ! void simpleApplication::set_resource_directory( bfs::path res_path ) { ! _resource_dir_m = res_path; ! } ! /****************************************************************************************************/ ! void simpleApplication::set_dialog_size( size_enum_t s ) ! { ! _dialog_size_m = s; } /****************************************************************************************************/ ! } // namespace adobe ! ! /****************************************************************************************************/ Index: ui_core.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/ui_core.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ui_core.cpp 17 Mar 2005 18:03:18 -0000 1.3 --- ui_core.cpp 2 Apr 2005 05:47:39 -0000 1.4 *************** *** 20,24 **** #define ADOBE_UI_CORE_IMPLEMENTATION_SWAP_DEFINITION(the_class) \ ! void swap(adobe::##the_class & x, adobe::##the_class & y) { std::swap(x.object_m, y.object_m); } /****************************************************************************************************/ --- 20,24 ---- #define ADOBE_UI_CORE_IMPLEMENTATION_SWAP_DEFINITION(the_class) \ ! void swap(adobe::the_class & x, adobe::the_class & y) { std::swap(x.object_m, y.object_m); } /****************************************************************************************************/ Index: client_assembler.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/client_assembler.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** client_assembler.cpp 17 Mar 2005 23:14:29 -0000 1.4 --- client_assembler.cpp 2 Apr 2005 05:47:39 -0000 1.5 *************** *** 41,45 **** #include "report_exception.hpp" #include "display.hpp" ! #include "latch.hpp" #include <fstream> --- 41,45 ---- #include "report_exception.hpp" #include "display.hpp" ! //#include "latch.hpp" #include <fstream> *************** *** 1312,1316 **** { for (adobe::array_t::const_iterator iter(items_m.begin()); iter != items_m.end(); ++iter) ! control_m.add_menu_item((*iter).get<adobe::dictionary_t>()[key_name].get<std::string>(), (*iter).get<adobe::dictionary_t>()[key_value]); token.assemblage_m.hold_connection(sheet_m->monitor_value(popup_bind_m, boost::bind(&bevel_button_proxy_t<emulation>::monitor_popup_value, boost::ref(*this), _1))); --- 1312,1316 ---- { for (adobe::array_t::const_iterator iter(items_m.begin()); iter != items_m.end(); ++iter) ! control_m.add_menu_item((*iter).template get<adobe::dictionary_t>()[key_name].template get<std::string>(), (*iter).template get<adobe::dictionary_t>()[key_value]); token.assemblage_m.hold_connection(sheet_m->monitor_value(popup_bind_m, boost::bind(&bevel_button_proxy_t<emulation>::monitor_popup_value, boost::ref(*this), _1))); *************** *** 2397,2401 **** geometry.slice_m[horizontal].length_m = 2; geometry.slice_m[vertical].length_m = 2; ! #elif defined(__MWERKS__) geometry.slice_m[horizontal].length_m = is_vertical_m ? 5 : 6; geometry.slice_m[vertical].length_m = is_vertical_m ? 6 : 5; --- 2397,2401 ---- geometry.slice_m[horizontal].length_m = 2; geometry.slice_m[vertical].length_m = 2; ! #elif ADOBE_PLATFORM_MAC geometry.slice_m[horizontal].length_m = is_vertical_m ? 5 : 6; geometry.slice_m[vertical].length_m = is_vertical_m ? 6 : 5; *************** *** 3265,3272 **** static adobe::static_name_t ok_s ("ok"); ! if (action == reset_s) { sheet_m.set((*window)->contributing_m); sheet_m.update(); return; } ! if (action == cancel_s) { sheet_m.set((*window)->contributing_m); erase(window); sheet_m.update(); return; } ! if (action == dialog_s) { push_back(parameter.get<std::string>().c_str(), size_normal_s); return; } ! if (action == ok_s) { erase(window); if (fallback_m) fallback_m(action, parameter); return; } } --- 3265,3290 ---- static adobe::static_name_t ok_s ("ok"); ! if (action == reset_s) ! { ! sheet_m.set((*window)->contributing_m); ! sheet_m.update(); ! } ! else if (action == dialog_s) ! { ! push_back(parameter.get<std::string>().c_str(), size_normal_s); ! } ! else if (action == cancel_s) ! { ! sheet_m.set((*window)->contributing_m); ! erase(window); ! sheet_m.update(); ! } ! else if (action == ok_s) ! { ! erase(window); ! } ! ! if (fallback_m && (action == cancel_s || action == ok_s)) ! fallback_m(action, parameter); } |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:06
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/English.lproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/English.lproj Added Files: InfoPlist.strings Log Message: asl 1.0.2 --- NEW FILE: InfoPlist.strings --- (This appears to be a binary file; contents omitted.) |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:05
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual Modified Files: visual.mcp visual.vcproj Added Files: Info.plist Jamfile version.plist visual.sln visual_Prefix.pch Log Message: asl 1.0.2 --- NEW FILE: Info.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>adm</string> </array> <key>CFBundleTypeName</key> <string>Adam file</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSTypeIsPackage</key> <false/> </dict> <dict> <key>CFBundleTypeExtensions</key> <array> <string>eve</string> </array> <key>CFBundleTypeName</key> <string>Eve file</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSTypeIsPackage</key> <false/> </dict> </array> <key>CFBundleExecutable</key> <string>Adobe Begin</string> <key>CFBundleName</key> <string>Adobe Begin</string> <key>CFBundleIconFile</key> <string>AppIcon.icns</string> <key>CFBundleIdentifier</key> <string>com.adobe.begin</string> <key>CFBundleGetInfoString</key> <string>Adobe Begin version 1.0, Copyright © 2004 by Adobe Systems, Inc. All rights reserved.</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0</string> <key>CSResourcesFileMapped</key> <true/> </dict> </plist> --- NEW FILE: visual_Prefix.pch --- #include <Carbon/Carbon.h> #define ADOBE_SERIALIZATION --- NEW FILE: Jamfile --- # Jamfile for building the VISUAL demo import testing ; import os ; # # We need to include different directories for Windows vs. Mac. # if [ os.name ] = NT { PLATFORM_HEADERS = headers/win ; PLATFORM_SOURCE_DIR = sources/win ; PLATFORM_SOURCES = sources/win/metrics.cpp ; } else { PLATFORM_HEADERS = headers/mac ; PLATFORM_SOURCE_DIR = sources/mac ; PLATFORM_SOURCES = ; } project adobe/visual : requirements <toolset>msvc:<linkflags>"uxtheme.lib gdi32.lib user32.lib comctl32.lib /subsystem:windows" : requirements <include>headers <link>static ; exe "visual" : sources/express_viewer.cpp sources/client_assembler.cpp sources/ui_core.cpp $(PLATFORM_SOURCES) $(PLATFORM_SOURCE_DIR)/main.cpp $(PLATFORM_SOURCE_DIR)/display.cpp $(PLATFORM_SOURCE_DIR)/ui_core_implementation.cpp /adobe//asl_lib_dev /boost/filesystem//boost_filesystem : <include>$(PLATFORM_HEADERS) <link>static ; # <variant>release:<define>NDEBUG ; --- NEW FILE: version.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>BuildVersion</key> <string>92</string> <key>CFBundleVersion</key> <string>1.0</string> <key>ProductBuildVersion</key> <string>7K571</string> <key>ProjectName</key> <string>NibPBTemplates</string> <key>SourceVersion</key> <string>1200000</string> </dict> </plist> Index: visual.vcproj =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/visual.vcproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** visual.vcproj 17 Mar 2005 18:03:14 -0000 1.1 --- visual.vcproj 2 Apr 2005 05:47:38 -0000 1.2 *************** *** 151,154 **** --- 151,157 ---- </File> <File + RelativePath=".\sources\win\main.cpp"> + </File> + <File RelativePath=".\sources\ui_core.cpp"> </File> Index: visual.mcp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/visual.mcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs38FQWf and /tmp/cvsFA6Kgg differ --- NEW FILE: visual.sln --- Microsoft Visual Studio Solution File, Format Version 8.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visual", "visual.vcproj", "{CC0782FD-B771-418B-A328-83ECA89726D6}" ProjectSection(ProjectDependencies) = postProject {95184C7D-CE28-4D94-9A94-C9CC53562DB5} = {95184C7D-CE28-4D94-9A94-C9CC53562DB5} {190F47CE-E201-4ACC-8B49-E52180EE16EB} = {190F47CE-E201-4ACC-8B49-E52180EE16EB} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asl_lib_dev", "..\..\build\asl_lib_dev\asl_lib_dev.vcproj", "{95184C7D-CE28-4D94-9A94-C9CC53562DB5}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost_lib", "..\..\build\boost_lib\boost_lib.vcproj", "{190F47CE-E201-4ACC-8B49-E52180EE16EB}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {CC0782FD-B771-418B-A328-83ECA89726D6}.Debug.ActiveCfg = Debug|Win32 {CC0782FD-B771-418B-A328-83ECA89726D6}.Debug.Build.0 = Debug|Win32 {CC0782FD-B771-418B-A328-83ECA89726D6}.Release.ActiveCfg = Release|Win32 {CC0782FD-B771-418B-A328-83ECA89726D6}.Release.Build.0 = Release|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.ActiveCfg = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.Build.0 = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.ActiveCfg = Release|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.Build.0 = Release|Win32 {190F47CE-E201-4ACC-8B49-E52180EE16EB}.Debug.ActiveCfg = Debug|Win32 {190F47CE-E201-4ACC-8B49-E52180EE16EB}.Debug.Build.0 = Debug|Win32 {190F47CE-E201-4ACC-8B49-E52180EE16EB}.Release.ActiveCfg = Release|Win32 {190F47CE-E201-4ACC-8B49-E52180EE16EB}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:04
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/eve_smoke/bin Added Files: placeholder Log Message: asl 1.0.2 --- NEW FILE: placeholder --- |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:03
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/eve_smoke Added Files: Jamfile default.eve eve_smoke.mcp main.cpp Log Message: asl 1.0.2 --- NEW FILE: default.eve --- dialog() { row() { button (name: "Hello"); } column() { button (name: "world!"); } } --- NEW FILE: main.cpp --- /* Copyright 2005 Ralph Thomas and 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) */ /*************************************************************************************************/ #include <iostream> #include <sstream> #include <fstream> #include <string> #include <adobe/name.hpp> #include <adobe/value.hpp> #include <adobe/dictionary.hpp> #include <adobe/array.hpp> #include <adobe/eve.hpp> #include <adobe/eve_evaluate.hpp> #include <adobe/eve_parser.hpp> #include <boost/filesystem/path.hpp> /*************************************************************************************************/ // // position_t assemble( ... ) // /// This function dumps the output of the eve parser to std::cout. It probably /// should create all of the widgets demanded by the Eve file, but we're not /// doing that for now. /// /// \param parent the parent node. A position_t is an any. /// \param parse_location the file name and line number for this data. /// \param name the name of the thing to make. /// \param parameters the parameters for the thing to make. /// \param brief Nearby comments? /// \param detailed Nearby comments /// /// \return an any containing the created widget. // adobe::eve::position_t assemble( const adobe::eve::position_t& /*parent*/, const adobe::line_position_t& /*parse_location*/, adobe::name_t name, const adobe::array_t& parameters, const std::string& /*brief*/, const std::string& /*detailed*/ ) { std::cout << "Create: " << name.get() << std::endl; adobe::dictionary_t dict(adobe::eve::evaluate_arguments()( parameters )); adobe::dictionary_t::const_iterator first(dict.begin()); adobe::dictionary_t::const_iterator last(dict.end()); for (; first != last; ++first) std::cout << "\t" << first->first << " = \"" << first->second << "\"" << std::endl; return adobe::eve::position_t(); } /*************************************************************************************************/ // // void testParse( std::string fileName ) // /// Try to parse the given filename and see what the parser throws up. /// /// \param fileName the name of the file to parse. // void testParse( boost::filesystem::path& fileName ) { // // Open our input stream. // std::ifstream stream( fileName.native_file_string().c_str() ); if (!stream.is_open()) { std::stringstream err; err << "Could not open file: " << fileName.native_file_string(); throw std::runtime_error(err.str()); } // // Call the Eve parser. // adobe::eve::parse( stream, adobe::line_position_t( fileName.native_file_string().c_str() ), adobe::eve::position_t(), &assemble ); } /*************************************************************************************************/ // // int main() // /// Main driver, choose which file to parse and call testParse. /// /// \param argc the count of arguments. /// \param argv the vector containing the arguments. /// /// \return always zero. // int main( int argc, char* argv[] ) { bool success(true); // // Try to open the filename given on the command line, otherwise // try to open "default.eve". // try { boost::filesystem::path file_path("default.eve"); if( argc > 1 ) file_path = boost::filesystem::path(argv[1], boost::filesystem::native); // // Call our testParse function with the selected filename. // testParse( file_path ); } catch( const std::exception& error ) { // // Oops, something didn't work out. // std::cerr << "Exception: " << error.what() << std::endl; } catch( ... ) { std::cerr << "Unknown exception" << std::endl; } return success ? 0 : 1; } --- NEW FILE: Jamfile --- import testing ; project adobe/eve_smoke : requirements <link>static ; exe "eve_smoke" : main.cpp /adobe//asl_lib_dev /boost/filesystem//boost_filesystem ; --- NEW FILE: eve_smoke.mcp --- (This appears to be a binary file; contents omitted.) |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:03
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/eve_smoke.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/eve_smoke/eve_smoke.xcode Added Files: project.pbxproj Log Message: asl 1.0.2 --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 014CEA460018CE2711CA2923 = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Development; }; 014CEA470018CE2711CA2923 = { buildSettings = { COPY_PHASE_STRIP = YES; GCC_ENABLE_FIX_AND_CONTINUE = NO; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Deployment; }; //010 //011 //012 //013 //014 //020 //021 //022 //023 //024 0249A662FF388D9811CA2CEA = { children = ( 0249A663FF388D9811CA2CEA, 89B8AB2107FD0EED00E27588, 89B8AB2507FD0F0900E27588, ); isa = PBXGroup; name = "External Frameworks and Libraries"; refType = 4; sourceTree = "<group>"; }; 0249A663FF388D9811CA2CEA = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libstdc++.a"; path = "/usr/lib/libstdc++.a"; refType = 0; sourceTree = "<absolute>"; }; //020 //021 //022 //023 //024 //080 //081 //082 //083 //084 08FB7793FE84155DC02AAC07 = { buildSettings = { }; buildStyles = ( 014CEA460018CE2711CA2923, 014CEA470018CE2711CA2923, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 08FB7794FE84155DC02AAC07; projectDirPath = ""; targets = ( 8DD76F620486A84900D96B5E, ); }; 08FB7794FE84155DC02AAC07 = { children = ( 08FB7795FE84155DC02AAC07, C6859E8C029090F304C91782, 0249A662FF388D9811CA2CEA, 1AB674ADFE9D54B511CA2CBB, ); isa = PBXGroup; name = eve_smoke; refType = 4; sourceTree = "<group>"; }; 08FB7795FE84155DC02AAC07 = { children = ( 08FB7796FE84155DC02AAC07, ); isa = PBXGroup; name = Source; refType = 4; sourceTree = "<group>"; }; 08FB7796FE84155DC02AAC07 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; refType = 4; sourceTree = "<group>"; }; //080 //081 //082 //083 //084 //1A0 //1A1 //1A2 //1A3 //1A4 1AB674ADFE9D54B511CA2CBB = { children = ( 8DD76F6C0486A84900D96B5E, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = "<group>"; }; //1A0 //1A1 //1A2 //1A3 //1A4 //890 //891 //892 //893 //894 89B8AB2107FD0EED00E27588 = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = libasl_dev.a; path = ../../build/asl_lib/build/libasl_dev.a; refType = 2; sourceTree = SOURCE_ROOT; }; 89B8AB2207FD0EED00E27588 = { fileRef = 89B8AB2107FD0EED00E27588; isa = PBXBuildFile; settings = { }; }; 89B8AB2507FD0F0900E27588 = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = libboost.a; path = ../../build/boost_lib/build/libboost.a; refType = 2; sourceTree = SOURCE_ROOT; }; 89B8AB2607FD0F0900E27588 = { fileRef = 89B8AB2507FD0F0900E27588; isa = PBXBuildFile; settings = { }; }; //890 //891 //892 //893 //894 //8D0 //8D1 //8D2 //8D3 //8D4 8DD76F620486A84900D96B5E = { buildPhases = ( 8DD76F640486A84900D96B5E, 8DD76F660486A84900D96B5E, 8DD76F690486A84900D96B5E, ); buildRules = ( ); buildSettings = { GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PREPROCESSOR_DEFINITIONS = ADOBE_SERIALIZATION; HEADER_SEARCH_PATHS = "../../../ ../../../third_party/boost_tp/boost/"; INSTALL_PATH = "$(HOME)/bin"; LIBRARY_SEARCH_PATHS = "/Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/build/asl_lib/build /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/build/boost_lib/build"; PRODUCT_NAME = eve_smoke; WARNING_CFLAGS = "-Wno-long-double"; }; dependencies = ( ); isa = PBXNativeTarget; name = eve_smoke; productInstallPath = "$(HOME)/bin"; productName = eve_smoke; productReference = 8DD76F6C0486A84900D96B5E; productType = "com.apple.product-type.tool"; }; 8DD76F640486A84900D96B5E = { buildActionMask = 2147483647; files = ( 8DD76F650486A84900D96B5E, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8DD76F650486A84900D96B5E = { fileRef = 08FB7796FE84155DC02AAC07; isa = PBXBuildFile; settings = { ATTRIBUTES = ( ); }; }; 8DD76F660486A84900D96B5E = { buildActionMask = 2147483647; files = ( 8DD76F670486A84900D96B5E, 89B8AB2207FD0EED00E27588, 89B8AB2607FD0F0900E27588, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8DD76F670486A84900D96B5E = { fileRef = 0249A663FF388D9811CA2CEA; isa = PBXBuildFile; settings = { }; }; 8DD76F690486A84900D96B5E = { buildActionMask = 8; dstPath = /usr/share/man/man1/; dstSubfolderSpec = 0; files = ( 8DD76F6A0486A84900D96B5E, ); isa = PBXCopyFilesBuildPhase; runOnlyForDeploymentPostprocessing = 1; }; 8DD76F6A0486A84900D96B5E = { fileRef = C6859E8B029090EE04C91782; isa = PBXBuildFile; settings = { }; }; 8DD76F6C0486A84900D96B5E = { explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; isa = PBXFileReference; path = eve_smoke; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; //8D0 //8D1 //8D2 //8D3 //8D4 //C60 //C61 //C62 //C63 //C64 C6859E8B029090EE04C91782 = { isa = PBXFileReference; lastKnownFileType = text.man; path = eve_smoke.1; refType = 4; sourceTree = "<group>"; }; C6859E8C029090F304C91782 = { children = ( C6859E8B029090EE04C91782, ); isa = PBXGroup; name = Documentation; refType = 4; sourceTree = "<group>"; }; }; rootObject = 08FB7793FE84155DC02AAC07; } |
From: Foster B. <fos...@us...> - 2005-04-02 05:48:03
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/bindebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/eve_smoke/bindebug Added Files: placeholder Log Message: asl 1.0.2 --- NEW FILE: placeholder --- |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:59
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/asl_lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/build/asl_lib Added Files: asl_lib.sln Removed Files: Jamfile Log Message: asl 1.0.2 --- NEW FILE: asl_lib.sln --- Microsoft Visual Studio Solution File, Format Version 8.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asl_lib", "asl_lib.vcproj", "{95184C7D-CE28-4D94-9A94-C9CC53562DB5}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.ActiveCfg = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.Build.0 = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.ActiveCfg = Release|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal --- Jamfile DELETED --- |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:49
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/visual.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/visual.xcode Added Files: project.pbxproj Log Message: asl 1.0.2 --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 0249A66BFF388E3F11CA2CEA = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libstdc++.a"; path = "/usr/lib/libstdc++.a"; refType = 0; sourceTree = "<absolute>"; }; //020 //021 //022 //023 //024 //080 //081 //082 //083 //084 0867D6AAFE840B52C02AAC07 = { children = ( 0867D6ABFE840B52C02AAC07, ); isa = PBXVariantGroup; name = InfoPlist.strings; refType = 4; sourceTree = "<group>"; }; 0867D6ABFE840B52C02AAC07 = { fileEncoding = 10; isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; refType = 4; sourceTree = "<group>"; }; //080 //081 //082 //083 //084 //190 //191 //192 //193 //194 195DF8CFFE9D517E11CA2CBB = { children = ( 8D0C4E970486CD37000505A6, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = "<group>"; }; //190 //191 //192 //193 //194 //200 //201 //202 //203 //204 20286C28FDCF999611CA2CEA = { buildSettings = { }; buildStyles = ( 4A9504C5FFE6A39111CA0CBA, 4A9504C6FFE6A39111CA0CBA, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 20286C29FDCF999611CA2CEA; projectDirPath = ""; targets = ( 8D0C4E890486CD37000505A6, ); }; 20286C29FDCF999611CA2CEA = { children = ( 32DBCF6D0370B57F00C91783, 894E67BC07F8593B00C05327, 20286C2AFDCF999611CA2CEA, 894E675D07F5C0BC00C05327, 20286C2CFDCF999611CA2CEA, 20286C32FDCF999611CA2CEA, 195DF8CFFE9D517E11CA2CBB, ); isa = PBXGroup; name = visual; path = ""; refType = 4; sourceTree = "<group>"; }; 20286C2AFDCF999611CA2CEA = { children = ( 89C483CF07F10216007FD3D0, 89C4838E07F06DB5007FD3D0, 89C4838F07F06DB5007FD3D0, 89C4839007F06DB5007FD3D0, ); isa = PBXGroup; path = sources; refType = 2; sourceTree = SOURCE_ROOT; }; 20286C2CFDCF999611CA2CEA = { children = ( 89C483A907F072F6007FD3D0, 89C483AA07F072F6007FD3D0, 89C483AB07F072F6007FD3D0, 89C483AC07F072F6007FD3D0, 89C483AD07F072F6007FD3D0, 89C483AE07F072F6007FD3D0, 8D0C4E960486CD37000505A6, 0867D6AAFE840B52C02AAC07, ); isa = PBXGroup; name = Resources; path = ""; refType = 4; sourceTree = "<group>"; }; 20286C32FDCF999611CA2CEA = { children = ( 20286C33FDCF999611CA2CEA, 4A9504CAFFE6A41611CA0CBA, 4A9504C8FFE6A3BC11CA0CBA, 0249A66BFF388E3F11CA2CEA, 89323C5D07FA2E4200AB4B9B, 89323CD007FA34E600AB4B9B, ); isa = PBXGroup; name = "External Frameworks and Libraries"; path = ""; refType = 4; sourceTree = "<group>"; }; 20286C33FDCF999611CA2CEA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; refType = 0; sourceTree = "<absolute>"; }; //200 //201 //202 //203 //204 //320 //321 //322 //323 //324 32DBCF6D0370B57F00C91783 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = visual_Prefix.pch; refType = 2; sourceTree = SOURCE_ROOT; }; //320 //321 //322 //323 //324 //4A0 //4A1 //4A2 //4A3 //4A4 4A9504C5FFE6A39111CA0CBA = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = YES; }; isa = PBXBuildStyle; name = Development; }; 4A9504C6FFE6A39111CA0CBA = { buildSettings = { COPY_PHASE_STRIP = YES; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Deployment; }; 4A9504C8FFE6A3BC11CA0CBA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; refType = 0; sourceTree = "<absolute>"; }; 4A9504CAFFE6A41611CA0CBA = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; refType = 0; sourceTree = "<absolute>"; }; //4A0 //4A1 //4A2 //4A3 //4A4 //890 //891 //892 //893 //894 89323BAC07FA26C800AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = express_viewer.hpp; refType = 4; sourceTree = "<group>"; }; 89323C5D07FA2E4200AB4B9B = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = libasl_dev.a; path = ../../build/asl_lib/build/libasl_dev.a; refType = 2; sourceTree = SOURCE_ROOT; }; 89323C5E07FA2E4200AB4B9B = { fileRef = 89323C5D07FA2E4200AB4B9B; isa = PBXBuildFile; settings = { }; }; 89323CD007FA34E600AB4B9B = { isa = PBXFileReference; lastKnownFileType = archive.ar; name = libboost.a; path = ../../build/boost_lib/build/libboost.a; refType = 2; sourceTree = SOURCE_ROOT; }; 89323CD107FA34E600AB4B9B = { fileRef = 89323CD007FA34E600AB4B9B; isa = PBXBuildFile; settings = { }; }; 89323CF407FA39F300AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; refType = 4; sourceTree = "<group>"; }; 89323CF507FA39F300AB4B9B = { fileRef = 89323CF407FA39F300AB4B9B; isa = PBXBuildFile; settings = { }; }; 894E675D07F5C0BC00C05327 = { children = ( 894E676F07F5C13400C05327, 894E676007F5C0EF00C05327, 894E678D07F5C33000C05327, 89323BAC07FA26C800AB4B9B, 894E678407F5C31C00C05327, 894E676107F5C0EF00C05327, ); isa = PBXGroup; path = headers; refType = 2; sourceTree = SOURCE_ROOT; }; 894E676007F5C0EF00C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = client_assembler.hpp; refType = 4; sourceTree = "<group>"; }; 894E676107F5C0EF00C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = ui_core.hpp; refType = 4; sourceTree = "<group>"; }; 894E676F07F5C13400C05327 = { children = ( 894E677007F5C13400C05327, 894E677107F5C13400C05327, ); isa = PBXGroup; path = mac; refType = 4; sourceTree = "<group>"; }; 894E677007F5C13400C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = carbon_safe.hpp; refType = 4; sourceTree = "<group>"; }; 894E677107F5C13400C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = ui_core_implementation.hpp; refType = 4; sourceTree = "<group>"; }; 894E678407F5C31C00C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = report_exception.hpp; refType = 4; sourceTree = "<group>"; }; 894E678D07F5C33000C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = display.hpp; refType = 4; sourceTree = "<group>"; }; 894E67B007F5C7B000C05327 = { fileRef = 89C4838E07F06DB5007FD3D0; isa = PBXBuildFile; settings = { }; }; 894E67BC07F8593B00C05327 = { children = ( 894E67BF07F8596500C05327, ); isa = PBXGroup; name = adobe; path = ../..; refType = 2; sourceTree = SOURCE_ROOT; }; 894E67BF07F8596500C05327 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = functional.hpp; refType = 4; sourceTree = "<group>"; }; 894E67CC07F85CEC00C05327 = { fileRef = 89C483D007F10216007FD3D0; isa = PBXBuildFile; settings = { }; }; 894E67CD07F85CF500C05327 = { fileRef = 89C4838F07F06DB5007FD3D0; isa = PBXBuildFile; settings = { }; }; 894E67CF07F85CFB00C05327 = { fileRef = 89C4839007F06DB5007FD3D0; isa = PBXBuildFile; settings = { }; }; 894E67D007F85CFD00C05327 = { fileRef = 89C483D107F10216007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4838E07F06DB5007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = client_assembler.cpp; refType = 4; sourceTree = "<group>"; }; 89C4838F07F06DB5007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = express_viewer.cpp; refType = 4; sourceTree = "<group>"; }; 89C4839007F06DB5007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ui_core.cpp; refType = 4; sourceTree = "<group>"; }; 89C483A907F072F6007FD3D0 = { isa = PBXFileReference; lastKnownFileType = image.icns; name = AppIcon.icns; path = resources/AppIcon.icns; refType = 4; sourceTree = "<group>"; }; 89C483AA07F072F6007FD3D0 = { isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Begin.nib; path = resources/Begin.nib; refType = 4; sourceTree = "<group>"; }; 89C483AB07F072F6007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = text; name = editor.adm; path = resources/editor.adm; refType = 4; sourceTree = "<group>"; }; 89C483AC07F072F6007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = text; name = editor.eve; path = resources/editor.eve; refType = 4; sourceTree = "<group>"; }; 89C483AD07F072F6007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = text; name = eve_globals.scp; path = resources/eve_globals.scp; refType = 4; sourceTree = "<group>"; }; 89C483AE07F072F6007FD3D0 = { isa = PBXFileReference; lastKnownFileType = image.png; name = link_icon.png; path = resources/link_icon.png; refType = 4; sourceTree = "<group>"; }; 89C483AF07F072F6007FD3D0 = { fileRef = 89C483A907F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483B007F072F6007FD3D0 = { fileRef = 89C483AA07F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483B107F072F6007FD3D0 = { fileRef = 89C483AB07F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483B207F072F6007FD3D0 = { fileRef = 89C483AC07F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483B307F072F6007FD3D0 = { fileRef = 89C483AD07F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483B407F072F6007FD3D0 = { fileRef = 89C483AE07F072F6007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C483CF07F10216007FD3D0 = { children = ( 89C483D007F10216007FD3D0, 89323CF407FA39F300AB4B9B, 89C483D107F10216007FD3D0, ); isa = PBXGroup; path = mac; refType = 4; sourceTree = "<group>"; }; 89C483D007F10216007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = display.cpp; refType = 4; sourceTree = "<group>"; }; 89C483D107F10216007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ui_core_implementation.cpp; refType = 4; sourceTree = "<group>"; }; //890 //891 //892 //893 //894 //8D0 //8D1 //8D2 //8D3 //8D4 8D0C4E890486CD37000505A6 = { buildPhases = ( 8D0C4E8C0486CD37000505A6, 8D0C4E8F0486CD37000505A6, 8D0C4E910486CD37000505A6, ); buildRules = ( ); buildSettings = { GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = visual_Prefix.pch; HEADER_SEARCH_PATHS = "../../../ ../../../third_party/boost_tp/boost/"; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = "/Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/build/asl_lib/build /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/build/boost_lib/build"; PRODUCT_NAME = "Adobe Begin"; WARNING_CFLAGS = "-Wno-long-double"; WRAPPER_EXTENSION = app; }; dependencies = ( ); isa = PBXNativeTarget; name = visual; productInstallPath = "$(HOME)/Applications"; productName = visual; productReference = 8D0C4E970486CD37000505A6; productType = "com.apple.product-type.application"; }; 8D0C4E8C0486CD37000505A6 = { buildActionMask = 2147483647; files = ( 8D0C4E8D0486CD37000505A6, 89C483AF07F072F6007FD3D0, 89C483B007F072F6007FD3D0, 89C483B107F072F6007FD3D0, 89C483B207F072F6007FD3D0, 89C483B307F072F6007FD3D0, 89C483B407F072F6007FD3D0, ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D0C4E8D0486CD37000505A6 = { fileRef = 0867D6AAFE840B52C02AAC07; isa = PBXBuildFile; settings = { }; }; 8D0C4E8F0486CD37000505A6 = { buildActionMask = 2147483647; files = ( 894E67B007F5C7B000C05327, 894E67CC07F85CEC00C05327, 894E67CD07F85CF500C05327, 894E67CF07F85CFB00C05327, 894E67D007F85CFD00C05327, 89323CF507FA39F300AB4B9B, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D0C4E910486CD37000505A6 = { buildActionMask = 2147483647; files = ( 8D0C4E920486CD37000505A6, 8D0C4E930486CD37000505A6, 89323C5E07FA2E4200AB4B9B, 89323CD107FA34E600AB4B9B, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8D0C4E920486CD37000505A6 = { fileRef = 20286C33FDCF999611CA2CEA; isa = PBXBuildFile; settings = { }; }; 8D0C4E930486CD37000505A6 = { fileRef = 0249A66BFF388E3F11CA2CEA; isa = PBXBuildFile; settings = { }; }; 8D0C4E960486CD37000505A6 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; refType = 4; sourceTree = "<group>"; }; 8D0C4E970486CD37000505A6 = { explicitFileType = wrapper.application; includeInIndex = 0; isa = PBXFileReference; path = "Adobe Begin.app"; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 20286C28FDCF999611CA2CEA; } |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:49
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/test/visual/sources/win Modified Files: ui_core_implementation.cpp Added Files: main.cpp metrics.cpp Log Message: asl 1.0.2 --- NEW FILE: metrics.cpp --- /* Copyright 2005 Ralph Thomas Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /****************************************************************************************************/ // // This is the implementation of the class which looks up widget metrics on // Windows systems. It has two implementations, one uses UxTheme to look up // widget metrics, and the other uses constant values (and is used on systems // where UxTheme is unavailable or Visual Styles are disabled). // /****************************************************************************************************/ #include "metrics.hpp" #include <sstream> /****************************************************************************************************/ namespace adobe { /****************************************************************************************************/ // /// This implementation of metrics_t uses the Win32 library to lookup font attributes. /// It returns constant values for other metrics. // class metrics_win32_t : public metrics_t { // /// Store the class name of the window which we're currently examining. // std::wstring class_name_m; protected: // /// Return the window class which we are currently returing metrics for. /// /// \return the current window class. // std::wstring get_window_class() const { return class_name_m; } public: // // from metrics_t // bool set_window(HWND window) { WCHAR class_name_buf[50]; if (!GetClassNameW(window, class_name_buf, 50)) return false; class_name_m = class_name_buf; return true; } bool get_font(int widget_type, LOGFONTW& out_font) const { // // On plain windows everything uses DEFAULT_GUI_FONT. // HGDIOBJ font = GetStockObject(DEFAULT_GUI_FONT); if (!font) return false; // // Extract a LOGFONTW from the HFONT. // int rv = GetObject(font, sizeof(out_font), reinterpret_cast<LPVOID>(&out_font)); DeleteObject(font); return (rv != 0); } bool get_font_metrics(int widget_type, TEXTMETRIC& out_metrics) const { // // Try to use the font from get_font before we fall back to DEFAULT_GUI_FONT. // LOGFONTW logical_font = { 0 }; HGDIOBJ font = 0; HDC tmp_dc = GetDC(0); if (get_font(widget_type, logical_font)) { font = (HGDIOBJ)CreateFontIndirectW(&logical_font); } if (!font) font = GetStockObject(DEFAULT_GUI_FONT); // // Get the metrics. // HGDIOBJ oldFont = SelectObject(tmp_dc, font); BOOL have_metrics = GetTextMetrics(tmp_dc, &out_metrics); // // Clean up. // DeleteObject(SelectObject(tmp_dc, oldFont)); ReleaseDC(0, tmp_dc); return have_metrics; } bool get_text_extents(int widget_type, std::wstring text, RECT& out_extents) const { // // Create the font and select it into a temporary device context. // HDC tmp_dc = GetDC(0); LOGFONTW logical_font = {0}; HGDIOBJ font = 0; // // Try to use get_font, in case there is another font we're meant // to use. Then fallback on DEFAULT_GUI_FONT. // if (get_font(widget_type, logical_font)) { font = (HGDIOBJ)CreateFontIndirectW(&logical_font); } if (!font) font = GetStockObject(DEFAULT_GUI_FONT); // // Extract the extents. // HGDIOBJ original_font = SelectObject(tmp_dc, font); SIZE out_size = {0, 0}; bool have_extents = GetTextExtentPoint32W(tmp_dc, text.c_str(), text.size(), &out_size); // // Clean up, and convert the size to a rect. // DeleteObject(SelectObject(tmp_dc, original_font)); ReleaseDC(0, tmp_dc); out_extents.left = 0; out_extents.top = 0; out_extents.right = out_size.cx; out_extents.bottom = out_size.cy; return have_extents; } bool get_integer(int widget_type, int measurement, int& out_val) const { if ((widget_type == CP_DROPDOWNBUTTON) && (measurement == TMT_BORDERSIZE) && (class_name_m == L"ComboBox")) { out_val = 1; return true; } out_val = 0; return false; } bool get_size(int widget_type, THEMESIZE measurement, SIZE& out_size) const { if (class_name_m == L"Button") { if ((widget_type == BP_CHECKBOX) || (widget_type == BP_RADIOBUTTON)) { // // Strictly the width of the checkbox widget is 13 pixels. // This adds some padding so that letters don't get clipped. // out_size.cx = 23; out_size.cy = 13; return true; } if (widget_type == BP_GROUPBOX) { out_size.cx = 8; out_size.cy = 8; return true; } out_size.cx = 0; out_size.cy = 0; return true; } out_size.cx = 0; out_size.cy = 0; return false; } bool get_margins(int widget_type, MARGINS& out_margins) const { if ((class_name_m == L"Button") && (widget_type == BP_PUSHBUTTON)) { out_margins.cxLeftWidth = 3; out_margins.cxRightWidth = 3; out_margins.cyTopHeight = 3; out_margins.cyBottomHeight = 3; return true; } return false; } }; /****************************************************************************************************/ const int kState = 1; // /// This implementation of metrics_t uses the UxTheme library to obtain widget metrics. /// It inherits from the plain Win32 implementation because it occasionally falls back /// on the font functions. // class metrics_uxtheme_t : public metrics_win32_t { typedef metrics_win32_t _super; // // Handle to the UxTheme.DLL. // HMODULE theme_dll_m; // // Handle to the theme which we are currently using. // HTHEME theme_m; // // Technically all of these calls are supposed to use a state parameter. We are // only obtaining metrics, rather than drawing, so we don't actually need to // specify any particular state (as metrics should be invariant over all states). // // According to the tmschema.h (in the Platform SDK) a state of 1 should always // work. // // const int kState; // // Because we open UxTheme.DLL dynamically we need to keep function pointers into // the library. These are those. // typedef HTHEME (__stdcall *OpenThemeData_t)(HWND hwnd, LPCWSTR pszClassList); typedef HRESULT (__stdcall *CloseThemeData_t)(HTHEME hTheme); typedef HRESULT (__stdcall *GetThemeMargins_t)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT* prc, MARGINS* pMargins); typedef HRESULT (__stdcall *GetThemePartSize_t)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT* pRect, enum THEMESIZE eSize, SIZE* psz); typedef HRESULT (__stdcall *GetThemeInt_t)(HTHEME hTheme, int iPartId, int iStateId, int iPropId, int* piVal); typedef HRESULT (__stdcall *GetThemeTextExtent_t)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD dwTextFlags, const RECT* pBoundingRect, RECT* pExtentRect); typedef HRESULT (__stdcall *GetThemeTextMetrics_t)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, TEXTMETRIC* ptm); typedef HRESULT (__stdcall *GetThemeFont_t)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, LOGFONTW* pFont); typedef HRESULT (__stdcall *GetThemeSysFont_t)(HTHEME hTheme, int iFontId, LOGFONTW* pFont); typedef BOOL (__stdcall *IsThemeActive_t)(void); OpenThemeData_t OpenThemeDataPtr; CloseThemeData_t CloseThemeDataPtr; GetThemeMargins_t GetThemeMarginsPtr; GetThemePartSize_t GetThemePartSizePtr; GetThemeInt_t GetThemeIntPtr; GetThemeTextExtent_t GetThemeTextExtentPtr; GetThemeTextMetrics_t GetThemeTextMetricsPtr; GetThemeFont_t GetThemeFontPtr; GetThemeSysFont_t GetThemeSysFontPtr; IsThemeActive_t IsThemeActivePtr; // // We only ever try to load UxTheme.DLL once, this boolean tells us if we were // successful. // bool loaded_m; public: metrics_uxtheme_t() : theme_dll_m(0), theme_m(0), OpenThemeDataPtr(0), CloseThemeDataPtr(0), GetThemeMarginsPtr(0), GetThemePartSizePtr(0), GetThemeIntPtr(0), GetThemeTextExtentPtr(0), GetThemeTextMetricsPtr(0), GetThemeFontPtr(0), GetThemeSysFontPtr(0), IsThemeActivePtr(0), loaded_m(false) { // // Try to load the UxTheme library, if we can. // theme_dll_m = LoadLibrary("UxTheme.dll"); if (!theme_dll_m) return; // // Load the addresses of the UxTheme functions. // if (!(OpenThemeDataPtr = (OpenThemeData_t)GetProcAddress(theme_dll_m, "OpenThemeData"))) return; if (!(CloseThemeDataPtr = (CloseThemeData_t)GetProcAddress(theme_dll_m, "CloseThemeData"))) return; if (!(GetThemeMarginsPtr = (GetThemeMargins_t)GetProcAddress(theme_dll_m, "GetThemeMargins"))) return; if (!(GetThemePartSizePtr = (GetThemePartSize_t)GetProcAddress(theme_dll_m, "GetThemePartSize"))) return; if (!(GetThemeIntPtr = (GetThemeInt_t)GetProcAddress(theme_dll_m, "GetThemeInt"))) return; if (!(GetThemeTextExtentPtr = (GetThemeTextExtent_t)GetProcAddress(theme_dll_m, "GetThemeTextExtent"))) return; if (!(GetThemeTextMetricsPtr = (GetThemeTextMetrics_t)GetProcAddress(theme_dll_m, "GetThemeTextMetrics"))) return; if (!(GetThemeFontPtr = (GetThemeFont_t)GetProcAddress(theme_dll_m, "GetThemeFont"))) return; if (!(GetThemeSysFontPtr = (GetThemeSysFont_t)GetProcAddress(theme_dll_m, "GetThemeSysFont"))) return; if (!(IsThemeActivePtr = (IsThemeActive_t)GetProcAddress(theme_dll_m, "IsThemeActive"))) return; // // All loaded! // loaded_m = true; } ~metrics_uxtheme_t() { if (theme_dll_m) FreeLibrary(theme_dll_m); } // /// This function returns true if the theme is active. If the theme /// is not active then the plain win32 metrics object should be used. // bool theme_active() const { if (!loaded_m) return false; return (*IsThemeActivePtr)(); } // // from metrics_t // bool set_window(HWND win) { if (!_super::set_window(win)) return false; // // Close any already open theme data, and load up the new // data. // if (theme_m) (*CloseThemeDataPtr)(theme_m); theme_m = (*OpenThemeDataPtr)(win, get_window_class().c_str()); return (theme_m != 0); } bool get_font(int widget_type, LOGFONTW& out_font) const { // // We need ensure that we have a handle to the theme before // continuing. // if (!theme_m) return false; if (widget_type != -1) { HRESULT hr = (*GetThemeFontPtr)(theme_m, 0, widget_type, kState, TMT_FONT, &out_font); if (hr == S_OK) return true; } // // This widget is a text label, most likely. Give it the // standard message box font. // if (S_OK == (*GetThemeSysFontPtr)(theme_m, TMT_MSGBOXFONT, &out_font)) return true; return false; } bool get_font_metrics(int widget_type, TEXTMETRIC& out_metrics) const { // // Use GetThemeMetrics for anything which isn't a text label. // if ((widget_type != -1) && theme_m) { HRESULT hr = (*GetThemeTextMetricsPtr)(theme_m, 0, widget_type, kState, &out_metrics); if (hr == S_OK) return true; } // // Let the Win32 code handle it. When the Win32 code tries to // call get_font it will call the UxTheme implementation, so // we will always use the correct font here. // return _super::get_font_metrics(widget_type, out_metrics); } bool get_text_extents(int widget_type, std::wstring text, RECT& out_extents) const { // // We can only work if we have a non-label widget type and // valid theme handle. // if ((widget_type != -1) && theme_m) { HDC tmp_dc = GetDC(0); HRESULT hr = (*GetThemeTextExtentPtr)(theme_m, tmp_dc, widget_type, kState, text.c_str(), text.size(), 0, 0, &out_extents); ReleaseDC(0, tmp_dc); if (hr == S_OK) return true; } // // That seemed to go wrong. // return _super::get_text_extents(widget_type, text, out_extents); } bool get_integer(int widget_type, int measurement, int& out_val) const { // // We don't fallback from this function. // if ((!theme_m) || (widget_type == -1)) return false; return (S_OK == (*GetThemeIntPtr)(theme_m, widget_type, kState, measurement, &out_val)); } bool get_size(int widget_type, THEMESIZE measurement, SIZE& out_size) const { // // We don't fallback from this function. // if ((!theme_m) || (widget_type == -1)) return false; // // Create a temporary device context and call GetThemePartSize. // HDC tmp_dc = GetDC(0); HRESULT hr = (*GetThemePartSizePtr)(theme_m, tmp_dc, widget_type, kState, 0, measurement, &out_size); ReleaseDC(0, tmp_dc); return (hr == S_OK); } bool get_margins(int widget_type, MARGINS& out_margins) const { // // We don't fall back from this function. // if ((!theme_m) || (widget_type == -1)) return false; // // Use GetThemeMargins call to get the margins for this widget. // return (S_OK == (*GetThemeMarginsPtr)(theme_m, 0, widget_type, kState, TMT_CONTENTMARGINS, 0, &out_margins)); } }; /****************************************************************************************************/ metrics_t& metrics_t::get_instance() { static metrics_win32_t win32_instance; static metrics_uxtheme_t uxtheme_instance; if (uxtheme_instance.theme_active()) return uxtheme_instance; return win32_instance; } /****************************************************************************************************/ } /****************************************************************************************************/ --- NEW FILE: main.cpp --- /* Copyright 2005 Ralph Thomas Distributed under the MIT License (see accompanyinf file LICENSE_1_0_0.txt or a copy at http://opensource.adobe.com/licenses.html) */ /****************************************************************************************************/ #include "express_viewer.hpp" #include "report_exception.hpp" #include <boost/filesystem/convenience.hpp> #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <sstream> #include <ostream> #include <string> /****************************************************************************************************/ namespace { /****************************************************************************************************/ void clip_quotes(std::string& str) { // // Sometimes GetCommandLine puts double quotes at the beginning and // end of the command line (this doesn't always happen, not if the // program was started from the prompt instead of the GUI). // if( str[0] == '"' ) str = str.substr( 1, str.size() - 2 ); } /****************************************************************************************************/ void open_document(adobe::simpleApplication* app, const std::string& filename) { boost::filesystem::path file( filename, boost::filesystem::native ); std::string extension( boost::filesystem::extension( file ) ); if ( extension == ".eve") app->set_eve_file( file ); else if ( extension == ".adm") app->set_adam_file( file ); } /****************************************************************************************************/ } // namespace /****************************************************************************************************/ namespace adobe { /****************************************************************************************************/ bool os_initialize( simpleApplication* app ) { // // We only need to set the resource path on Windows. There are no // system events to install handlers for, etc. We say that the // resource path is the folder with the executable inside. // std::stringstream temp; std::string directory_string; std::string file1; std::string file2; temp << GetCommandLine(); temp >> directory_string; clip_quotes(directory_string); // // Now we need to get a directory from the command line name. // boost::filesystem::path directory( directory_string, boost::filesystem::native ); // // Tell the application... // app->set_resource_directory( directory.branch_path() ); temp >> file1; temp >> file2; if (file1 == std::string() || file2 == std::string()) throw std::runtime_error("You must drag and drop an Adam/Eve pair onto the app"); clip_quotes(file1); clip_quotes(file2); open_document(app, file1); open_document(app, file2); return true; } /****************************************************************************************************/ void os_mainloop() { // // This is just the standard Win32 message pump. // MSG msg; while ( GetMessage( &msg, 0, 0, 0 ) ) { TranslateMessage( &msg ); DispatchMessage( &msg ); } } /****************************************************************************************************/ void os_end_mainloop() { // // This is just the standard Win32 quit message. // ::PostQuitMessage(0); } /****************************************************************************************************/ } /****************************************************************************************************/ int WinMain( HINSTANCE hInst, HINSTANCE hInstPrev, LPSTR lpCmdLine, int nCmdShow ) { try { adobe::simpleApplication* theApp = adobe::simpleApplication::getInstance(); if( theApp ) theApp->run(); } catch( ... ) { adobe::report_exception(); } return 0; } Index: ui_core_implementation.cpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/test/visual/sources/win/ui_core_implementation.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ui_core_implementation.cpp 23 Mar 2005 18:51:38 -0000 1.3 --- ui_core_implementation.cpp 2 Apr 2005 05:47:40 -0000 1.4 *************** *** 11,14 **** --- 11,15 ---- #include "report_exception.hpp" #include "display.hpp" + #include "metrics.hpp" #include <adobe/value.hpp> *************** *** 101,114 **** std::string convert_utf(const WCHAR* buffer, std::size_t size) { [...3454 lines suppressed...] + void slider_t::implementation_t::set_min_value(long min_value) + { + } + + /****************************************************************************************************/ + + void slider_t::implementation_t::set_max_value(long max_value) + { + } + + /****************************************************************************************************/ + + void slider_t::implementation_t::set_value(long value) + { + } + + /****************************************************************************************************/ + void slider_t::implementation_t::signal_value_change(const implementation::slider_value_proc_t& proc) { |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:43
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/boost_lib/boost_lib.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/build/boost_lib/boost_lib.xcode Added Files: project.pbxproj Log Message: asl 1.0.2 --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 014CEA520018CE5811CA2923 = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = YES; }; isa = PBXBuildStyle; name = Development; }; 014CEA530018CE5811CA2923 = { buildSettings = { COPY_PHASE_STRIP = YES; GCC_ENABLE_FIX_AND_CONTINUE = NO; ZERO_LINK = NO; }; isa = PBXBuildStyle; name = Deployment; }; //010 //011 //012 //013 //014 //080 //081 //082 //083 //084 08FB7793FE84155DC02AAC07 = { buildSettings = { }; buildStyles = ( 014CEA520018CE5811CA2923, 014CEA530018CE5811CA2923, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 08FB7794FE84155DC02AAC07; projectDirPath = ""; targets = ( D2AAC045055464E500DB518D, ); }; 08FB7794FE84155DC02AAC07 = { children = ( 08FB7795FE84155DC02AAC07, 1AB674ADFE9D54B511CA2CBB, ); isa = PBXGroup; name = boost_lib; refType = 4; sourceTree = "<group>"; }; 08FB7795FE84155DC02AAC07 = { children = ( 89323D5107FA6C7400AB4B9B, 89C4833A07EFFB17007FD3D0, 89C4834C07EFFB92007FD3D0, ); isa = PBXGroup; name = libs; path = ../../../third_party/boost_tp/boost/libs; refType = 2; sourceTree = SOURCE_ROOT; }; //080 //081 //082 //083 //084 //1A0 //1A1 //1A2 //1A3 //1A4 1AB674ADFE9D54B511CA2CBB = { children = ( D2AAC046055464E500DB518D, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = "<group>"; }; //1A0 //1A1 //1A2 //1A3 //1A4 //890 //891 //892 //893 //894 89323D5107FA6C7400AB4B9B = { children = ( 89323D5207FA6C9400AB4B9B, ); isa = PBXGroup; path = filesystem; refType = 4; sourceTree = "<group>"; }; 89323D5207FA6C9400AB4B9B = { children = ( 89323D5307FA6C9400AB4B9B, 89323D5407FA6C9400AB4B9B, 89323D5507FA6C9400AB4B9B, 89323D5607FA6C9400AB4B9B, ); isa = PBXGroup; path = src; refType = 4; sourceTree = "<group>"; }; 89323D5307FA6C9400AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = convenience.cpp; refType = 4; sourceTree = "<group>"; }; 89323D5407FA6C9400AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = exception.cpp; refType = 4; sourceTree = "<group>"; }; 89323D5507FA6C9400AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = operations_posix_windows.cpp; refType = 4; sourceTree = "<group>"; }; 89323D5607FA6C9400AB4B9B = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = path_posix_windows.cpp; refType = 4; sourceTree = "<group>"; }; 89323D5707FA6C9400AB4B9B = { fileRef = 89323D5307FA6C9400AB4B9B; isa = PBXBuildFile; settings = { }; }; 89323D5807FA6C9400AB4B9B = { fileRef = 89323D5407FA6C9400AB4B9B; isa = PBXBuildFile; settings = { }; }; 89323D5907FA6C9400AB4B9B = { fileRef = 89323D5507FA6C9400AB4B9B; isa = PBXBuildFile; settings = { }; }; 89323D5A07FA6C9400AB4B9B = { fileRef = 89323D5607FA6C9400AB4B9B; isa = PBXBuildFile; settings = { }; }; 89C4833A07EFFB17007FD3D0 = { children = ( 89C4833D07EFFB65007FD3D0, ); isa = PBXGroup; path = signals; refType = 4; sourceTree = "<group>"; }; 89C4833D07EFFB65007FD3D0 = { children = ( 89C4834007EFFB8A007FD3D0, 89C4834107EFFB8A007FD3D0, 89C4834207EFFB8A007FD3D0, 89C4834307EFFB8A007FD3D0, 89C4834407EFFB8A007FD3D0, ); isa = PBXGroup; path = src; refType = 4; sourceTree = "<group>"; }; 89C4834007EFFB8A007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = connection.cpp; refType = 4; sourceTree = "<group>"; }; 89C4834107EFFB8A007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = named_slot_map.cpp; refType = 4; sourceTree = "<group>"; }; 89C4834207EFFB8A007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = signal_base.cpp; refType = 4; sourceTree = "<group>"; }; 89C4834307EFFB8A007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = slot.cpp; refType = 4; sourceTree = "<group>"; }; 89C4834407EFFB8A007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = trackable.cpp; refType = 4; sourceTree = "<group>"; }; 89C4834507EFFB8A007FD3D0 = { fileRef = 89C4834007EFFB8A007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4834607EFFB8A007FD3D0 = { fileRef = 89C4834107EFFB8A007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4834707EFFB8A007FD3D0 = { fileRef = 89C4834207EFFB8A007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4834807EFFB8A007FD3D0 = { fileRef = 89C4834307EFFB8A007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4834907EFFB8A007FD3D0 = { fileRef = 89C4834407EFFB8A007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4834C07EFFB92007FD3D0 = { children = ( 89C4835107EFFBAF007FD3D0, ); isa = PBXGroup; path = thread; refType = 4; sourceTree = "<group>"; }; 89C4835107EFFBAF007FD3D0 = { children = ( 89C4835407EFFBD9007FD3D0, 89C4835507EFFBD9007FD3D0, 89C4835607EFFBD9007FD3D0, ); isa = PBXGroup; path = src; refType = 4; sourceTree = "<group>"; }; 89C4835407EFFBD9007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = exceptions.cpp; refType = 4; sourceTree = "<group>"; }; 89C4835507EFFBD9007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = mutex.cpp; refType = 4; sourceTree = "<group>"; }; 89C4835607EFFBD9007FD3D0 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = once.cpp; refType = 4; sourceTree = "<group>"; }; 89C4835707EFFBD9007FD3D0 = { fileRef = 89C4835407EFFBD9007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4835807EFFBD9007FD3D0 = { fileRef = 89C4835507EFFBD9007FD3D0; isa = PBXBuildFile; settings = { }; }; 89C4835907EFFBD9007FD3D0 = { fileRef = 89C4835607EFFBD9007FD3D0; isa = PBXBuildFile; settings = { }; }; //890 //891 //892 //893 //894 //D20 //D21 //D22 //D23 //D24 D289987405E68DCB004EDB86 = { buildActionMask = 2147483647; files = ( ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D2AAC043055464E500DB518D = { buildActionMask = 2147483647; files = ( ); isa = PBXHeadersBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D2AAC044055464E500DB518D = { buildActionMask = 2147483647; files = ( 89C4834507EFFB8A007FD3D0, 89C4834607EFFB8A007FD3D0, 89C4834707EFFB8A007FD3D0, 89C4834807EFFB8A007FD3D0, 89C4834907EFFB8A007FD3D0, 89C4835707EFFBD9007FD3D0, 89C4835807EFFBD9007FD3D0, 89C4835907EFFBD9007FD3D0, 89323D5707FA6C9400AB4B9B, 89323D5807FA6C9400AB4B9B, 89323D5907FA6C9400AB4B9B, 89323D5A07FA6C9400AB4B9B, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D2AAC045055464E500DB518D = { buildPhases = ( D2AAC043055464E500DB518D, D2AAC044055464E500DB518D, D289987405E68DCB004EDB86, ); buildRules = ( ); buildSettings = { GCC_GENERATE_DEBUGGING_SYMBOLS = NO; HEADER_SEARCH_PATHS = ../../../third_party/boost_tp/boost/; INSTALL_PATH = /usr/local/lib; LIBRARY_STYLE = STATIC; PRODUCT_NAME = boost; WARNING_CFLAGS = "-Wno-long-double"; }; dependencies = ( ); isa = PBXNativeTarget; name = boost; productName = boost_lib; productReference = D2AAC046055464E500DB518D; productType = "com.apple.product-type.library.static"; }; D2AAC046055464E500DB518D = { explicitFileType = archive.ar; includeInIndex = 0; isa = PBXFileReference; path = libboost.a; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 08FB7793FE84155DC02AAC07; } |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:43
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/asl_lib_dev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/build/asl_lib_dev Added Files: asl_lib_dev.sln Removed Files: Jamfile Log Message: asl 1.0.2 --- NEW FILE: asl_lib_dev.sln --- Microsoft Visual Studio Solution File, Format Version 8.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asl_lib_dev", "asl_lib_dev.vcproj", "{95184C7D-CE28-4D94-9A94-C9CC53562DB5}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.ActiveCfg = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Debug.Build.0 = Debug|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.ActiveCfg = Release|Win32 {95184C7D-CE28-4D94-9A94-C9CC53562DB5}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal --- Jamfile DELETED --- |
From: Foster B. <fos...@us...> - 2005-04-02 05:47:43
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/asl_lib/asl_lib.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/build/asl_lib/asl_lib.xcode Added Files: project.pbxproj Log Message: asl 1.0.2 --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 014CEA520018CE5811CA2923 = { buildSettings = { COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; ZERO_LINK = YES; }; isa = PBXBuildStyle; name = Development; }; [...989 lines suppressed...] }; dependencies = ( ); isa = PBXNativeTarget; name = asl; productName = asl_lib; productReference = D2AAC046055464E500DB518D; productType = "com.apple.product-type.library.static"; }; D2AAC046055464E500DB518D = { explicitFileType = archive.ar; includeInIndex = 0; isa = PBXFileReference; path = libasl.a; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 08FB7793FE84155DC02AAC07; } |
From: Foster B. <fos...@us...> - 2005-04-02 05:45:21
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/English.lproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15750/English.lproj Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/test/visual/English.lproj added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:44:15
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/eve_smoke.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15080/eve_smoke.xcode Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/eve_smoke.xcode added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:43:38
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/boost_lib/boost_lib.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14669/boost_lib.xcode Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/build/boost_lib/boost_lib.xcode added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:43:05
|
Update of /cvsroot/adobe-source/adobe-source/adobe/build/asl_lib/asl_lib.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14183/asl_lib.xcode Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/build/asl_lib/asl_lib.xcode added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:41:39
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/visual/visual.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13473/visual.xcode Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/test/visual/visual.xcode added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:38:39
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12277/eve_smoke Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke added to the repository |
From: Foster B. <fos...@us...> - 2005-04-02 05:38:33
|
Update of /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/bindebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12305/bindebug Log Message: Directory /cvsroot/adobe-source/adobe-source/adobe/test/eve_smoke/bindebug added to the repository |