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