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