Don't use TableSelectorImpl implementation details in TableSelectorActivity.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-10-07  Ben Konrath  <ben@bagu.org>
2
3         Don't use TableSelectorImpl implementation details in TableSelectorActivity.
4
5         This is part of a change to get navigation buttons in the details view
6         but it should have been done this way from the start.
7
8         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
9         for method name change in TableSelectionView.
10         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
11         Create TableChangeEvent and set the browser title using the
12         TableSelectionView API.
13         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
14         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
15         Change getSelectedTable() to getSelectedTableName(). Add
16         getSelectedTableTitle().
17
18 2011-10-07  Ben Konrath  <ben@bagu.org>
19
20         Use primaryKeyValue naming convention in constructor of DetailsPlace.
21
22         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
23
24 2011-10-07  Ben Konrath  <ben@bagu.org>
25
26         Update TableChangeEvent to use newTableName naming convention.
27
28         This makes the class more consistent with GWT naming conventions.
29
30         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
31         Update for method name change in TableChangeEvent.
32         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
33         for method name change in TableChangeEvent.
34         * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
35         newTableName variable and getter method. Make toDebugString()
36         actually work.
37
38 2011-09-30  Ben Konrath  <ben@bagu.org>
39
40         Disable the pager in the list tables when the data row count is less than the minimum.
41
42         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
43         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
44
45 2011-09-30  Ben Konrath  <ben@bagu.org>
46
47         Add empty rows to the end of related list and list view tables.
48
49         I also extracted the cell rendering classes from the ListTable because
50         the code was becoming a little crazy with all the anonymous inner
51         classes. My plan is to use these cell rendering classes in the details
52         view as well so this refactor will be needed for that change.
53
54         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
55         set the row count in related list tables if the data has more rows
56         than the minimum number of rows visible.
57         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
58         row count in list view tables if the data has more rows than the
59         minimum number of rows visible.
60         * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
61         for rendering TYPE_BOOLEAN cells. The code was extracted from the
62         ListTable class.
63         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
64         for rendering TYPE_NUMERIC cells. The code was extracted from the
65         ListTable class.
66         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
67         class for rendering cells with buttons in list views. The code was
68         extracted from the ListTable class.
69         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
70         for rendering TYPE_TEXT cells. The code was extracted from the
71         ListTable class.
72         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
73         Add empty rows to the end of the data if required. Implement
74         ListTable.getMinNumVisibleRows().
75         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
76         cell renderer code to public classes. Return null in
77         Column.getValue() for empty rows. Add new abstract method:
78         getMinNumVisibleRows(). Move code to set the row count of the list view
79         table to ListViewImpl.
80         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
81         empty rows to the end of the data if required. Implement
82         ListTable.getMinNumVisibleRows().
83
84
85 2011-09-27  Ben Konrath  <ben@bagu.org>
86
87         Use GWT.log for client-side debugging statements.
88
89         These are optimized out when deployed so I should have used this method
90         in the first place. These statements will eventually be replaced with some sort
91         of notification in the browser.
92
93         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
94         * src/main/java/org/glom/web/client/activity/ListActivity.java:
95         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
96         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
97         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
98
99 2011-09-27  Ben Konrath  <ben@bagu.org>
100
101         Put tableselector on the right, back to list link on right.
102
103         The idea is that the table selector is acting like a label for the
104         currently displayed table so it should be placed below the document title. This
105         puts the table title in a similar position to where it is in Glom.
106
107         * mockups/details-contacts.html:
108         * mockups/details-projects.html:
109         * mockups/listview-contacts.html:
110         * mockups/listview-projects.html:
111         * mockups/style.css:
112         Update mockups to match how the interfaces currently look.
113         * src/main/webapp/style.css: Swap positions of backlink with the table
114         selector. Add some space on the left side of the table selector to
115         line things up with the document title.
116
117 2011-09-27  Ben Konrath  <ben@bagu.org>
118
119         Add field colouring to details view.
120
121         This change re-works how field colouring works. The colour formatting
122         information is now set to the client with the layout information instead of
123         with the data. This eliminates the need to send the same colour strings for
124         data in list view column when colour information is set.
125
126         In order to set an alternate colour for negative numeric values, the
127         number is now sent to client and formatted with the GWT NumberFormat class.
128
129         This change also fixes:
130
131         https://bugzilla.gnome.org/show_bug.cgi?id=659752
132
133         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
134         internationalization framework which is needed for client side numeric
135         formatting.
136         * src/main/java/org/glom/web/client/Utils.java: New file for some
137         client static utility methods.
138         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
139         the DataItem object to the Field class. Use a utility method to
140         create the foreignKeyValue string.
141         * src/main/java/org/glom/web/client/ui/details/Field.java: Set
142         alignment and text colours in the constructor. Add setData(DataItem)
143         method. Remove setText(String) method.
144         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
145         colour information to GlomTextCell. Create and use GlomNumberCell for
146         rendering numbers. Use utility method to get the string for the
147         primary key of the key provider. Re-work how the horizontal alignment
148         is set.
149         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
150         formatting to layout information. Methods for converting the libglom
151         formatting information were moved from DBAccess.
152         * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
153         numeric formatting (it's now done on the client side). Don't set text
154         colours in DataItem. Move libglom formatting conversion methods to
155         ConfiguredDocument.
156         * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
157         getters/setters for text colour information.
158         * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
159         for transferring the libglom NumericFormat information to the client.
160         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
161         and getters/setters for: GlomNumericFormat, background colour and
162         foreground colour strings.
163
164 2011-09-26  Ben Konrath  <ben@bagu.org>
165
166         Simplify code that iterates through the LayoutGroup.
167
168         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
169
170 2011-09-26  Ben Konrath  <ben@bagu.org>
171
172         Accept Eclipse formatting for OnlineGlomServiceAsync.
173
174         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
175
176 2011-09-26  Ben Konrath  <ben@bagu.org>
177
178         Don't use the ListDBAccess classes to get the primary key layout information.
179
180         This was causing a bug where the wrong index for the hidden primary key
181         was being sent to the client.
182
183         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
184         primary key while creating the LayoutGroup DTO. Create a
185         LayoutItemField DTO for hidden primary keys. Don't use the
186         RelatedListDBAccess because it was only used for getting the primary
187         key.
188         * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
189         access modifier from public to protected for getPrimaryKeyField() and
190         getPrimaryKeyLayoutItemField().
191         * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
192         abstract method getExpectedResultSize() because RelatedListDBAccess
193         doesn't have enough info to implement it.
194         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
195         Remove @Override for getExpectedResultSize().
196         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
197         Remove method getExpectedResultSize().
198
199 2011-09-23  Ben Konrath  <ben@bagu.org>
200
201         Log which layout (list or details) the ignored item is from.
202
203         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
204
205 2011-09-23  Ben Konrath  <ben@bagu.org>
206
207         Remove annotations that turn off code formatting in DataItem.
208
209         * src/main/java/org/glom/web/shared/DataItem.java:
210
211 2011-09-23  Ben Konrath  <ben@bagu.org>
212
213         Rename GlomField to DataItem and update associated methods.
214
215         This is a rename-only refactor. No functionality has been added or
216         removed.
217
218         * src/main/java/org/glom/web/client/OnlineGlomService.java:
219         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
220         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
221         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
222         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
223         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
224         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
225         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
226         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
227         * src/main/java/org/glom/web/server/database/DBAccess.java:
228         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
229         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
230         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
231         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
232         * src/main/java/org/glom/web/shared/DataItem.java:
233         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
234         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
235
236 2011-09-23  Ben Konrath  <ben@bagu.org>
237
238         Rename GlomDocument to DocumentInfo and update associated methods.
239
240         This is a rename-only refactor. No functionality has been added or
241         removed.
242
243         * src/main/java/org/glom/web/client/OnlineGlomService.java:
244         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
245         * src/main/java/org/glom/web/client/activity/ListActivity.java:
246         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
247         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
248         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
249         * src/main/java/org/glom/web/shared/DocumentInfo.java:
250
251 2011-09-20  Ben Konrath  <ben@bagu.org>
252
253         Require java-libglom 1.17.3.
254
255         This picks up the fix for the seg fault problem with the Scenes table
256         in the Openismus Film Manager example.
257
258         * pom.xml:
259
260 2011-09-20  Ben Konrath  <ben@bagu.org>
261
262         Change the way sort clause is added for primary key when no sort clause is requested.
263
264         The primary key is now added to the LayoutFieldVector (fieldsToGet)
265         before the sort clause is created. When a sort clause is not requested, the
266         sort clause is created by finding the primary key in the LayoutFieldVector
267         (fieldsToGet).
268
269         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
270
271 2011-09-20  Ben Konrath  <ben@bagu.org>
272
273         Log error message if no documents are found in the configured directory.
274
275         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
276         Extract the glom file extension string to a private static final class
277         variable (mostly as syntactic sugar). Accept a minor formatting change.
278         * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
279         the example glom.document.directory configuration property to make it
280         more clear that it can any directory, not just the home directory.
281
282 2011-09-18  Ben Konrath  <ben@bagu.org>
283
284         Add related lists to details view.
285
286         The related list table has support for paging and sorting just like the
287         table in the list view.
288
289         * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
290         SQL queries for the related list tables.
291         * src/main/java/org/glom/web/client/OnlineGlomService.java:
292         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
293         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
294         Rename getList methods to getListView and add comments. Remove
295         getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
296         it being unused. Add methods: getDetailsLayoutAndData(),
297         getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
298         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
299         Create the layout and set the data for the fields in one async call
300         instead of two. Create related lists where appropriate.
301         * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
302         for method name changes in OnlineGlomService.
303         * src/main/java/org/glom/web/client/ui/DetailsView.java:
304         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
305         addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
306         visible UI objects.
307         * src/main/java/org/glom/web/client/ui/ListView.java:
308         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
309         tableName from setCellTable(). Create a ListViewTable instead of
310         ListTable.
311         * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
312         represent a data field in the details view.
313         * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
314         from addDetailsCell() to Field class. Keep track of the Fields and
315         Portals in the details view.
316         * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
317         a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
318         and add a method to get it. Add method to set the contents of the
319         portal.
320         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
321         New class for related list tables. This class has the data provider
322         for the related list table.
323         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
324         abstract class which is the base class for the ListViewTable and the
325         RelatedListTable.
326         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
327         New class for list view tables. This class has the data provider for
328         the list view table.
329         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
330         methods for related list tables. Add more information to the
331         LayoutItemField and LayoutItemPortal DTOs.
332         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
333         Remove debugging print statement.
334         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
335         Remove debugging print statements. Add primary key field to SQL count
336         query.
337         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
338         Remove unnecessary LayoutFieldVector parameter from
339         getResultSizeOfSQLQuery() method.
340         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
341         New class for related list table database access.
342         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
343         class that is a wrapper DTO for details view layout and data.
344         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
345         new 'fromField' string to this DTO.
346         * src/main/webapp/style.css: Remove bottom margin and override top
347         margin with 0em.
348
349 2011-09-15  Ben Konrath  <ben@bagu.org>
350
351         Breakup the OnlineGlomServiceImpl class to make it more manageable.
352
353         This sets things up to make it easier to add the data retrieval for
354         related lists (portals). No user noticeable changes were made with
355         this commit.
356
357         * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
358         class has the code to retrieve the layouts and access the
359         database using the new database helper classes.
360         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361         Most of the functionality has been removed from this class. This
362         class now represents the public interface for the client side
363         code. It also deals with configuring the servlet and cleaning
364         things up when the servlet is stopped.
365         * src/main/java/org/glom/web/server/Utils.java: Extract a couple
366         of static methods into this utility class.
367         * src/main/java/org/glom/web/server/database/DBAccess.java:
368         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
369         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
370         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
371         These classes have the database retrieval code. The class hierarchy
372         has been setup to make it easy to reuse code for similar
373         functionality.
374
375 2011-09-06  Ben Konrath  <ben@bagu.org>
376
377         Create separate classes for list table code and the data provider.
378
379         As part of this refactor, I also split up the code a bit to make it
380         more manageable.
381
382         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
383         table code to two new classes (below).
384         * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
385         with code from ListViewImpl.
386         * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
387         New file with code from ListViewImpl.
388
389 2011-09-06  Ben Konrath  <ben@bagu.org>
390
391         Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
392
393         This fixes the LayoutItemPortal DTO to match the libglom layout object
394         hierarchy.
395
396         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
397
398 2011-09-01  Ben Konrath  <ben@bagu.org>
399
400         Set title of Portals in the Details View.
401
402         * pom.xml: Bump required version of java-libglom to 1.17.1.
403         * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
404         widget creation to its own class. Add comments to constructor.
405         * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
406         The code is mostly from the Group class with the title now set.
407         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
408         title of Portal. Update some comments. Fix some code formatting.
409
410 2011-09-01  Ben Konrath  <ben@bagu.org>
411
412         Remove TODO comment for the flow table column width.
413
414         The flow table column width is working correctly and doesn't need to be
415         changed. See this mailing list post for more info:
416
417         https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
418
419         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
420
421 2011-08-27  Ben Konrath  <ben@bagu.org>
422
423         Add document title (database name) to top of the browser page.
424
425         I added the document title to the TableSelecitonView but that will
426         change if / when we add a view that doesn't require table selection.
427
428         * mockups/details-contacts.html:
429         * mockups/details-projects.html:
430         * mockups/listview-contacts.html:
431         * mockups/listview-projects.html:
432         * mockups/style.css: Add document title to mockups to keep things
433         consistent.
434         * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
435         sizes to account for the document title.
436         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
437         Set the document title when it has been retrieved from the server.
438         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
439         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
440         and implement setDocumentTitle(String) method.
441         * src/main/webapp/style.css: Add ID for document title style.
442
443 2011-08-25  Ben Konrath  <ben@bagu.org>
444
445         Add NavigationType enum to LayoutItemPortal DTO.
446
447         This is the start of adding support for Portals to the Details View.
448
449         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
450         LayoutItem_Portal.navigation_type enum from libglom to
451         LayoutItemPortal.NavigationType enum.
452         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
453         NavigationType enum, field for storing the NavigationType and getter
454         and setter methods.
455
456 2011-08-25  Ben Konrath  <ben@bagu.org>
457
458         Implement the flow table layout in the Details View.
459
460         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
461         FlowTable to Group to account for the renamed class.
462         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
463         File. This is a container widget that implements the Glom details view
464         flow table behaviour.
465         * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
466         org/glom/web/client/ui/FlowTable.java.
467         * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
468         so that the size of the subgroups are a closer match to the size of
469         the Glom subgroups. This makes the flowtable layout match the layout
470         in Glom for the Music Collection example file.
471
472 2011-08-16  Ben Konrath  <ben@bagu.org>
473
474         Create container element for LayoutItemPortal in Details View.
475
476         This will help me develop the layout for the FlowTable.
477
478         * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
479         fieldPanel variable to detailsCell.
480
481 2011-08-15  Ben Konrath  <ben@bagu.org>
482
483         Set the height of the data element in the Details View.
484
485         I changed the InlineLabels (text in a span element) to Labels (text in
486         a div element) so that I could set the height of the details-data
487         elements instead of the details-cell parent elements. This allows the
488         the details-data element to display the correct height if style is
489         applied that shows the height.
490
491         This change has the added benefit of allowing the order of the labels
492         and data elements to be changed for right-to-left languages.
493
494         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
495         InlineLabels to Labels.
496         * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
497         InlineLabels to Labels. Set the height of the data element.
498         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
499         multiline text height in the Formatting DTO.
500         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
501         for multiline height along with getter and setter methods.
502         * src/main/webapp/style.css: Adjust style to account for the change
503         from span elements to div elements in the details cell.
504
505 2011-08-15  Ben Konrath  <ben@bagu.org>
506
507         Make the List View appearance match the mockups.
508
509         It doesn't match exactly but it's much better than it was.
510
511         * mockups/listview-contacts.html: Remove unused css classes.
512         * mockups/listview-projects.html: Remove unused css classes.
513         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
514         rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
515         for mainPanel instead of VerticalPanel (table). Set style name on
516         CellTable. Set style name on Details column. Right-align Details
517         buttons.
518         * src/main/webapp/style.css: Adjust properties to match the mockups.
519
520 2011-08-12  Ben Konrath  <ben@bagu.org>
521
522         Add better support for subgroups in the details view.
523
524         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
525         changed FlowTable constructor.
526         * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
527         support for subgroups and subgroup-titles.
528         * src/main/webapp/style.css: Add CSS class for subgroups and
529         subgroup-titles.
530
531 2011-08-12  Ben Konrath  <ben@bagu.org>
532
533         Return the top level LayoutGroup title.
534
535         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
536
537 2011-08-11  Ben Konrath  <ben@bagu.org>
538
539         Make the TableSelector header match the mockup.
540
541         * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
542         the layout panel. Properly lineup the table selection header with
543         the list and details view.
544         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
545         margin around the details view.
546         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
547         Rename listBox variable to tableSelector. Set id for the style sheet.
548         Use a FlowPanel instead of a HorizontalPanel.
549         * src/main/webapp/style.css: Add properties to make the TableSelector
550         box match the mockups.
551
552 2011-07-13  Ben Konrath  <ben@bagu.org>
553
554         Update install script for java-libglom version change.
555
556         * utils/install-onlineglom-war.sh: Also exit if 'make check' in
557         java-libglom fails.
558
559 2011-07-13  Ben Konrath  <ben@bagu.org>
560
561         Add support sub-group in the details view.
562
563         I also removed the code that special-cased the default details view
564         layout. See:
565
566         http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
567
568         I still have to make a proper flowtable.
569
570         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
571         Don't special-case default details view layout.
572         * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
573         addLayoutField() as I'm going to use it.
574         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
575         GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
576         method.
577         * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
578         extracted from DetailsViewImpl.GroupPanel. Add support for
579         sub-groups.
580         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
581         column count when getting the details layout.
582
583 2011-07-12  Ben Konrath  <ben@bagu.org>
584
585         Set browser title with database and table titles.
586
587         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
588         Set the browser title when the table changes and when the activity
589         first starts.
590         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
591         title when retrieving document info (the GlomDocument object).
592         * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
593         with getter and setter methods. Remove unused convenience constructor.
594         Use default code formatting.
595
596 2011-07-12  Ben Konrath  <ben@bagu.org>
597
598         Ignore LayoutItemPortals in the details view.
599
600         I added a new DTO for the LayoutItemPortal so that I can ignore it in
601         the client code.
602
603         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
604         LayoutItemPortal layout objects.
605         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
606         LayoutItemPortal objects when retrieving the details layout.
607         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
608         file. This is an empty class and just used to get type information for
609         now.
610
611 2011-07-12  Ben Konrath  <ben@bagu.org>
612
613         Use java-libglom 1.17.0.
614
615         * pom.xml:
616
617 2011-07-11  Ben Konrath  <ben@bagu.org>
618
619         Remove "Table:" label from table selector.
620
621         This matches a recent change in the Glom UI.
622
623         * mockups/details-contacts.html:
624         * mockups/details-projects.html:
625         * mockups/listview-contacts.html:
626         * mockups/listview-projects.html: Remove the "Table:" label from the
627         mockups as well.
628         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
629
630 2011-07-11  Ben Konrath  <ben@bagu.org>
631
632         Add main groups to the details view.
633
634         This makes things look a little nicer in the details view. The next step
635         is to implement the flowtable.
636
637         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
638         resources from the standard gwt css theme. Standard.css is now
639         included in OnlineGlom.html so that the online glom css rules have
640         precedence over the gwt theme.
641         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
642         the whole LayoutGroup to the DetailsView instead of just the titles.
643         * src/main/java/org/glom/web/client/ui/DetailsView.java:
644         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
645         details layout with a helper class (GroupPanel). I might extract this
646         class when I make the full flowtable.
647         * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
648         string as default so I don't have to worry about NPEs when processing
649         the layout objects.
650         * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
651         note beside OnlineGlom.gwt.xml above).
652         * src/main/webapp/style.css: Add default font-size to body to override
653         the font-size set by the standard theme. Don't use h2 tags for
654         group-title. Create new details-cell class.
655
656 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
657
658         ConfiguredDocument: Set the port number too.
659
660         * src/main/java/org/glom/web/server/ConfiguredDocument.java
661         (ConfiguredDocument.ConfiguredDocument): Get the port number from the 
662         Glom document. Presumably this worked sometimes so far because there is a 
663         default port number.
664
665 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
666
667         ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
668
669         * src/main/java/org/glom/web/server/ConfiguredDocument.java
670         (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is 
671         correct, though we should throw an exception too.
672
673 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
674
675         Fix a addDocuemnt typo.
676
677         * src/main/java/org/glom/web/shared/Documents.java
678         (Documents.addDocuemnt): Rename to addDocument().
679         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
680         (OnlineGlomServiceImpl.getDocuments): Adapt.
681         
682 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
683
684         Slightly improved log output when connection fails.
685
686         * src/main/java/org/glom/web/server/ConfiguredDocument.java
687         (ConfiguredDocument.setUsernameAndPassword):
688         We don't know for sure if it' the username/password that's wrong, so 
689         rephrase the message.
690         Also ouput the exception message, though it's generic in this case.
691
692 2011-07-08  Ben Konrath  <ben@bagu.org>
693
694         Cleanup comments.
695
696         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
697         added braces to a one line if statement because the Eclipse formatter
698         was getting confused.
699
700 2011-07-07  Ben Konrath  <ben@bagu.org>
701
702         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
703
704         These should really be two separate tasks but I counldn't get things to
705         work with GWT 2.2.0 and Eclipse 3.7.
706
707         * .classpath:
708         * .project:
709         * .settings/org.eclipse.jdt.core.prefs:
710         * .settings/org.eclipse.jdt.ui.prefs:
711         * .settings/org.eclipse.ltk.core.refactoring.prefs:
712         * .settings/org.eclipse.m2e.core.prefs:
713         Add new config files. Update current files. Remove references to the
714         webtools plugins as we're not using any of the webtools features.
715         * .gitignore: Add logs directory which is created when running with
716         'mvn gwt:run'.
717         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
718         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
719         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
720         limitation:
721         http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
722
723 2011-07-07  Murray Cumming  <murrayc@murrayc.com>
724
725         onlineglom.properties: Add explanatory comments.
726
727         * src/main/resources/onlineglom.properties: Also change the default user 
728         from ben to someuser, to avoid the risk of people thinking we just 
729         stupidly hard-coded a locale path, when they see that on stderr or in a log.
730
731 2011-06-28  Ben Konrath  <ben@bagu.org>
732
733         Use filename in Log for incorrect passwords.
734
735         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
736         getFileName(String) method to get the filename from the URI.
737
738 2011-06-28  Ben Konrath  <ben@bagu.org>
739
740         Add the table name to the URL token for the ListPlace.
741
742         This makes things consistent between the DetailsPlace and the
743         ListPlace. It also allows the the ListPlace to be bookmarked.
744
745         * src/main/java/org/glom/web/client/OnlineGlomService.java:
746         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
747         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
748         Remove getDefaultListLayout(). The default layout is now returned
749         by the getListLayout() method when the table name is an empty string.
750         * src/main/java/org/glom/web/client/activity/ListActivity.java:
751         Add table name field. Change to a new ListPlace when the table
752         has been changed. Use getListLayout() for getting the default
753         list layout.
754         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
755         Add table name field. Set the correct table name in the list box
756         when loading from bookmark. This corrects a problem for the
757         DetailsPlace too.
758         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
759         Move table name to super-class (HasSelectableTable). Move document
760         and table URL keys to super-class in HasSelectableTable.
761         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
762         Add table name field. Add Tokenizer class with URL key common to
763         the subclasses (DetailsPlace and ListPlace).
764         * src/main/java/org/glom/web/client/place/ListPlace.java:
765         Add table name. Add code to parse the URL token.
766         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
767         Update ListPlace construction with empty table name string.
768         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
769         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
770         Change setTableSelectedIndex(int) to setSelectedTableName(String).
771         Update ListPlace construction with table name string.
772         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
773         Change defaultTableName field to tableName to reflect how it's now
774         used. Update the getter and setter methods.
775
776 2011-06-28  Ben Konrath  <ben@bagu.org>
777
778         Enable the table selector in the DetailsView.
779
780         * src/main/java/org/glom/web/client/OnlineGlomService.java:
781         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
782         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
783         Remove getDefaultDetailsLayout(). The default layout is now returned
784         by the getDetailsLayout() method when the table name is an empty
785         string.
786         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
787         event handler for table change event. Change to using
788         getDetailsLayout() for the default details layout.
789         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
790         name to URL token.
791         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
792         when navigating to the details place.
793
794 2011-06-27  Ben Konrath  <ben@bagu.org>
795
796         Use filename based unique document ID in URL and for RPC.
797
798         The document ID is the glom document name with spaces (' ') replaced
799         with pluses ('+') and without the .glom extension.
800
801         This change is mostly a string substitution of 'documentTitle' for
802         'documentID'. The only code change is the addition of a Documents DTO to get the
803         filename to document title mappings as indicated below.
804
805         * src/main/java/org/glom/web/client/OnlineGlomService.java:
806         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
807         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
808         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
809         Use Documents DTO to create the document links in the document
810         selection view.
811         * src/main/java/org/glom/web/client/activity/ListActivity.java:
812         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
813         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
814         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
815         * src/main/java/org/glom/web/client/place/ListPlace.java:
816         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
817         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
818         * src/main/java/org/glom/web/client/ui/ListView.java:
819         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
820         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
821         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
822         * src/main/java/org/glom/web/server/Log.java:
823         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
824         getDocumentTitles() to getDocuments() and return the Documents DTO.
825         * src/main/java/org/glom/web/shared/Documents.java: New DTO for
826         transferring the filename to document title mappings.
827
828 2011-06-25  Ben Konrath  <ben@bagu.org>
829
830         Make the authentication popup work again.
831
832         This bug was introduced when I extracted ConfiguredDocument to its own class.
833
834         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
835         correct success / fail status in setUsernameAndPassword().
836
837 2011-06-25  Ben Konrath  <ben@bagu.org>
838
839         Use filename as unique key for configuring database usernames and passwords.
840
841         This replaces the use of the Glom document title which could change
842         depending on the locale. Thanks to Murray Cumming for pointing out this
843         problem.
844
845         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
846         * src/main/resources/onlineglom.properties:
847
848 2011-06-24  Ben Konrath  <ben@bagu.org>
849
850         Pass primary key value to DetailsView.
851
852         This enables the DetailsView to load the correct data.
853
854         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
855         primary key value field and set in constructor. Pass primary key
856         value to getDetailsData().
857         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
858         variables for document title and primary key value.
859         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
860         key value to the DetailsPlace.
861
862 2011-06-24  Ben Konrath  <ben@bagu.org>
863
864         Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
865
866         This allows the primary key to be retrieved by the Details button. This
867         functionality has not been implemented yet but it's in the works.
868
869         * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
870         the LayoutGroup result to ListView.setCellTable instead of all of its
871         fields individually.
872         * src/main/java/org/glom/web/client/ui/ListView.java:
873         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
874         LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
875         get the primary key for the table.
876         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
877         index of the primary key in the LayoutGroup accounting for hidden
878         primary keys. Rename getJavaNumberFormat() to
879         convertToJavaNumberFormat() for consistency. Cleanup / add some
880         comments.
881         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
882         field for primary key index and a field to indicate whether the
883         primary key is hidden or not.
884
885 2011-06-23  Ben Konrath  <ben@bagu.org>
886
887         Rename getTableData methods to getListData.
888
889         This is a rename refactor for consistency with other methods.
890
891         * src/main/java/org/glom/web/client/OnlineGlomService.java:
892         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
893         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
894         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
895
896 2011-06-23  Ben Konrath  <ben@bagu.org>
897
898         Extract the ConfiguredDocument innerclass into its own class.
899
900         This makes the servlet code more object oriented.
901
902         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
903         from private ConfiguredDocument class in OnlineGlomServiceImpl.
904         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
905         new ConfiguredDocument class.
906
907 2011-06-21  Ben Konrath  <ben@bagu.org>
908
909         Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
910
911         This makes things more inline with how libglom works and reduces code
912         duplication. This refactor lays the groundwork for adding the primary key to
913         the LayoutGroup object.
914
915         * src/main/java/org/glom/web/client/OnlineGlomService.java:
916         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
917         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
918         Change method names to getListLayout and getDefaultListLayout for
919         consistency. Use LayoutGroup as the DTO for the list layout instead of
920         ColumnInfo and LayoutListTable.
921         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
922         new method names along with the LayoutGroup object for transferring the
923         list layout.
924         * src/main/java/org/glom/web/client/ui/ListView.java:
925         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
926         Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
927         * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
928         with LayoutGroup.
929         * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
930         Replaced with LayoutGroup.
931         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
932         expectedResultSize and defaultTableName fields which are needed for
933         the list layout.
934         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
935         type field which is needed for the list layout but will also be
936         useful for the details layout as things progress.
937         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
938         Make class abstract. Remove the unnecessary
939         getFormattingHorizontalAlignment method. Add setFormatting method.
940
941 2011-06-16  Ben Konrath  <ben@bagu.org>
942
943         Add scripts for building and installing war.
944
945         These will help when updating OnlineGlom but they're also good
946         supplemental documentation of the build and deployment proceeding.
947
948         * utils/build-onlineglom-war.sh: New file.
949         * utils/install-onlineglom-war.sh: New file.
950
951 2011-06-16  Ben Konrath  <ben@bagu.org>
952
953         Create wrapper class to create consistent log messages.
954
955         I wrapped methods in the Log class of gwt-log to add the method names
956         from the servlet and create consistent formatting of the document title
957         and table names in the log messages.
958
959         * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
960         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
961         log methods to use methods from wrapped Log class.
962
963 2011-06-16  Ben Konrath  <ben@bagu.org>
964
965         Remove superfluous conditional return.
966
967         Thanks to Murray Cumming for pointing this out!
968
969         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
970
971 2011-06-15  Ben Konrath  <ben@bagu.org>
972
973         Return an ArrayList of LayoutGroups for the Details layout.
974
975         This corrects a problem with the details layout as it can have more
976         than one top level LayoutGroup.
977
978         * src/main/java/org/glom/web/client/OnlineGlomService.java:
979         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
980         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
981         an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
982         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
983         with ArrayList of LayoutGroups for the details view layout.
984         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
985         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
986         ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
987         getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
988         the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
989         getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
990
991 2011-06-14  Ben Konrath  <ben@bagu.org>
992
993         Use cast_dynamic method to determine the libglom LayoutItem type.
994
995         This is better than finding the LayoutItem type by using the string
996         returned from the get_part_type_name() method.
997
998         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
999
1000 2011-06-14  Ben Konrath  <ben@bagu.org>
1001
1002         Add method names to log entries in the servlet.
1003
1004         This helps when tracking down deployment problems.
1005
1006         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1007
1008 2011-06-14  Ben Konrath  <ben@bagu.org>
1009
1010         Add data to the DetailsView using a hard-coded primary key value.
1011
1012         The layout and functionality of the DetailsView is not complete. This
1013         is just a checkpoint so the patch doesn't get too big.
1014
1015         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1016         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1017         Add getDetailsData() servlet method.
1018         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1019         Add RPC to getDetailsData(). Change the way the LayoutGroups and
1020         LayoutFields are added to the DetailsView.
1021         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1022         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1023         Add setData() method. Change addLayoutGroup() and addLayoutField() to
1024         take the string for the title instead of the object.
1025         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1026         Add implementation getDetailsData() along with some private helper
1027         methods.
1028         * src/main/webapp/style.css: Add padding to details-data class. Add a
1029         details-label class with the same padding as the details-data class.
1030
1031 2011-06-03  Ben Konrath  <ben@bagu.org>
1032
1033         Use presenter.goTo() to change to the DetailsPlace.
1034
1035         This will make things easier when we need to open the DetailsView with
1036         data specific to the row that was clicked.
1037
1038         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1039
1040 2011-06-02  Ben Konrath  <ben@bagu.org>
1041
1042         Add CSS file from mockups.
1043
1044         I'm adding this now because it's going to be useful to have when
1045         developing the DetailsView. The TableSelectionView and ListView aren't
1046         setup properly yet.
1047
1048         * src/main/webapp/OnlineGlom.html:
1049         * src/main/webapp/style.css:
1050
1051 2011-06-02  Ben Konrath  <ben@bagu.org>
1052
1053         Use String.isEmpty() to check for empty string.
1054
1055         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1056
1057 2011-06-02  Ben Konrath  <ben@bagu.org>
1058
1059         Display main layout group titles in the DetailsView.
1060
1061         This is the start of the DetailsActivity/DetailsView implementation.
1062
1063         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1064         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1065         Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1066         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1067         Get the layout information for the details view from the server and set
1068         the main layout group titles.
1069         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1070         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1071         Add addLayoutGroup() and addLayoutField() methods. This are just
1072         temporary methods for creating the the details view that will change
1073         in the future.
1074         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1075         Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1076         methods.
1077         * src/main/java/org/glom/web/shared/layout/Formatting.java:
1078         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1079         * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1080         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1081         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1082         Data Transfer Objects that mimic the libglom object structure. These are
1083         used for transferring the details layout but could also be used for
1084         transferring the list layout.
1085
1086 2011-05-27  Ben Konrath  <ben@bagu.org>
1087
1088         Reset the AuthenticationPopup when clearing the ListView.
1089
1090         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1091
1092 2011-05-27  Ben Konrath  <ben@bagu.org>
1093
1094         Fix problem with onlineglom.properties file loading.
1095
1096         The old way worked in Eclipse but not on the server. Loading the
1097         onlineglom.properties file now works in Eclipse and on the server.
1098
1099         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1100
1101 2011-05-24  Ben Konrath  <ben@bagu.org>
1102
1103         Update gwt-log from 3.1.0 to 3.1.2.
1104
1105         Gwt-log 3.1.0 has been marked as depreciated.
1106
1107         * pom.xml:
1108
1109 2011-05-24  Ben Konrath  <ben@bagu.org>
1110
1111         Add comment to ListActivity.goTo() method.
1112
1113         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1114
1115 2011-05-24  Ben Konrath  <ben@bagu.org>
1116
1117         Remove FIXME in convertGdkColorToHtmlColour()
1118
1119         The Gdk::Color value returned by libglom is 16-bits per channel on both
1120         64 and 32-bit platforms.
1121
1122         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1123
1124 2011-05-19  Ben Konrath  <ben@bagu.org>
1125
1126         Improve performance of initial ListView load.
1127
1128         I removed a round trip to the server for getting the default table name
1129         and then requesting information about that table. This also removes a potential
1130         problem with the table change handler not being setup in time to receive the
1131         table change event from the ListActivity.
1132
1133         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1134         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1135         getDefaultLayoutListTable() method. Improve comments.
1136         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1137         getDefaultLayoutListTable() method instead of firing a table change
1138         event to get the table to load.
1139         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1140         implementation of getDefaultLayoutListTable() method.
1141         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1142         table name.
1143
1144 2011-05-19  Ben Konrath  <ben@bagu.org>
1145
1146         Override toDebugString() in TableChangeEvent.
1147
1148         This is useful to have for debugging.
1149
1150         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1151
1152 2011-05-19  Ben Konrath  <ben@bagu.org>
1153
1154         Add a "Back to List" link when at the DetailsPlace.
1155
1156         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1157         Populate the CellTable based on the selected table of the ListBox if
1158         it's set otherwise use the default table. This allows the "Back to
1159         List" link to work.
1160         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1161         Remove Place from constructors. Add a setPlace() method. Add
1162         goToPlace() method. Set class as presenter for TableSelectionView.
1163         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1164         Use the same TableSelectionActivity when switching between the List and
1165         Details Places.
1166         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1167         Subclass the new HasSelectableTablePlace. This removes some duplicate
1168         code.
1169         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1170         New class to represent Places that display the TableSelectionView.
1171         * src/main/java/org/glom/web/client/place/ListPlace.java:
1172         Subclass the new HasSelectableTablePlace. This removes some duplicate
1173         code.
1174         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1175         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1176         Add Presenter interface. Add setBackLinkVisible() method. Add
1177         setBackLink() method.
1178
1179 2011-05-18  Ben Konrath  <ben@bagu.org>
1180
1181         Enable the "Details" buttons.
1182
1183         Right now only an empty details view is displayed.
1184
1185         * src/main/java/org/glom/web/client/ClientFactory.java:
1186         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1187         Add DetailsView to ClientFactory.
1188         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1189         A basic activity for the details view.
1190         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1191         Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1192         clearView().
1193         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1194         Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1195         GWT.
1196         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1197         Create a new DetailsActivity when a DetailsPlace is requested. Remove
1198         unnecessary super() in constructor.
1199         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1200         Create a new TableSelectionActivity when a DetailsPlace is requested. We
1201         really shouldn't create a new TableSelectionActivity for both the ListPlace
1202         and the DetailsPlace so this should be considered a temporary solution.
1203         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1204         New file. Represents a URL for the details view.
1205         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1206         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1207         A basic details view interface and implementation.
1208         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1209         Enable the "Details" buttons.
1210
1211 2011-05-12  Ben Konrath  <ben@bagu.org>
1212
1213         Use a LayoutPanel with multiple display areas for main layout.
1214
1215         This is mostly a refactor in that there are no changes from the user
1216         point of view. These changes are required so that we can swap out the list view
1217         with the details view when the user clicks the "Details" button.
1218
1219         * src/main/java/org/glom/web/client/ClientFactory.java:
1220         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1221         OnlineGlomView. Add TableSelectionView, ListView and
1222         AuthenticationPopup.
1223         * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1224         for main layout. Add display regions for main activities. Add
1225         activity manager for for main activities.
1226         * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1227         file from parts of the deleted OnlineGlomActivity.
1228         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1229         New file from parts of the deleted OnlineGlomActivity.
1230         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1231         * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1232         New files for app wide table change event.
1233         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1234         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1235         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1236         Activity mappers for the main activities replace the deleted app-wide
1237         AppActivityMapper.
1238         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1239         Fix a spelling error in he comment.
1240         * src/main/java/org/glom/web/client/ui/ListView.java:
1241         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1242         Renamed from LayoutListView and modified for MVP. This still not a
1243         proper dumb view as prescribed by the MVP pattern but it works for now.
1244         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1245         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1246         New widget stripped out of the deleted OnlineGlomView.
1247         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1248         Remove hack that is fixed by this patch.
1249
1250 2011-05-06  Ben Konrath  <ben@bagu.org>
1251
1252         Rename OnlineGlomPlace to ListPlace.
1253
1254         The only change besides the rename is that url will now display #list
1255         instead of #Document.
1256
1257         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1258         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1259         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1260         * src/main/java/org/glom/web/client/place/ListPlace.java:
1261         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1262
1263 2011-05-06  Ben Konrath  <ben@bagu.org>
1264
1265         Use Presenter for app navigation.
1266
1267         This is the proper way to deal with Place (URL) changes with the MVP
1268         framework.
1269
1270         * src/main/java/org/glom/web/client/ClientFactory.java:
1271         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1272         PlaceHistoryMapper and PlaceHistoryHandler.
1273         * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1274         PlaceHistoryMapper and PlaceHistoryHandler.
1275         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1276         Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1277         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1278         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1279         Add Presenter interface and setPresenter methods. Rename addHyperLink
1280         to addDocumentLink taking only the document title as a parameter.
1281
1282 2011-04-14  Ben Konrath  <ben@bagu.org>
1283
1284         Prompt for db username/password if they haven't been set.
1285
1286         This is implemented with a popup widget that is contained within the
1287         OnlineGlomView and managed by the OnlineGlomActivity.
1288
1289         * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1290         methods for checking and setting the database username and password.
1291         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1292         new methods for checking and setting the database username and
1293         password.
1294         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1295         Display authentication popup if the JDBC connection to the database
1296         has not been authenticated.
1297         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1298         file.
1299         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1300         for dealing with the authentication popup.
1301         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1302         Implement the methods for dealing with the authentication popup.
1303         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1304         try to executed queries if the database connection hasn't been
1305         authenticated. Implement methods for checking and setting the
1306         database username and password.
1307
1308 2011-04-12  Ben Konrath  <ben@bagu.org>
1309
1310         Make log messages a little clearer.
1311
1312         Add a dash betweeen the document title and the table name.
1313
1314         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1315
1316 2011-04-12  Ben Konrath  <ben@bagu.org>
1317
1318         Protect against NPEs when cleaning up database resources.
1319
1320         While this isn't strictly necessary because the exception is caught,
1321         not protecting against the NPEs makes it harder to find the real error
1322         in the log file.
1323
1324         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1325
1326 2011-04-12  Ben Konrath  <ben@bagu.org>
1327
1328         Move configuration of the servlet to the constructor.
1329
1330         The servlet will be initialized even if the database authentication
1331         information is not set or correct. I still need to add the UI for prompting
1332         the user for the authentication information when it's required.
1333
1334         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1335         javadocs for getDocumentTitles() method.
1336         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1337         Set error message when RPC fails.
1338         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1339         glom files directory from the configuration file. Try to set the
1340         database authentication information for the specific document if it's
1341         set and works otherwise try to use the global authentication
1342         information set for the directory.
1343         * src/main/resources/onlineglom.properties: Moved from
1344         src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1345         Added detailed comments for the new keys.
1346
1347 2011-04-11  Ben Konrath  <ben@bagu.org>
1348
1349         Remove unnecessary @Override in DocumentSelectionViewImpl.
1350
1351         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1352
1353 2011-04-11  Ben Konrath  <ben@bagu.org>
1354
1355         Remove center alignment in DocumentSelectionView.
1356
1357         The title element is still centred but the document titles and bottom
1358         sentence are both left-aligned.
1359
1360         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1361
1362 2011-04-11  Ben Konrath  <ben@bagu.org>
1363
1364         Change 'Demo' naming convention to 'Document'.
1365
1366         This is just a rename refactor with no functional changes to the code.
1367
1368         * src/main/java/org/glom/web/client/ClientFactory.java:
1369         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1370         * src/main/java/org/glom/web/client/OnlineGlom.java:
1371         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1372         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1373         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1374         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1375         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1376         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1377         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1378         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1379         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1380         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1381
1382 2011-04-08  Ben Konrath  <ben@bagu.org>
1383
1384         Remove FIXME from safeLongToInt() method.
1385
1386         Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1387         this method.
1388
1389         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1390
1391 2011-04-08  Ben Konrath  <ben@bagu.org>
1392
1393         Display an error if no glom documents are found in the specified directory.
1394
1395         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1396         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1397         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1398         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1399
1400 2011-04-08  Ben Konrath  <ben@bagu.org>
1401
1402         Add copyright header to one more file ... oops.
1403
1404         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1405
1406 2011-04-08  Ben Konrath  <ben@bagu.org>
1407
1408         Add copyright header to files without it.
1409
1410         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1411         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1412         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1413         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1414         * src/main/java/org/glom/web/shared/ColumnInfo.java:
1415         * src/main/java/org/glom/web/shared/GlomField.java:
1416
1417 2011-04-08  Ben Konrath  <ben@bagu.org>
1418
1419         Add support for accessing multiple glom documents in the servlet.
1420
1421         This completes the demo selection functionality.
1422
1423         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1424         document title to methods.
1425         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1426         document title to methods.
1427         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1428         Set browser window title when the activity starts. Correct name of
1429         document title variable.
1430         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1431         Set browser window title when the activity starts. Set the table
1432         selector change handler after table selector has been set. Clear the
1433         OnlineGlomView when the activity has been stopped.
1434         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1435         document title as the place token. Use "#Document:" instead of
1436         "#OnlineGlomPlace:" in the URL.
1437         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1438         Change heading to "Online Glom"
1439         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1440         document title in RPC methods.
1441         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1442         setDocumentTitle() method. Add clear() method.
1443         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1444         setDocumentTitle() method. Implement clear() method which removes the
1445         change handler on the ListBox, clears the ListBox and clears the
1446         DataPanel.
1447         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1448         Implement methods with document title. Keep track for the configured
1449         glom documents and their corresponding JDBC configurations in a hash
1450         table. This information is retrieved using the document title as the
1451         key in the hash table.
1452         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1453         document title field as it's no longer needed.
1454
1455 2011-04-08  Ben Konrath  <ben@bagu.org>
1456
1457         Update the Eclipse JDT configuration.
1458
1459         * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1460         methods. Automatically add the copyright header to new files.
1461
1462 2011-04-05  Ben Konrath  <ben@bagu.org>
1463
1464         Add new page for demo selection.
1465
1466         This patch adds all the components required to view and start an
1467         OnlineGlom demo by clicking on the desired hyperlink. The user is
1468         able to return to the demo selection page with the browser's back
1469         button. I still need to modify the servlet to work with multiple
1470         documents so all demo links will load the file defined in the
1471         OnlineGlom.properties.
1472
1473         * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1474         This is only useful during development so we don't need to save it.
1475         * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1476         get a reference to the DemoSelectionView.
1477         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1478         method to get a reference to the DemoSelectionView.
1479         * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1480         default view to DemoSelectionView.
1481         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1482         to get glom document titles for glom files in a hard-coded directory.
1483         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1484         method to get glom document titles for glom files in a hard-coded
1485         directory.
1486         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1487         Presenter for DemoSelectionView.
1488         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1489         for DemoSelectionView.
1490         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1491         Update for DemoSelectionView.
1492         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1493         Basic 'Place' implementation for the DemoSelectionView.
1494         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1495         The interface for the DemoSelectionView.
1496         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1497         The implementation of the DemoSelectionView.
1498         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1499         The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1500         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1501         implementation of method to get glom document titles for glom files
1502         in a hard-coded directory.
1503         * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1504         on longer being used.
1505         * src/main/webapp/glom.png: Glom logo.
1506
1507 2011-04-05  Ben Konrath  <ben@bagu.org>
1508
1509         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1510
1511         This is the forth and final commit of a refactor that will allow
1512         OnlineGlom to be used with multiple documents.
1513
1514         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1515         Move RPC code from OnlineGlomViewImpl to this class.
1516         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1517         to inferface.
1518         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1519         RPC code to the presenter class (the P in MVP).
1520
1521 2011-04-04  Ben Konrath  <ben@bagu.org>
1522
1523         Start moving the existing OnlineGlom code to MVP.
1524
1525         This work is based on the GWT MVP framework that is documented here:
1526
1527         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1528
1529         This is the third commit of a refactor that will allow OnlineGlom to
1530         be used with multiple documents.
1531
1532         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1533         Interface for client factory which is used to get instances of various
1534         classes throughout the app.
1535         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1536         Implementation of client factory.
1537         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1538         initialize the MVP framework.
1539         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1540         New file. Activity manager for the main container widget. This is the
1541         Presenter in MVP.
1542         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1543         Maps place (URL) to its corresponding activity.
1544         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1545         New file. This is just a place holder for a generated file.
1546         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1547         New file. Represents the URL for the main Online Glom app.
1548         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1549         for changes in LayoutListViewImpl.
1550         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1551         interface for View. Move code to OnlineGlomViewImpl class.
1552         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1553         file. Implementation of OnlineGlomView.
1554         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1555         Place resources. Use ClientFactoryImpl by default.
1556
1557 2011-04-04  Ben Konrath  <ben@bagu.org>
1558
1559         Move View classes to their own package.
1560
1561         This is the second commit of a refactor that will allow OnlineGlom to
1562         be used with multiple documents.
1563
1564         * src/main/java/org/glom/web/client/OnlineGlom.java:
1565         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1566         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1567
1568 2011-04-02  Ben Konrath  <ben@bagu.org>
1569
1570         Move UI code from the main module to its own class.
1571
1572         This is the first commit of a refactor that will allow OnlineGlom to be
1573         used with multiple documents.
1574
1575         * src/main/java/org/glom/web/client/LayoutListView.java: Update
1576         references to OnlineGlom to OnlineGlomView.
1577         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1578         OnlineGlomView and instantiate it here.
1579         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1580         represents the main OnlineGlomView with one document.
1581
1582 2011-04-01  Ben Konrath  <ben@bagu.org>
1583
1584         Fix formatting of gwt.xml and add DTD.
1585
1586         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1587
1588 2011-03-30  Ben Konrath  <ben@bagu.org>
1589
1590         Propperly convert gdkColor string to html colour string.
1591
1592         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1593
1594 2011-03-28  Ben Konrath  <ben@bagu.org>
1595
1596         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1597
1598         This implementation matches
1599         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1600         readable and is not tied to Swig.
1601
1602         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1603
1604 2011-03-28  Ben Konrath  <ben@bagu.org>
1605
1606         Use read-only checkboxes for boolean field types.
1607
1608         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1609         in the CellTable based on the field type. It currently only
1610         distinguishes between boolean and text columns but I'll need to add
1611         support for more types.
1612         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1613         column type in the ColumnInfo object. Add method to convert between the
1614         glom field type enum in ColumnInfo and the glom field type in libglom.
1615         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1616         field type.
1617         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1618         getting and setting booleans.
1619
1620 2011-03-25  Ben Konrath  <ben@bagu.org>
1621
1622         Don't get the Date twice from the ResultSet.
1623
1624         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1625
1626 2011-03-25  Ben Konrath  <ben@bagu.org>
1627
1628         Cleanup code in the servlet.
1629
1630         * TODO: Remove item about row count. Add item about testing row count
1631         query with large number of rows.
1632         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1633         spelling mistakes, change method parameter to be consistent with
1634         other methods.
1635
1636 2011-03-25  Ben Konrath  <ben@bagu.org>
1637
1638         Add server side logging with the gwt-log library.
1639
1640         * .gitignore: Ignore the log file we're now producing.
1641         * TODO: Add a couple TODO item for logging.
1642         * pom.xml: Add gwt-log and log4j as a dependency.
1643         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1644         logging of errors, warnings and some important info.
1645         * src/main/resources/log4j.properties: New file to configure log4j.
1646
1647 2011-03-24  Ben Konrath  <ben@bagu.org>
1648
1649         Add a disable button for the Details view.
1650
1651         * src/main/java/org/glom/web/client/LayoutListView.java:
1652
1653 2011-03-22  Ben Konrath  <ben@bagu.org>
1654
1655         Use a count query to get the number of rows for the list view pager.
1656
1657         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1658
1659 2011-03-22  Ben Konrath  <ben@bagu.org>
1660
1661         Add more TODO information about CellTable pager positioning. 
1662
1663         * TODO:
1664
1665 2011-03-19  Ben Konrath  <ben@bagu.org>
1666
1667         Add TODO item about CellTable pager positioning.
1668
1669         * TODO:
1670
1671 2011-03-18  Ben Konrath  <ben@bagu.org>
1672
1673         Remove unneeded GlomFieldColumn class.
1674
1675         This is just a small code cleanup.
1676
1677         * src/main/java/org/glom/web/client/LayoutListView.java:
1678
1679 2011-03-18  Ben Konrath  <ben@bagu.org>
1680
1681         Use cursor mode in the query that gets data for the list view.
1682
1683         I still need to fix the potential memory problem when getting the row
1684         count for the list view.
1685
1686         * TODO: Add note about testing memory usage with large data sets. Add
1687         item about fixing row counting with large data sets.
1688         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1689         PostgreSQL JDBC driver into cursor mode when getting data for the
1690         list view.
1691
1692 2011-03-15  Ben Konrath  <ben@bagu.org>
1693
1694         Remove the GWT Container from the Eclipse build classpath.
1695
1696         The GWT dependencies are set by Maven so this isn't needed.
1697
1698         * .classpath:
1699
1700 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
1701
1702         Added some earlier mockups to git, but not to the tarball dist.
1703
1704         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1705         Openismus. These hopefully show how we might structure the HTML so that
1706         it can be styled easily with CSS. However, we probably need to adapt them
1707         for the CSS structure that GWT dictates for common widgets.
1708
1709 2011-03-14  Ben Konrath  <ben@bagu.org>
1710
1711         Locate OnlineGlom.properties using the ServletContext.
1712
1713         This is required to be able to locate the file in the deployed servlet.
1714
1715         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1716         Configure the database and glom document in in a helper method so
1717         that the ServletContext can be used to locate OnlineGlom.properties.
1718         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1719         src/main/webapp. This is the proper location for .properites files.
1720
1721 2011-03-12  Ben Konrath  <ben@bagu.org>
1722
1723         Add note to README about why we're compiling down to obfuscated JavaScript.
1724
1725         * README:
1726
1727 2011-03-11  Ben Konrath  <ben@bagu.org>
1728
1729         Use properties file to configure servlet.
1730
1731         This allows people to change the glom file path, db username and db
1732         password without recompiling the code.
1733
1734         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1735         * src/main/webapp/OnlineGlom.properties:
1736
1737 2011-03-11  Ben Konrath  <ben@bagu.org>
1738
1739         Use table fields in layout list view if the layout list is not defined.
1740
1741         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1742         Manually create a LayoutFieldVector for the query builder using the
1743         table fields when a layout list is not defined in the glom file.
1744
1745 2011-03-11  Ben Konrath  <ben@bagu.org>
1746
1747         Only show FIXME string for images when there's an image.
1748
1749         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1750         in this change are some small code cleanups.
1751
1752 2011-03-11  Ben Konrath  <ben@bagu.org>
1753
1754         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1755
1756         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1757
1758 2011-03-11  Ben Konrath  <ben@bagu.org>
1759
1760         Correctly set the index of the default table.
1761
1762         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1763         Correctly set the index of the default table. Add commented out example
1764         file paths.
1765
1766 2011-03-10  Ben Konrath  <ben@bagu.org>
1767
1768         Add comment to pom.xml about the previous change.
1769
1770         * pom.xml: Add comment about the deployment issue so that it's obvious
1771         why java-libglom is set to the provided scope.
1772
1773 2011-03-10  Ben Konrath  <ben@bagu.org>
1774
1775         Change java-libglom dependency from compile to provided in pom.xml.
1776
1777         Since java-libglom uses jni it can only be loaded once and therefore
1778         must be placed in $CATALINA_HOME/lib and not included in each war.
1779         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1780         More information about this issue can be found in the Tomcat 6 release
1781         notes in the "JNI Based Applications" section:
1782
1783         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1784
1785         * README: Remove note about this issue. Deployment info should really
1786         be on the wiki anyway so I'll add it right now.
1787         * pom.xml: Change java-libglom dependency from compile to provided so
1788         that it's copied in to the packaged war.
1789
1790 2011-03-09  Ben Konrath  <ben@bagu.org>
1791
1792         Change to using a neutral locale for currency, date and time formatting.
1793
1794         This solves the problem of currency values being represented without a
1795         space between the currency code and the number (e.g. "EUR5.89" is now
1796         represented as "EUR 5.89"). More work is required when we implement
1797         a locale preference setting.
1798
1799         * TODO: Add note about currency formatting issues with different
1800         locales.
1801         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1802         to using the neutral ROOT locale.
1803
1804 2011-03-09  Ben Konrath  <ben@bagu.org>
1805
1806         Add support for currency codes that are not ISO 4217 codes.
1807
1808         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1809         the currency code defined in the glom file when it's not 3 characters
1810         long or when Java doesn't recognize the string as an ISO 4217 code.
1811
1812 2011-03-08  Ben Konrath  <ben@bagu.org>
1813
1814         Remove test classes, launch configurations and configuration.
1815
1816         The test stuff was getting in the way when creating the war. To make
1817         the war file you can now do 'mvn clean package'. The packaged war file
1818         will be in the target directory.
1819
1820         * .classpath: Remove unused classpathentry for tests and i18n.
1821         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1822         property. Don't run test or i18n goals when packaging the war.
1823         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1824         formatting.
1825
1826         Removed files:
1827
1828         * OnlineGlomTest-dev.launch:
1829         * OnlineGlomTest-prod.launch:
1830         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1831         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1832
1833 2011-03-07  Ben Konrath  <ben@bagu.org>
1834
1835         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1836
1837         These fixes allow me to use 'mvn deploy' to create the war file.
1838
1839         * .classpath: This generated config has been updated by Eclipse. This
1840         change was probably triggered by me updating from Eclipse 3.6.1 to
1841         3.6.2.
1842         * .gitignore: Add entry to ignore the directory
1843         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1844         * .project: The generated config has been updated by Eclipse. This
1845         change was probably triggered by me updating from Eclipse 3.6.1 to
1846         3.6.2.
1847         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1848         so that Eclipse doesn't complain
1849         * pom.xml: Update to gwt-maven-plugin 2.2.0.
1850         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1851         'tests' directory to 'client' directory. This is the new
1852         gwt-maven-plugin convension.
1853         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1854         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1855
1856 2011-03-07  Ben Konrath  <ben@bagu.org>
1857
1858         Add support for horizontal alignment in the LayoutList columns.
1859
1860         * TODO: Remove item about horizontal alignment. Add item about
1861         improvements to ColumnInfo.
1862         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1863         alignment on the columns. Use ColumnInfo RPC object get the column
1864         title and horizontal alignment.
1865         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1866         LayoutListView creation with ColumnInfo RPC object.
1867         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1868         a ColumnInfo object for every LayoutList columnn. Convert the
1869         FieldFormatting.HorizontalAlignment to the correct
1870         ColumnnInfo.HorizontatlAlignment with the new
1871         getColumnInfoHorizontalAlignment helper method.
1872         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1873         to encapsulate column information like alignment and title. This
1874         could be used to set the colour instead of on a per cell field basis.
1875         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1876         column title storage and retrieval with ColumnInfo.
1877
1878 2011-03-04  Ben Konrath  <ben@bagu.org>
1879
1880         Add support for column sorting.
1881
1882         * src/main/java/org/glom/web/client/LayoutListView.java: Change
1883         AsynDataProvider to be an anonymous inner class. Use new
1884         getSortedTableData RPC method when column sort is requested. Set all
1885         columns sortable and add an AsyncHandler to activate sorting in the
1886         AsyncDataProvider.
1887         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1888         method getSortedTableData(). Cleanup other method signatures.
1889         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1890         new method getSortedTableData(). Cleanup other method signatures.
1891         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1892         Implement getSortedTableData() and getTableData() methods by using a
1893         private helper method with the appropriate parameters filled in. Use
1894         user supplied sort clause when supplied, otherwise fall back to
1895         sorting by the primary key. Move destroy() method to be underneath
1896         constructor for readability.  Cleanup comments.
1897
1898 2011-03-03  Ben Konrath  <ben@bagu.org>
1899
1900         Add support for colour text and colour backgrounds to the layout list cells.
1901
1902         Only the cell backgrounds are coloured which leaves a gap between the
1903         cells that isn't coloured. I need to figure out a way to set
1904         'style=background-colour:' on the whole column rather than just the
1905         cell.
1906
1907         * TODO: Add a note about colouring the background of the whole column.
1908         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1909         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1910         render the coloured text and backgrounds. Use GlomField[] for the row type.
1911         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1912         for the row type.
1913         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1914         GlomField[] for the row type.
1915         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1916         GlomField[] for the row type. Set the text, text colour and background
1917         colour in the GlomField objects as specified in the glom document. Add
1918         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1919         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1920         the glom field text, foreground colour and background colour.
1921
1922 2011-03-02  Ben Konrath  <ben@bagu.org>
1923
1924         Don't display hidden tables in the combo box.
1925
1926         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1927         ArrayLists.
1928         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1929         code to ignore hidden tables using ArrayLists for the table names and
1930         titles.
1931         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1932         tableNames to use ArrayLists instead of String[]. Update getter and setter
1933         methods.
1934
1935 2011-03-01  Ben Konrath  <ben@bagu.org>
1936
1937         Add support for Date and Time number types.
1938
1939         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1940         Implement formatting for Date and Time values. Change the default glom
1941         file to small business example.
1942
1943 2011-03-01  Ben Konrath  <ben@bagu.org>
1944
1945         Add support for formatting glom types as specified in the glom file.
1946
1947         Formatting isn't finished yet - I still need to add support for Date
1948         and Time values.
1949
1950         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1951         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1952         checks for null values in JDBC cleanup code and catch all exceptions
1953         instead of just SQLExceptions.
1954         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1955         method name.
1956
1957 2011-03-01  Ben Konrath  <ben@bagu.org>
1958
1959         Use GWT 2.2.0 instead of 2.1.1.
1960
1961         * pom.xml: Change GWT version numbers.
1962
1963 2011-03-01  Ben Konrath  <ben@bagu.org>
1964
1965         A few small code cleanups.
1966
1967         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1968         duplicate for loop.
1969         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1970         unnecessary object creation in constructor.
1971         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1972         unnecessary object creation in constructor.
1973
1974 2011-02-28  Ben Konrath  <ben@bagu.org>
1975
1976         Add file for TODO list.
1977
1978         * TODO: New file.
1979
1980 2011-02-18  Ben Konrath  <ben@bagu.org>
1981
1982         Enable the CellTable Pager when more than 20 rows need to be viewed.
1983
1984         The Pager will automatically become active when the results are larger
1985         than the CellTable size which is currently set to 20 lines.
1986
1987         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1988         name on debug statment in RPC call in LayoutListDataProvider, add
1989         numRows parameter to LayoutListView constructor, propperly set rowCount
1990         in CellTable.
1991         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1992         name on debug statment in RPC call, use LayoutListTable object in RPC
1993         calls, pass rowCount to LayoutListView.
1994         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1995         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1996         object.
1997         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1998         interface for changes in OnlineGlomService.
1999         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2000         getLayoutListHeaders() to getLayoutListTable() and return
2001         LayoutListTable. Using this object allows me to pass other information
2002         about the LayoutList like the expected number of rows in the result set.
2003         The Connection object from the connection pool is now propperly closed.
2004         Only the requested number of lines are returned to the client in
2005         getTableData().
2006         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2007         GlomTable and add columnTitles and numRows.
2008
2009 2011-02-18  Ben Konrath  <ben@bagu.org>
2010
2011         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2012
2013         This is a small performance boost. I'll use GlomTable to get the required
2014         layoutlist information.
2015
2016         * src/main/java/org/glom/web/client/OnlineGlom.java:
2017         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2018         * src/main/java/org/glom/web/shared/GlomDocument.java:
2019
2020 2011-02-18  Ben Konrath  <ben@bagu.org>
2021
2022         Add option to turn off formatting in JDT formatter preferences.
2023
2024         * .settings/org.eclipse.jdt.core.prefs:
2025
2026 2011-02-18  Ben Konrath  <ben@bagu.org>
2027
2028         Rename LayoutList to LayoutListView.
2029
2030         I'm working towards setting things up to easily use MVP when the time
2031         comes.
2032
2033         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2034         LayoutList.java.
2035         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2036         references.
2037
2038 2011-02-17  Ben Konrath  <ben@bagu.org>
2039
2040         Move LayoutListDataProvider class into LayoutList.java.
2041
2042         * src/main/java/org/glom/web/client/LayoutList.java:
2043
2044 2011-02-17  Ben Konrath  <ben@bagu.org>
2045
2046         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2047
2048         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2049         references.
2050         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2051         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2052         from LibGlomServer.java.
2053         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2054         Rename from LibGlomServiceAsync.java.
2055         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2056         Rename from LibGlomServiceImpl.java.
2057         * src/main/webapp/WEB-INF/web.xml: Update configuration.
2058
2059 2011-02-17  Ben Konrath  <ben@bagu.org>
2060
2061         Update JDT settings.
2062
2063         * .settings/org.eclipse.jdt.core.prefs:
2064
2065 2011-02-17  Ben Konrath  <ben@bagu.org>
2066
2067         Move GWT-RPC objects to shared package (where they should be).
2068
2069         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2070         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2071         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2072         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2073         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2074         org.glom.web.shared package.
2075         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2076         org.glom.web.shared package.
2077         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2078         directory in compilation to javascript.
2079
2080 2011-02-16  Ben Konrath  <ben@bagu.org>
2081
2082         Add sort clause to the sql query that grabs table information.
2083
2084         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2085         if one of the columns is a primary key.
2086
2087 2011-02-16  Ben Konrath  <ben@bagu.org>
2088
2089         Disable generateAsync feature of gwt-maven.
2090
2091         The generated interface does not correctly match the methods in LibGlomService
2092         and the generated singleton Util inner-class doesn't respect the servlet
2093         mappings.
2094
2095         * pom.xml: Turn off generateAsync feature.
2096         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2097         with singleton Util inner-class.
2098
2099 2011-02-14  Ben Konrath  <ben@bagu.org>
2100
2101         Add LGPL v3 licence notices.
2102
2103         Followed directions listed here:
2104         http://www.gnu.org/licenses/gpl-howto.html
2105
2106         * COPYING: This file is a copy of the GPL v3.
2107         * COPYING.LESSER: This file is a copy of the LGPL v3.
2108         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2109         notice.
2110         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2111         notice.
2112         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2113         notice.
2114         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2115         licence notice.
2116         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2117         notice.
2118         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2119         notice.
2120         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2121         licence notice.
2122
2123 2011-02-14  Ben Konrath  <ben@bagu.org>
2124
2125         Use ArrayList instead of Array in GWT-RPC calls.
2126
2127         Apparently this gives a slight performance boost to the compiled
2128         java script.
2129
2130         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2131         instead of Array.
2132         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2133         of Array.
2134
2135 2011-02-14  Ben Konrath  <ben@bagu.org>
2136
2137         Access data from a postgres db rather than the example glom file.
2138
2139         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2140         compile down to obfuscated javascript.
2141         * pom.xml: Add c3p0 and postgres JDBC libraries.
2142         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2143         using a postgres db accessed through the c3p0 connection pooling library.
2144
2145 2011-02-14  Ben Konrath  <ben@bagu.org>
2146
2147         Update Java formatter settings.
2148
2149         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2150
2151 2011-02-02  Ben Konrath  <ben@bagu.org>
2152
2153         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2154
2155         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2156         using Maven.
2157         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2158         the compiled webapp directory that Eclipse uses as we're using Maven now.
2159         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2160         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2161         to 1.6.
2162         * pom.xml: Format file, change target Java version to 1.6.
2163
2164 2011-02-02  Ben Konrath  <ben@bagu.org>
2165
2166         Add information about a deployment related issue.
2167
2168         * README: Add Notes section with the problem outlined.
2169
2170 2011-02-02  Ben Konrath  <ben@bagu.org>
2171
2172         Call Glom.libglom_deinit() when the servlet is shutdown.
2173
2174         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2175         Glom.libglom_deinit() to destroy() method.
2176
2177 2011-01-28  Ben Konrath  <ben@bagu.org>
2178
2179         Use generated Util class to get the RPC Async interface.
2180
2181         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2182         file.
2183         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2184         getInstance() method to get a reference to the RPC Async interface.
2185         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2186         getInstance() method to get a reference to the RPC Async interface, remove
2187         the now unused getLibGlomServiceProxy() method.
2188
2189 2011-01-27  Ben Konrath  <ben@bagu.org>
2190
2191         Cleanup ChangeLog entry from previous commit.
2192
2193         * ChangeLog: Group logical changes together and add comments.
2194
2195 2011-01-25  Ben Konrath  <ben@bagu.org>
2196
2197         Convert to gwt-maven project.
2198
2199         * .gitignore: Update for new project structure.
2200         * README: New file with a link to the online documentation.
2201         * pom.xml: The generated maven configuration file with some tweaks.
2202
2203         Add / update Eclipse settings. These files are a merge of the files that
2204         were generated with the gwt-maven plugin and the files we were previously
2205         using.
2206         * .classpath:
2207         * .project:
2208         * .settings/.jsdtscope:
2209         * .settings/com.google.gdt.eclipse.core.prefs:
2210         * .settings/com.google.gwt.eclipse.core.prefs:
2211         * .settings/org.eclipse.jdt.core.prefs:
2212         * .settings/org.eclipse.wst.common.component:
2213         * .settings/org.eclipse.wst.common.project.facet.core.xml:
2214         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2215         * .settings/org.maven.ide.eclipse.prefs:
2216         * OnlineGlomTest-dev.launch:
2217         * OnlineGlomTest-prod.launch:
2218
2219         Java source files moved from the 'src' directory to the directory structure
2220         required by maven.
2221         * src/main/java/org/glom/web/client/GlomDocument.java:
2222         * src/main/java/org/glom/web/client/GlomTable.java:
2223         * src/main/java/org/glom/web/client/LayoutList.java:
2224         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2225         * src/main/java/org/glom/web/client/LibGlomService.java:
2226         * src/main/java/org/glom/web/client/OnlineGlom.java:
2227         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2228
2229         Non-functional property file used for translations. I included this as
2230         reminder that it's something I need to sort out.
2231         * src/main/resources/org/glom/web/client/Messages.properties:
2232
2233         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2234         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2235
2236         The servlet configuration files moved from the 'war' directory.
2237         * src/main/webapp/OnlineGlom.css:
2238         * src/main/webapp/OnlineGlom.html:
2239         * src/main/webapp/WEB-INF/web.xml:
2240
2241         Generated test files with most of the code commented out. I included these
2242         so that it's easy to add tests when we're ready for them.
2243         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2244         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2245
2246 2011-01-25  Ben Konrath  <ben@bagu.org>
2247
2248         Remove unused println.
2249
2250         * src/org/glom/web/server/LibGlomServiceImpl.java:
2251
2252 2011-01-25  Ben Konrath  <ben@bagu.org>
2253
2254         Add project specific JDT settings.
2255
2256         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2257         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2258
2259 2011-01-25  Ben Konrath  <ben@bagu.org>
2260
2261         Populate celltable with example data.
2262
2263         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2264         * src/org/glom/web/client/GlomTable.java: Correct formatting.
2265         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2266         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2267         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2268         asynchronously gets the example data.
2269         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2270         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2271         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2272         curently selected table to be retrieved by other widgets.
2273         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2274         implement getTableData() in a hacky way. This method needs to be updated
2275         to grab information from the database when database creating is
2276         implemented.
2277
2278 2011-01-20  Ben Konrath  <ben@bagu.org>
2279
2280         Set table headers when table dropBox changes.
2281
2282         * src/org/glom/web/client/GlomDocument.java: Correct some method
2283         names.
2284         * src/org/glom/web/client/LibGlomService.java: Add method
2285         to get list layout field names.
2286         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2287         to get list layout field names.
2288         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2289         widget for list layout table.
2290         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2291         the table drop box and add new updateTable() method to asynchronously
2292         get the layout list field names for the currently selected table.
2293         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2294         implementation of getLayoutListHeaders() method.
2295         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2296
2297 2011-01-18  Ben Konrath  <ben@bagu.org>
2298
2299         Make a listBox with table titles instead of the flexTable demo.
2300
2301         This is the start of something more useful.
2302
2303         * .classpath: Exclude a bunch of packages from the JVM that are
2304         getting in the way of the Eclipse content assist.
2305         * src/org/glom/web/client/GlomDocument.java:
2306         * src/org/glom/web/client/GlomTable.java:
2307         * src/org/glom/web/client/LibGlomService.java:
2308         * src/org/glom/web/client/LibGlomServiceAsync.java:
2309         * src/org/glom/web/client/OnlineGlom.java:
2310         * src/org/glom/web/server/LibGlomServiceImpl.java:
2311         * war/OnlineGlom.html:
2312         * war/WEB-INF/web.xml:
2313
2314 211-01-13  Ben Konrath  <ben@bagu.org>
2315
2316         Update to new java-libglom API.
2317
2318         * .gitignore: Ignore OnlineGlom.war.
2319         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2320
2321 2010-12-20  Ben Konrath  <ben@bagu.org>
2322
2323         Add some basic style to the table listing.
2324
2325         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2326         header, print useful error message on async callback failure.
2327         * war/OnlineGlom.css: Add style for table header, remove defaults
2328         provided by the Eclipse project wizard.
2329
2330 2010-12-20  Ben Konrath  <ben@bagu.org>
2331
2332         Load example file from installed glom dir.
2333
2334         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2335         provided by java-libglom to find the example file.
2336
2337 2010-12-20  Ben Konrath  <ben@bagu.org>
2338
2339         Update Eclipse settings.
2340
2341         * .classpath:
2342         * .settings/com.google.gdt.eclipse.core.prefs:
2343         * .settings/com.google.gwt.eclipse.core.prefs:
2344
2345 2010-12-17  Ben Konrath  <ben@bagu.org>
2346
2347         Initial commit.
2348
2349         * .classpath: New file.
2350         * .gitignore: New file.
2351         * .project: New file.
2352         * .settings/com.google.gdt.eclipse.core.prefs: New file.
2353         * .settings/com.google.gwt.eclipse.core.prefs: New file.
2354         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2355         * src/org/glom/web/client/GlomTable.java: New file.
2356         * src/org/glom/web/client/OnlineGlom.java: New file.
2357         * src/org/glom/web/client/TableNameService.java: New file.
2358         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2359         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2360         * war/OnlineGlom.css: New file.
2361         * war/OnlineGlom.html: New file.
2362         * war/WEB-INF/web.xml: New file.
2363         * war/images/glom.png: New file.