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