Commit graph

52 commits

Author SHA1 Message Date
Simon Hengel
4e53e2083b Use tinc on travis 2015-11-05 09:32:13 +08:00
Matt Bray
f2a91cfb1f servant-js: export CommonGeneratorOptions constructors
Allow defCommonGeneratorOptions to be customized using record update
syntax.

Without the re-export, we can't do:

```
import qualified Servant.JS as SJS

myOptions =
  SJS.defCommonGeneratorOptions
    { SJS.moduleName = "myModule"
    , SJS.urlPrefix = "http://localhost"
    }
```
2015-11-04 10:11:36 +00:00
Freezeboy
b88981cf14 Replace servant-jquery with servant-js in remaining files 2015-11-02 19:59:46 +01:00
Julian K. Arni
c22b5d1938 Changelogs for matrix params 2015-10-13 21:46:52 +02:00
Julian K. Arni
ec55f4b981 Remove Matrix params.
For servant-docs, -foreign, -js, and -mock.
2015-10-13 21:37:07 +02:00
Arian van Putten
57461be2eb Fix redundant import warning in base < 4.8 2015-10-04 23:55:12 +02:00
Arian van Putten
0040badf59 Add extra type signatures in servant-js. 2015-10-04 23:42:34 +02:00
Arian van Putten
1e0fa95620 Make charset lookups more efficient 2015-10-04 23:32:31 +02:00
Arian van Putten
984a76f0f8 Remove redundant comments 2015-10-04 23:27:28 +02:00
Arian van Putten
b341ace003 More test fixes 2015-10-02 14:45:50 +02:00
Arian van Putten
00179572ec Fix errors in test suite for servant-js. 2015-10-02 14:38:19 +02:00
Arian van Putten
a62441077e Convert servant-js to use text. 2015-10-02 13:59:54 +02:00
Julian K. Arni
487f323f2f More Werror fixes 2015-09-23 20:30:45 +02:00
Julian K. Arni
965063171b Janitoring 2015-09-23 20:18:52 +02:00
Denis Redozubov
64fc870852 make version/version constraints consistent with other servant-* packages 2015-09-22 22:28:02 +03:00
Denis Redozubov
438311c240 remove duplicate lens dependency 2015-09-22 14:47:38 +03:00
Denis Redozubov
b59a62e012 no opinion on valid function names in servant-foreign 2015-09-22 14:02:30 +03:00
Denis Redozubov
7ff9e52a50 CommonGeneratorOptions moved to servant-js 2015-09-22 12:21:04 +03:00
Denis Redozubov
6fa4b55c94 fix build settings for ghc-7.8.4 2015-09-21 21:34:38 +03:00
Denis Redozubov
ce3e4f7193 Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
Sönke Hahn
ba918c720f fix for lens-4.13 2015-09-15 22:13:00 +08:00
Jonathan Lange
6a35a0ae7a Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
Jonathan Lange
a265fd31a0 Run of update-nix-files.sh 2015-09-08 20:28:47 +01:00
Julian K. Arni
6eb7add53a stylish haskell changes
And import fix.
2015-08-18 00:07:12 +02:00
Julian K. Arni
98b6e85128 Contributing 2015-08-17 23:50:42 +02:00
Julian Arni
38eb199243 Merge pull request #180 from haskell-servant/freezeboy/js-small-fix
Fix GenerateList to let the API be nested
2015-08-06 09:05:23 +02:00
Freezeboy
b769ddc32b Fix GenerateList to let the API be nested 2015-08-05 21:01:33 +02:00
Brandon Martin
b40094d01c convenience scripts and nix updates 2015-07-30 08:09:29 -06:00
Alp Mestanogullari
3dc304b8d7 Merge pull request #173 from freezeboy/axios
servant-js: Add support for the Axios JS library
2015-07-29 14:10:41 +02:00
Alp Mestanogullari
dc902e2f58 Merge pull request #171 from freezeboy/transform-function-name
Replace functionName with an array, and use functionRenamer to build …
2015-07-29 12:03:18 +02:00
Freezeboy
116d7bf22b Add capture in function name 2015-07-28 19:47:41 +02:00
Freezeboy
4cab814e17 Add urlPrefix support for Axios 2015-07-28 16:47:19 +02:00
Freezeboy
2c0fe980eb Rename also function name transformer for Axios 2015-07-28 16:46:00 +02:00
Freezeboy
3f538b547d CamelCase for Angular Service 2015-07-28 16:43:09 +02:00
Freezeboy
ef13160d8b Rename functionRenamer and default to CameCase 2015-07-28 16:41:07 +02:00
Alp Mestanogullari
4ff9697ed7 Merge pull request #172 from freezeboy/add-url-prefix
Add urlPrefix to CommonGeneratorOptions
2015-07-28 15:53:48 +02:00
Freezeboy
915ed652e1 Upgrading tests for Axios 2015-07-28 15:44:55 +02:00
Freezeboy
60d94be0e9 Add a configuration mapping to Axios 2015-07-28 15:06:00 +02:00
Freezeboy
522dc3c2cb Axios fix the request body 2015-07-28 11:33:36 +02:00
Freezeboy
b085e63aa7 Removing output from test 2015-07-28 01:27:20 +02:00
Freezeboy
17ca343b45 Update example with Axios version 2015-07-28 01:25:00 +02:00
Julian K. Arni
1c9d5baa99 Bump versions to 0.5 2015-07-27 22:26:49 +02:00
Freezeboy
3ff1f5c953 Update tests for Axios 2015-07-27 16:49:52 +02:00
Freezeboy
2e2eac6543 Let example support Axios 2015-07-27 16:34:00 +02:00
Freezeboy
4362112f31 Add preliminary Axios support 2015-07-27 16:29:08 +02:00
Freezeboy
8b927e7f0d Add urlPrefix to CommonGeneratorOptions 2015-07-27 15:21:58 +02:00
Freezeboy
c01ad63112 Replace functionName with an array, and use functionRenamer to build the real function name 2015-07-27 13:55:30 +02:00
Sönke Hahn
e24cb9ddf6 add stack file 2015-07-26 17:25:07 +08:00
Alp Mestanogullari
d3fa61c041 servant-js testsuite code cleanup 2015-07-23 13:47:44 +02:00
Alp Mestanogullari
6257712687 add changelog entries for the work done on servant-js 2015-07-22 19:36:42 +02:00