This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses | |
SysUtils, Classes, ShellApi, Windows, IBDatabase, IBSQL; | |
const | |
CAMINHO_BANCO_ORIGEM = 'caminho_do_banco_origem.fdb'; | |
USUARIO_ORIGEM = 'usuario_origem'; | |
SENHA_ORIGEM = 'senha_origem'; | |
CAMINHO_BANCO_DESTINO = 'caminho_do_novo_banco_de_dados.fdb'; | |
USUARIO_DESTINO = 'usuario_destino'; | |
SENHA_DESTINO = 'senha_destino'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
/** | |
* This file contains most of the logic required to install extensions. | |
* In general, we try to avoid loading it until extension installation | |
* or update is required. Please keep that in mind when deciding whether |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
/* globals setImmediate, rpc */ | |
"use strict"; | |
/* General utilities used throughout devtools. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
const { Ci, Cu } = require("chrome"); | |
const ChromeUtils = require("ChromeUtils"); | |
const EventEmitter = require("devtools/shared/event-emitter"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
/** | |
* Asynchronous front-end for OS.File. | |
* | |
* This front-end is meant to be imported from the main thread. In turn, | |
* it spawns one worker (perhaps more in the future) and delegates all | |
* disk I/O to this worker. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
const { NetUtil } = ChromeUtils.import("resource://gre/modules/NetUtil.jsm"); | |
/** | |
* A function that can be used as part of a require hook for a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
const { CC, Ci, Cc } = require("chrome"); | |
const ArrayBufferInputStream = CC( | |
"@mozilla.org/io/arraybuffer-input-stream;1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
var EXPORTED_SYMBOLS = ["Service"]; | |
// How long before refreshing the cluster | |
const CLUSTER_BACKOFF = 5 * 60 * 1000; // 5 minutes | |
// How long a key to generate from an old passphrase. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
var EXPORTED_SYMBOLS = ["Service"]; | |
// How long before refreshing the cluster | |
const CLUSTER_BACKOFF = 5 * 60 * 1000; // 5 minutes | |
// How long a key to generate from an old passphrase. |
NewerOlder