Rename a couple of variables in RelatedListNavigation.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-12-05  Ben Konrath  <ben@bagu.org>
2
3         Rename a couple of variables in RelatedListNavigation.
4
5         This is a rename-only refactor.
6
7         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
8
9 2011-12-05  Ben Konrath  <ben@bagu.org>
10
11         Move getListLayoutGroup() into getListViewLayoutGroup().
12
13         This removes getListLayoutGroup(). It was only being called by
14         getListViewLayoutGroup().
15
16         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
17
18 2011-12-05  Ben Konrath  <ben@bagu.org>
19
20         Remove check for LayoutItem_Portal in list table method.
21
22         This check is no longer necessary because the method isn't being used
23         to create the LayoutItemPortal DTO.
24
25         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
26
27 2011-12-05  Ben Konrath  <ben@bagu.org>
28
29         Properly support related list navigation.
30
31         Navigation from the "Repository Analyzer -> Package Scans ->
32         Dependencies" related table wasn't working because the primary key for
33         related tables wasn't being set properly. This commit fixes the
34         problem.
35
36         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't use
37         getListLayoutGroup() to create the LayoutItemPortal DTO. This method
38         doesn't set the primary key properly for related list tables.
39         * src/main/java/org/glom/web/server/database/DBAccess.java: Add table
40         name parameter to getPrimaryKeyLayoutItemField(). This makes the method
41         useful for getting the primary key for list view tables and for related
42         list tables.
43         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
44         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
45         Move code to set the primary key for the table from the abstract
46         ListDBAccess class to ListViewDBAccess as it's only correct for list
47         view tables.
48         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
49         Properly add primary key to related list tables.
50
51 2011-12-02  Ben Konrath  <ben@bagu.org>
52
53         Properly set the horizontal alignment of fields.
54
55         This fix is for both the list tables and the details view.
56
57         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
58         LayoutItem_WithFormatting.get_formatting_used_horizontal_alignment(boolean)
59         to set the horizontal alignment of fields.
60
61 2011-12-02  Ben Konrath  <ben@bagu.org>
62
63         Display currency codes in the details view.
64
65         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
66
67 2011-12-02  Ben Konrath  <ben@bagu.org>
68
69         Avoid duplicate JNI call.
70
71         JNI is not as efficient as pure Java and this is an easy (and small)
72         optimization.
73
74         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
75         Use previously retrieved value for whereClauseToTableName instead of
76         getting it again.
77
78 2011-12-02  Ben Konrath  <ben@bagu.org>
79
80         Rename a couple of variables in RelatedListNavigation.
81
82         This is a rename-only refactor.
83
84         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
85
86 2011-12-02  Ben Konrath  <ben@bagu.org>
87
88         Indicate clearly that a mismatched primary key type is a bug.
89
90         * src/main/java/org/glom/web/server/Utils.java: Change log level from
91         warning to error. Add 'This is a bug.' to message.
92
93 2011-12-02  Ben Konrath  <ben@bagu.org>
94
95         Update / fix some comments.
96
97         * src/main/java/org/glom/web/client/OnlineGlomService.java: Remove old
98         comments.
99         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Fix
100         comment.
101         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
102         Fix comments. Add some TODOs.
103
104 2011-12-02  Ben Konrath  <ben@bagu.org>
105
106         Enable navigation to details view with string primary key from related list.
107
108         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
109         Create a text primary key value when return type of result is
110         java.sql.Types.VARCHAR.
111
112 2011-12-02  Ben Konrath  <ben@bagu.org>
113
114         Use checkboxes for booleans in the details view.
115
116         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
117
118 2011-12-01  Ben Konrath  <ben@bagu.org>
119
120         Improve performance of related list height calculation.
121
122         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
123         Put code to calculate the expected height in a static initializer so
124         that that it's only called once.
125
126 2011-12-01  Ben Konrath  <ben@bagu.org>
127
128         Show related list tables in notebooks (again).
129
130         Calculate the height of the related list tables so the Notebook can be
131         set the correct height. The height of the related list table is also needed by
132         FlowTable to be able decide how to create the layout.
133
134         * src/main/java/org/glom/web/client/ui/details/Portal.java: Calculate
135         and set the Portal height based on the height of the related list
136         table and the Portal container.
137         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
138         Add method to calculate the height of the related list tables.
139         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
140         * src/main/webapp/style.css: Add css class for Pager. This is needed to
141         calculate the height of the Pager widget.
142
143 2011-12-01  Ben Konrath  <ben@bagu.org>
144
145         Use CellTable API for table property instead of setting style on Element.
146
147         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
148
149 2011-12-01  Ben Konrath  <ben@bagu.org>
150
151         Make ListViewTable and RelatedListTable a consistent height.
152
153         The tables are now a consistent height regardless of the contents of
154         the table. A hidden button is added to empty rows to ensure that the
155         height of these rows will match the height of rows with data.
156
157         A navigation button column is now added to every table. The width of
158         the navigation column is set to 0px when a RelatedListTable shouldn't
159         have navigation buttons. This maintains the a consistent row height in
160         tables that don't show the navigation buttons.
161
162         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Hide
163         navigation column when not needed.
164         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move method
165         arguments for navigation button to constructor of ListViewTable.
166         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Render
167         hidden button for empty data rows.
168         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java: Add method
169         arguments for navigation button to constructor.
170         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Always
171         create navigation buttons. Add hideNavigationButtons() method.
172         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add method
173         arguments for navigation button to constructor.
174
175 2011-12-01  Ben Konrath  <ben@bagu.org>
176
177         Use 'visibility: hidden' in Utils.getWidgetHeight().
178
179         This is better choice because hidden elements are invisible, don't
180         respond to events and are not part of the tab order. They will,
181         however, take up space which is required to be able to calculate the
182         height of the widget.
183
184         * src/main/java/org/glom/web/client/Utils.java:
185
186 2011-12-01  Ben Konrath  <ben@bagu.org>
187
188         Use Utils.getWidgetHeight() in FlowTable.
189
190         * src/main/java/org/glom/web/client/Utils.java: Remove TODO item about
191         this.
192         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
193
194 2011-12-01  Ben Konrath  <ben@bagu.org>
195
196         Put the details css class name on the correct table column.
197
198         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
199
200 2011-11-30  Ben Konrath  <ben@bagu.org>
201
202         Update for java-libglom API change.
203
204         The getters and setters on FieldFormatting and NumericFormat were
205         changed to remove the 'M'.
206
207         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
208
209 2011-11-29  Ben Konrath  <ben@bagu.org>
210
211         Only allow RelatedListTables in Portals.
212
213         * src/main/java/org/glom/web/client/ui/details/Portal.java:
214
215 2011-11-29  Ben Konrath  <ben@bagu.org>
216
217         Only create a contents panel for Portals when title is being set.
218
219         * src/main/java/org/glom/web/client/ui/details/Portal.java:
220
221 2011-11-29  Ben Konrath  <ben@bagu.org>
222
223         Set TabLayoutPanel height based on calculated height its widgets.
224
225         This is a potential fix for this bug:
226
227         https://bugzilla.gnome.org/show_bug.cgi?id=665133
228
229         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
230
231 2011-11-29  Ben Konrath  <ben@bagu.org>
232
233         Align details field labels and data with the Open buttons.
234
235         * src/main/webapp/style.css:
236
237 2011-11-29  Ben Konrath  <ben@bagu.org>
238
239         Remove unnecessary <div> in the Notebook widget.
240
241         * src/main/java/org/glom/web/client/ui/details/Group.java: Remove
242         method to get container FlowPanel (<div>).
243         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Run the
244         initWidget() method directly on the TabLayoutPanel widget instead of
245         Group's container widget.
246
247 2011-11-29  Ben Konrath  <ben@bagu.org>
248
249         Don't add group titles for Portals in Notebooks.
250
251         This reverts the previous patch and fixes a bug I introduced with
252         commit b1753fd27bd2c4ea189c4c353e0ece92dcc66c2c .
253
254         * src/main/java/org/glom/web/client/ui/details/Group.java:
255         * src/main/java/org/glom/web/client/ui/details/Portal.java:
256
257 2011-11-28  Ben Konrath  <ben@bagu.org>
258
259         Remove unused boolean argument in Portal constructor.
260
261         Just a code cleanup.
262
263         * src/main/java/org/glom/web/client/ui/details/Group.java:
264         * src/main/java/org/glom/web/client/ui/details/Portal.java:
265
266 2011-11-28  Ben Konrath  <ben@bagu.org>
267
268         Remove hack for glom 1.18 style glom files.
269
270         * src/main/java/org/glom/web/client/ui/details/Group.java:
271         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
272         * src/main/java/org/glom/web/client/ui/details/Portal.java:
273
274 2011-11-28  Ben Konrath  <ben@bagu.org>
275
276         Use Gda Value version of primary key to log result too large error.
277
278         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
279
280 2011-11-28  Ben Konrath  <ben@bagu.org>
281
282         Don't use TypedDataItem.getText() for Unknown types from the URL.
283
284         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
285         * src/main/java/org/glom/web/server/Utils.java: Use getUnknown()
286         instead of getText().
287         * src/main/java/org/glom/web/shared/TypedDataItem.java: Add unknown
288         String field and getUnknown() method.
289
290 2011-11-28  Ben Konrath  <ben@bagu.org>
291
292         Log an error message when the java-libglom .so is not present.
293
294         The error message was being set in the exception but not logged.
295
296         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
297
298 2011-11-28  Ben Konrath  <ben@bagu.org>
299
300         Ignore LayoutItem_CalendarPortals.
301
302         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't
303         create the LayoutItemPortal DTO for LayoutItem_CanendarPortals.
304
305 2011-11-28  Ben Konrath  <ben@bagu.org>
306
307         Extract method for creating the LayoutItemPortal DTO.
308
309         Just breaking the code up into smaller chunks.
310
311         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
312
313 2011-11-28  Ben Konrath  <ben@bagu.org>
314
315         Add TypedDataItem.
316
317         This should have been added with the refactor. Oops!
318
319         * src/main/java/org/glom/web/shared/TypedDataItem.java:
320
321 2011-11-28  Ben Konrath  <ben@bagu.org>
322
323         Create primary key value from URL string using type from Glom document.
324
325         See this bug, comments 19 - 25:
326
327         https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19
328
329         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
330         create a TypeDataItem for the primary key here when loading from a
331         URL. Show the same string for the primary key value as was received
332         from the URL string (when loading from a URL).
333         * src/main/java/org/glom/web/server/Utils.java: Update method for
334         creating the Gda Value from the TypeDataItem to properly deal with
335         creating a Gda Value based on the Glom document type for the primary
336         key value string when loading from a URL.
337         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
338         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
339         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
340         Update for changed method name.
341
342 2011-11-27  Ben Konrath  <ben@bagu.org>
343
344         Rename PrimaryKeyItem to TypedDataItem.
345
346         The name PrimaryKeyItem suggests what the class should be used for.
347         TypedDataItem is a neutral name that describes the class better.
348
349         This is a rename-only refactor.
350
351         * src/main/java/org/glom/web/client/OnlineGlomService.java:
352         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
353         * src/main/java/org/glom/web/client/Utils.java:
354         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
355         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
356         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
357         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
358         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
359         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
360         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361         * src/main/java/org/glom/web/server/Utils.java:
362         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
363         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
364         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
365         * src/main/java/org/glom/web/shared/NavigationRecord.java:
366
367 2011-11-25  Ben Konrath  <ben@bagu.org>
368
369         Improve Gda Value conversion from PrimaryKeyItem.
370
371         The value from the PrimaryKeyItem is only used if its type match the
372         type from the glom document.
373
374         * src/main/java/org/glom/web/server/Utils.java:
375
376 2011-11-25  Ben Konrath  <ben@bagu.org>
377
378         Manually check if the java-liblgom .so is visible to the JVM.
379
380         It seems that Tomcat has problems when a static initializer throws an
381         exception. This check is done before the first method call into
382         java-libglom so that execution doesn't continue if the .so is not
383         found.
384
385         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
386
387 2011-11-25  Ben Konrath  <ben@bagu.org>
388
389         Improve browser configuration error messages.
390
391         This fixes:
392
393         https://bugzilla.gnome.org/show_bug.cgi?id=662792
394
395         * src/main/java/org/glom/web/client/OnlineGlomService.java:
396         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
397         getConfigurationErrorMessage() method.
398         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
399         Get and display a specific configuration error message when no Glom
400         documents are found.
401         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
402         Implement getConfigurationErrorMessage() method. Surround configuration
403         code in the init() method with a try/catch block. This allows the
404         errors to be caught while keeping the servlet available to retrieve the
405         configuration error message.
406
407 2011-11-25  Ben Konrath  <ben@bagu.org>
408
409         Don't use Strings to hold primary key values.
410
411         The primary key values are now held in a new data object
412         (PrimaryKeyItem) that holds type information and the primary key value
413         using the correct type.
414
415         * src/main/java/org/glom/web/client/OnlineGlomService.java:
416         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
417         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
418         PrimaryKeyItem instead of String to hold the primary key value.
419         * src/main/java/org/glom/web/client/Utils.java: Remove
420         getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
421         PrimaryKeyItem based on the GlomFieldType and the DataItem.
422         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
423         PrimaryKeyItem instead of String to hold the primary key value. Load
424         document selection page when the documentID has not been set correctly.
425         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
426         DetailsPlace -> URL and URL -> DetailsPlace conversion with
427         PrimaryKeyItem.
428         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
429         Return empty string for URL instead of "null".
430         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
431         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
432         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
433         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
434         PrimaryKeyItem instead of String to hold primary key values.
435         * src/main/java/org/glom/web/server/Utils.java: New method to convert a
436         PrimaryKeyValue to a Gda Value.
437         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
438         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
439         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
440         Replace temporary database access code that uses the PrimaryKeyValue to
441         Gda Value conversion.
442         * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
443         * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
444         PrimaryKeyItem instead of String.
445         * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
446         hold primary key values.
447
448 2011-11-24  Ben Konrath  <ben@bagu.org>
449
450         Use newly added java-libglom API to create queries.
451
452         This isn't finished. I still need to stop using Strings for primary key
453         values in the client code.
454
455         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
456         libglom to use fake connections so that retrieving the query string will
457         work.
458         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
459         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
460         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
461         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
462         Use the newly added libglom sql methods and classes to create the
463         query. Add temporary hack to convert primary value strings to Gda
464         Value.
465
466 2011-11-23  Ben Konrath  <ben@bagu.org>
467
468         Don't explicitly set the height of Portals.
469
470         See comments 6 - 10 of this bug for details:
471
472         https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
473
474         * src/main/java/org/glom/web/client/ui/details/Portal.java:
475
476 2011-11-23  Ben Konrath  <ben@bagu.org>
477
478         Use an HTML table instead of CSS for the FlowTable layout.
479
480         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
481         GWT's FlexTable to implement the FlowTable.
482         * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
483
484 2011-11-18  Ben Konrath  <ben@bagu.org>
485
486         Add boolean example to HTML table mockup.
487
488         * mockups/details-view-html-tables-text-entries.html:
489
490 2011-11-17  Ben Konrath  <ben@bagu.org>
491
492         Ensure the pager buttons are always visible for related lists.
493
494         To accomplish this, I've turned off text wrapping in the list view and
495         related list tables for both the header and data text. The related list
496         table now has a fixed layout so the it doesn't overflow its container.
497         This is required to ensure that the cell text is clipped when it
498         overflows the cell and an ellipsis is added to the right side of the
499         cell when text is clipped.
500
501         A fixed table layout for the related list table in the details view
502         seems what we want for the details view anyway, so the side-effect is
503         desirable.
504
505         The ellipsis will only be displayed in Firefox >= 7.
506
507         This fixes bug:
508
509         https://bugzilla.gnome.org/show_bug.cgi?id=662930
510
511         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
512         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
513         'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
514         cell text.
515         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
516         Set the 'table-layout: fixed' CSS property to the related list table.
517         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
518         'white-space: nowrap;' CSS property on both the list view and the
519         related list tables.
520
521 2011-11-16  Ben Konrath  <ben@bagu.org>
522
523         Rework the fix for empty notebook tab labels.
524
525         Setting the empty group titles with its name caused problems for the
526         details layout. Instead of using libglom's
527         LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
528         to the client when the title is empty. This allows the Notebook to use
529         the name when the title is empty without affecting anything else.
530
531         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
532         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
533
534 2011-11-16  Ben Konrath  <ben@bagu.org>
535
536         Set group titles with name when title is empty.
537
538         This fixes a problem with an empty notebook tab label in the Lesson
539         Planner document. The forth tab in the notebook should be "Internet":
540
541         http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
542
543         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
544         libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
545         DTO title.
546
547 2011-11-16  Ben Konrath  <ben@bagu.org>
548
549         Remove whitespace from the configured username properties.
550
551         This assumes that usernames won't have whitespace at the beginning
552         or end. But I think this is a reasonable assumption.
553
554         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
555         String.trim() to remove the whitespace from the username properties.
556
557 2011-11-15  Ben Konrath  <ben@bagu.org>
558
559         Add details view mockup with HTML tables and text entries.
560
561         This is from the attachment on this bug:
562
563         https://bugzilla.gnome.org/show_bug.cgi?id=663109
564
565         * mockups/details-view-html-tables-text-entries.html:
566
567 2011-11-15  Ben Konrath  <ben@bagu.org>
568
569         Add space between the columns of the flow table.
570
571         This fixes:
572
573         https://bugzilla.gnome.org/show_bug.cgi?id=662918
574
575         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
576         space between columns in the flow table.
577
578 2011-11-15  Ben Konrath  <ben@bagu.org>
579
580         Add backup files to the .gitignore.
581
582         * .gitignore: Ignore files that end with ~.
583
584 2011-11-09  Ben Konrath  <ben@bagu.org>
585
586         Use latest release of gwt-log.
587
588         Gwt-log releases are now being submitted to the maven central
589         repository so manual installation of the jar is no longer required.
590
591         * pom.xml: Update version and groupId of gwt-log dependency.
592
593 2011-10-31  Ben Konrath  <ben@bagu.org>
594
595         Don't use GWT numeric formatting to override the glom currency formatting.
596
597         Currencies are now displayed like they are in Glom. See this bug:
598
599         https://bugzilla.gnome.org/show_bug.cgi?id=646216
600
601         * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
602         formatting.
603         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
604         currency code to constructor and set it when the cell is rendered.
605         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
606         currency code to the constructor of the NumericCell.
607
608 2011-10-27  Ben Konrath  <ben@bagu.org>
609
610         Require the latest release of java-libglom (1.17.4).
611
612         * pom.xml:
613
614 2011-10-26  Ben Konrath  <ben@bagu.org>
615
616         Add style to Notebook that matches current theme.
617
618         It's not the best style in the world but it's better than the default.
619
620         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
621         padding at the bottom of the child widgets.
622         * src/main/webapp/style.css: Add style for the Notebook.
623
624 2011-10-26  Ben Konrath  <ben@bagu.org>
625
626         Move servlet initialization code to overridden init method.
627
628         This is half of the solution to getting proper error messages
629         displayed when configuration errors occur. Here's the relevant bug:
630
631         https://bugzilla.gnome.org/show_bug.cgi?id=662792
632
633         The rest of the solution involves surrounding the init method with a
634         try/catch block and setting a global variable with the error /
635         exception. A new async method should be created to retrieve and display
636         the error message / exception.
637
638         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
639         code from constructor to init method adding exceptions as needed.
640
641 2011-10-26  Ben Konrath  <ben@bagu.org>
642
643         Add script to monitor and restart tomcat if required.
644
645         * utils/check-and-recover-tomcat.py: New file.
646
647 2011-10-26  Ben Konrath  <ben@bagu.org>
648
649         Display the correct number of data items in the pager.
650
651         This commit fixes:
652
653         https://bugzilla.gnome.org/show_bug.cgi?id=661441
654
655         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
656         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
657         The implementation is the same for both tables: Keep track of the
658         number of non-empty rows and fire and RowCountChangeEvent after the data has
659         been updated.
660         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
661         custom Pager class that subclasses SimplePager to handle displaying
662         the correct number when empty rows have been added.
663
664 2011-10-26  Ben Konrath  <ben@bagu.org>
665
666         Correct error in previous commit.
667
668         * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
669         eventBus parameter from listView.setCellTable().
670
671 2011-10-26  Ben Konrath  <ben@bagu.org>
672
673         Fix error in TODO comment.
674
675         * src/main/java/org/glom/web/client/activity/ListActivity.java:
676
677 2011-10-24  Ben Konrath  <ben@bagu.org>
678
679         Create Notebook widgets to the details view.
680
681         This isn't finished just yet - I still need to create a reasonable
682         style to match the current theme.
683
684         * src/main/java/org/glom/web/client/Utils.java: Add method for
685         calculating the height of a widget. This is used in the Notebook class.
686         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
687         new constructor method in Group.
688         * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
689         method for creating child widget that can be used by subclasses
690         like Notebook. New constructor that allows disabling the group
691         titles - Notebooks don't set a group title for their child groups.
692         * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
693         to make Notebooks using GWT's TabLayoutPanel.
694         * src/main/java/org/glom/web/client/ui/details/Portal.java: New
695         constructor that allows disabling the group titles.
696         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
697         LayoutItemNotebook DTO.
698         * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
699         DTO for Notebooks. It's just an empty class for now but we might need
700         it to transfer some specific information in the future.
701
702 2011-10-21  Ben Konrath  <ben@bagu.org>
703
704         Add navigation buttons to related list tables.
705
706         * src/main/java/org/glom/web/client/OnlineGlomService.java:
707         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
708         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
709         method getSuitableRecordToViewDetails() for getting the table name
710         and primary key value for related list navigation buttons.
711         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
712         private cell renderer class to get the navigation information for
713         related list tables from the server. Extract the navigation
714         processing code from the details cell navigation and use it for the
715         related list navigation as well.
716         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
717         cell renderer class for the details open buttons. This was needed
718         because the related list navigation buttons and the list view
719         navigation buttons need to react differently when clicked.
720         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
721         the onEnterKeyDown() method because it's now overriden in the
722         subclasses that are specific to the related list tables and the list
723         view tables.
724         * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
725         the vertical size a little because the buttons add a bit of vertical
726         space to table. This is not a perfect solution because the vertical
727         size of with table fewer than 5 rows will be a little smaller.
728         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
729         changes in how navigation buttons are handled.
730         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
731         getSuitableRecordToViewDetails() using the new RelatedListNavigation
732         database access object.
733         * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
734         to find the portal for a given relationship name from
735         RelatedListDBAccess. Add method to find a primary key field for a
736         given table.
737         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
738         Move code to find the portal for a given relationship name to
739         DBAccess.
740         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
741         New file: database access object for getting the related list
742         navigation information (the table name and the primary key value).
743         * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
744         DTO for transferring a table name to navigate to and a primary key
745         value.
746         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
747         boolean and getter/setter to specifies if the related list should add
748         navigation buttons.
749
750 2011-10-24  Murray Cumming  <murrayc@murrayc.com>
751
752         Use the master branch of java-libglom
753
754         * pom.xml: Depend on java-libglom 1.19 instead.
755         
756         This is the master branch. See also the libglom-1-18 branch.
757
758 2011-10-11  Ben Konrath  <ben@bagu.org>
759
760         Enable the open navigation button when the data has been set.
761
762         This avoids having active buttons that don't do anything when the data
763         has not been set.
764
765         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
766
767 2011-10-11  Ben Konrath  <ben@bagu.org>
768
769         Use IsWidget interface for FlowTableItem.
770
771         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
772         FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
773
774 2011-10-11  Ben Konrath  <ben@bagu.org>
775
776         Remove GWT styling from open button in details view.
777
778         There are still some issues with how the details cell is arranged but
779         this should be made to match Glom 1.20. I'm going to leave fixing this
780         until I have Glom 1.20 up and running.
781
782         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
783         style name on open button.
784         * src/main/webapp/style.css: Move and edit details-navigation class.
785         Re-arrange some classes to make them appear in the same order as the
786         UI.
787
788 2011-10-07  Ben Konrath  <ben@bagu.org>
789
790         Update to GWT 2.4.0.
791
792         * .gitignore: Ignore new cache directory.
793         * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
794         * pom.xml: Change GWT and maven plugin to 2.4.0.
795         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
796         2.4.0.
797         * src/main/java/org/glom/web/client/ClientFactory.java:
798         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
799         * src/main/java/org/glom/web/client/OnlineGlom.java:
800         Update source for API changes.
801         * utils/build-onlineglom-war.sh: Remove cache directory before the
802         build.
803
804 2011-10-07  Ben Konrath  <ben@bagu.org>
805
806         Add navigation buttons in the details view.
807
808         This isn't finished but I thought I'd commit what I have as it's a
809         pretty good start. I still need to:
810
811         1. Change the style so that it fits better into the current theme
812         2. Adjust the details cell to expand as much as possible.
813
814         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
815         click handlers to navigation buttons in the DetailsCells. Create a
816         refreshData() method to get just the data from the server without the
817         layout.
818         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
819         Update the tableSelector and browser title when the table name
820         changes without using the tableSelector.
821         * src/main/java/org/glom/web/client/ui/DetailsView.java:
822         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
823         getDetailsCells() to getCells(). Update variable names.
824         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
825         method to set click handler on navigation button. Rename a few
826         variables. Add navigation buttons where needed.
827         * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
828         variables and methods.
829         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
830         navigation boolean and navigation table as required in the
831         LayoutItemField DTO.
832         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
833         variables for navigation along with getter/setter methods.
834
835 2011-10-07  Ben Konrath  <ben@bagu.org>
836
837         Rename Field to DetailsCell.
838
839         This is a refactor-only commit. No functionality has been added or
840         removed.
841
842         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
843         Update variable and method names.
844         * src/main/java/org/glom/web/client/ui/DetailsView.java:
845         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
846         variable and method names.
847         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
848         Renamed from Field.
849         * src/main/java/org/glom/web/client/ui/details/Group.java: Update
850         variable and method names.
851
852 2011-10-07  Ben Konrath  <ben@bagu.org>
853
854         Create separate methods for layout and data the details view.
855
856         This is a refactor-only commit. No functionality has been added or
857         removed.
858
859         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
860         private methods: setData(), createLayout().
861
862 2011-10-07  Ben Konrath  <ben@bagu.org>
863
864         Don't use TableSelectorImpl implementation details in TableSelectorActivity.
865
866         This is part of a change to get navigation buttons in the details view
867         but it should have been done this way from the start.
868
869         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
870         for method name change in TableSelectionView.
871         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
872         Create TableChangeEvent and set the browser title using the
873         TableSelectionView API.
874         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
875         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
876         Change getSelectedTable() to getSelectedTableName(). Add
877         getSelectedTableTitle().
878
879 2011-10-07  Ben Konrath  <ben@bagu.org>
880
881         Use primaryKeyValue naming convention in constructor of DetailsPlace.
882
883         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
884
885 2011-10-07  Ben Konrath  <ben@bagu.org>
886
887         Update TableChangeEvent to use newTableName naming convention.
888
889         This makes the class more consistent with GWT naming conventions.
890
891         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
892         Update for method name change in TableChangeEvent.
893         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
894         for method name change in TableChangeEvent.
895         * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
896         newTableName variable and getter method. Make toDebugString()
897         actually work.
898
899 2011-09-30  Ben Konrath  <ben@bagu.org>
900
901         Disable the pager in the list tables when the data row count is less than the minimum.
902
903         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
904         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
905
906 2011-09-30  Ben Konrath  <ben@bagu.org>
907
908         Add empty rows to the end of related list and list view tables.
909
910         I also extracted the cell rendering classes from the ListTable because
911         the code was becoming a little crazy with all the anonymous inner
912         classes. My plan is to use these cell rendering classes in the details
913         view as well so this refactor will be needed for that change.
914
915         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
916         set the row count in related list tables if the data has more rows
917         than the minimum number of rows visible.
918         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
919         row count in list view tables if the data has more rows than the
920         minimum number of rows visible.
921         * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
922         for rendering TYPE_BOOLEAN cells. The code was extracted from the
923         ListTable class.
924         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
925         for rendering TYPE_NUMERIC cells. The code was extracted from the
926         ListTable class.
927         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
928         class for rendering cells with buttons in list views. The code was
929         extracted from the ListTable class.
930         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
931         for rendering TYPE_TEXT cells. The code was extracted from the
932         ListTable class.
933         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
934         Add empty rows to the end of the data if required. Implement
935         ListTable.getMinNumVisibleRows().
936         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
937         cell renderer code to public classes. Return null in
938         Column.getValue() for empty rows. Add new abstract method:
939         getMinNumVisibleRows(). Move code to set the row count of the list view
940         table to ListViewImpl.
941         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
942         empty rows to the end of the data if required. Implement
943         ListTable.getMinNumVisibleRows().
944
945
946 2011-09-27  Ben Konrath  <ben@bagu.org>
947
948         Use GWT.log for client-side debugging statements.
949
950         These are optimized out when deployed so I should have used this method
951         in the first place. These statements will eventually be replaced with some sort
952         of notification in the browser.
953
954         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
955         * src/main/java/org/glom/web/client/activity/ListActivity.java:
956         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
957         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
958         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
959
960 2011-09-27  Ben Konrath  <ben@bagu.org>
961
962         Put tableselector on the right, back to list link on right.
963
964         The idea is that the table selector is acting like a label for the
965         currently displayed table so it should be placed below the document title. This
966         puts the table title in a similar position to where it is in Glom.
967
968         * mockups/details-contacts.html:
969         * mockups/details-projects.html:
970         * mockups/listview-contacts.html:
971         * mockups/listview-projects.html:
972         * mockups/style.css:
973         Update mockups to match how the interfaces currently look.
974         * src/main/webapp/style.css: Swap positions of backlink with the table
975         selector. Add some space on the left side of the table selector to
976         line things up with the document title.
977
978 2011-09-27  Ben Konrath  <ben@bagu.org>
979
980         Add field colouring to details view.
981
982         This change re-works how field colouring works. The colour formatting
983         information is now set to the client with the layout information instead of
984         with the data. This eliminates the need to send the same colour strings for
985         data in list view column when colour information is set.
986
987         In order to set an alternate colour for negative numeric values, the
988         number is now sent to client and formatted with the GWT NumberFormat class.
989
990         This change also fixes:
991
992         https://bugzilla.gnome.org/show_bug.cgi?id=659752
993
994         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
995         internationalization framework which is needed for client side numeric
996         formatting.
997         * src/main/java/org/glom/web/client/Utils.java: New file for some
998         client static utility methods.
999         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1000         the DataItem object to the Field class. Use a utility method to
1001         create the foreignKeyValue string.
1002         * src/main/java/org/glom/web/client/ui/details/Field.java: Set
1003         alignment and text colours in the constructor. Add setData(DataItem)
1004         method. Remove setText(String) method.
1005         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
1006         colour information to GlomTextCell. Create and use GlomNumberCell for
1007         rendering numbers. Use utility method to get the string for the
1008         primary key of the key provider. Re-work how the horizontal alignment
1009         is set.
1010         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1011         formatting to layout information. Methods for converting the libglom
1012         formatting information were moved from DBAccess.
1013         * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
1014         numeric formatting (it's now done on the client side). Don't set text
1015         colours in DataItem. Move libglom formatting conversion methods to
1016         ConfiguredDocument.
1017         * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
1018         getters/setters for text colour information.
1019         * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
1020         for transferring the libglom NumericFormat information to the client.
1021         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
1022         and getters/setters for: GlomNumericFormat, background colour and
1023         foreground colour strings.
1024
1025 2011-09-26  Ben Konrath  <ben@bagu.org>
1026
1027         Simplify code that iterates through the LayoutGroup.
1028
1029         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1030
1031 2011-09-26  Ben Konrath  <ben@bagu.org>
1032
1033         Accept Eclipse formatting for OnlineGlomServiceAsync.
1034
1035         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1036
1037 2011-09-26  Ben Konrath  <ben@bagu.org>
1038
1039         Don't use the ListDBAccess classes to get the primary key layout information.
1040
1041         This was causing a bug where the wrong index for the hidden primary key
1042         was being sent to the client.
1043
1044         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
1045         primary key while creating the LayoutGroup DTO. Create a
1046         LayoutItemField DTO for hidden primary keys. Don't use the
1047         RelatedListDBAccess because it was only used for getting the primary
1048         key.
1049         * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
1050         access modifier from public to protected for getPrimaryKeyField() and
1051         getPrimaryKeyLayoutItemField().
1052         * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
1053         abstract method getExpectedResultSize() because RelatedListDBAccess
1054         doesn't have enough info to implement it.
1055         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1056         Remove @Override for getExpectedResultSize().
1057         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1058         Remove method getExpectedResultSize().
1059
1060 2011-09-23  Ben Konrath  <ben@bagu.org>
1061
1062         Log which layout (list or details) the ignored item is from.
1063
1064         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1065
1066 2011-09-23  Ben Konrath  <ben@bagu.org>
1067
1068         Remove annotations that turn off code formatting in DataItem.
1069
1070         * src/main/java/org/glom/web/shared/DataItem.java:
1071
1072 2011-09-23  Ben Konrath  <ben@bagu.org>
1073
1074         Rename GlomField to DataItem and update associated methods.
1075
1076         This is a rename-only refactor. No functionality has been added or
1077         removed.
1078
1079         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1080         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1081         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1082         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1083         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1084         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1085         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1086         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1087         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1088         * src/main/java/org/glom/web/server/database/DBAccess.java:
1089         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1090         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1091         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1092         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1093         * src/main/java/org/glom/web/shared/DataItem.java:
1094         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
1095         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1096
1097 2011-09-23  Ben Konrath  <ben@bagu.org>
1098
1099         Rename GlomDocument to DocumentInfo and update associated methods.
1100
1101         This is a rename-only refactor. No functionality has been added or
1102         removed.
1103
1104         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1105         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1106         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1107         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1108         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1109         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1110         * src/main/java/org/glom/web/shared/DocumentInfo.java:
1111
1112 2011-09-20  Ben Konrath  <ben@bagu.org>
1113
1114         Require java-libglom 1.17.3.
1115
1116         This picks up the fix for the seg fault problem with the Scenes table
1117         in the Openismus Film Manager example.
1118
1119         * pom.xml:
1120
1121 2011-09-20  Ben Konrath  <ben@bagu.org>
1122
1123         Change the way sort clause is added for primary key when no sort clause is requested.
1124
1125         The primary key is now added to the LayoutFieldVector (fieldsToGet)
1126         before the sort clause is created. When a sort clause is not requested, the
1127         sort clause is created by finding the primary key in the LayoutFieldVector
1128         (fieldsToGet).
1129
1130         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1131
1132 2011-09-20  Ben Konrath  <ben@bagu.org>
1133
1134         Log error message if no documents are found in the configured directory.
1135
1136         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
1137         Extract the glom file extension string to a private static final class
1138         variable (mostly as syntactic sugar). Accept a minor formatting change.
1139         * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
1140         the example glom.document.directory configuration property to make it
1141         more clear that it can any directory, not just the home directory.
1142
1143 2011-09-18  Ben Konrath  <ben@bagu.org>
1144
1145         Add related lists to details view.
1146
1147         The related list table has support for paging and sorting just like the
1148         table in the list view.
1149
1150         * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
1151         SQL queries for the related list tables.
1152         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1153         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1154         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1155         Rename getList methods to getListView and add comments. Remove
1156         getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
1157         it being unused. Add methods: getDetailsLayoutAndData(),
1158         getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
1159         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1160         Create the layout and set the data for the fields in one async call
1161         instead of two. Create related lists where appropriate.
1162         * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
1163         for method name changes in OnlineGlomService.
1164         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1165         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
1166         addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
1167         visible UI objects.
1168         * src/main/java/org/glom/web/client/ui/ListView.java:
1169         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
1170         tableName from setCellTable(). Create a ListViewTable instead of
1171         ListTable.
1172         * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
1173         represent a data field in the details view.
1174         * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
1175         from addDetailsCell() to Field class. Keep track of the Fields and
1176         Portals in the details view.
1177         * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
1178         a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
1179         and add a method to get it. Add method to set the contents of the
1180         portal.
1181         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1182         New class for related list tables. This class has the data provider
1183         for the related list table.
1184         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
1185         abstract class which is the base class for the ListViewTable and the
1186         RelatedListTable.
1187         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1188         New class for list view tables. This class has the data provider for
1189         the list view table.
1190         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1191         methods for related list tables. Add more information to the
1192         LayoutItemField and LayoutItemPortal DTOs.
1193         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1194         Remove debugging print statement.
1195         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1196         Remove debugging print statements. Add primary key field to SQL count
1197         query.
1198         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1199         Remove unnecessary LayoutFieldVector parameter from
1200         getResultSizeOfSQLQuery() method.
1201         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1202         New class for related list table database access.
1203         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
1204         class that is a wrapper DTO for details view layout and data.
1205         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1206         new 'fromField' string to this DTO.
1207         * src/main/webapp/style.css: Remove bottom margin and override top
1208         margin with 0em.
1209
1210 2011-09-15  Ben Konrath  <ben@bagu.org>
1211
1212         Breakup the OnlineGlomServiceImpl class to make it more manageable.
1213
1214         This sets things up to make it easier to add the data retrieval for
1215         related lists (portals). No user noticeable changes were made with
1216         this commit.
1217
1218         * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
1219         class has the code to retrieve the layouts and access the
1220         database using the new database helper classes.
1221         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1222         Most of the functionality has been removed from this class. This
1223         class now represents the public interface for the client side
1224         code. It also deals with configuring the servlet and cleaning
1225         things up when the servlet is stopped.
1226         * src/main/java/org/glom/web/server/Utils.java: Extract a couple
1227         of static methods into this utility class.
1228         * src/main/java/org/glom/web/server/database/DBAccess.java:
1229         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1230         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1231         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1232         These classes have the database retrieval code. The class hierarchy
1233         has been setup to make it easy to reuse code for similar
1234         functionality.
1235
1236 2011-09-06  Ben Konrath  <ben@bagu.org>
1237
1238         Create separate classes for list table code and the data provider.
1239
1240         As part of this refactor, I also split up the code a bit to make it
1241         more manageable.
1242
1243         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
1244         table code to two new classes (below).
1245         * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
1246         with code from ListViewImpl.
1247         * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
1248         New file with code from ListViewImpl.
1249
1250 2011-09-06  Ben Konrath  <ben@bagu.org>
1251
1252         Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
1253
1254         This fixes the LayoutItemPortal DTO to match the libglom layout object
1255         hierarchy.
1256
1257         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
1258
1259 2011-09-01  Ben Konrath  <ben@bagu.org>
1260
1261         Set title of Portals in the Details View.
1262
1263         * pom.xml: Bump required version of java-libglom to 1.17.1.
1264         * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
1265         widget creation to its own class. Add comments to constructor.
1266         * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
1267         The code is mostly from the Group class with the title now set.
1268         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1269         title of Portal. Update some comments. Fix some code formatting.
1270
1271 2011-09-01  Ben Konrath  <ben@bagu.org>
1272
1273         Remove TODO comment for the flow table column width.
1274
1275         The flow table column width is working correctly and doesn't need to be
1276         changed. See this mailing list post for more info:
1277
1278         https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
1279
1280         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
1281
1282 2011-08-27  Ben Konrath  <ben@bagu.org>
1283
1284         Add document title (database name) to top of the browser page.
1285
1286         I added the document title to the TableSelecitonView but that will
1287         change if / when we add a view that doesn't require table selection.
1288
1289         * mockups/details-contacts.html:
1290         * mockups/details-projects.html:
1291         * mockups/listview-contacts.html:
1292         * mockups/listview-projects.html:
1293         * mockups/style.css: Add document title to mockups to keep things
1294         consistent.
1295         * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
1296         sizes to account for the document title.
1297         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1298         Set the document title when it has been retrieved from the server.
1299         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1300         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
1301         and implement setDocumentTitle(String) method.
1302         * src/main/webapp/style.css: Add ID for document title style.
1303
1304 2011-08-25  Ben Konrath  <ben@bagu.org>
1305
1306         Add NavigationType enum to LayoutItemPortal DTO.
1307
1308         This is the start of adding support for Portals to the Details View.
1309
1310         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
1311         LayoutItem_Portal.navigation_type enum from libglom to
1312         LayoutItemPortal.NavigationType enum.
1313         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1314         NavigationType enum, field for storing the NavigationType and getter
1315         and setter methods.
1316
1317 2011-08-25  Ben Konrath  <ben@bagu.org>
1318
1319         Implement the flow table layout in the Details View.
1320
1321         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1322         FlowTable to Group to account for the renamed class.
1323         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
1324         File. This is a container widget that implements the Glom details view
1325         flow table behaviour.
1326         * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
1327         org/glom/web/client/ui/FlowTable.java.
1328         * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
1329         so that the size of the subgroups are a closer match to the size of
1330         the Glom subgroups. This makes the flowtable layout match the layout
1331         in Glom for the Music Collection example file.
1332
1333 2011-08-16  Ben Konrath  <ben@bagu.org>
1334
1335         Create container element for LayoutItemPortal in Details View.
1336
1337         This will help me develop the layout for the FlowTable.
1338
1339         * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
1340         fieldPanel variable to detailsCell.
1341
1342 2011-08-15  Ben Konrath  <ben@bagu.org>
1343
1344         Set the height of the data element in the Details View.
1345
1346         I changed the InlineLabels (text in a span element) to Labels (text in
1347         a div element) so that I could set the height of the details-data
1348         elements instead of the details-cell parent elements. This allows the
1349         the details-data element to display the correct height if style is
1350         applied that shows the height.
1351
1352         This change has the added benefit of allowing the order of the labels
1353         and data elements to be changed for right-to-left languages.
1354
1355         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1356         InlineLabels to Labels.
1357         * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
1358         InlineLabels to Labels. Set the height of the data element.
1359         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1360         multiline text height in the Formatting DTO.
1361         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
1362         for multiline height along with getter and setter methods.
1363         * src/main/webapp/style.css: Adjust style to account for the change
1364         from span elements to div elements in the details cell.
1365
1366 2011-08-15  Ben Konrath  <ben@bagu.org>
1367
1368         Make the List View appearance match the mockups.
1369
1370         It doesn't match exactly but it's much better than it was.
1371
1372         * mockups/listview-contacts.html: Remove unused css classes.
1373         * mockups/listview-projects.html: Remove unused css classes.
1374         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
1375         rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
1376         for mainPanel instead of VerticalPanel (table). Set style name on
1377         CellTable. Set style name on Details column. Right-align Details
1378         buttons.
1379         * src/main/webapp/style.css: Adjust properties to match the mockups.
1380
1381 2011-08-12  Ben Konrath  <ben@bagu.org>
1382
1383         Add better support for subgroups in the details view.
1384
1385         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1386         changed FlowTable constructor.
1387         * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
1388         support for subgroups and subgroup-titles.
1389         * src/main/webapp/style.css: Add CSS class for subgroups and
1390         subgroup-titles.
1391
1392 2011-08-12  Ben Konrath  <ben@bagu.org>
1393
1394         Return the top level LayoutGroup title.
1395
1396         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1397
1398 2011-08-11  Ben Konrath  <ben@bagu.org>
1399
1400         Make the TableSelector header match the mockup.
1401
1402         * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
1403         the layout panel. Properly lineup the table selection header with
1404         the list and details view.
1405         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
1406         margin around the details view.
1407         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1408         Rename listBox variable to tableSelector. Set id for the style sheet.
1409         Use a FlowPanel instead of a HorizontalPanel.
1410         * src/main/webapp/style.css: Add properties to make the TableSelector
1411         box match the mockups.
1412
1413 2011-07-13  Ben Konrath  <ben@bagu.org>
1414
1415         Update install script for java-libglom version change.
1416
1417         * utils/install-onlineglom-war.sh: Also exit if 'make check' in
1418         java-libglom fails.
1419
1420 2011-07-13  Ben Konrath  <ben@bagu.org>
1421
1422         Add support sub-group in the details view.
1423
1424         I also removed the code that special-cased the default details view
1425         layout. See:
1426
1427         http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
1428
1429         I still have to make a proper flowtable.
1430
1431         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1432         Don't special-case default details view layout.
1433         * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
1434         addLayoutField() as I'm going to use it.
1435         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
1436         GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
1437         method.
1438         * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
1439         extracted from DetailsViewImpl.GroupPanel. Add support for
1440         sub-groups.
1441         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1442         column count when getting the details layout.
1443
1444 2011-07-12  Ben Konrath  <ben@bagu.org>
1445
1446         Set browser title with database and table titles.
1447
1448         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1449         Set the browser title when the table changes and when the activity
1450         first starts.
1451         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1452         title when retrieving document info (the GlomDocument object).
1453         * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
1454         with getter and setter methods. Remove unused convenience constructor.
1455         Use default code formatting.
1456
1457 2011-07-12  Ben Konrath  <ben@bagu.org>
1458
1459         Ignore LayoutItemPortals in the details view.
1460
1461         I added a new DTO for the LayoutItemPortal so that I can ignore it in
1462         the client code.
1463
1464         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
1465         LayoutItemPortal layout objects.
1466         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1467         LayoutItemPortal objects when retrieving the details layout.
1468         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
1469         file. This is an empty class and just used to get type information for
1470         now.
1471
1472 2011-07-12  Ben Konrath  <ben@bagu.org>
1473
1474         Use java-libglom 1.17.0.
1475
1476         * pom.xml:
1477
1478 2011-07-11  Ben Konrath  <ben@bagu.org>
1479
1480         Remove "Table:" label from table selector.
1481
1482         This matches a recent change in the Glom UI.
1483
1484         * mockups/details-contacts.html:
1485         * mockups/details-projects.html:
1486         * mockups/listview-contacts.html:
1487         * mockups/listview-projects.html: Remove the "Table:" label from the
1488         mockups as well.
1489         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1490
1491 2011-07-11  Ben Konrath  <ben@bagu.org>
1492
1493         Add main groups to the details view.
1494
1495         This makes things look a little nicer in the details view. The next step
1496         is to implement the flowtable.
1497
1498         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
1499         resources from the standard gwt css theme. Standard.css is now
1500         included in OnlineGlom.html so that the online glom css rules have
1501         precedence over the gwt theme.
1502         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1503         the whole LayoutGroup to the DetailsView instead of just the titles.
1504         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1505         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
1506         details layout with a helper class (GroupPanel). I might extract this
1507         class when I make the full flowtable.
1508         * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
1509         string as default so I don't have to worry about NPEs when processing
1510         the layout objects.
1511         * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
1512         note beside OnlineGlom.gwt.xml above).
1513         * src/main/webapp/style.css: Add default font-size to body to override
1514         the font-size set by the standard theme. Don't use h2 tags for
1515         group-title. Create new details-cell class.
1516
1517 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1518
1519         ConfiguredDocument: Set the port number too.
1520
1521         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1522         (ConfiguredDocument.ConfiguredDocument): Get the port number from the 
1523         Glom document. Presumably this worked sometimes so far because there is a 
1524         default port number.
1525
1526 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1527
1528         ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
1529
1530         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1531         (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is 
1532         correct, though we should throw an exception too.
1533
1534 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1535
1536         Fix a addDocuemnt typo.
1537
1538         * src/main/java/org/glom/web/shared/Documents.java
1539         (Documents.addDocuemnt): Rename to addDocument().
1540         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1541         (OnlineGlomServiceImpl.getDocuments): Adapt.
1542         
1543 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1544
1545         Slightly improved log output when connection fails.
1546
1547         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1548         (ConfiguredDocument.setUsernameAndPassword):
1549         We don't know for sure if it' the username/password that's wrong, so 
1550         rephrase the message.
1551         Also ouput the exception message, though it's generic in this case.
1552
1553 2011-07-08  Ben Konrath  <ben@bagu.org>
1554
1555         Cleanup comments.
1556
1557         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
1558         added braces to a one line if statement because the Eclipse formatter
1559         was getting confused.
1560
1561 2011-07-07  Ben Konrath  <ben@bagu.org>
1562
1563         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
1564
1565         These should really be two separate tasks but I counldn't get things to
1566         work with GWT 2.2.0 and Eclipse 3.7.
1567
1568         * .classpath:
1569         * .project:
1570         * .settings/org.eclipse.jdt.core.prefs:
1571         * .settings/org.eclipse.jdt.ui.prefs:
1572         * .settings/org.eclipse.ltk.core.refactoring.prefs:
1573         * .settings/org.eclipse.m2e.core.prefs:
1574         Add new config files. Update current files. Remove references to the
1575         webtools plugins as we're not using any of the webtools features.
1576         * .gitignore: Add logs directory which is created when running with
1577         'mvn gwt:run'.
1578         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
1579         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
1580         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
1581         limitation:
1582         http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
1583
1584 2011-07-07  Murray Cumming  <murrayc@murrayc.com>
1585
1586         onlineglom.properties: Add explanatory comments.
1587
1588         * src/main/resources/onlineglom.properties: Also change the default user 
1589         from ben to someuser, to avoid the risk of people thinking we just 
1590         stupidly hard-coded a locale path, when they see that on stderr or in a log.
1591
1592 2011-06-28  Ben Konrath  <ben@bagu.org>
1593
1594         Use filename in Log for incorrect passwords.
1595
1596         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1597         getFileName(String) method to get the filename from the URI.
1598
1599 2011-06-28  Ben Konrath  <ben@bagu.org>
1600
1601         Add the table name to the URL token for the ListPlace.
1602
1603         This makes things consistent between the DetailsPlace and the
1604         ListPlace. It also allows the the ListPlace to be bookmarked.
1605
1606         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1607         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1608         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1609         Remove getDefaultListLayout(). The default layout is now returned
1610         by the getListLayout() method when the table name is an empty string.
1611         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1612         Add table name field. Change to a new ListPlace when the table
1613         has been changed. Use getListLayout() for getting the default
1614         list layout.
1615         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1616         Add table name field. Set the correct table name in the list box
1617         when loading from bookmark. This corrects a problem for the
1618         DetailsPlace too.
1619         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1620         Move table name to super-class (HasSelectableTable). Move document
1621         and table URL keys to super-class in HasSelectableTable.
1622         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1623         Add table name field. Add Tokenizer class with URL key common to
1624         the subclasses (DetailsPlace and ListPlace).
1625         * src/main/java/org/glom/web/client/place/ListPlace.java:
1626         Add table name. Add code to parse the URL token.
1627         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1628         Update ListPlace construction with empty table name string.
1629         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1630         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1631         Change setTableSelectedIndex(int) to setSelectedTableName(String).
1632         Update ListPlace construction with table name string.
1633         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1634         Change defaultTableName field to tableName to reflect how it's now
1635         used. Update the getter and setter methods.
1636
1637 2011-06-28  Ben Konrath  <ben@bagu.org>
1638
1639         Enable the table selector in the DetailsView.
1640
1641         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1642         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1643         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1644         Remove getDefaultDetailsLayout(). The default layout is now returned
1645         by the getDetailsLayout() method when the table name is an empty
1646         string.
1647         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1648         event handler for table change event. Change to using
1649         getDetailsLayout() for the default details layout.
1650         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
1651         name to URL token.
1652         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
1653         when navigating to the details place.
1654
1655 2011-06-27  Ben Konrath  <ben@bagu.org>
1656
1657         Use filename based unique document ID in URL and for RPC.
1658
1659         The document ID is the glom document name with spaces (' ') replaced
1660         with pluses ('+') and without the .glom extension.
1661
1662         This change is mostly a string substitution of 'documentTitle' for
1663         'documentID'. The only code change is the addition of a Documents DTO to get the
1664         filename to document title mappings as indicated below.
1665
1666         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1667         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1668         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1669         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1670         Use Documents DTO to create the document links in the document
1671         selection view.
1672         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1673         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1674         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1675         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1676         * src/main/java/org/glom/web/client/place/ListPlace.java:
1677         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1678         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1679         * src/main/java/org/glom/web/client/ui/ListView.java:
1680         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1681         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1682         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1683         * src/main/java/org/glom/web/server/Log.java:
1684         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1685         getDocumentTitles() to getDocuments() and return the Documents DTO.
1686         * src/main/java/org/glom/web/shared/Documents.java: New DTO for
1687         transferring the filename to document title mappings.
1688
1689 2011-06-25  Ben Konrath  <ben@bagu.org>
1690
1691         Make the authentication popup work again.
1692
1693         This bug was introduced when I extracted ConfiguredDocument to its own class.
1694
1695         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
1696         correct success / fail status in setUsernameAndPassword().
1697
1698 2011-06-25  Ben Konrath  <ben@bagu.org>
1699
1700         Use filename as unique key for configuring database usernames and passwords.
1701
1702         This replaces the use of the Glom document title which could change
1703         depending on the locale. Thanks to Murray Cumming for pointing out this
1704         problem.
1705
1706         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1707         * src/main/resources/onlineglom.properties:
1708
1709 2011-06-24  Ben Konrath  <ben@bagu.org>
1710
1711         Pass primary key value to DetailsView.
1712
1713         This enables the DetailsView to load the correct data.
1714
1715         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1716         primary key value field and set in constructor. Pass primary key
1717         value to getDetailsData().
1718         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
1719         variables for document title and primary key value.
1720         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
1721         key value to the DetailsPlace.
1722
1723 2011-06-24  Ben Konrath  <ben@bagu.org>
1724
1725         Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
1726
1727         This allows the primary key to be retrieved by the Details button. This
1728         functionality has not been implemented yet but it's in the works.
1729
1730         * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
1731         the LayoutGroup result to ListView.setCellTable instead of all of its
1732         fields individually.
1733         * src/main/java/org/glom/web/client/ui/ListView.java:
1734         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
1735         LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
1736         get the primary key for the table.
1737         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1738         index of the primary key in the LayoutGroup accounting for hidden
1739         primary keys. Rename getJavaNumberFormat() to
1740         convertToJavaNumberFormat() for consistency. Cleanup / add some
1741         comments.
1742         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
1743         field for primary key index and a field to indicate whether the
1744         primary key is hidden or not.
1745
1746 2011-06-23  Ben Konrath  <ben@bagu.org>
1747
1748         Rename getTableData methods to getListData.
1749
1750         This is a rename refactor for consistency with other methods.
1751
1752         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1753         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1754         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1755         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1756
1757 2011-06-23  Ben Konrath  <ben@bagu.org>
1758
1759         Extract the ConfiguredDocument innerclass into its own class.
1760
1761         This makes the servlet code more object oriented.
1762
1763         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1764         from private ConfiguredDocument class in OnlineGlomServiceImpl.
1765         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1766         new ConfiguredDocument class.
1767
1768 2011-06-21  Ben Konrath  <ben@bagu.org>
1769
1770         Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1771
1772         This makes things more inline with how libglom works and reduces code
1773         duplication. This refactor lays the groundwork for adding the primary key to
1774         the LayoutGroup object.
1775
1776         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1777         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1778         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1779         Change method names to getListLayout and getDefaultListLayout for
1780         consistency. Use LayoutGroup as the DTO for the list layout instead of
1781         ColumnInfo and LayoutListTable.
1782         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1783         new method names along with the LayoutGroup object for transferring the
1784         list layout.
1785         * src/main/java/org/glom/web/client/ui/ListView.java:
1786         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1787         Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1788         * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1789         with LayoutGroup.
1790         * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1791         Replaced with LayoutGroup.
1792         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1793         expectedResultSize and defaultTableName fields which are needed for
1794         the list layout.
1795         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1796         type field which is needed for the list layout but will also be
1797         useful for the details layout as things progress.
1798         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1799         Make class abstract. Remove the unnecessary
1800         getFormattingHorizontalAlignment method. Add setFormatting method.
1801
1802 2011-06-16  Ben Konrath  <ben@bagu.org>
1803
1804         Add scripts for building and installing war.
1805
1806         These will help when updating OnlineGlom but they're also good
1807         supplemental documentation of the build and deployment proceeding.
1808
1809         * utils/build-onlineglom-war.sh: New file.
1810         * utils/install-onlineglom-war.sh: New file.
1811
1812 2011-06-16  Ben Konrath  <ben@bagu.org>
1813
1814         Create wrapper class to create consistent log messages.
1815
1816         I wrapped methods in the Log class of gwt-log to add the method names
1817         from the servlet and create consistent formatting of the document title
1818         and table names in the log messages.
1819
1820         * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1821         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1822         log methods to use methods from wrapped Log class.
1823
1824 2011-06-16  Ben Konrath  <ben@bagu.org>
1825
1826         Remove superfluous conditional return.
1827
1828         Thanks to Murray Cumming for pointing this out!
1829
1830         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1831
1832 2011-06-15  Ben Konrath  <ben@bagu.org>
1833
1834         Return an ArrayList of LayoutGroups for the Details layout.
1835
1836         This corrects a problem with the details layout as it can have more
1837         than one top level LayoutGroup.
1838
1839         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1840         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1841         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1842         an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1843         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1844         with ArrayList of LayoutGroups for the details view layout.
1845         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1846         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1847         ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1848         getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1849         the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1850         getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1851
1852 2011-06-14  Ben Konrath  <ben@bagu.org>
1853
1854         Use cast_dynamic method to determine the libglom LayoutItem type.
1855
1856         This is better than finding the LayoutItem type by using the string
1857         returned from the get_part_type_name() method.
1858
1859         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1860
1861 2011-06-14  Ben Konrath  <ben@bagu.org>
1862
1863         Add method names to log entries in the servlet.
1864
1865         This helps when tracking down deployment problems.
1866
1867         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1868
1869 2011-06-14  Ben Konrath  <ben@bagu.org>
1870
1871         Add data to the DetailsView using a hard-coded primary key value.
1872
1873         The layout and functionality of the DetailsView is not complete. This
1874         is just a checkpoint so the patch doesn't get too big.
1875
1876         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1877         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1878         Add getDetailsData() servlet method.
1879         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1880         Add RPC to getDetailsData(). Change the way the LayoutGroups and
1881         LayoutFields are added to the DetailsView.
1882         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1883         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1884         Add setData() method. Change addLayoutGroup() and addLayoutField() to
1885         take the string for the title instead of the object.
1886         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1887         Add implementation getDetailsData() along with some private helper
1888         methods.
1889         * src/main/webapp/style.css: Add padding to details-data class. Add a
1890         details-label class with the same padding as the details-data class.
1891
1892 2011-06-03  Ben Konrath  <ben@bagu.org>
1893
1894         Use presenter.goTo() to change to the DetailsPlace.
1895
1896         This will make things easier when we need to open the DetailsView with
1897         data specific to the row that was clicked.
1898
1899         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1900
1901 2011-06-02  Ben Konrath  <ben@bagu.org>
1902
1903         Add CSS file from mockups.
1904
1905         I'm adding this now because it's going to be useful to have when
1906         developing the DetailsView. The TableSelectionView and ListView aren't
1907         setup properly yet.
1908
1909         * src/main/webapp/OnlineGlom.html:
1910         * src/main/webapp/style.css:
1911
1912 2011-06-02  Ben Konrath  <ben@bagu.org>
1913
1914         Use String.isEmpty() to check for empty string.
1915
1916         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1917
1918 2011-06-02  Ben Konrath  <ben@bagu.org>
1919
1920         Display main layout group titles in the DetailsView.
1921
1922         This is the start of the DetailsActivity/DetailsView implementation.
1923
1924         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1925         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1926         Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1927         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1928         Get the layout information for the details view from the server and set
1929         the main layout group titles.
1930         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1931         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1932         Add addLayoutGroup() and addLayoutField() methods. This are just
1933         temporary methods for creating the the details view that will change
1934         in the future.
1935         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1936         Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1937         methods.
1938         * src/main/java/org/glom/web/shared/layout/Formatting.java:
1939         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1940         * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1941         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1942         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1943         Data Transfer Objects that mimic the libglom object structure. These are
1944         used for transferring the details layout but could also be used for
1945         transferring the list layout.
1946
1947 2011-05-27  Ben Konrath  <ben@bagu.org>
1948
1949         Reset the AuthenticationPopup when clearing the ListView.
1950
1951         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1952
1953 2011-05-27  Ben Konrath  <ben@bagu.org>
1954
1955         Fix problem with onlineglom.properties file loading.
1956
1957         The old way worked in Eclipse but not on the server. Loading the
1958         onlineglom.properties file now works in Eclipse and on the server.
1959
1960         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1961
1962 2011-05-24  Ben Konrath  <ben@bagu.org>
1963
1964         Update gwt-log from 3.1.0 to 3.1.2.
1965
1966         Gwt-log 3.1.0 has been marked as depreciated.
1967
1968         * pom.xml:
1969
1970 2011-05-24  Ben Konrath  <ben@bagu.org>
1971
1972         Add comment to ListActivity.goTo() method.
1973
1974         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1975
1976 2011-05-24  Ben Konrath  <ben@bagu.org>
1977
1978         Remove FIXME in convertGdkColorToHtmlColour()
1979
1980         The Gdk::Color value returned by libglom is 16-bits per channel on both
1981         64 and 32-bit platforms.
1982
1983         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1984
1985 2011-05-19  Ben Konrath  <ben@bagu.org>
1986
1987         Improve performance of initial ListView load.
1988
1989         I removed a round trip to the server for getting the default table name
1990         and then requesting information about that table. This also removes a potential
1991         problem with the table change handler not being setup in time to receive the
1992         table change event from the ListActivity.
1993
1994         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1995         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1996         getDefaultLayoutListTable() method. Improve comments.
1997         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1998         getDefaultLayoutListTable() method instead of firing a table change
1999         event to get the table to load.
2000         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2001         implementation of getDefaultLayoutListTable() method.
2002         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
2003         table name.
2004
2005 2011-05-19  Ben Konrath  <ben@bagu.org>
2006
2007         Override toDebugString() in TableChangeEvent.
2008
2009         This is useful to have for debugging.
2010
2011         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
2012
2013 2011-05-19  Ben Konrath  <ben@bagu.org>
2014
2015         Add a "Back to List" link when at the DetailsPlace.
2016
2017         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2018         Populate the CellTable based on the selected table of the ListBox if
2019         it's set otherwise use the default table. This allows the "Back to
2020         List" link to work.
2021         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2022         Remove Place from constructors. Add a setPlace() method. Add
2023         goToPlace() method. Set class as presenter for TableSelectionView.
2024         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2025         Use the same TableSelectionActivity when switching between the List and
2026         Details Places.
2027         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2028         Subclass the new HasSelectableTablePlace. This removes some duplicate
2029         code.
2030         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
2031         New class to represent Places that display the TableSelectionView.
2032         * src/main/java/org/glom/web/client/place/ListPlace.java:
2033         Subclass the new HasSelectableTablePlace. This removes some duplicate
2034         code.
2035         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2036         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2037         Add Presenter interface. Add setBackLinkVisible() method. Add
2038         setBackLink() method.
2039
2040 2011-05-18  Ben Konrath  <ben@bagu.org>
2041
2042         Enable the "Details" buttons.
2043
2044         Right now only an empty details view is displayed.
2045
2046         * src/main/java/org/glom/web/client/ClientFactory.java:
2047         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2048         Add DetailsView to ClientFactory.
2049         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2050         A basic activity for the details view.
2051         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2052         Add a new constructor that takes a DetailsPlace. Rename shutdown() to
2053         clearView().
2054         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2055         Add DetailsPlace.Tokenizer to the list of tokens that are generated by
2056         GWT.
2057         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
2058         Create a new DetailsActivity when a DetailsPlace is requested. Remove
2059         unnecessary super() in constructor.
2060         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2061         Create a new TableSelectionActivity when a DetailsPlace is requested. We
2062         really shouldn't create a new TableSelectionActivity for both the ListPlace
2063         and the DetailsPlace so this should be considered a temporary solution.
2064         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2065         New file. Represents a URL for the details view.
2066         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2067         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
2068         A basic details view interface and implementation.
2069         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2070         Enable the "Details" buttons.
2071
2072 2011-05-12  Ben Konrath  <ben@bagu.org>
2073
2074         Use a LayoutPanel with multiple display areas for main layout.
2075
2076         This is mostly a refactor in that there are no changes from the user
2077         point of view. These changes are required so that we can swap out the list view
2078         with the details view when the user clicks the "Details" button.
2079
2080         * src/main/java/org/glom/web/client/ClientFactory.java:
2081         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
2082         OnlineGlomView. Add TableSelectionView, ListView and
2083         AuthenticationPopup.
2084         * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
2085         for main layout. Add display regions for main activities. Add
2086         activity manager for for main activities.
2087         * src/main/java/org/glom/web/client/activity/ListActivity.java: New
2088         file from parts of the deleted OnlineGlomActivity.
2089         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2090         New file from parts of the deleted OnlineGlomActivity.
2091         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
2092         * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
2093         New files for app wide table change event.
2094         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
2095         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
2096         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2097         Activity mappers for the main activities replace the deleted app-wide
2098         AppActivityMapper.
2099         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
2100         Fix a spelling error in he comment.
2101         * src/main/java/org/glom/web/client/ui/ListView.java:
2102         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2103         Renamed from LayoutListView and modified for MVP. This still not a
2104         proper dumb view as prescribed by the MVP pattern but it works for now.
2105         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2106         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2107         New widget stripped out of the deleted OnlineGlomView.
2108         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2109         Remove hack that is fixed by this patch.
2110
2111 2011-05-06  Ben Konrath  <ben@bagu.org>
2112
2113         Rename OnlineGlomPlace to ListPlace.
2114
2115         The only change besides the rename is that url will now display #list
2116         instead of #Document.
2117
2118         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2119         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
2120         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2121         * src/main/java/org/glom/web/client/place/ListPlace.java:
2122         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2123
2124 2011-05-06  Ben Konrath  <ben@bagu.org>
2125
2126         Use Presenter for app navigation.
2127
2128         This is the proper way to deal with Place (URL) changes with the MVP
2129         framework.
2130
2131         * src/main/java/org/glom/web/client/ClientFactory.java:
2132         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
2133         PlaceHistoryMapper and PlaceHistoryHandler.
2134         * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
2135         PlaceHistoryMapper and PlaceHistoryHandler.
2136         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2137         Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
2138         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
2139         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2140         Add Presenter interface and setPresenter methods. Rename addHyperLink
2141         to addDocumentLink taking only the document title as a parameter.
2142
2143 2011-04-14  Ben Konrath  <ben@bagu.org>
2144
2145         Prompt for db username/password if they haven't been set.
2146
2147         This is implemented with a popup widget that is contained within the
2148         OnlineGlomView and managed by the OnlineGlomActivity.
2149
2150         * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
2151         methods for checking and setting the database username and password.
2152         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
2153         new methods for checking and setting the database username and
2154         password.
2155         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2156         Display authentication popup if the JDBC connection to the database
2157         has not been authenticated.
2158         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
2159         file.
2160         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2161         for dealing with the authentication popup.
2162         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
2163         Implement the methods for dealing with the authentication popup.
2164         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
2165         try to executed queries if the database connection hasn't been
2166         authenticated. Implement methods for checking and setting the
2167         database username and password.
2168
2169 2011-04-12  Ben Konrath  <ben@bagu.org>
2170
2171         Make log messages a little clearer.
2172
2173         Add a dash betweeen the document title and the table name.
2174
2175         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2176
2177 2011-04-12  Ben Konrath  <ben@bagu.org>
2178
2179         Protect against NPEs when cleaning up database resources.
2180
2181         While this isn't strictly necessary because the exception is caught,
2182         not protecting against the NPEs makes it harder to find the real error
2183         in the log file.
2184
2185         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2186
2187 2011-04-12  Ben Konrath  <ben@bagu.org>
2188
2189         Move configuration of the servlet to the constructor.
2190
2191         The servlet will be initialized even if the database authentication
2192         information is not set or correct. I still need to add the UI for prompting
2193         the user for the authentication information when it's required.
2194
2195         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
2196         javadocs for getDocumentTitles() method.
2197         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2198         Set error message when RPC fails.
2199         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
2200         glom files directory from the configuration file. Try to set the
2201         database authentication information for the specific document if it's
2202         set and works otherwise try to use the global authentication
2203         information set for the directory.
2204         * src/main/resources/onlineglom.properties: Moved from
2205         src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
2206         Added detailed comments for the new keys.
2207
2208 2011-04-11  Ben Konrath  <ben@bagu.org>
2209
2210         Remove unnecessary @Override in DocumentSelectionViewImpl.
2211
2212         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2213
2214 2011-04-11  Ben Konrath  <ben@bagu.org>
2215
2216         Remove center alignment in DocumentSelectionView.
2217
2218         The title element is still centred but the document titles and bottom
2219         sentence are both left-aligned.
2220
2221         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
2222
2223 2011-04-11  Ben Konrath  <ben@bagu.org>
2224
2225         Change 'Demo' naming convention to 'Document'.
2226
2227         This is just a rename refactor with no functional changes to the code.
2228
2229         * src/main/java/org/glom/web/client/ClientFactory.java:
2230         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2231         * src/main/java/org/glom/web/client/OnlineGlom.java:
2232         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2233         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2234         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2235         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
2236         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2237         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
2238         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
2239         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2240         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
2241         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2242
2243 2011-04-08  Ben Konrath  <ben@bagu.org>
2244
2245         Remove FIXME from safeLongToInt() method.
2246
2247         Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
2248         this method.
2249
2250         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2251
2252 2011-04-08  Ben Konrath  <ben@bagu.org>
2253
2254         Display an error if no glom documents are found in the specified directory.
2255
2256         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2257         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2258         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2259         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2260
2261 2011-04-08  Ben Konrath  <ben@bagu.org>
2262
2263         Add copyright header to one more file ... oops.
2264
2265         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2266
2267 2011-04-08  Ben Konrath  <ben@bagu.org>
2268
2269         Add copyright header to files without it.
2270
2271         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2272         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
2273         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2274         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2275         * src/main/java/org/glom/web/shared/ColumnInfo.java:
2276         * src/main/java/org/glom/web/shared/GlomField.java:
2277
2278 2011-04-08  Ben Konrath  <ben@bagu.org>
2279
2280         Add support for accessing multiple glom documents in the servlet.
2281
2282         This completes the demo selection functionality.
2283
2284         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
2285         document title to methods.
2286         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2287         document title to methods.
2288         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2289         Set browser window title when the activity starts. Correct name of
2290         document title variable.
2291         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2292         Set browser window title when the activity starts. Set the table
2293         selector change handler after table selector has been set. Clear the
2294         OnlineGlomView when the activity has been stopped.
2295         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
2296         document title as the place token. Use "#Document:" instead of
2297         "#OnlineGlomPlace:" in the URL.
2298         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
2299         Change heading to "Online Glom"
2300         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
2301         document title in RPC methods.
2302         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
2303         setDocumentTitle() method. Add clear() method.
2304         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
2305         setDocumentTitle() method. Implement clear() method which removes the
2306         change handler on the ListBox, clears the ListBox and clears the
2307         DataPanel.
2308         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2309         Implement methods with document title. Keep track for the configured
2310         glom documents and their corresponding JDBC configurations in a hash
2311         table. This information is retrieved using the document title as the
2312         key in the hash table.
2313         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2314         document title field as it's no longer needed.
2315
2316 2011-04-08  Ben Konrath  <ben@bagu.org>
2317
2318         Update the Eclipse JDT configuration.
2319
2320         * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
2321         methods. Automatically add the copyright header to new files.
2322
2323 2011-04-05  Ben Konrath  <ben@bagu.org>
2324
2325         Add new page for demo selection.
2326
2327         This patch adds all the components required to view and start an
2328         OnlineGlom demo by clicking on the desired hyperlink. The user is
2329         able to return to the demo selection page with the browser's back
2330         button. I still need to modify the servlet to work with multiple
2331         documents so all demo links will load the file defined in the
2332         OnlineGlom.properties.
2333
2334         * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
2335         This is only useful during development so we don't need to save it.
2336         * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
2337         get a reference to the DemoSelectionView.
2338         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
2339         method to get a reference to the DemoSelectionView.
2340         * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
2341         default view to DemoSelectionView.
2342         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
2343         to get glom document titles for glom files in a hard-coded directory.
2344         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2345         method to get glom document titles for glom files in a hard-coded
2346         directory.
2347         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2348         Presenter for DemoSelectionView.
2349         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
2350         for DemoSelectionView.
2351         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2352         Update for DemoSelectionView.
2353         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
2354         Basic 'Place' implementation for the DemoSelectionView.
2355         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2356         The interface for the DemoSelectionView.
2357         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2358         The implementation of the DemoSelectionView.
2359         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
2360         The GWT UiBuilder xml file used in DemoSelectionViewImpl.
2361         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2362         implementation of method to get glom document titles for glom files
2363         in a hard-coded directory.
2364         * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
2365         on longer being used.
2366         * src/main/webapp/glom.png: Glom logo.
2367
2368 2011-04-05  Ben Konrath  <ben@bagu.org>
2369
2370         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
2371
2372         This is the forth and final commit of a refactor that will allow
2373         OnlineGlom to be used with multiple documents.
2374
2375         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2376         Move RPC code from OnlineGlomViewImpl to this class.
2377         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2378         to inferface.
2379         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
2380         RPC code to the presenter class (the P in MVP).
2381
2382 2011-04-04  Ben Konrath  <ben@bagu.org>
2383
2384         Start moving the existing OnlineGlom code to MVP.
2385
2386         This work is based on the GWT MVP framework that is documented here:
2387
2388         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
2389
2390         This is the third commit of a refactor that will allow OnlineGlom to
2391         be used with multiple documents.
2392
2393         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
2394         Interface for client factory which is used to get instances of various
2395         classes throughout the app.
2396         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
2397         Implementation of client factory.
2398         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
2399         initialize the MVP framework.
2400         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2401         New file. Activity manager for the main container widget. This is the
2402         Presenter in MVP.
2403         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
2404         Maps place (URL) to its corresponding activity.
2405         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2406         New file. This is just a place holder for a generated file.
2407         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
2408         New file. Represents the URL for the main Online Glom app.
2409         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
2410         for changes in LayoutListViewImpl.
2411         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
2412         interface for View. Move code to OnlineGlomViewImpl class.
2413         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
2414         file. Implementation of OnlineGlomView.
2415         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
2416         Place resources. Use ClientFactoryImpl by default.
2417
2418 2011-04-04  Ben Konrath  <ben@bagu.org>
2419
2420         Move View classes to their own package.
2421
2422         This is the second commit of a refactor that will allow OnlineGlom to
2423         be used with multiple documents.
2424
2425         * src/main/java/org/glom/web/client/OnlineGlom.java:
2426         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
2427         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
2428
2429 2011-04-02  Ben Konrath  <ben@bagu.org>
2430
2431         Move UI code from the main module to its own class.
2432
2433         This is the first commit of a refactor that will allow OnlineGlom to be
2434         used with multiple documents.
2435
2436         * src/main/java/org/glom/web/client/LayoutListView.java: Update
2437         references to OnlineGlom to OnlineGlomView.
2438         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
2439         OnlineGlomView and instantiate it here.
2440         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
2441         represents the main OnlineGlomView with one document.
2442
2443 2011-04-01  Ben Konrath  <ben@bagu.org>
2444
2445         Fix formatting of gwt.xml and add DTD.
2446
2447         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2448
2449 2011-03-30  Ben Konrath  <ben@bagu.org>
2450
2451         Propperly convert gdkColor string to html colour string.
2452
2453         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2454
2455 2011-03-28  Ben Konrath  <ben@bagu.org>
2456
2457         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
2458
2459         This implementation matches
2460         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
2461         readable and is not tied to Swig.
2462
2463         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2464
2465 2011-03-28  Ben Konrath  <ben@bagu.org>
2466
2467         Use read-only checkboxes for boolean field types.
2468
2469         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
2470         in the CellTable based on the field type. It currently only
2471         distinguishes between boolean and text columns but I'll need to add
2472         support for more types.
2473         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2474         column type in the ColumnInfo object. Add method to convert between the
2475         glom field type enum in ColumnInfo and the glom field type in libglom.
2476         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
2477         field type.
2478         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
2479         getting and setting booleans.
2480
2481 2011-03-25  Ben Konrath  <ben@bagu.org>
2482
2483         Don't get the Date twice from the ResultSet.
2484
2485         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2486
2487 2011-03-25  Ben Konrath  <ben@bagu.org>
2488
2489         Cleanup code in the servlet.
2490
2491         * TODO: Remove item about row count. Add item about testing row count
2492         query with large number of rows.
2493         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
2494         spelling mistakes, change method parameter to be consistent with
2495         other methods.
2496
2497 2011-03-25  Ben Konrath  <ben@bagu.org>
2498
2499         Add server side logging with the gwt-log library.
2500
2501         * .gitignore: Ignore the log file we're now producing.
2502         * TODO: Add a couple TODO item for logging.
2503         * pom.xml: Add gwt-log and log4j as a dependency.
2504         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2505         logging of errors, warnings and some important info.
2506         * src/main/resources/log4j.properties: New file to configure log4j.
2507
2508 2011-03-24  Ben Konrath  <ben@bagu.org>
2509
2510         Add a disable button for the Details view.
2511
2512         * src/main/java/org/glom/web/client/LayoutListView.java:
2513
2514 2011-03-22  Ben Konrath  <ben@bagu.org>
2515
2516         Use a count query to get the number of rows for the list view pager.
2517
2518         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2519
2520 2011-03-22  Ben Konrath  <ben@bagu.org>
2521
2522         Add more TODO information about CellTable pager positioning. 
2523
2524         * TODO:
2525
2526 2011-03-19  Ben Konrath  <ben@bagu.org>
2527
2528         Add TODO item about CellTable pager positioning.
2529
2530         * TODO:
2531
2532 2011-03-18  Ben Konrath  <ben@bagu.org>
2533
2534         Remove unneeded GlomFieldColumn class.
2535
2536         This is just a small code cleanup.
2537
2538         * src/main/java/org/glom/web/client/LayoutListView.java:
2539
2540 2011-03-18  Ben Konrath  <ben@bagu.org>
2541
2542         Use cursor mode in the query that gets data for the list view.
2543
2544         I still need to fix the potential memory problem when getting the row
2545         count for the list view.
2546
2547         * TODO: Add note about testing memory usage with large data sets. Add
2548         item about fixing row counting with large data sets.
2549         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
2550         PostgreSQL JDBC driver into cursor mode when getting data for the
2551         list view.
2552
2553 2011-03-15  Ben Konrath  <ben@bagu.org>
2554
2555         Remove the GWT Container from the Eclipse build classpath.
2556
2557         The GWT dependencies are set by Maven so this isn't needed.
2558
2559         * .classpath:
2560
2561 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
2562
2563         Added some earlier mockups to git, but not to the tarball dist.
2564
2565         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
2566         Openismus. These hopefully show how we might structure the HTML so that
2567         it can be styled easily with CSS. However, we probably need to adapt them
2568         for the CSS structure that GWT dictates for common widgets.
2569
2570 2011-03-14  Ben Konrath  <ben@bagu.org>
2571
2572         Locate OnlineGlom.properties using the ServletContext.
2573
2574         This is required to be able to locate the file in the deployed servlet.
2575
2576         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2577         Configure the database and glom document in in a helper method so
2578         that the ServletContext can be used to locate OnlineGlom.properties.
2579         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
2580         src/main/webapp. This is the proper location for .properites files.
2581
2582 2011-03-12  Ben Konrath  <ben@bagu.org>
2583
2584         Add note to README about why we're compiling down to obfuscated JavaScript.
2585
2586         * README:
2587
2588 2011-03-11  Ben Konrath  <ben@bagu.org>
2589
2590         Use properties file to configure servlet.
2591
2592         This allows people to change the glom file path, db username and db
2593         password without recompiling the code.
2594
2595         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2596         * src/main/webapp/OnlineGlom.properties:
2597
2598 2011-03-11  Ben Konrath  <ben@bagu.org>
2599
2600         Use table fields in layout list view if the layout list is not defined.
2601
2602         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2603         Manually create a LayoutFieldVector for the query builder using the
2604         table fields when a layout list is not defined in the glom file.
2605
2606 2011-03-11  Ben Konrath  <ben@bagu.org>
2607
2608         Only show FIXME string for images when there's an image.
2609
2610         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
2611         in this change are some small code cleanups.
2612
2613 2011-03-11  Ben Konrath  <ben@bagu.org>
2614
2615         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
2616
2617         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2618
2619 2011-03-11  Ben Konrath  <ben@bagu.org>
2620
2621         Correctly set the index of the default table.
2622
2623         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2624         Correctly set the index of the default table. Add commented out example
2625         file paths.
2626
2627 2011-03-10  Ben Konrath  <ben@bagu.org>
2628
2629         Add comment to pom.xml about the previous change.
2630
2631         * pom.xml: Add comment about the deployment issue so that it's obvious
2632         why java-libglom is set to the provided scope.
2633
2634 2011-03-10  Ben Konrath  <ben@bagu.org>
2635
2636         Change java-libglom dependency from compile to provided in pom.xml.
2637
2638         Since java-libglom uses jni it can only be loaded once and therefore
2639         must be placed in $CATALINA_HOME/lib and not included in each war.
2640         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
2641         More information about this issue can be found in the Tomcat 6 release
2642         notes in the "JNI Based Applications" section:
2643
2644         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
2645
2646         * README: Remove note about this issue. Deployment info should really
2647         be on the wiki anyway so I'll add it right now.
2648         * pom.xml: Change java-libglom dependency from compile to provided so
2649         that it's copied in to the packaged war.
2650
2651 2011-03-09  Ben Konrath  <ben@bagu.org>
2652
2653         Change to using a neutral locale for currency, date and time formatting.
2654
2655         This solves the problem of currency values being represented without a
2656         space between the currency code and the number (e.g. "EUR5.89" is now
2657         represented as "EUR 5.89"). More work is required when we implement
2658         a locale preference setting.
2659
2660         * TODO: Add note about currency formatting issues with different
2661         locales.
2662         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2663         to using the neutral ROOT locale.
2664
2665 2011-03-09  Ben Konrath  <ben@bagu.org>
2666
2667         Add support for currency codes that are not ISO 4217 codes.
2668
2669         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2670         the currency code defined in the glom file when it's not 3 characters
2671         long or when Java doesn't recognize the string as an ISO 4217 code.
2672
2673 2011-03-08  Ben Konrath  <ben@bagu.org>
2674
2675         Remove test classes, launch configurations and configuration.
2676
2677         The test stuff was getting in the way when creating the war. To make
2678         the war file you can now do 'mvn clean package'. The packaged war file
2679         will be in the target directory.
2680
2681         * .classpath: Remove unused classpathentry for tests and i18n.
2682         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
2683         property. Don't run test or i18n goals when packaging the war.
2684         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
2685         formatting.
2686
2687         Removed files:
2688
2689         * OnlineGlomTest-dev.launch:
2690         * OnlineGlomTest-prod.launch:
2691         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
2692         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2693
2694 2011-03-07  Ben Konrath  <ben@bagu.org>
2695
2696         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
2697
2698         These fixes allow me to use 'mvn deploy' to create the war file.
2699
2700         * .classpath: This generated config has been updated by Eclipse. This
2701         change was probably triggered by me updating from Eclipse 3.6.1 to
2702         3.6.2.
2703         * .gitignore: Add entry to ignore the directory
2704         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
2705         * .project: The generated config has been updated by Eclipse. This
2706         change was probably triggered by me updating from Eclipse 3.6.1 to
2707         3.6.2.
2708         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
2709         so that Eclipse doesn't complain
2710         * pom.xml: Update to gwt-maven-plugin 2.2.0.
2711         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
2712         'tests' directory to 'client' directory. This is the new
2713         gwt-maven-plugin convension.
2714         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
2715         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
2716
2717 2011-03-07  Ben Konrath  <ben@bagu.org>
2718
2719         Add support for horizontal alignment in the LayoutList columns.
2720
2721         * TODO: Remove item about horizontal alignment. Add item about
2722         improvements to ColumnInfo.
2723         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
2724         alignment on the columns. Use ColumnInfo RPC object get the column
2725         title and horizontal alignment.
2726         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2727         LayoutListView creation with ColumnInfo RPC object.
2728         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2729         a ColumnInfo object for every LayoutList columnn. Convert the
2730         FieldFormatting.HorizontalAlignment to the correct
2731         ColumnnInfo.HorizontatlAlignment with the new
2732         getColumnInfoHorizontalAlignment helper method.
2733         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
2734         to encapsulate column information like alignment and title. This
2735         could be used to set the colour instead of on a per cell field basis.
2736         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
2737         column title storage and retrieval with ColumnInfo.
2738
2739 2011-03-04  Ben Konrath  <ben@bagu.org>
2740
2741         Add support for column sorting.
2742
2743         * src/main/java/org/glom/web/client/LayoutListView.java: Change
2744         AsynDataProvider to be an anonymous inner class. Use new
2745         getSortedTableData RPC method when column sort is requested. Set all
2746         columns sortable and add an AsyncHandler to activate sorting in the
2747         AsyncDataProvider.
2748         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
2749         method getSortedTableData(). Cleanup other method signatures.
2750         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2751         new method getSortedTableData(). Cleanup other method signatures.
2752         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2753         Implement getSortedTableData() and getTableData() methods by using a
2754         private helper method with the appropriate parameters filled in. Use
2755         user supplied sort clause when supplied, otherwise fall back to
2756         sorting by the primary key. Move destroy() method to be underneath
2757         constructor for readability.  Cleanup comments.
2758
2759 2011-03-03  Ben Konrath  <ben@bagu.org>
2760
2761         Add support for colour text and colour backgrounds to the layout list cells.
2762
2763         Only the cell backgrounds are coloured which leaves a gap between the
2764         cells that isn't coloured. I need to figure out a way to set
2765         'style=background-colour:' on the whole column rather than just the
2766         cell.
2767
2768         * TODO: Add a note about colouring the background of the whole column.
2769         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2770         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2771         render the coloured text and backgrounds. Use GlomField[] for the row type.
2772         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2773         for the row type.
2774         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2775         GlomField[] for the row type.
2776         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2777         GlomField[] for the row type. Set the text, text colour and background
2778         colour in the GlomField objects as specified in the glom document. Add
2779         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2780         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2781         the glom field text, foreground colour and background colour.
2782
2783 2011-03-02  Ben Konrath  <ben@bagu.org>
2784
2785         Don't display hidden tables in the combo box.
2786
2787         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2788         ArrayLists.
2789         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2790         code to ignore hidden tables using ArrayLists for the table names and
2791         titles.
2792         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2793         tableNames to use ArrayLists instead of String[]. Update getter and setter
2794         methods.
2795
2796 2011-03-01  Ben Konrath  <ben@bagu.org>
2797
2798         Add support for Date and Time number types.
2799
2800         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2801         Implement formatting for Date and Time values. Change the default glom
2802         file to small business example.
2803
2804 2011-03-01  Ben Konrath  <ben@bagu.org>
2805
2806         Add support for formatting glom types as specified in the glom file.
2807
2808         Formatting isn't finished yet - I still need to add support for Date
2809         and Time values.
2810
2811         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2812         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2813         checks for null values in JDBC cleanup code and catch all exceptions
2814         instead of just SQLExceptions.
2815         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2816         method name.
2817
2818 2011-03-01  Ben Konrath  <ben@bagu.org>
2819
2820         Use GWT 2.2.0 instead of 2.1.1.
2821
2822         * pom.xml: Change GWT version numbers.
2823
2824 2011-03-01  Ben Konrath  <ben@bagu.org>
2825
2826         A few small code cleanups.
2827
2828         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2829         duplicate for loop.
2830         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2831         unnecessary object creation in constructor.
2832         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2833         unnecessary object creation in constructor.
2834
2835 2011-02-28  Ben Konrath  <ben@bagu.org>
2836
2837         Add file for TODO list.
2838
2839         * TODO: New file.
2840
2841 2011-02-18  Ben Konrath  <ben@bagu.org>
2842
2843         Enable the CellTable Pager when more than 20 rows need to be viewed.
2844
2845         The Pager will automatically become active when the results are larger
2846         than the CellTable size which is currently set to 20 lines.
2847
2848         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2849         name on debug statment in RPC call in LayoutListDataProvider, add
2850         numRows parameter to LayoutListView constructor, propperly set rowCount
2851         in CellTable.
2852         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2853         name on debug statment in RPC call, use LayoutListTable object in RPC
2854         calls, pass rowCount to LayoutListView.
2855         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2856         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2857         object.
2858         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2859         interface for changes in OnlineGlomService.
2860         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2861         getLayoutListHeaders() to getLayoutListTable() and return
2862         LayoutListTable. Using this object allows me to pass other information
2863         about the LayoutList like the expected number of rows in the result set.
2864         The Connection object from the connection pool is now propperly closed.
2865         Only the requested number of lines are returned to the client in
2866         getTableData().
2867         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2868         GlomTable and add columnTitles and numRows.
2869
2870 2011-02-18  Ben Konrath  <ben@bagu.org>
2871
2872         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2873
2874         This is a small performance boost. I'll use GlomTable to get the required
2875         layoutlist information.
2876
2877         * src/main/java/org/glom/web/client/OnlineGlom.java:
2878         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2879         * src/main/java/org/glom/web/shared/GlomDocument.java:
2880
2881 2011-02-18  Ben Konrath  <ben@bagu.org>
2882
2883         Add option to turn off formatting in JDT formatter preferences.
2884
2885         * .settings/org.eclipse.jdt.core.prefs:
2886
2887 2011-02-18  Ben Konrath  <ben@bagu.org>
2888
2889         Rename LayoutList to LayoutListView.
2890
2891         I'm working towards setting things up to easily use MVP when the time
2892         comes.
2893
2894         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2895         LayoutList.java.
2896         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2897         references.
2898
2899 2011-02-17  Ben Konrath  <ben@bagu.org>
2900
2901         Move LayoutListDataProvider class into LayoutList.java.
2902
2903         * src/main/java/org/glom/web/client/LayoutList.java:
2904
2905 2011-02-17  Ben Konrath  <ben@bagu.org>
2906
2907         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2908
2909         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2910         references.
2911         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2912         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2913         from LibGlomServer.java.
2914         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2915         Rename from LibGlomServiceAsync.java.
2916         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2917         Rename from LibGlomServiceImpl.java.
2918         * src/main/webapp/WEB-INF/web.xml: Update configuration.
2919
2920 2011-02-17  Ben Konrath  <ben@bagu.org>
2921
2922         Update JDT settings.
2923
2924         * .settings/org.eclipse.jdt.core.prefs:
2925
2926 2011-02-17  Ben Konrath  <ben@bagu.org>
2927
2928         Move GWT-RPC objects to shared package (where they should be).
2929
2930         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2931         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2932         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2933         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2934         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2935         org.glom.web.shared package.
2936         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2937         org.glom.web.shared package.
2938         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2939         directory in compilation to javascript.
2940
2941 2011-02-16  Ben Konrath  <ben@bagu.org>
2942
2943         Add sort clause to the sql query that grabs table information.
2944
2945         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2946         if one of the columns is a primary key.
2947
2948 2011-02-16  Ben Konrath  <ben@bagu.org>
2949
2950         Disable generateAsync feature of gwt-maven.
2951
2952         The generated interface does not correctly match the methods in LibGlomService
2953         and the generated singleton Util inner-class doesn't respect the servlet
2954         mappings.
2955
2956         * pom.xml: Turn off generateAsync feature.
2957         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2958         with singleton Util inner-class.
2959
2960 2011-02-14  Ben Konrath  <ben@bagu.org>
2961
2962         Add LGPL v3 licence notices.
2963
2964         Followed directions listed here:
2965         http://www.gnu.org/licenses/gpl-howto.html
2966
2967         * COPYING: This file is a copy of the GPL v3.
2968         * COPYING.LESSER: This file is a copy of the LGPL v3.
2969         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2970         notice.
2971         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2972         notice.
2973         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2974         notice.
2975         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2976         licence notice.
2977         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2978         notice.
2979         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2980         notice.
2981         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2982         licence notice.
2983
2984 2011-02-14  Ben Konrath  <ben@bagu.org>
2985
2986         Use ArrayList instead of Array in GWT-RPC calls.
2987
2988         Apparently this gives a slight performance boost to the compiled
2989         java script.
2990
2991         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2992         instead of Array.
2993         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2994         of Array.
2995
2996 2011-02-14  Ben Konrath  <ben@bagu.org>
2997
2998         Access data from a postgres db rather than the example glom file.
2999
3000         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
3001         compile down to obfuscated javascript.
3002         * pom.xml: Add c3p0 and postgres JDBC libraries.
3003         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
3004         using a postgres db accessed through the c3p0 connection pooling library.
3005
3006 2011-02-14  Ben Konrath  <ben@bagu.org>
3007
3008         Update Java formatter settings.
3009
3010         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
3011
3012 2011-02-02  Ben Konrath  <ben@bagu.org>
3013
3014         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
3015
3016         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
3017         using Maven.
3018         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
3019         the compiled webapp directory that Eclipse uses as we're using Maven now.
3020         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
3021         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
3022         to 1.6.
3023         * pom.xml: Format file, change target Java version to 1.6.
3024
3025 2011-02-02  Ben Konrath  <ben@bagu.org>
3026
3027         Add information about a deployment related issue.
3028
3029         * README: Add Notes section with the problem outlined.
3030
3031 2011-02-02  Ben Konrath  <ben@bagu.org>
3032
3033         Call Glom.libglom_deinit() when the servlet is shutdown.
3034
3035         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
3036         Glom.libglom_deinit() to destroy() method.
3037
3038 2011-01-28  Ben Konrath  <ben@bagu.org>
3039
3040         Use generated Util class to get the RPC Async interface.
3041
3042         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
3043         file.
3044         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
3045         getInstance() method to get a reference to the RPC Async interface.
3046         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
3047         getInstance() method to get a reference to the RPC Async interface, remove
3048         the now unused getLibGlomServiceProxy() method.
3049
3050 2011-01-27  Ben Konrath  <ben@bagu.org>
3051
3052         Cleanup ChangeLog entry from previous commit.
3053
3054         * ChangeLog: Group logical changes together and add comments.
3055
3056 2011-01-25  Ben Konrath  <ben@bagu.org>
3057
3058         Convert to gwt-maven project.
3059
3060         * .gitignore: Update for new project structure.
3061         * README: New file with a link to the online documentation.
3062         * pom.xml: The generated maven configuration file with some tweaks.
3063
3064         Add / update Eclipse settings. These files are a merge of the files that
3065         were generated with the gwt-maven plugin and the files we were previously
3066         using.
3067         * .classpath:
3068         * .project:
3069         * .settings/.jsdtscope:
3070         * .settings/com.google.gdt.eclipse.core.prefs:
3071         * .settings/com.google.gwt.eclipse.core.prefs:
3072         * .settings/org.eclipse.jdt.core.prefs:
3073         * .settings/org.eclipse.wst.common.component:
3074         * .settings/org.eclipse.wst.common.project.facet.core.xml:
3075         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
3076         * .settings/org.maven.ide.eclipse.prefs:
3077         * OnlineGlomTest-dev.launch:
3078         * OnlineGlomTest-prod.launch:
3079
3080         Java source files moved from the 'src' directory to the directory structure
3081         required by maven.
3082         * src/main/java/org/glom/web/client/GlomDocument.java:
3083         * src/main/java/org/glom/web/client/GlomTable.java:
3084         * src/main/java/org/glom/web/client/LayoutList.java:
3085         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
3086         * src/main/java/org/glom/web/client/LibGlomService.java:
3087         * src/main/java/org/glom/web/client/OnlineGlom.java:
3088         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
3089
3090         Non-functional property file used for translations. I included this as
3091         reminder that it's something I need to sort out.
3092         * src/main/resources/org/glom/web/client/Messages.properties:
3093
3094         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
3095         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
3096
3097         The servlet configuration files moved from the 'war' directory.
3098         * src/main/webapp/OnlineGlom.css:
3099         * src/main/webapp/OnlineGlom.html:
3100         * src/main/webapp/WEB-INF/web.xml:
3101
3102         Generated test files with most of the code commented out. I included these
3103         so that it's easy to add tests when we're ready for them.
3104         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
3105         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
3106
3107 2011-01-25  Ben Konrath  <ben@bagu.org>
3108
3109         Remove unused println.
3110
3111         * src/org/glom/web/server/LibGlomServiceImpl.java:
3112
3113 2011-01-25  Ben Konrath  <ben@bagu.org>
3114
3115         Add project specific JDT settings.
3116
3117         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
3118         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
3119
3120 2011-01-25  Ben Konrath  <ben@bagu.org>
3121
3122         Populate celltable with example data.
3123
3124         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
3125         * src/org/glom/web/client/GlomTable.java: Correct formatting.
3126         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
3127         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
3128         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
3129         asynchronously gets the example data.
3130         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
3131         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
3132         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
3133         curently selected table to be retrieved by other widgets.
3134         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
3135         implement getTableData() in a hacky way. This method needs to be updated
3136         to grab information from the database when database creating is
3137         implemented.
3138
3139 2011-01-20  Ben Konrath  <ben@bagu.org>
3140
3141         Set table headers when table dropBox changes.
3142
3143         * src/org/glom/web/client/GlomDocument.java: Correct some method
3144         names.
3145         * src/org/glom/web/client/LibGlomService.java: Add method
3146         to get list layout field names.
3147         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
3148         to get list layout field names.
3149         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
3150         widget for list layout table.
3151         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
3152         the table drop box and add new updateTable() method to asynchronously
3153         get the layout list field names for the currently selected table.
3154         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
3155         implementation of getLayoutListHeaders() method.
3156         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
3157
3158 2011-01-18  Ben Konrath  <ben@bagu.org>
3159
3160         Make a listBox with table titles instead of the flexTable demo.
3161
3162         This is the start of something more useful.
3163
3164         * .classpath: Exclude a bunch of packages from the JVM that are
3165         getting in the way of the Eclipse content assist.
3166         * src/org/glom/web/client/GlomDocument.java:
3167         * src/org/glom/web/client/GlomTable.java:
3168         * src/org/glom/web/client/LibGlomService.java:
3169         * src/org/glom/web/client/LibGlomServiceAsync.java:
3170         * src/org/glom/web/client/OnlineGlom.java:
3171         * src/org/glom/web/server/LibGlomServiceImpl.java:
3172         * war/OnlineGlom.html:
3173         * war/WEB-INF/web.xml:
3174
3175 211-01-13  Ben Konrath  <ben@bagu.org>
3176
3177         Update to new java-libglom API.
3178
3179         * .gitignore: Ignore OnlineGlom.war.
3180         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
3181
3182 2010-12-20  Ben Konrath  <ben@bagu.org>
3183
3184         Add some basic style to the table listing.
3185
3186         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
3187         header, print useful error message on async callback failure.
3188         * war/OnlineGlom.css: Add style for table header, remove defaults
3189         provided by the Eclipse project wizard.
3190
3191 2010-12-20  Ben Konrath  <ben@bagu.org>
3192
3193         Load example file from installed glom dir.
3194
3195         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
3196         provided by java-libglom to find the example file.
3197
3198 2010-12-20  Ben Konrath  <ben@bagu.org>
3199
3200         Update Eclipse settings.
3201
3202         * .classpath:
3203         * .settings/com.google.gdt.eclipse.core.prefs:
3204         * .settings/com.google.gwt.eclipse.core.prefs:
3205
3206 2010-12-17  Ben Konrath  <ben@bagu.org>
3207
3208         Initial commit.
3209
3210         * .classpath: New file.
3211         * .gitignore: New file.
3212         * .project: New file.
3213         * .settings/com.google.gdt.eclipse.core.prefs: New file.
3214         * .settings/com.google.gwt.eclipse.core.prefs: New file.
3215         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
3216         * src/org/glom/web/client/GlomTable.java: New file.
3217         * src/org/glom/web/client/OnlineGlom.java: New file.
3218         * src/org/glom/web/client/TableNameService.java: New file.
3219         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
3220         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
3221         * war/OnlineGlom.css: New file.
3222         * war/OnlineGlom.html: New file.
3223         * war/WEB-INF/web.xml: New file.
3224         * war/images/glom.png: New file.