/aoo41x/main/desktop/source/pkgchk/unopkg/ |
H A D | unopkg_misc.cxx | 262 dp_misc::writeConsole(" "); in printf_space() 322 dp_misc::writeConsole("}\n"); in printf_package() 418 dp_misc::writeConsole( in connectToOffice() 437 ::dp_misc::resolveUnoURL( in connectToOffice() 441 dp_misc::writeConsole("Ok.\n"); in connectToOffice() 486 if (::dp_misc::office_is_running()) { in getUNO() 556 dp_misc::writeConsole( in hasNoFolder() 571 dp_misc::writeConsole( in hasNoFolder() 579 dp_misc::writeConsole( in hasNoFolder() 618 dp_misc::writeConsole( in removeFolder() [all …]
|
H A D | unopkg_app.cxx | 68 if (m_str.equals(dp_misc::getIdentifier(e)) in operator ()() 268 dp_misc::writeConsole(s_usingText); in unopkg_main() 350 dp_misc::writeConsoleError( in unopkg_main() 434 && ! dp_misc::office_is_running()) in unopkg_main() 435 dp_misc::syncRepositories(xCmdEnv); in unopkg_main() 520 dp_misc::writeConsole( in unopkg_main() 628 if (! dp_misc::office_is_running()) in unopkg_main() 640 dp_misc::writeConsoleError( in unopkg_main() 679 dp_misc::writeConsoleError( in unopkg_main() 682 dp_misc::writeConsoleError( in unopkg_main() [all …]
|
H A D | unopkg_cmdenv.cxx | 173 dp_misc::writeConsole(sLicense + sNewLine + sNewLine); in printLicense() 174 dp_misc::writeConsole(s2 + sNewLine); in printLicense() 175 dp_misc::writeConsole(s3); in printLicense() 188 OUString sAnswer = dp_misc::readConsole(); in printLicense() 290 dp_misc::writeConsole(OUSTR("\n") + sMsg + OUSTR("\n\n")); in handle() 298 == ::dp_misc::GREATER); in handle() 310 dp_misc::writeConsoleError( in handle() 384 dp_misc::writeConsoleError(" "); in update_() 386 dp_misc::writeConsole(" "); in update_() 390 dp_misc::writeConsoleError(msg + OUSTR("\n")); in update_() [all …]
|
/aoo41x/main/desktop/source/deployment/manager/ |
H A D | dp_informationprovider.cxx | 194 dp_misc::UpdateInfoMap updateInfoMap; in isUpdateAvailable() 210 updateInfoMap = dp_misc::getOnlineUpdateInfos( in isUpdateAvailable() 215 updateInfoMap = dp_misc::getOnlineUpdateInfos( in isUpdateAvailable() 222 dp_misc::UpdateInfo const & info = i->second; in isUpdateAvailable() 256 dp_misc::UPDATE_SOURCE sourceUser = dp_misc::isUpdateUserExtension( in isUpdateAvailable() 258 dp_misc::UPDATE_SOURCE sourceShared = dp_misc::isUpdateSharedExtension( in isUpdateAvailable() 263 if (sourceUser != dp_misc::UPDATE_SOURCE_NONE) in isUpdateAvailable() 264 updateVersionUser = dp_misc::getHighestVersion( in isUpdateAvailable() 266 if (sourceShared != dp_misc::UPDATE_SOURCE_NONE) in isUpdateAvailable() 267 updateVersionShared = dp_misc::getHighestVersion( in isUpdateAvailable() [all …]
|
H A D | dp_extensionmanager.cxx | 122 dp_misc::erase_path( url, xCmdEnv ); in writeLastModified() 224 return new dp_misc::AbortChannel; in createAbortChannel() 278 OUString id = dp_misc::getIdentifier(xExtension); in addExtensionsToMap() 655 dp_misc::DescriptionInfoset info(dp_misc::getDescriptionInfoset(xTmpExtension->getURL())); in doChecksForAddExtension() 982 dp_misc::getIdentifier(xExtensionBackup), in removeExtension() 1278 dp_misc::syncRepositories(xCmdEnv); in reinstallDeployedExtensions() 1465 if (! dp_misc::interactContinuation( in checkInstall() 1493 dp_misc::getResourceString( in checkUpdate() 1498 if (! dp_misc::interactContinuation( in checkUpdate() 1503 dp_misc::getResourceString( in checkUpdate() [all …]
|
H A D | dp_manager.cxx | 71 using namespace ::dp_misc; 278 ::rtl::ByteSequence data = dp_misc::readFile(remFileContent); in initActivationLayer() 702 dp_misc::getDescriptionInfoset(sFolderUrl); in insertToActivationLayer() 730 OUString id(dp_misc::getIdentifier(package)); in isInstalled() 850 OUString const id = dp_misc::getIdentifier( xPackage ); in addPackage() 1328 dp_misc::DescriptionInfoset infoset = in synchronizeRemovedExtensions() 1329 dp_misc::getDescriptionInfoset(url); in synchronizeRemovedExtensions() 1449 OUString id = dp_misc::getIdentifier( xPackage ); in synchronizeAddedExtensions() 1459 dp_misc::getDescriptionInfoset(url); in synchronizeAddedExtensions() 1460 ::boost::optional<dp_misc::SimpleLicenseAttributes> in synchronizeAddedExtensions() [all …]
|
H A D | dp_activepackages.cxx | 158 ::dp_misc::t_string2string_map m(m_map.getEntries()); in getEntries() 159 for (::dp_misc::t_string2string_map::const_iterator i(m.begin()); in getEntries() 174 ::dp_misc::generateLegacyIdentifier(fn), in getEntries()
|
/aoo41x/main/desktop/source/deployment/misc/ |
H A D | dp_update.cxx | 41 namespace dp_misc { namespace 52 if (dp_misc::compareVersions(sharedVersion, greatest) == dp_misc::GREATER) in determineHighestVersion() 57 if (dp_misc::compareVersions(bundledVersion, greatest) == dp_misc::GREATER) in determineHighestVersion() 62 if (dp_misc::compareVersions(onlineVersion, greatest) == dp_misc::GREATER) in determineHighestVersion() 102 const OUString id = dp_misc::getIdentifier(i->second.extension); in getOwnUpdateInfos() 113 dp_misc::DescriptionInfoset infoset( in getOwnUpdateInfos() 159 dp_misc::DescriptionInfoset infoset(xContext, node); in getDefaultUpdateInfos() 172 if (dp_misc::compareVersions(v, j->second.version) == in getDefaultUpdateInfos() 173 dp_misc::GREATER) in getDefaultUpdateInfos() 359 … if (dp_misc::compareVersions(current->getVersion(), greatest->getVersion()) == dp_misc::GREATER) in getExtensionWithHighestVersion() [all …]
|
H A D | dp_dependencies.cxx | 61 return ::dp_misc::compareVersions(v, version) != ::dp_misc::LESS; in satisfiesMinimalVersion() 66 namespace dp_misc { namespace 71 check(::dp_misc::DescriptionInfoset const & infoset) { in check() 103 ::dp_misc::compareVersions( in check() 107 != ::dp_misc::GREATER; in check() 138 sReason = ::rtl::OUString( ::String(::dp_misc::getResId(RID_DEPLYOMENT_DEPENDENCIES_MIN)) ); in getErrorText() 144 sReason = ::rtl::OUString( ::String(::dp_misc::getResId(RID_DEPLYOMENT_DEPENDENCIES_MAX)) ); in getErrorText() 151 sReason = ::rtl::OUString( ::String(::dp_misc::getResId(RID_DEPLYOMENT_DEPENDENCIES_MIN)) ); in getErrorText() 154 … return ::rtl::OUString( ::String(::dp_misc::getResId(RID_DEPLYOMENT_DEPENDENCIES_UNKNOWN)) ); in getErrorText() 157 … sValue = ::rtl::OUString( ::String(::dp_misc::getResId(RID_DEPLYOMENT_DEPENDENCIES_UNKNOWN)) ); in getErrorText()
|
H A D | dp_version.cxx | 48 namespace dp_misc { namespace 50 ::dp_misc::Order compareVersions( in compareVersions() 57 return ::dp_misc::LESS; in compareVersions() 59 return ::dp_misc::GREATER; in compareVersions() 61 return ::dp_misc::LESS; in compareVersions() 63 return ::dp_misc::GREATER; in compareVersions() 66 return ::dp_misc::EQUAL; in compareVersions()
|
H A D | makefile.mk | 43 dp_misc.src 51 $(SLO)$/dp_misc.obj \
|
/aoo41x/main/desktop/qa/deployment_misc/ |
H A D | test_dp_version.cxx | 55 ::dp_misc::Order order; in test() 60 ::dp_misc::EQUAL }, in test() 63 ::dp_misc::EQUAL }, in test() 66 ::dp_misc::GREATER }, in test() 70 ::dp_misc::GREATER } in test() 75 ::dp_misc::compareVersions(data[i].version1, data[i].version2)); in test() 76 static ::dp_misc::Order const reverse[3] = { in test() 77 ::dp_misc::GREATER, ::dp_misc::EQUAL, ::dp_misc::LESS in test() 81 ::dp_misc::compareVersions(data[i].version2, data[i].version1)); in test()
|
/aoo41x/main/desktop/source/deployment/registry/executable/ |
H A D | dp_executable.cxx | 42 using namespace dp_misc; 59 ::rtl::Reference<dp_misc::AbortChannel> const & abortChannel, 65 ::rtl::Reference<dp_misc::AbortChannel> const & abortChannel, 190 dp_misc::StrTitle::get() ).get<OUString>(); in bindPackage_() 225 ::rtl::Reference<dp_misc::AbortChannel> const &, in isRegistered_() 239 ::rtl::Reference<dp_misc::AbortChannel> const & abortChannel, in processPackage_() 267 dp_misc::expandUnoRcUrl(m_url), attributes); in processPackage_() 286 sExtensionDir = dp_misc::expandUnoRcTerm(OUSTR("$UNO_USER_PACKAGES_CACHE")); in isUrlTargetInExtension() 291 sExtensionDir = dp_misc::expandUnoRcTerm(OUSTR("$BUNDLED_EXTENSIONS")); in isUrlTargetInExtension() 299 OUString(), dp_misc::expandUnoRcUrl(m_url), sFile)) in isUrlTargetInExtension() [all …]
|
/aoo41x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_updatedialog.cxx | 356 dp_misc::UpdateInfoMap updateInfoMap = dp_misc::getOnlineUpdateInfos( in execute() 366 dp_misc::UpdateInfo const & info = i->second; in execute() 401 dp_misc::UPDATE_SOURCE sourceUser = dp_misc::isUpdateUserExtension( in execute() 403 dp_misc::UPDATE_SOURCE sourceShared = dp_misc::isUpdateSharedExtension( in execute() 407 if (sourceUser != dp_misc::UPDATE_SOURCE_NONE) in execute() 425 if (sourceShared == dp_misc::UPDATE_SOURCE_BUNDLED) in execute() 516 dp_misc::Dependencies::check(infoset)); in prepareUpdateData() 633 if ( ! dp_misc::office_is_running()) in UpdateDialog() 889 if ( !dp_misc::office_is_running() ) in createNotifyJob() 941 dp_misc::TRACE( OUSTR("Caught exception: ") in createNotifyJob() [all …]
|
H A D | dp_gui_updateinstalldialog.cxx | 261 if ( ! dp_misc::office_is_running()) in UpdateInstallDialog() 361 destFolder = dp_misc::makeURL( sTempDir, tempEntry ); in downloadExtensions() 366 dp_misc::create_folder(0, destFolder, m_updateCmdEnv.get(), true ); in downloadExtensions() 396 dp_misc::DescriptionInfoset info(m_xComponentContext, curData.aUpdateInfo); in downloadExtensions() 585 dp_misc::erase_path(m_sDownloadFolder, in removeTempDownloads() 589 dp_misc::erase_path(tempFile, cssu::Reference<css::ucb::XCommandEnvironment>(),false); in removeTempDownloads() 615 destFolder = dp_misc::makeURL( m_sDownloadFolder, tempEntry ); in download() 619 dp_misc::create_folder( &destFolderContent, destFolder, m_updateCmdEnv.get() ); in download() 622 dp_misc::create_ucb_content( &sourceContent, sDownloadURL, m_updateCmdEnv.get() ); in download() 625 dp_misc::StrTitle::get() ).get<OUString>() ); in download() [all …]
|
H A D | dp_gui_handleversionexception.cxx | 32 using namespace dp_misc; 62 switch (dp_misc::compareVersions( in handleVersionException() 65 case dp_misc::LESS: in handleVersionException() 68 case dp_misc::EQUAL: in handleVersionException()
|
H A D | dp_gui_theextmgr.cxx | 100 if ( dp_misc::office_is_running() ) in TheExtensionManager() 224 …uno::Reference< deployment::XPackage > xPackage = dp_misc::getExtensionWithHighestVersion(xAllPack… in checkUpdates() 265 if ( dp_misc::office_is_running() ) in queryTermination() 275 if ( ! dp_misc::office_is_running() ) in terminateDialog() 442 if ( dp_misc::office_is_running() ) in disposing()
|
H A D | dp_gui_extensioncmdqueue.cxx | 356 dp_misc::TRACE( OUSTR("[dp_gui_cmdenv.cxx] incoming request:\n") in handle() 412 dp_misc::Dependencies::getErrorText( depExc.UnsatisfiedDependencies[i]) ); in handle() 711 dp_misc::TRACE( "dp_gui::ExtensionCmdQueue::Thread::run: ignored " in execute() 920 OUString id( dp_misc::getIdentifier( xPackage ) ); in _removeExtension() 1130 dp_misc::syncRepositories( new ProgressCmdEnv( xContext, NULL, OUSTR("Extension Manager") ) ); in syncRepositories()
|
/aoo41x/main/desktop/source/deployment/registry/sfwk/ |
H A D | dp_sfwk.cxx | 40 using namespace ::dp_misc; 165 dp_misc::TRACE(OUSTR("PakageImpl displayName is ") + m_displayName); in PackageImpl() 313 dp_misc::TRACE("******************************\n"); in bindPackage_() 314 dp_misc::TRACE(OUSTR(" BackEnd detected lang = ") + lang + OUSTR("\n")); in bindPackage_() 315 dp_misc::TRACE(OUSTR(" for url ") + sParcelDescURL + OUSTR("\n") ); in bindPackage_() 316 dp_misc::TRACE("******************************\n"); in bindPackage_() 401 dp_misc::TRACE("no package handler!!!!\n"); in processPackage_()
|
H A D | dp_parceldesc.cxx | 93 dp_misc::TRACE(OUSTR("ParcelDescDocHandler::startElement() for ") + in startElement() 105 dp_misc::TRACE(OUSTR("ParcelDescDocHandler::startElement() skipping for ") in startElement() 117 dp_misc::TRACE(OUSTR("ParcelDescDocHandler::endElement() skipping for ") in endElement()
|
/aoo41x/main/desktop/source/deployment/registry/inc/ |
H A D | dp_backend.h | 61 class Package : protected ::dp_misc::MutexHolder, public t_PackageBase 85 ::rtl::Reference< ::dp_misc::AbortChannel > const & abortChannel ); 91 ::rtl::Reference< ::dp_misc::AbortChannel > const & abortChannel, 98 ::rtl::Reference< ::dp_misc::AbortChannel > const & abortChannel, 276 : protected ::dp_misc::MutexHolder, public t_BackendBase 303 struct StrCannotDetectMediaType : public ::dp_misc::StaticResourceString< 305 struct StrUnsupportedMediaType : public ::dp_misc::StaticResourceString< 358 struct StrRegisteringPackage : public ::dp_misc::StaticResourceString< 360 struct StrRevokingPackage : public ::dp_misc::StaticResourceString<
|
/aoo41x/main/desktop/source/deployment/inc/ |
H A D | dp_dependencies.hxx | 37 namespace dp_misc { class DescriptionInfoset; } namespace 40 namespace dp_misc { namespace 59 check(::dp_misc::DescriptionInfoset const & infoset);
|
/aoo41x/main/desktop/source/deployment/registry/help/ |
H A D | dp_help.cxx | 47 using namespace ::dp_misc; 286 rtl::OUString aExpandedHelpURL = dp_misc::expandUnoRcUrl(getURL()); in extensionContainsCompiledHelp() 409 rtl::OUString aExpandedHelpURL = dp_misc::expandUnoRcUrl( aHelpURL ); in implProcessHelp() 457 … const OUString langFolderDestExpanded = ::dp_misc::expandUnoRcUrl(langFolderDest); in implProcessHelp() 458 ::dp_misc::create_folder( in implProcessHelp() 465 aJarFile = ::dp_misc::expandUnoRcUrl(aJarFile); in implProcessHelp()
|
/aoo41x/main/desktop/source/deployment/registry/ |
H A D | dp_registry.cxx | 53 using namespace ::dp_misc; 404 dp_misc::TRACE("> [dp_registry.cxx] media-type detection:\n\n" ); in create() 423 dp_misc::writeConsole( buf.makeStringAndClear() + OUSTR("\n")); in create() 425 dp_misc::TRACE( "> [dp_registry.cxx] ambiguous backends:\n\n" ); in create() 450 dp_misc::TRACE(buf.makeStringAndClear() + OUSTR("\n\n")); in create()
|
/aoo41x/main/desktop/source/deployment/registry/configuration/ |
H A D | dp_configuration.cxx | 55 using namespace ::dp_misc; 481 const OUString rcterm( isURL ? dp_misc::makeRcTerm(url_) : url_ ); in addToConfigmgrIni() 501 const OUString rcterm( dp_misc::makeRcTerm(url_) ); in removeFromConfigmgrIni() 738 data.iniEntry = dp_misc::makeRcTerm(url); in processPackage_() 774 data.iniEntry = dp_misc::makeRcTerm(url_replaced); in processPackage_()
|