-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update everything #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
71d17fb
Set to /usr/bin if not previously set. Allows to run 'make' instead …
lovasoa 46cff2d
Correct printf format
lovasoa 6c237cf
clean. Use clang
lovasoa 78d60a7
Remove warnings
lovasoa e2b768b
Correct dependencies
lovasoa 347786e
Better GUI
lovasoa fb064ee
Reflect code changes
lovasoa 2c951d9
change title
lovasoa f651f75
Add informations about whats new in the fork
lovasoa 67a14ec
Add ability to save and load a database.
lovasoa a8bdf14
extend list of new features
lovasoa 5ee0316
Update Makefile according to @kripken advices.
lovasoa f5a11ac
Whoops! I forgot to remove my nasty hack to the Makefile.
lovasoa 6d6e4bd
Separate javascript code from HTML
lovasoa 2a65161
Add an outlining_limit again. Otherwise, it would take several second…
lovasoa a7cc65a
More simple function to generate HTML tables.
lovasoa 6949388
Add an outlining performance benchmark
lovasoa 1d514c7
Update the benchmarks. Choose the default OUTLINING_LIMIT according t…
lovasoa 8d5f15a
Improve compilation time by disabling inlining instead of enabling ou…
lovasoa dc13d20
Object-oriented API, with support for prepared statements
lovasoa 787cc78
The API, written in coffeescript
lovasoa 26b7580
Documentation
lovasoa 958673e
corrections
lovasoa bfddd8f
Bug correction
lovasoa 88d61c2
Bug correction, getErrors -> handleErrors
lovasoa f91ca55
Final bug corrections. Now the new API works.
lovasoa 4a249da
Ad supprort for parameter binding to prepered statements.
lovasoa 58fafff
Add support for freeing and resetting prepared statements.
lovasoa 00c288e
clarify the README
lovasoa 02d0e73
Add export to Uint8array
lovasoa e38ecaf
Do not pollute the global namespace
lovasoa 4c9d107
Include the compiled js api
lovasoa 763d162
Merge pull request #9 from lovasoa/api
lovasoa 15070f5
Bug corrections
lovasoa 4e5ad04
Bug correction
lovasoa c9e7a53
Use the new api in the gui
lovasoa 2217694
Compile api with all optimizations.
lovasoa 0aa2f98
Merge pull request #10 from lovasoa/api
lovasoa 3341c5c
Update API
lovasoa 6c5f42a
Add proper test files and remove old useless files
lovasoa e089e6e
Beautify the makefile
lovasoa a8bcdaf
Delete old files. Now the new api is exported in the file 'sql.js'.
lovasoa ed1b798
commit shell files (they avoid leaking variable to the global namespace)
lovasoa bafb517
Remove old coffee file
lovasoa d12bdf0
Update README with examples
lovasoa 2a00f18
Update README with blob example
lovasoa 0811189
Add link to docs
lovasoa 8d6ef29
Add link to the GUI
lovasoa 89c71ad
Remove GUI from master.
lovasoa 78912eb
Add separate test for the Database class
lovasoa 7f0054c
Rename test_api to test_statemnt, and remove general database testing…
lovasoa ca4ad52
Add Statement.getColumnNames and Statement.getAsObject
lovasoa 1da8cfd
Present stmt.getAsObject()
lovasoa 6621399
set the pointer to a statement to NULL when it's free() method is cal…
lovasoa d26d241
Reflect the recent new features in the API to the README
lovasoa 937e927
Free all related statements before closing a database.
lovasoa f4f61e8
Add a test to test error throwing
lovasoa 85127d6
Add a package.jon
lovasoa ca481a8
test UTF8 text (with 粵語😄)
lovasoa 8bafedb
Free memory used by bound parameters manually.
lovasoa e6a6ac8
Split API code and data
lovasoa 9bb8d0e
Improve build infrastructure
lovasoa 36c3a83
Update sql.js to match previous changes in api.coffee
lovasoa d3c1069
Improve test infrastructure
lovasoa 7b2ec0d
Add travis configuration file
lovasoa ada2f38
Only test against node O.10
lovasoa 7915245
Update package.json
lovasoa 1baae62
Add the test database file
lovasoa 3d1ba01
Add travis build status
lovasoa 087b059
Publish on npm
lovasoa 64b703c
export compiled functions in a separate coffee file
lovasoa b049682
API CHANGE. Update db.exec, and add db.run
lovasoa 977f5d4
Update readme to add travis build status
lovasoa 54810c3
add the compiled js file
lovasoa ef8241c
Add support for web workers
lovasoa e234863
Add test for the worker API
lovasoa e06b972
Update examples
lovasoa 612c346
Improve tests coverage
lovasoa 9ff31e8
Add db.each
lovasoa 07042f1
Remove useless console.log
lovasoa f5a20f2
worker: Don't throw an error when id is missing
lovasoa 0190b08
Update the compiled worker file
lovasoa 5857536
Add an example of how to write a database to the disk in node
lovasoa fc3f619
Add download links
lovasoa 2f20c02
Update HTML example
lovasoa 060ebf3
Update node example
lovasoa bca3458
Increment version
lovasoa 3ff4f49
Add @hankinsoft to the authors
lovasoa 5bb3690
Call postMessage without second argument if using transferable elemen…
lovasoa aa448b3
Fix a bug in internet explorer.
lovasoa 3738933
bump version
lovasoa 5275839
Add debug file, as suggested in #15
lovasoa de92cea
Improve error handling.
lovasoa a909703
Update version number
lovasoa 44e183c
Update compiled files
lovasoa f460869
Correct headings level
lovasoa 7a08327
Add link & reformat downloads
lovasoa 6bf6684
Use lowercase keywords
lovasoa 1d1292d
Update version
lovasoa 999fd41
Update sqlite to 3.8.5
lovasoa 7356d05
Optimize memory management.
lovasoa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Object-oriented API, with support for prepared statements
- Loading branch information
commit dc13d20b70c7df0185352a42cfd3bcb0bea145b5
There are no files selected for viewing
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this means all the builds will be with inlining limit 10? That's way too low to make sense (10 AST nodes means maybe 2 or 3 lines on average, making a function call for that would be bigger with the call overhead).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did that in order to completely disable inlining, and reduce asm.js compile time. I tweaked this parameter a bit before choosing 10, and the performances are correct. What value would you advice?