Commit Graph

32578 Commits

Author SHA1 Message Date
Matheus Castro
61a0dbbb08 Organizing code. 2022-10-21 00:09:55 -03:00
Matheus Castro
53ff57b492 Improving write fence. 2022-10-20 23:55:58 -03:00
Matheus Castro
fb5e207e43 Improving refactor of synchronous queue. 2022-10-20 23:24:38 -03:00
Matheus Castro
e52001e7d3 Fix conflicts with merge on latest 2.8. 2022-10-19 17:22:22 -03:00
Matheus Castro
6b4345b6a3 Refactor and modernize observe_multiplex.js 2022-10-19 17:21:52 -03:00
Matheus Castro
e6efc44c2e Create async queue and add helpers to OrderedDict and IdMap 2022-10-19 17:20:52 -03:00
Matheus Castro
88a0bf88db # Conflicts:
#	packages/mongo/mongo_driver.js
#	packages/test-helpers/async_multi.js
#	packages/test-helpers/package.js
#	packages/tinytest/tinytest.js
#	packages/tinytest/tinytest_server.js
2022-10-17 17:30:44 -03:00
Matheus Castro
1c590919b8 # Conflicts:
#	packages/mongo/mongo_driver.js
2022-10-17 17:27:41 -03:00
Matheus Castro
63bc15b5b7 Working on mongo-livedata tests. 2022-09-30 17:01:29 -03:00
Matheus Castro
9a8164f70a Update the store when setting the meteor_dynamics value. 2022-09-13 15:56:38 -03:00
Matheus Castro
24b01a4cb8 Correctly implement forEach (make it synchronously run the callbacks) and apply that to map.
Also, correctly implement the withValue from the Meteor.EVp. Seems that the values were being set the wrong way.
2022-09-06 18:51:12 -03:00
Matheus Castro
a3e82c8884 Create helper to promisify functions that have callbacks with errors first parameter.
Apply this to create real async insert method for mongo.
2022-09-02 21:31:41 -03:00
Matheus Castro
f928926244 Create findOneNoFibers and make async_multi correctly handle async functions. 2022-08-31 16:50:56 -03:00
Matheus Castro
6aecc664a7 Fix ecmascript tests and ensure that we don't have a Fiber when running with the DISABLE_FIBERS flag enabled. 2022-08-29 20:59:21 -03:00
Matheus Castro
38635c6801 Add .jshintrc to remove some warnings from WebStorm. 2022-08-29 20:57:00 -03:00
Matheus Castro
8d5983d2bc Create Meteor._runAsync helper. 2022-08-29 20:30:46 -03:00
Matheus Castro
bd61ad58ba Remove Fibers from TinyTest package. 2022-08-26 23:02:22 -03:00
Matheus Castro
2f5e8e4432 Correctly implement the usage of promises for the publication initial and stop handles. Seems that waiting with the while loop is enough (?), but it's something we will need to confirm. 2022-08-26 19:51:34 -03:00
Matheus Castro
40cdbefe71 Adapting oplog and observer to run without Fibers. The publication "works" right now, but I still need to check if we need to wait and why. 2022-08-25 22:20:30 -03:00
Matheus Castro
c2c7fbaf03 Correctly support async callbacks on cursor.map. 2022-08-24 13:42:30 -03:00
Matheus Castro
8ed48bce29 Livedata Server should work with fibers too. 2022-08-24 10:51:22 -03:00
Matheus Castro
d752c8dab8 Create AsynchronousCursor wrapper to use instead of SynchronousCursor. This is kinda of a "light-wrapper", just to keep our current API.
Also, run _startTailing on the callback of the database command.
2022-08-23 16:52:00 -03:00
Matheus Castro
81c38dc4eb For now, don't defer and then yield when waiting for the task to run.
At least for autoupdate, this doesn't seem to affect. Still need to check for the other places.
2022-08-20 00:18:51 -03:00
Matheus Castro
26b16b5db3 Move ASL helpers to it's own file and attach it to Meteor's global object.
On tools, however, we still need to use the process.env value (when starting the server in boot.js).
2022-08-19 20:03:25 -03:00
Matheus Castro
a40ec5392f Add code from "fibers-optional" branch with some modifications:
- Create new context for DDP server too.
- Removing some console.logs + adding some TODOS.
2022-08-18 13:16:21 -03:00
Frederico Maia Arantes
1cba676a11 Fix typo 2022-08-16 14:24:04 +02:00
Frederico Maia Arantes
fbcce7a6c8 Add new items to the 2.8 changelog 2022-08-16 14:18:58 +02:00
Frederico Maia Arantes
51d750e076 Revert "Reverts npm-shrinkwrap.json"
This reverts commit b87da4cfc9.
2022-08-16 12:01:19 +02:00
Frederico Maia Arantes
b87da4cfc9 Reverts npm-shrinkwrap.json 2022-08-16 11:35:38 +02:00
Frederico Maia
af86d4fdb1 Merge branch 'devel' into release-2.7.4 2022-08-16 08:00:11 +02:00
Gabriel Grubba
d3c354c7f4 Merge pull request #12061 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-08-15 15:52:22 -03:00
Gabriel Grubba
a5da560dba Merge pull request #12116 from meteor/improved-oplog-converter
Improved `oplogV2V1Converter` implementation.
2022-08-15 15:48:58 -03:00
Gabriel Grubba
f0e339f9cd Merge pull request #12115 from meteor/exit-on-connection-error
Exit on MongoDB connection error
2022-08-15 15:19:58 -03:00
Gabriel Grubba
ecd70481f4 Merge branch 'devel' into Dependabot-GitHub-Actions 2022-08-15 15:19:30 -03:00
Gabriel Grubba
137f6fffc6 Merge pull request #12120 from meteor/fix/linting-exit-code
Fix bugs for linter build plugins
2022-08-15 15:14:36 -03:00
Gabriel Grubba
7b0c52d916 Merge branch 'release-2.7.4' into improved-oplog-converter 2022-08-15 15:04:21 -03:00
Gabriel Grubba
471e7df511 Merge branch 'release-2.7.4' into exit-on-connection-error 2022-08-15 14:43:25 -03:00
Gabriel Grubba
e13cfc386c Merge branch 'devel' into exit-on-connection-error 2022-08-15 14:42:05 -03:00
Gabriel Grubba
a6c5994a57 Merge branch 'exit-on-connection-error' of https://github.com/meteor/meteor into exit-on-connection-error 2022-08-15 14:41:39 -03:00
Frederico Maia
d00e3ec004 Merge branch 'devel' into release-2.7.4 2022-08-15 19:39:01 +02:00
Frederico Maia
9f29c1df5b Merge pull request #12142 from meteor/update-standard-minifier-js-deps 2022-08-15 19:38:26 +02:00
Frederico Maia
1ef40ffdb1 Merge branch 'devel' into update-standard-minifier-js-deps 2022-08-15 19:38:16 +02:00
Frederico Maia
e60e3636d2 Merge pull request #12141 from meteor/update-standard-minifier-css-deps 2022-08-15 19:37:57 +02:00
Frederico Maia
f16dbbffff Merge branch 'devel' into update-standard-minifier-css-deps 2022-08-15 18:03:06 +02:00
Frederico Maia Arantes
2eda14a236 Update @babel/runtime from the standard-minifier-js package. 2022-08-15 18:02:40 +02:00
Frederico Maia Arantes
e0ed25f64d Revert "Update @babel/runtime from the standard-minifier-js package."
This reverts commit bc6a943312.
2022-08-15 17:59:41 +02:00
Frederico Maia Arantes
bc6a943312 Update @babel/runtime from the standard-minifier-js package. 2022-08-15 17:58:47 +02:00
Frederico Maia Arantes
2c6803a14e Update babel, source-map, and micromatch from the standard-minifier-css package. 2022-08-15 17:56:28 +02:00
Gabriel Grubba
3a1fff5d23 Merge pull request #12125 from meteor/fixed-failover-hook
Fixed `MongoConnection._onFailover` hook (fixes #12118).
2022-08-15 11:20:25 -03:00
Frederico Maia
d9b7b8f265 Merge branch 'devel' into release-2.7.4 2022-08-15 12:37:55 +02:00