Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-04-05  Ben Konrath  <ben@bagu.org>
2
3         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
4
5         This is the forth and final commit of a refactor that will allow
6         OnlineGlom to be used with multiple documents.
7
8         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
9         Move RPC code from OnlineGlomViewImpl to this class.
10         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
11         to inferface.
12         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
13         RPC code to the presenter class (the P in MVP).
14
15 2011-04-04  Ben Konrath  <ben@bagu.org>
16
17         Start moving the existing OnlineGlom code to MVP.
18
19         This work is based on the GWT MVP framework that is documented here:
20
21         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
22
23         This is the third commit of a refactor that will allow OnlineGlom to
24         be used with multiple documents.
25
26         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
27         Interface for client factory which is used to get instances of various
28         classes throughout the app.
29         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
30         Implementation of client factory.
31         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
32         initialize the MVP framework.
33         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
34         New file. Activity manager for the main container widget. This is the
35         Presenter in MVP.
36         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
37         Maps place (URL) to its corresponding activity.
38         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
39         New file. This is just a place holder for a generated file.
40         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
41         New file. Represents the URL for the main Online Glom app.
42         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
43         for changes in LayoutListViewImpl.
44         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
45         interface for View. Move code to OnlineGlomViewImpl class.
46         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
47         file. Implementation of OnlineGlomView.
48         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
49         Place resources. Use ClientFactoryImpl by default.
50
51 2011-04-04  Ben Konrath  <ben@bagu.org>
52
53         Move View classes to their own package.
54
55         This is the second commit of a refactor that will allow OnlineGlom to
56         be used with multiple documents.
57
58         * src/main/java/org/glom/web/client/OnlineGlom.java:
59         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
60         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
61
62 2011-04-02  Ben Konrath  <ben@bagu.org>
63
64         Move UI code from the main module to its own class.
65
66         This is the first commit of a refactor that will allow OnlineGlom to be
67         used with multiple documents.
68
69         * src/main/java/org/glom/web/client/LayoutListView.java: Update
70         references to OnlineGlom to OnlineGlomView.
71         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
72         OnlineGlomView and instantiate it here.
73         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
74         represents the main OnlineGlomView with one document.
75
76 2011-04-01  Ben Konrath  <ben@bagu.org>
77
78         Fix formatting of gwt.xml and add DTD.
79
80         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
81
82 2011-03-30  Ben Konrath  <ben@bagu.org>
83
84         Propperly convert gdkColor string to html colour string.
85
86         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
87
88 2011-03-28  Ben Konrath  <ben@bagu.org>
89
90         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
91
92         This implementation matches
93         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
94         readable and is not tied to Swig.
95
96         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
97
98 2011-03-28  Ben Konrath  <ben@bagu.org>
99
100         Use read-only checkboxes for boolean field types.
101
102         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
103         in the CellTable based on the field type. It currently only
104         distinguishes between boolean and text columns but I'll need to add
105         support for more types.
106         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
107         column type in the ColumnInfo object. Add method to convert between the
108         glom field type enum in ColumnInfo and the glom field type in libglom.
109         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
110         field type.
111         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
112         getting and setting booleans.
113
114 2011-03-25  Ben Konrath  <ben@bagu.org>
115
116         Don't get the Date twice from the ResultSet.
117
118         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
119
120 2011-03-25  Ben Konrath  <ben@bagu.org>
121
122         Cleanup code in the servlet.
123
124         * TODO: Remove item about row count. Add item about testing row count
125         query with large number of rows.
126         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
127         spelling mistakes, change method parameter to be consistent with
128         other methods.
129
130 2011-03-25  Ben Konrath  <ben@bagu.org>
131
132         Add server side logging with the gwt-log library.
133
134         * .gitignore: Ignore the log file we're now producing.
135         * TODO: Add a couple TODO item for logging.
136         * pom.xml: Add gwt-log and log4j as a dependency.
137         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
138         logging of errors, warnings and some important info.
139         * src/main/resources/log4j.properties: New file to configure log4j.
140
141 2011-03-24  Ben Konrath  <ben@bagu.org>
142
143         Add a disable button for the Details view.
144
145         * src/main/java/org/glom/web/client/LayoutListView.java:
146
147 2011-03-22  Ben Konrath  <ben@bagu.org>
148
149         Use a count query to get the number of rows for the list view pager.
150
151         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
152
153 2011-03-22  Ben Konrath  <ben@bagu.org>
154
155         Add more TODO information about CellTable pager positioning. 
156
157         * TODO:
158
159 2011-03-19  Ben Konrath  <ben@bagu.org>
160
161         Add TODO item about CellTable pager positioning.
162
163         * TODO:
164
165 2011-03-18  Ben Konrath  <ben@bagu.org>
166
167         Remove unneeded GlomFieldColumn class.
168
169         This is just a small code cleanup.
170
171         * src/main/java/org/glom/web/client/LayoutListView.java:
172
173 2011-03-18  Ben Konrath  <ben@bagu.org>
174
175         Use cursor mode in the query that gets data for the list view.
176
177         I still need to fix the potential memory problem when getting the row
178         count for the list view.
179
180         * TODO: Add note about testing memory usage with large data sets. Add
181         item about fixing row counting with large data sets.
182         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
183         PostgreSQL JDBC driver into cursor mode when getting data for the
184         list view.
185
186 2011-03-15  Ben Konrath  <ben@bagu.org>
187
188         Remove the GWT Container from the Eclipse build classpath.
189
190         The GWT dependencies are set by Maven so this isn't needed.
191
192         * .classpath:
193
194 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
195
196         Added some earlier mockups to git, but not to the tarball dist.
197
198         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
199         Openismus. These hopefully show how we might structure the HTML so that
200         it can be styled easily with CSS. However, we probably need to adapt them
201         for the CSS structure that GWT dictates for common widgets.
202
203 2011-03-14  Ben Konrath  <ben@bagu.org>
204
205         Locate OnlineGlom.properties using the ServletContext.
206
207         This is required to be able to locate the file in the deployed servlet.
208
209         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
210         Configure the database and glom document in in a helper method so
211         that the ServletContext can be used to locate OnlineGlom.properties.
212         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
213         src/main/webapp. This is the proper location for .properites files.
214
215 2011-03-12  Ben Konrath  <ben@bagu.org>
216
217         Add note to README about why we're compiling down to obfuscated JavaScript.
218
219         * README:
220
221 2011-03-11  Ben Konrath  <ben@bagu.org>
222
223         Use properties file to configure servlet.
224
225         This allows people to change the glom file path, db username and db
226         password without recompiling the code.
227
228         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
229         * src/main/webapp/OnlineGlom.properties:
230
231 2011-03-11  Ben Konrath  <ben@bagu.org>
232
233         Use table fields in layout list view if the layout list is not defined.
234
235         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
236         Manually create a LayoutFieldVector for the query builder using the
237         table fields when a layout list is not defined in the glom file.
238
239 2011-03-11  Ben Konrath  <ben@bagu.org>
240
241         Only show FIXME string for images when there's an image.
242
243         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
244         in this change are some small code cleanups.
245
246 2011-03-11  Ben Konrath  <ben@bagu.org>
247
248         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
249
250         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
251
252 2011-03-11  Ben Konrath  <ben@bagu.org>
253
254         Correctly set the index of the default table.
255
256         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
257         Correctly set the index of the default table. Add commented out example
258         file paths.
259
260 2011-03-10  Ben Konrath  <ben@bagu.org>
261
262         Add comment to pom.xml about the previous change.
263
264         * pom.xml: Add comment about the deployment issue so that it's obvious
265         why java-libglom is set to the provided scope.
266
267 2011-03-10  Ben Konrath  <ben@bagu.org>
268
269         Change java-libglom dependency from compile to provided in pom.xml.
270
271         Since java-libglom uses jni it can only be loaded once and therefore
272         must be placed in $CATALINA_HOME/lib and not included in each war.
273         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
274         More information about this issue can be found in the Tomcat 6 release
275         notes in the "JNI Based Applications" section:
276
277         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
278
279         * README: Remove note about this issue. Deployment info should really
280         be on the wiki anyway so I'll add it right now.
281         * pom.xml: Change java-libglom dependency from compile to provided so
282         that it's copied in to the packaged war.
283
284 2011-03-09  Ben Konrath  <ben@bagu.org>
285
286         Change to using a neutral locale for currency, date and time formatting.
287
288         This solves the problem of currency values being represented without a
289         space between the currency code and the number (e.g. "EUR5.89" is now
290         represented as "EUR 5.89"). More work is required when we implement
291         a locale preference setting.
292
293         * TODO: Add note about currency formatting issues with different
294         locales.
295         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
296         to using the neutral ROOT locale.
297
298 2011-03-09  Ben Konrath  <ben@bagu.org>
299
300         Add support for currency codes that are not ISO 4217 codes.
301
302         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
303         the currency code defined in the glom file when it's not 3 characters
304         long or when Java doesn't recognize the string as an ISO 4217 code.
305
306 2011-03-08  Ben Konrath  <ben@bagu.org>
307
308         Remove test classes, launch configurations and configuration.
309
310         The test stuff was getting in the way when creating the war. To make
311         the war file you can now do 'mvn clean package'. The packaged war file
312         will be in the target directory.
313
314         * .classpath: Remove unused classpathentry for tests and i18n.
315         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
316         property. Don't run test or i18n goals when packaging the war.
317         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
318         formatting.
319
320         Removed files:
321
322         * OnlineGlomTest-dev.launch:
323         * OnlineGlomTest-prod.launch:
324         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
325         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
326
327 2011-03-07  Ben Konrath  <ben@bagu.org>
328
329         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
330
331         These fixes allow me to use 'mvn deploy' to create the war file.
332
333         * .classpath: This generated config has been updated by Eclipse. This
334         change was probably triggered by me updating from Eclipse 3.6.1 to
335         3.6.2.
336         * .gitignore: Add entry to ignore the directory
337         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
338         * .project: The generated config has been updated by Eclipse. This
339         change was probably triggered by me updating from Eclipse 3.6.1 to
340         3.6.2.
341         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
342         so that Eclipse doesn't complain
343         * pom.xml: Update to gwt-maven-plugin 2.2.0.
344         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
345         'tests' directory to 'client' directory. This is the new
346         gwt-maven-plugin convension.
347         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
348         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
349
350 2011-03-07  Ben Konrath  <ben@bagu.org>
351
352         Add support for horizontal alignment in the LayoutList columns.
353
354         * TODO: Remove item about horizontal alignment. Add item about
355         improvements to ColumnInfo.
356         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
357         alignment on the columns. Use ColumnInfo RPC object get the column
358         title and horizontal alignment.
359         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
360         LayoutListView creation with ColumnInfo RPC object.
361         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
362         a ColumnInfo object for every LayoutList columnn. Convert the
363         FieldFormatting.HorizontalAlignment to the correct
364         ColumnnInfo.HorizontatlAlignment with the new
365         getColumnInfoHorizontalAlignment helper method.
366         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
367         to encapsulate column information like alignment and title. This
368         could be used to set the colour instead of on a per cell field basis.
369         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
370         column title storage and retrieval with ColumnInfo.
371
372 2011-03-04  Ben Konrath  <ben@bagu.org>
373
374         Add support for column sorting.
375
376         * src/main/java/org/glom/web/client/LayoutListView.java: Change
377         AsynDataProvider to be an anonymous inner class. Use new
378         getSortedTableData RPC method when column sort is requested. Set all
379         columns sortable and add an AsyncHandler to activate sorting in the
380         AsyncDataProvider.
381         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
382         method getSortedTableData(). Cleanup other method signatures.
383         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
384         new method getSortedTableData(). Cleanup other method signatures.
385         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
386         Implement getSortedTableData() and getTableData() methods by using a
387         private helper method with the appropriate parameters filled in. Use
388         user supplied sort clause when supplied, otherwise fall back to
389         sorting by the primary key. Move destroy() method to be underneath
390         constructor for readability.  Cleanup comments.
391
392 2011-03-03  Ben Konrath  <ben@bagu.org>
393
394         Add support for colour text and colour backgrounds to the layout list cells.
395
396         Only the cell backgrounds are coloured which leaves a gap between the
397         cells that isn't coloured. I need to figure out a way to set
398         'style=background-colour:' on the whole column rather than just the
399         cell.
400
401         * TODO: Add a note about colouring the background of the whole column.
402         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
403         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
404         render the coloured text and backgrounds. Use GlomField[] for the row type.
405         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
406         for the row type.
407         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
408         GlomField[] for the row type.
409         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
410         GlomField[] for the row type. Set the text, text colour and background
411         colour in the GlomField objects as specified in the glom document. Add
412         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
413         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
414         the glom field text, foreground colour and background colour.
415
416 2011-03-02  Ben Konrath  <ben@bagu.org>
417
418         Don't display hidden tables in the combo box.
419
420         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
421         ArrayLists.
422         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
423         code to ignore hidden tables using ArrayLists for the table names and
424         titles.
425         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
426         tableNames to use ArrayLists instead of String[]. Update getter and setter
427         methods.
428
429 2011-03-01  Ben Konrath  <ben@bagu.org>
430
431         Add support for Date and Time number types.
432
433         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
434         Implement formatting for Date and Time values. Change the default glom
435         file to small business example.
436
437 2011-03-01  Ben Konrath  <ben@bagu.org>
438
439         Add support for formatting glom types as specified in the glom file.
440
441         Formatting isn't finished yet - I still need to add support for Date
442         and Time values.
443
444         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
445         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
446         checks for null values in JDBC cleanup code and catch all exceptions
447         instead of just SQLExceptions.
448         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
449         method name.
450
451 2011-03-01  Ben Konrath  <ben@bagu.org>
452
453         Use GWT 2.2.0 instead of 2.1.1.
454
455         * pom.xml: Change GWT version numbers.
456
457 2011-03-01  Ben Konrath  <ben@bagu.org>
458
459         A few small code cleanups.
460
461         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
462         duplicate for loop.
463         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
464         unnecessary object creation in constructor.
465         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
466         unnecessary object creation in constructor.
467
468 2011-02-28  Ben Konrath  <ben@bagu.org>
469
470         Add file for TODO list.
471
472         * TODO: New file.
473
474 2011-02-18  Ben Konrath  <ben@bagu.org>
475
476         Enable the CellTable Pager when more than 20 rows need to be viewed.
477
478         The Pager will automatically become active when the results are larger
479         than the CellTable size which is currently set to 20 lines.
480
481         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
482         name on debug statment in RPC call in LayoutListDataProvider, add
483         numRows parameter to LayoutListView constructor, propperly set rowCount
484         in CellTable.
485         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
486         name on debug statment in RPC call, use LayoutListTable object in RPC
487         calls, pass rowCount to LayoutListView.
488         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
489         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
490         object.
491         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
492         interface for changes in OnlineGlomService.
493         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
494         getLayoutListHeaders() to getLayoutListTable() and return
495         LayoutListTable. Using this object allows me to pass other information
496         about the LayoutList like the expected number of rows in the result set.
497         The Connection object from the connection pool is now propperly closed.
498         Only the requested number of lines are returned to the client in
499         getTableData().
500         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
501         GlomTable and add columnTitles and numRows.
502
503 2011-02-18  Ben Konrath  <ben@bagu.org>
504
505         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
506
507         This is a small performance boost. I'll use GlomTable to get the required
508         layoutlist information.
509
510         * src/main/java/org/glom/web/client/OnlineGlom.java:
511         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
512         * src/main/java/org/glom/web/shared/GlomDocument.java:
513
514 2011-02-18  Ben Konrath  <ben@bagu.org>
515
516         Add option to turn off formatting in JDT formatter preferences.
517
518         * .settings/org.eclipse.jdt.core.prefs:
519
520 2011-02-18  Ben Konrath  <ben@bagu.org>
521
522         Rename LayoutList to LayoutListView.
523
524         I'm working towards setting things up to easily use MVP when the time
525         comes.
526
527         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
528         LayoutList.java.
529         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
530         references.
531
532 2011-02-17  Ben Konrath  <ben@bagu.org>
533
534         Move LayoutListDataProvider class into LayoutList.java.
535
536         * src/main/java/org/glom/web/client/LayoutList.java:
537
538 2011-02-17  Ben Konrath  <ben@bagu.org>
539
540         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
541
542         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
543         references.
544         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
545         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
546         from LibGlomServer.java.
547         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
548         Rename from LibGlomServiceAsync.java.
549         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
550         Rename from LibGlomServiceImpl.java.
551         * src/main/webapp/WEB-INF/web.xml: Update configuration.
552
553 2011-02-17  Ben Konrath  <ben@bagu.org>
554
555         Update JDT settings.
556
557         * .settings/org.eclipse.jdt.core.prefs:
558
559 2011-02-17  Ben Konrath  <ben@bagu.org>
560
561         Move GWT-RPC objects to shared package (where they should be).
562
563         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
564         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
565         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
566         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
567         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
568         org.glom.web.shared package.
569         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
570         org.glom.web.shared package.
571         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
572         directory in compilation to javascript.
573
574 2011-02-16  Ben Konrath  <ben@bagu.org>
575
576         Add sort clause to the sql query that grabs table information.
577
578         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
579         if one of the columns is a primary key.
580
581 2011-02-16  Ben Konrath  <ben@bagu.org>
582
583         Disable generateAsync feature of gwt-maven.
584
585         The generated interface does not correctly match the methods in LibGlomService
586         and the generated singleton Util inner-class doesn't respect the servlet
587         mappings.
588
589         * pom.xml: Turn off generateAsync feature.
590         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
591         with singleton Util inner-class.
592
593 2011-02-14  Ben Konrath  <ben@bagu.org>
594
595         Add LGPL v3 licence notices.
596
597         Followed directions listed here:
598         http://www.gnu.org/licenses/gpl-howto.html
599
600         * COPYING: This file is a copy of the GPL v3.
601         * COPYING.LESSER: This file is a copy of the LGPL v3.
602         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
603         notice.
604         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
605         notice.
606         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
607         notice.
608         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
609         licence notice.
610         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
611         notice.
612         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
613         notice.
614         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
615         licence notice.
616
617 2011-02-14  Ben Konrath  <ben@bagu.org>
618
619         Use ArrayList instead of Array in GWT-RPC calls.
620
621         Apparently this gives a slight performance boost to the compiled
622         java script.
623
624         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
625         instead of Array.
626         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
627         of Array.
628
629 2011-02-14  Ben Konrath  <ben@bagu.org>
630
631         Access data from a postgres db rather than the example glom file.
632
633         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
634         compile down to obfuscated javascript.
635         * pom.xml: Add c3p0 and postgres JDBC libraries.
636         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
637         using a postgres db accessed through the c3p0 connection pooling library.
638
639 2011-02-14  Ben Konrath  <ben@bagu.org>
640
641         Update Java formatter settings.
642
643         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
644
645 2011-02-02  Ben Konrath  <ben@bagu.org>
646
647         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
648
649         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
650         using Maven.
651         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
652         the compiled webapp directory that Eclipse uses as we're using Maven now.
653         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
654         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
655         to 1.6.
656         * pom.xml: Format file, change target Java version to 1.6.
657
658 2011-02-02  Ben Konrath  <ben@bagu.org>
659
660         Add information about a deployment related issue.
661
662         * README: Add Notes section with the problem outlined.
663
664 2011-02-02  Ben Konrath  <ben@bagu.org>
665
666         Call Glom.libglom_deinit() when the servlet is shutdown.
667
668         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
669         Glom.libglom_deinit() to destroy() method.
670
671 2011-01-28  Ben Konrath  <ben@bagu.org>
672
673         Use generated Util class to get the RPC Async interface.
674
675         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
676         file.
677         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
678         getInstance() method to get a reference to the RPC Async interface.
679         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
680         getInstance() method to get a reference to the RPC Async interface, remove
681         the now unused getLibGlomServiceProxy() method.
682
683 2011-01-27  Ben Konrath  <ben@bagu.org>
684
685         Cleanup ChangeLog entry from previous commit.
686
687         * ChangeLog: Group logical changes together and add comments.
688
689 2011-01-25  Ben Konrath  <ben@bagu.org>
690
691         Convert to gwt-maven project.
692
693         * .gitignore: Update for new project structure.
694         * README: New file with a link to the online documentation.
695         * pom.xml: The generated maven configuration file with some tweaks.
696
697         Add / update Eclipse settings. These files are a merge of the files that
698         were generated with the gwt-maven plugin and the files we were previously
699         using.
700         * .classpath:
701         * .project:
702         * .settings/.jsdtscope:
703         * .settings/com.google.gdt.eclipse.core.prefs:
704         * .settings/com.google.gwt.eclipse.core.prefs:
705         * .settings/org.eclipse.jdt.core.prefs:
706         * .settings/org.eclipse.wst.common.component:
707         * .settings/org.eclipse.wst.common.project.facet.core.xml:
708         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
709         * .settings/org.maven.ide.eclipse.prefs:
710         * OnlineGlomTest-dev.launch:
711         * OnlineGlomTest-prod.launch:
712
713         Java source files moved from the 'src' directory to the directory structure
714         required by maven.
715         * src/main/java/org/glom/web/client/GlomDocument.java:
716         * src/main/java/org/glom/web/client/GlomTable.java:
717         * src/main/java/org/glom/web/client/LayoutList.java:
718         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
719         * src/main/java/org/glom/web/client/LibGlomService.java:
720         * src/main/java/org/glom/web/client/OnlineGlom.java:
721         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
722
723         Non-functional property file used for translations. I included this as
724         reminder that it's something I need to sort out.
725         * src/main/resources/org/glom/web/client/Messages.properties:
726
727         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
728         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
729
730         The servlet configuration files moved from the 'war' directory.
731         * src/main/webapp/OnlineGlom.css:
732         * src/main/webapp/OnlineGlom.html:
733         * src/main/webapp/WEB-INF/web.xml:
734
735         Generated test files with most of the code commented out. I included these
736         so that it's easy to add tests when we're ready for them.
737         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
738         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
739
740 2011-01-25  Ben Konrath  <ben@bagu.org>
741
742         Remove unused println.
743
744         * src/org/glom/web/server/LibGlomServiceImpl.java:
745
746 2011-01-25  Ben Konrath  <ben@bagu.org>
747
748         Add project specific JDT settings.
749
750         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
751         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
752
753 2011-01-25  Ben Konrath  <ben@bagu.org>
754
755         Populate celltable with example data.
756
757         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
758         * src/org/glom/web/client/GlomTable.java: Correct formatting.
759         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
760         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
761         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
762         asynchronously gets the example data.
763         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
764         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
765         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
766         curently selected table to be retrieved by other widgets.
767         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
768         implement getTableData() in a hacky way. This method needs to be updated
769         to grab information from the database when database creating is
770         implemented.
771
772 2011-01-20  Ben Konrath  <ben@bagu.org>
773
774         Set table headers when table dropBox changes.
775
776         * src/org/glom/web/client/GlomDocument.java: Correct some method
777         names.
778         * src/org/glom/web/client/LibGlomService.java: Add method
779         to get list layout field names.
780         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
781         to get list layout field names.
782         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
783         widget for list layout table.
784         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
785         the table drop box and add new updateTable() method to asynchronously
786         get the layout list field names for the currently selected table.
787         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
788         implementation of getLayoutListHeaders() method.
789         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
790
791 2011-01-18  Ben Konrath  <ben@bagu.org>
792
793         Make a listBox with table titles instead of the flexTable demo.
794
795         This is the start of something more useful.
796
797         * .classpath: Exclude a bunch of packages from the JVM that are
798         getting in the way of the Eclipse content assist.
799         * src/org/glom/web/client/GlomDocument.java:
800         * src/org/glom/web/client/GlomTable.java:
801         * src/org/glom/web/client/LibGlomService.java:
802         * src/org/glom/web/client/LibGlomServiceAsync.java:
803         * src/org/glom/web/client/OnlineGlom.java:
804         * src/org/glom/web/server/LibGlomServiceImpl.java:
805         * war/OnlineGlom.html:
806         * war/WEB-INF/web.xml:
807
808 211-01-13  Ben Konrath  <ben@bagu.org>
809
810         Update to new java-libglom API.
811
812         * .gitignore: Ignore OnlineGlom.war.
813         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
814
815 2010-12-20  Ben Konrath  <ben@bagu.org>
816
817         Add some basic style to the table listing.
818
819         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
820         header, print useful error message on async callback failure.
821         * war/OnlineGlom.css: Add style for table header, remove defaults
822         provided by the Eclipse project wizard.
823
824 2010-12-20  Ben Konrath  <ben@bagu.org>
825
826         Load example file from installed glom dir.
827
828         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
829         provided by java-libglom to find the example file.
830
831 2010-12-20  Ben Konrath  <ben@bagu.org>
832
833         Update Eclipse settings.
834
835         * .classpath:
836         * .settings/com.google.gdt.eclipse.core.prefs:
837         * .settings/com.google.gwt.eclipse.core.prefs:
838
839 2010-12-17  Ben Konrath  <ben@bagu.org>
840
841         Initial commit.
842
843         * .classpath: New file.
844         * .gitignore: New file.
845         * .project: New file.
846         * .settings/com.google.gdt.eclipse.core.prefs: New file.
847         * .settings/com.google.gwt.eclipse.core.prefs: New file.
848         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
849         * src/org/glom/web/client/GlomTable.java: New file.
850         * src/org/glom/web/client/OnlineGlom.java: New file.
851         * src/org/glom/web/client/TableNameService.java: New file.
852         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
853         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
854         * war/OnlineGlom.css: New file.
855         * war/OnlineGlom.html: New file.
856         * war/WEB-INF/web.xml: New file.
857         * war/images/glom.png: New file.