Manolo Carrasco
bd4a583480
Add utility method to run a native JS function
9 years ago
Manolo Carrasco
3174d5ba98
Remove most of $ constructors in favour of $(Object) to avoid java8 disambiguation. Fixes issue 335
9 years ago
Manolo Carrasco
2413750e96
Utility method to export a function
9 years ago
Manolo Carrasco
c915409833
Adding more testing and fixes
9 years ago
Manolo Carrasco
7551a677f9
Adding Julien review suggestions.
- Additionally, I have moved all remaining transform related stuff
from transition plugin to transform class, and checked that regex
are updated based on specification (it was a copy from original
jQuery plugin).
- Adding some tests.
9 years ago
Manolo Carrasco
85b16030e9
Allow to use customized animations. And Fixes.
In this patch there are many fixes found when playing with plugins.
Also I have refactored Effects and Transitions plugins so as it is
easier to extend and implement customized animations.
Now we use properties instead of the Fx.css3 hack to disable modern
animations.
9 years ago
Manolo Carrasco
cbacf2f217
Running maven java-formatter plugin to all sources
9 years ago
Manolo Carrasco
8d6aa20dd0
Removing checkstyle errors
9 years ago
Manolo Carrasco
74e91e7fc6
move jsni start marks to new line so as eclipse formatter ignores them
9 years ago
Manolo Carrasco
791e62c0ad
Organize imports, remove empty lines
9 years ago
Manolo Carrasco
d3eaed4b7f
Remove duplicated empty lines, remove CR, add NL at the end
9 years ago
Adolfo Panizo
617443d115
nodeType property error when using selectors like: $(widget)
9 years ago
Manolo Carrasco
8da271599c
Adding support for custom html elements.
When using GWT jsInterop to wrap native objects using @JsType
interfaces, casting between those elements to gwt Element fails.
We solve that doing a jsni casting.
- Adding tests for interaction with JsTypes.
- Fixing tests when running them in real browsers
9 years ago
Manuel Carrasco Moñino
74ae8557f7
remove printstack
10 years ago
Manuel Carrasco Moñino
8276113ee9
Dont try to fix json strings by default, to avoiding quoted numbers and null be unquoted
10 years ago
Manuel Carrasco Moñino
a82893e83e
Implemented Ajax for JVM, and tests
10 years ago
Manolo Carrasco
99c4a22f03
Add support for Forms and progress in ajax. Fixes issue #253
10 years ago
Manuel Carrasco Moñino
bdb5ce4f3c
Fix gQuery failing when managing non native element objects
10 years ago
Manuel Carrasco Moñino
282d2a0ec8
Should call other f signature in order to return an object to java
10 years ago
Manuel Carrasco Moñino
e7a257655e
Adding a method which facilitates exporting java methods
10 years ago
Manuel Carrasco Moñino
4a9488aca0
Implementation of GQuery.console
10 years ago
Manuel Carrasco Moñino
6a23c0c202
Fix getScript so as once it is downloaded it is executed like in jQuery. Move loadScript from JsUtils to Ajax
10 years ago
Manuel Carrasco Moñino
81b4937ee8
Simple Implementation of console.log
10 years ago
Manuel Carrasco Moñino
5717d1d332
returned js values in runJavascriptFunctionImpl should be boxed, share method used for boxing js values
11 years ago
Manuel Carrasco Moñino
7915a9a2d2
Enclose println used warn the user in dev mode in a block so as it does not generates any code in production
11 years ago
Manuel Carrasco Moñino
f5c751db24
Implementation of prop methods so as we can read any property from any JSO and not only boolean. The implementation uses java generics. Updated to gwt 2.5.1
11 years ago
Manuel Carrasco Moñino
1006382857
Adding a utility function to call external functions from gwt without writing jsni
11 years ago
Manuel Carrasco Moñino
c2eba791ed
Change method signature
11 years ago
Manuel Carrasco Moñino
6c36a6ef22
Remove attribute after the property is set to null. Fixes issue 165
11 years ago
Manuel Carrasco Moñino
26baf16ea5
Fix isFunction in safari for ipad
11 years ago
Manuel Carrasco Moñino
1313f0c028
End lines with LF instead of CRLF
11 years ago
jdramaix
c14e14a2bc
html element is always considered as attached
11 years ago
Manuel Carrasco Moñino
3f637680f1
Adding a couple of methods in xmlbuilders to parse number and date values in text elements. Adding a test for xmlbuilder
11 years ago
jdramaix
726d9ce3c8
fix issue with size computing when element is not attached
11 years ago
Manolo Carrasco
ab19561d8a
re-use gwt dom methods to check whether a node is attached to the dom
11 years ago
Manolo Carrasco
eb0ef95425
Append temporary dettached elements to the document so as we can correctly compute certain values
11 years ago
Manolo Carrasco
394799f87a
Adding support for wrapping gwt Functions as js-functions and viceversa in properties and json objects
11 years ago
Manolo Carrasco
2b79b024b4
Use native JSON.stringify when available. Fix to store native js numbers in Properties instead of gwt types. Handle char and byte types
11 years ago
Manolo Carrasco
41bd496f5a
JsFunction should have an equal method
12 years ago
Manolo Carrasco
8b42588c4d
Format source, and generate lazy interfaces
12 years ago
Manolo Carrasco
87a50b9638
move JsFunction to JsUtils and make it public
12 years ago
Manolo Carrasco
9f4543c5a6
Fix compilation. Last commit removed a used method by mistake
12 years ago
Manolo Carrasco
20701fa27e
Support for Functions in Json Generators, related with issue_116. Do not return null for unknown types but warn the user
12 years ago
Manolo Carrasco
e052754056
fix tests, group them in a gwt-suite to run in a jvm instance and speed up maven test
12 years ago
Manolo Carrasco
063e7bfe00
Adding indexOf method in JsCache. Fix a null case in jsni
12 years ago
Manolo Carrasco
c34809c0ec
First version of XmlBuilder generator, only getters work right now
12 years ago
Manolo Carrasco
870164642f
Handle window elements different to $wnd. Fix children method which was returning mor elements. We were using the new ONGESTUREEND value for ONSUBMIT
12 years ago
Manolo Carrasco
6e92af3875
use JSON.parse when available when parsing properties to avoid security issues
12 years ago
Manolo Carrasco
8791f8bdfc
Adding Ajax abilities to Gquery, as a easy way to get and handle data from non gwt servers. Added a generator to convert JSON objects to java builders/pojos
12 years ago
Manolo Carrasco
f30f1c4b15
Added GQ static class to house all static methods of the Api. It should be named $, but gwt compiler fails when a class contains the dollar. Added a simple implementation of the jquery Ajax API, text, html, xml and json responses are handle well by gquery.
12 years ago