Home | History | Annotate | Download | only in WebCore

Lines Matching full:database

60         A first step towards the Indexed Database API
63 Flesh out the first part of Indexed Database API.
4192 * inspector/front-end/Database.js:
4193 (WebInspector.Database.prototype.executeSql):
4919 ENABLE(DATABASE) guard is missing in ScriptExecutionContext::~ScriptExecutionContext
4922 Add missing ENABLE(DATABASE) guard.
5395 Add changes missing from r53595, without which Chromium has no database.
5399 No new tests - fixes database layout tests in Chromium.
6092 Refactoring and plumbing to get the HTML5 SQL Database API accessible to
6097 1) Database members and methods move from Document up to
6099 implement a few virtual methods where the Database code requires
6101 2) Worker thread shutdown got changed a bunch to handle Database cleanup
6102 and thread synchronization issues. Database cleanup tasks need to post
6103 some cleanup tasks to the JavaScript thread. However, since database
6107 the Database thread and WorkerThread that cleans up all the Database
6109 3) The runtime enabler for the Database moved to a static variable
6110 accessible through Database::isAvailable, following the model used by
6113 Database code that differentiated between the Main thread and the
6114 Database thread now need to deal with a third possibility.
6117 dealing with a Database. In many cases it's just a string replacement,
6148 * storage/Database.cpp:
6149 (WebCore::Database::setIsAvailable):
6150 (WebCore::Database::isAvailable):
6151 (WebCore::Database::openDatabase):
6152 (WebCore::Database::Database):
6156 (WebCore::Database::~Database):
6157 (WebCore::Database::openAndVerifyVersion):
6158 (WebCore::Database::markAsDeletedAndClose):
6163 (WebCore::Database::close):
6164 (WebCore::Database::performOpenAndVerify):
6165 (WebCore::Database::scheduleTransaction):
6166 (WebCore::Database::scheduleTransactionStep):
6170 (WebCore::Database::scheduleTransactionCallback):
6171 (WebCore::Database::transactionClient):
6172 (WebCore::Database::transactionCoordinator):
6173 (WebCore::Database::tableNames):
6174 (WebCore::Database::securityOrigin):
6175 * storage/Database.h:
6176 (WebCore::Database::scriptExecutionContext):
6799 * inspector/front-end/Database.js:
6800 (WebInspector.Database.prototype.executeSql):
7011 * inspector/front-end/Database.js:
7012 (WebInspector.Database.prototype.executeSql):
8221 * inspector/front-end/Database.js:
8222 (WebInspector.Database.prototype.executeSql):
8356 * inspector/front-end/Database.js:
8357 (WebInspector.Database.prototype.executeSql):
16795 the pre-r52536 order. Namely, when a new Database object is
16797 constructor, before doing anything else related to that database
16798 (like trying to get a file handle to the database
16800 2. Changes Database::performOpenAndVerify() to close the open
16801 handle to the database file immediately if the database version
16803 the Database object to a DatabaseThread collection and let the
16804 database thread close the handle when it's destroyed.
16811 * storage/Database.cpp:
16812 (WebCore::Database::openDatabase): Notify DatabaseTracker and
16813 Document that a Database object is about to be destroyed (when a
16814 database file cannot be opened, or its version doesn't match the
16816 (WebCore::Database::Database): Notify DatabaseTracker and Document
16817 that a new Database object was created.
16818 (WebCore::Database::performOpenAndVerify): If a database version
16820 handle to the database file.
17334 storage/open-database-while-transaction-in-progress.html
17342 * storage/Database.cpp:
17343 (WebCore::Database::openDatabase):
17344 (WebCore::Database::Database):
17345 (WebCore::Database::performOpenAndVerify):
17577 Do not a new Database pointer to any structure until its version has been verified
17580 * storage/Database.cpp:
17581 (WebCore::Database::openDatabase):
17582 (WebCore::Database::Database):
17583 (WebCore::Database::performOpenAndVerify):
18002 A new database should be registered with the Document,
18009 LayoutTests/storage/open-database-while-transaction-in-progress.html
18011 open-database-set-empty-version.html).
18015 * storage/Database.cpp:
18016 (WebCore::Database::openDatabase):
18017 (WebCore::Database::Database):
18018 (WebCore::Database::performOpenAndVerify):
18102 * storage/Database.idl:
18137 Remove pointers to a database that failed to open from the
18142 * storage/Database.cpp:
18143 (WebCore::Database::openDatabase):
19357 the main thread when a database is being closed.
19378 Move some code related to database closing from the destructor to
19380 tasks to other threads when a database closes, which cannot be
19381 done now, because we cannot increment the ref count to a database
19386 * storage/Database.cpp:
19387 (WebCore::Database::~Database):
19388 (WebCore::Database::close):
20290 This fixes building with --disable-database and other flags.
21344 (WebCore::populateFontDatabase): Avoid font database work if fonts are
22154 Fix the !ENABLE(DATABASE) build.
26790 * inspector/front-end/Database.js:
26791 (WebInspector.Database.prototype.getTableNames):
34950 Thunk to the main thread from ~Database to deref Database's m_document.
34952 If the Database was the Document's last referrer, then ~Document occurs on the
34953 Database thread, and ASSERT(!m_styleRecalcTimer.isActive()) hits a main thread
34956 * storage/Database.cpp:
34958 (WebCore::Database::~Database):
36008 database identifier, simply have StorageAreaImpl pass the identifier into
37924 * storage/Database.cpp:
37925 (WebCore::Database::openAndVerifyVersion):
37926 (WebCore::Database::markAsDeletedAndClose):
37927 (WebCore::Database::scheduleTransaction):
37928 (WebCore::Database::scheduleTransactionStep):
37929 (WebCore::Database::tableNames):
38706 * storage/Database.cpp:
38707 (WebCore::Database::Database):
38708 (WebCore::Database::openAndVerifyVersion): Use new DatabaseTaskSynchronizer to wait for task completion.
38709 (WebCore::Database::markAsDeletedAndClose): Ditto.
38710 (WebCore::Database::tableNames): Ditto.
38711 (WebCore::Database::stop): Use the boolean flag rather then 'killed' flag built into MessageQueue.
38712 (WebCore::Database::scheduleTransaction): Transaction queue is a Deque now, change the way to fetch the transaction.
38713 * storage/Database.h: Change the SQLTransaction queue to be a Deque rather then a MessageQueue.
38858 Test: storage/open-database-set-empty-version.html
38860 * storage/Database.cpp:
38861 (WebCore::Database::performOpenAndVerify): Raise an exception if the current database version does not match the expected version when the current version is the empty string.
39380 * storage/Database.cpp:
39381 (WebCore::Database::Database):
39748 Existing Database tests cover this, no change in functionality.
39751 (WebCore::SameDatabasePredicate::SameDatabasePredicate): Added predicate that flags the tasks belonging to a specified database.
40183 * storage/Database.cpp: Modified.
40184 (WebCore::Database::Database): Call ScriptController::initializeThreading(), rather than JSC::initializeThreading().
40571 Fixing the BUILD. m_estimatedSize in Database.h should be of type
40576 * storage/Database.h:
40582 Refactoring the Database class to not depend on
40584 Database instance, that is safe to use on the file
40586 Database object for storing/getting the display name and estimated
40592 * storage/Database.cpp:
40593 (WebCore::Database::openDatabase): Storing the display name and
40594 the estimated size in the Database object.
40595 Database::Database): Storing the display name and the
40596 estimated size in the Database object, as well as a SecurityOrigin
40598 (WebCore::Database::maximumSize): Delegate the call to
40600 (WebCore::Database::databaseThreadSecurityOrigin): Return the
40602 (WebCore::Database::threadSafeSecurityOrigin): Return the
40604 (WebCore::Database::displayName): Return the display name
40606 (WebCore::Database::estimatedSize): Return the estimated size
40608 (WebCore::Database::fileName): Return the name of the file where
40609 the current Database is tored.
40610 * storage/Database.h:
41711 - DATABASE
42463 runtime. Adding a flag to enable database support.
47953 Web Inspector: Wrap Database into ScriptObject in v8 bindings.
48662 Fixed <rdar://problem/5751979> Database code takes JSLock on secondary
48714 * storage/Database.cpp:
48715 (WebCore::Database::Database):
49064 Web Inspector: Migrate database inspection to the injected script-based schema.
49095 (WebCore::InspectorDatabaseResource::database):
49103 * inspector/front-end/Database.js:
49104 (WebInspector.Database):
49105 (WebInspector.Database.prototype.get id):
49106 (WebInspector.Database.prototype.set name):
49107 (WebInspector.Database.prototype.set version):
49108 (WebInspector.Database.prototype.set domain):
49109 (WebInspector.Database.prototype.getTableNames):
49110 (WebInspector.Database.prototype.executeSql):
50227 * storage/Database.cpp:
50229 (WebCore::Database::Database):
50230 (WebCore::Database::getVersionFromDatabase):
50231 (WebCore::Database::setVersionInDatabase):
50232 (WebCore::Database::version):
50233 (WebCore::Database::setExpectedVersion):
50234 (WebCore::Database::securityOriginCopy):
50235 (WebCore::Database::stringIdentifier):
50800 * storage/Database.cpp:
51562 Database Inspector crashes Safari when table has more than 21 columns
51809 Stale database version persists through browser refresh (changeVersion doesn't work)
51816 (WebCore::CALLBACK_FUNC_DECL): Implement the V8 binding for database.changeVersion().
51818 * storage/Database.cpp:
51820 (WebCore::Database::~Database): Remove code that removes the database from the guid->database and guid->version maps.
51821 (WebCore::Database::setVersionInDatabase): Add a comment to explain some behaviour.
51822 (WebCore::Database::close): Move the code that updates the maps from the destructor to here.
51823 (WebCore::Database::performOpenAndVerify): Call updateGuidVersionMap instead of setting the hash map directly.
51824 (WebCore::Database::setExpectedVersion): Update the in memory guid->version map when we want to update the database version.
54372 Core Graphics font database was determined arbitrarily and did not
54377 The fix is to update the Core Graphics font database from the registry
56198 transactions on the same database to run concurrently (without
56439 test it we need to spawn two database threads and execute
58433 * storage/Database.cpp: Ditto.
58434 (WebCore::Database::openDatabase):
60538 Database::readTransaction().
60545 * storage/Database.cpp:
60546 (WebCore::Database::transaction): Added support for read-only
60548 * storage/Database.h: Added support for read-only transactions.
60549 * storage/Database.idl: Added support for read-only transactions.
63626 * inspector/front-end/Database.js:
63627 (WebInspector.Database.prototype.isDB):
63628 (WebInspector.Database.prototype.runWithTableNames.sortingCallback):
63629 (WebInspector.Database.prototype.runWithTableNames):
63630 (WebInspector.Database.prototype.executeSql):
63631 (WebInspector.Database.prototype.executeSql.errorCallback):
63632 (WebInspector.Database.prototype.executeSql.queryTransaction):
65494 * storage/Database.cpp:
65495 * storage/Database.h:
67683 * storage/Database.cpp:
67684 (WebCore::Database::transactionClient):
67685 * storage/Database.h:
68817 * storage/Database.cpp:
68818 * storage/Database.h:
68893 * storage/Database.cpp:
68894 (WebCore::Database::transactionClient):
68895 * storage/Database.h:
69163 database it's trying to open, unless there are no other open
69164 handles to the same database. Otherwise, we might run into a
69167 Test: storage/open-database-while-transaction-in-progress.html
69171 * storage/Database.cpp:
69172 (WebCore::Database::performOpenAndVerify):
72594 different database handles for the same DB. Adding a per-DB thread
72608 * storage/Database.cpp:
72609 (WebCore::Database::transactionCoordinator):
72610 * storage/Database.h:
73230 HTML 5 database and LocalStorage is not persistent on the Symbian port of QtWebKit
74160 Application cache maximum size cannot be set before the database is opened
74163 (WebCore::ApplicationCacheStorage::vacuumDatabaseFile): Open appcache database if it isn't
78918 the plugin database as public API.
80455 When clearing the plugin database, clear also the timestamp map.
80459 Currently, if we clear the database, it will still think that it is up
80460 to date with the plugin directories so refreshing the database again
81714 reached the maximum size for its database file.
81718 application cache database file.
84746 database. Called from setPluginDirectories.
90121 HTML5 Database becomes locked if a transaction is in progress when the page is refreshed.
90128 Test: storage/database-lock-after-reload.html
90130 * storage/Database.cpp:
90131 (WebCore::Database::Database):
90132 (WebCore::Database::close): add code to inform the database thread we've closed the database.
90133 (WebCore::Database::performOpenAndVerify): add code to inform the database thread we've opened a database.
90134 * storage/Database.h:
90135 (WebCore::Database::opened): return true iff the underlying sqlite database has been opened but not closed.
90137 (WebCore::DatabaseThread::databaseThread): Before the database thread terminates, close any databases that ran transactions in this thread.
90138 (WebCore::DatabaseThread::recordDatabaseOpen): Records a database that executed a transaction in this thread.
90139 (WebCore::DatabaseThread::recordDatabaseClosed): Removes a database from the set of open databases.
90141 (WebCore::DatabaseThread::getThreadID): return the thread id for the database thread.
91086 * storage/Database.cpp:
91087 (WebCore::Database::databaseSize): The code that returns the size of a DB file moved to SQLiteFileSystem.
91446 Move Database.h into ENABLE(DATABASE) guard so toggling ENABLE_DATABASE
93624 didn't intend to lose. Turns out the CoreTypes UTI database doesn't know about every extension Gatekeeper
93627 By comparing CoreTypes' database to Gatekeepers, this patch adds a hardcoded list of file extension to MIME
93628 type mappings that are missing in CoreType's database.