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