Swift Commons
  1. Swift Commons

plrelational

Public

Commits

AuthorCommitMessageCommit DateIssues
Chris CampbellChris Campbell
a33aa2a9547Add a clone of TodoApp that we can use to experiment with backend alternatives.
Mike AshMike Ash
2c490fc5de1Implement IndexedSet.contains, because we were getting Sequence's for free and it does a slow linear scan.
Mike AshMike Ash
bd715bdb1feMildly improve the display of Optional fields in Relation dumps.
Mike AshMike Ash
50290db486cPreserve QueryRunner node debug names when copying subtrees.
Chris CampbellChris Campbell
7864b064307Add a `projectRenamed` convenience that is a shorthand for `project` followed by `renameAttributes`.
Mike AshMike Ash
0f065978c08Remove a leftover line from a failed attempt to value-type-ize IndexedSet.
Mike AshMike Ash
2b0512c10cdIndexedSet wasn't behaving as a value type. Explicitly make it into a class, and change MemoryTableRelation.copy to do an explicit copy rather than using =.
Mike AshMike Ash
13f715559b7Update MemoryTableRelation to use IndexedSet so it can participate in efficient selects.
Mike AshMike Ash
176875e948cChange CheckState.nsValue to return NSControl.StateValue instead of Int.
Mike AshMike Ash
70402810fc8Apply Xcode 9's recommended settings changes.
Mike AshMike Ash
6b7b0d09f3fMMerge pull request #11 in SWC/plrelational from swift-4-migration to master * commit '55b11bbd0037036d9396482da15ce21f7b5c9db3': (30 commits) Remove one more instance of unnecessary full qualification. Migrate BindableControlsApp and Visualizer to Swift 4. Fix CheckState to use NSControl.StateValue directly instead of raw values and fix case statement (was on instead of off). Fix some more cases of unnecessary full qualification inserted by the migrator. Drop some unneeded full qua...
Chris CampbellChris Campbell
55b11bbd003Remove one more instance of unnecessary full qualification.
Mike AshMike Ash
53735e0db1eMigrate BindableControlsApp and Visualizer to Swift 4.
Chris CampbellChris Campbell
c307e543d81Fix CheckState to use NSControl.StateValue directly instead of raw values and fix case statement (was on instead of off).
Chris CampbellChris Campbell
7e4e5b8072aFix some more cases of unnecessary full qualification inserted by the migrator. Also, define some identifiers by their new type instead of always converting from raw string form.
Chris CampbellChris Campbell
e157feeebd6Drop some unneeded full qualification that was inserted by the migrator.
Mike AshMike Ash
06012b66963Migrate TodoApp to Swift 4.
Mike AshMike Ash
cf6ba38a380Migrate SearchApp to Swift 4.
Mike AshMike Ash
b2da6b37495Migrate RelationChangeApp to Swift 4.
Mike AshMike Ash
265f264e2d3Migrate MiniVisualizer to Swift 4.
Mike AshMike Ash
9500ce2d530Migrate HelloWorldApp to Swift 4.
Mike AshMike Ash
2e01fb73838Remove now-unnecessary ?? expressions from TextView.
Mike AshMike Ash
9232975a3f4Disable @objc inference for PLBindableControls-macOS and both PLBindableControls test targets.
Mike AshMike Ash
31a4d6fc356Lots of little fixes to PLBindableControls-macOS that the migrator didn't catch.
Mike AshMike Ash
e08e77d81d3Run the Swift 4 migrator on PLBindableControls-macOS.
Mike AshMike Ash
a3df5b4e74eDisable @objc inference for PLBindableControls-iOS.
Mike AshMike Ash
9b228c9f400Minor Swift 4 fix for PLBindableControls.color.
Mike AshMike Ash
fac736cc589Run the Swift 4 migrator on PLBindableControls-iOS.
Mike AshMike Ash
6ff741d5c55Change PLRelationalBinding-macOS to Swift 4.
Mike AshMike Ash
b21febd791eDisable @objc inference for PLRelationalBinding-iOS.
Mike AshMike Ash
2c1b4100d07Fix warnings about redundant where clauses.
Mike AshMike Ash
dd74ae72695Run the Swift 4 migrator on PLRelationalBinding-iOS.
Mike AshMike Ash
bfeb56ee131Silence the recommended settings upgrades.
Mike AshMike Ash
57f1fb8a314Migrate PLRelational-iOS to Swift 4. Fix RelationTextIndexTests, which were failing due to legitimate tokenization changes.
Mike AshMike Ash
7668aafc244Disable @objc inference for PLRelational Mac targets.
Mike AshMike Ash
19373278cb4Fix an exclusive access violation in RelationDifferentiator.derivativeOf. PLRelational tests now run and pass.
Mike AshMike Ash
98dacaf38caFix an exclusive access violation in QueryRunner's getExtraState helper.
Mike AshMike Ash
accade37e3eFix a .Ok(()) in QueryOptimizerTests.
Mike AshMike Ash
9604fbe2eb9Fix up processEquijoin for Swift 4. It made now-incorrect assumptions about the type of Dictionary.key/values and Dictionary.filter.
Mike AshMike Ash
8d09a27d136Lots of tiny fixes to PLRelational (mostly .Ok() to .Ok(())) for Swift 4 migration that the migrator didn't do.
Mike AshMike Ash
f6075f27406Run Xcode 9's Swift 4 migrator on the PLRelational target.
Chris CampbellChris Campbell
8d7e39e5a24Fix TextView to only notify when there's been an actual change. Also, disable built-in undo support for the time being, and add a workaround for an intermittent glitch seen in TodoApp.
Chris CampbellChris Campbell
ddbfdba31d8Simplify `createdOn` property.
Chris CampbellChris Campbell
a79302861d8Enable auto-save, and only add default data if creating database for first time.
Chris CampbellChris Campbell
20cd81b5dc7Add comments and tweak line lengths.
Mike AshMike Ash
8f088984f69Add an option to save a TransactionalDatabase at the end of each transaction.
Chris CampbellChris Campbell
f31c76a264cSimplify tagsString by adding a new `allStrings` convenience.
Chris CampbellChris Campbell
7840b7a127eTurn delete button into an image button with trashcan icon.
Chris CampbellChris Campbell
3b2e7fc1320Make completionCallback optional for cascadingDelete.
Chris CampbellChris Campbell
f3609a75a90Make SPUndoManager fully private since it was meant to be an implementation detail. Code should now create a PLRelationalBinding.UndoManager and can use `native` to access the Foundation.UndoManager.