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