Cleanup comments.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-07-08  Ben Konrath  <ben@bagu.org>
2
3         Cleanup comments.
4
5         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
6         added braces to a one line if statement because the Eclipse formatter
7         was getting confused.
8
9 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
10
11         Slightly improved log output when connection fails.
12
13         * src/main/java/org/glom/web/server/ConfiguredDocument.java
14         (ConfiguredDocument.setUsernameAndPassword):
15         We don't know for sure if it' the username/password that's wrong, so 
16         rephrase the message.
17         Also ouput the exception message, though it's generic in this case.
18
19 2011-07-07  Ben Konrath  <ben@bagu.org>
20
21         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
22
23         These should really be two separate tasks but I counldn't get things to
24         work with GWT 2.2.0 and Eclipse 3.7.
25
26         * .classpath:
27         * .project:
28         * .settings/org.eclipse.jdt.core.prefs:
29         * .settings/org.eclipse.jdt.ui.prefs:
30         * .settings/org.eclipse.ltk.core.refactoring.prefs:
31         * .settings/org.eclipse.m2e.core.prefs:
32         Add new config files. Update current files. Remove references to the
33         webtools plugins as we're not using any of the webtools features.
34         * .gitignore: Add logs directory which is created when running with
35         'mvn gwt:run'.
36         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
37         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
38         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
39         limitation:
40         http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
41
42 2011-07-07  Murray Cumming  <murrayc@murrayc.com>
43
44         onlineglom.properties: Add explanatory comments.
45
46         * src/main/resources/onlineglom.properties: Also change the default user 
47         from ben to someuser, to avoid the risk of people thinking we just 
48         stupidly hard-coded a locale path, when they see that on stderr or in a log.
49
50 2011-06-28  Ben Konrath  <ben@bagu.org>
51
52         Use filename in Log for incorrect passwords.
53
54         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
55         getFileName(String) method to get the filename from the URI.
56
57 2011-06-28  Ben Konrath  <ben@bagu.org>
58
59         Add the table name to the URL token for the ListPlace.
60
61         This makes things consistent between the DetailsPlace and the
62         ListPlace. It also allows the the ListPlace to be bookmarked.
63
64         * src/main/java/org/glom/web/client/OnlineGlomService.java:
65         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
66         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
67         Remove getDefaultListLayout(). The default layout is now returned
68         by the getListLayout() method when the table name is an empty string.
69         * src/main/java/org/glom/web/client/activity/ListActivity.java:
70         Add table name field. Change to a new ListPlace when the table
71         has been changed. Use getListLayout() for getting the default
72         list layout.
73         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
74         Add table name field. Set the correct table name in the list box
75         when loading from bookmark. This corrects a problem for the
76         DetailsPlace too.
77         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
78         Move table name to super-class (HasSelectableTable). Move document
79         and table URL keys to super-class in HasSelectableTable.
80         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
81         Add table name field. Add Tokenizer class with URL key common to
82         the subclasses (DetailsPlace and ListPlace).
83         * src/main/java/org/glom/web/client/place/ListPlace.java:
84         Add table name. Add code to parse the URL token.
85         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
86         Update ListPlace construction with empty table name string.
87         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
88         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
89         Change setTableSelectedIndex(int) to setSelectedTableName(String).
90         Update ListPlace construction with table name string.
91         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
92         Change defaultTableName field to tableName to reflect how it's now
93         used. Update the getter and setter methods.
94
95 2011-06-28  Ben Konrath  <ben@bagu.org>
96
97         Enable the table selector in the DetailsView.
98
99         * src/main/java/org/glom/web/client/OnlineGlomService.java:
100         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
101         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
102         Remove getDefaultDetailsLayout(). The default layout is now returned
103         by the getDetailsLayout() method when the table name is an empty
104         string.
105         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
106         event handler for table change event. Change to using
107         getDetailsLayout() for the default details layout.
108         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
109         name to URL token.
110         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
111         when navigating to the details place.
112
113 2011-06-27  Ben Konrath  <ben@bagu.org>
114
115         Use filename based unique document ID in URL and for RPC.
116
117         The document ID is the glom document name with spaces (' ') replaced
118         with pluses ('+') and without the .glom extension.
119
120         This change is mostly a string substitution of 'documentTitle' for
121         'documentID'. The only code change is the addition of a Documents DTO to get the
122         filename to document title mappings as indicated below.
123
124         * src/main/java/org/glom/web/client/OnlineGlomService.java:
125         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
126         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
127         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
128         Use Documents DTO to create the document links in the document
129         selection view.
130         * src/main/java/org/glom/web/client/activity/ListActivity.java:
131         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
132         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
133         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
134         * src/main/java/org/glom/web/client/place/ListPlace.java:
135         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
136         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
137         * src/main/java/org/glom/web/client/ui/ListView.java:
138         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
139         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
140         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
141         * src/main/java/org/glom/web/server/Log.java:
142         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
143         getDocumentTitles() to getDocuments() and return the Documents DTO.
144         * src/main/java/org/glom/web/shared/Documents.java: New DTO for
145         transferring the filename to document title mappings.
146
147 2011-06-25  Ben Konrath  <ben@bagu.org>
148
149         Make the authentication popup work again.
150
151         This bug was introduced when I extracted ConfiguredDocument to its own class.
152
153         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
154         correct success / fail status in setUsernameAndPassword().
155
156 2011-06-25  Ben Konrath  <ben@bagu.org>
157
158         Use filename as unique key for configuring database usernames and passwords.
159
160         This replaces the use of the Glom document title which could change
161         depending on the locale. Thanks to Murray Cumming for pointing out this
162         problem.
163
164         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
165         * src/main/resources/onlineglom.properties:
166
167 2011-06-24  Ben Konrath  <ben@bagu.org>
168
169         Pass primary key value to DetailsView.
170
171         This enables the DetailsView to load the correct data.
172
173         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
174         primary key value field and set in constructor. Pass primary key
175         value to getDetailsData().
176         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
177         variables for document title and primary key value.
178         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
179         key value to the DetailsPlace.
180
181 2011-06-24  Ben Konrath  <ben@bagu.org>
182
183         Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
184
185         This allows the primary key to be retrieved by the Details button. This
186         functionality has not been implemented yet but it's in the works.
187
188         * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
189         the LayoutGroup result to ListView.setCellTable instead of all of its
190         fields individually.
191         * src/main/java/org/glom/web/client/ui/ListView.java:
192         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
193         LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
194         get the primary key for the table.
195         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
196         index of the primary key in the LayoutGroup accounting for hidden
197         primary keys. Rename getJavaNumberFormat() to
198         convertToJavaNumberFormat() for consistency. Cleanup / add some
199         comments.
200         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
201         field for primary key index and a field to indicate whether the
202         primary key is hidden or not.
203
204 2011-06-23  Ben Konrath  <ben@bagu.org>
205
206         Rename getTableData methods to getListData.
207
208         This is a rename refactor for consistency with other methods.
209
210         * src/main/java/org/glom/web/client/OnlineGlomService.java:
211         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
212         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
213         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
214
215 2011-06-23  Ben Konrath  <ben@bagu.org>
216
217         Extract the ConfiguredDocument innerclass into its own class.
218
219         This makes the servlet code more object oriented.
220
221         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
222         from private ConfiguredDocument class in OnlineGlomServiceImpl.
223         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
224         new ConfiguredDocument class.
225
226 2011-06-21  Ben Konrath  <ben@bagu.org>
227
228         Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
229
230         This makes things more inline with how libglom works and reduces code
231         duplication. This refactor lays the groundwork for adding the primary key to
232         the LayoutGroup object.
233
234         * src/main/java/org/glom/web/client/OnlineGlomService.java:
235         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
236         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
237         Change method names to getListLayout and getDefaultListLayout for
238         consistency. Use LayoutGroup as the DTO for the list layout instead of
239         ColumnInfo and LayoutListTable.
240         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
241         new method names along with the LayoutGroup object for transferring the
242         list layout.
243         * src/main/java/org/glom/web/client/ui/ListView.java:
244         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
245         Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
246         * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
247         with LayoutGroup.
248         * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
249         Replaced with LayoutGroup.
250         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
251         expectedResultSize and defaultTableName fields which are needed for
252         the list layout.
253         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
254         type field which is needed for the list layout but will also be
255         useful for the details layout as things progress.
256         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
257         Make class abstract. Remove the unnecessary
258         getFormattingHorizontalAlignment method. Add setFormatting method.
259
260 2011-06-16  Ben Konrath  <ben@bagu.org>
261
262         Add scripts for building and installing war.
263
264         These will help when updating OnlineGlom but they're also good
265         supplemental documentation of the build and deployment proceeding.
266
267         * utils/build-onlineglom-war.sh: New file.
268         * utils/install-onlineglom-war.sh: New file.
269
270 2011-06-16  Ben Konrath  <ben@bagu.org>
271
272         Create wrapper class to create consistent log messages.
273
274         I wrapped methods in the Log class of gwt-log to add the method names
275         from the servlet and create consistent formatting of the document title
276         and table names in the log messages.
277
278         * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
279         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
280         log methods to use methods from wrapped Log class.
281
282 2011-06-16  Ben Konrath  <ben@bagu.org>
283
284         Remove superfluous conditional return.
285
286         Thanks to Murray Cumming for pointing this out!
287
288         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
289
290 2011-06-15  Ben Konrath  <ben@bagu.org>
291
292         Return an ArrayList of LayoutGroups for the Details layout.
293
294         This corrects a problem with the details layout as it can have more
295         than one top level LayoutGroup.
296
297         * src/main/java/org/glom/web/client/OnlineGlomService.java:
298         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
299         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
300         an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
301         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
302         with ArrayList of LayoutGroups for the details view layout.
303         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
304         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
305         ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
306         getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
307         the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
308         getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
309
310 2011-06-14  Ben Konrath  <ben@bagu.org>
311
312         Use cast_dynamic method to determine the libglom LayoutItem type.
313
314         This is better than finding the LayoutItem type by using the string
315         returned from the get_part_type_name() method.
316
317         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
318
319 2011-06-14  Ben Konrath  <ben@bagu.org>
320
321         Add method names to log entries in the servlet.
322
323         This helps when tracking down deployment problems.
324
325         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
326
327 2011-06-14  Ben Konrath  <ben@bagu.org>
328
329         Add data to the DetailsView using a hard-coded primary key value.
330
331         The layout and functionality of the DetailsView is not complete. This
332         is just a checkpoint so the patch doesn't get too big.
333
334         * src/main/java/org/glom/web/client/OnlineGlomService.java:
335         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
336         Add getDetailsData() servlet method.
337         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
338         Add RPC to getDetailsData(). Change the way the LayoutGroups and
339         LayoutFields are added to the DetailsView.
340         * src/main/java/org/glom/web/client/ui/DetailsView.java:
341         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
342         Add setData() method. Change addLayoutGroup() and addLayoutField() to
343         take the string for the title instead of the object.
344         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
345         Add implementation getDetailsData() along with some private helper
346         methods.
347         * src/main/webapp/style.css: Add padding to details-data class. Add a
348         details-label class with the same padding as the details-data class.
349
350 2011-06-03  Ben Konrath  <ben@bagu.org>
351
352         Use presenter.goTo() to change to the DetailsPlace.
353
354         This will make things easier when we need to open the DetailsView with
355         data specific to the row that was clicked.
356
357         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
358
359 2011-06-02  Ben Konrath  <ben@bagu.org>
360
361         Add CSS file from mockups.
362
363         I'm adding this now because it's going to be useful to have when
364         developing the DetailsView. The TableSelectionView and ListView aren't
365         setup properly yet.
366
367         * src/main/webapp/OnlineGlom.html:
368         * src/main/webapp/style.css:
369
370 2011-06-02  Ben Konrath  <ben@bagu.org>
371
372         Use String.isEmpty() to check for empty string.
373
374         * src/main/java/org/glom/web/client/activity/ListActivity.java:
375
376 2011-06-02  Ben Konrath  <ben@bagu.org>
377
378         Display main layout group titles in the DetailsView.
379
380         This is the start of the DetailsActivity/DetailsView implementation.
381
382         * src/main/java/org/glom/web/client/OnlineGlomService.java:
383         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
384         Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
385         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
386         Get the layout information for the details view from the server and set
387         the main layout group titles.
388         * src/main/java/org/glom/web/client/ui/DetailsView.java:
389         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
390         Add addLayoutGroup() and addLayoutField() methods. This are just
391         temporary methods for creating the the details view that will change
392         in the future.
393         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
394         Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
395         methods.
396         * src/main/java/org/glom/web/shared/layout/Formatting.java:
397         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
398         * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
399         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
400         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
401         Data Transfer Objects that mimic the libglom object structure. These are
402         used for transferring the details layout but could also be used for
403         transferring the list layout.
404
405 2011-05-27  Ben Konrath  <ben@bagu.org>
406
407         Reset the AuthenticationPopup when clearing the ListView.
408
409         * src/main/java/org/glom/web/client/activity/ListActivity.java:
410
411 2011-05-27  Ben Konrath  <ben@bagu.org>
412
413         Fix problem with onlineglom.properties file loading.
414
415         The old way worked in Eclipse but not on the server. Loading the
416         onlineglom.properties file now works in Eclipse and on the server.
417
418         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
419
420 2011-05-24  Ben Konrath  <ben@bagu.org>
421
422         Update gwt-log from 3.1.0 to 3.1.2.
423
424         Gwt-log 3.1.0 has been marked as depreciated.
425
426         * pom.xml:
427
428 2011-05-24  Ben Konrath  <ben@bagu.org>
429
430         Add comment to ListActivity.goTo() method.
431
432         * src/main/java/org/glom/web/client/activity/ListActivity.java:
433
434 2011-05-24  Ben Konrath  <ben@bagu.org>
435
436         Remove FIXME in convertGdkColorToHtmlColour()
437
438         The Gdk::Color value returned by libglom is 16-bits per channel on both
439         64 and 32-bit platforms.
440
441         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
442
443 2011-05-19  Ben Konrath  <ben@bagu.org>
444
445         Improve performance of initial ListView load.
446
447         I removed a round trip to the server for getting the default table name
448         and then requesting information about that table. This also removes a potential
449         problem with the table change handler not being setup in time to receive the
450         table change event from the ListActivity.
451
452         * src/main/java/org/glom/web/client/OnlineGlomService.java:
453         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
454         getDefaultLayoutListTable() method. Improve comments.
455         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
456         getDefaultLayoutListTable() method instead of firing a table change
457         event to get the table to load.
458         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
459         implementation of getDefaultLayoutListTable() method.
460         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
461         table name.
462
463 2011-05-19  Ben Konrath  <ben@bagu.org>
464
465         Override toDebugString() in TableChangeEvent.
466
467         This is useful to have for debugging.
468
469         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
470
471 2011-05-19  Ben Konrath  <ben@bagu.org>
472
473         Add a "Back to List" link when at the DetailsPlace.
474
475         * src/main/java/org/glom/web/client/activity/ListActivity.java:
476         Populate the CellTable based on the selected table of the ListBox if
477         it's set otherwise use the default table. This allows the "Back to
478         List" link to work.
479         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
480         Remove Place from constructors. Add a setPlace() method. Add
481         goToPlace() method. Set class as presenter for TableSelectionView.
482         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
483         Use the same TableSelectionActivity when switching between the List and
484         Details Places.
485         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
486         Subclass the new HasSelectableTablePlace. This removes some duplicate
487         code.
488         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
489         New class to represent Places that display the TableSelectionView.
490         * src/main/java/org/glom/web/client/place/ListPlace.java:
491         Subclass the new HasSelectableTablePlace. This removes some duplicate
492         code.
493         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
494         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
495         Add Presenter interface. Add setBackLinkVisible() method. Add
496         setBackLink() method.
497
498 2011-05-18  Ben Konrath  <ben@bagu.org>
499
500         Enable the "Details" buttons.
501
502         Right now only an empty details view is displayed.
503
504         * src/main/java/org/glom/web/client/ClientFactory.java:
505         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
506         Add DetailsView to ClientFactory.
507         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
508         A basic activity for the details view.
509         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
510         Add a new constructor that takes a DetailsPlace. Rename shutdown() to
511         clearView().
512         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
513         Add DetailsPlace.Tokenizer to the list of tokens that are generated by
514         GWT.
515         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
516         Create a new DetailsActivity when a DetailsPlace is requested. Remove
517         unnecessary super() in constructor.
518         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
519         Create a new TableSelectionActivity when a DetailsPlace is requested. We
520         really shouldn't create a new TableSelectionActivity for both the ListPlace
521         and the DetailsPlace so this should be considered a temporary solution.
522         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
523         New file. Represents a URL for the details view.
524         * src/main/java/org/glom/web/client/ui/DetailsView.java:
525         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
526         A basic details view interface and implementation.
527         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
528         Enable the "Details" buttons.
529
530 2011-05-12  Ben Konrath  <ben@bagu.org>
531
532         Use a LayoutPanel with multiple display areas for main layout.
533
534         This is mostly a refactor in that there are no changes from the user
535         point of view. These changes are required so that we can swap out the list view
536         with the details view when the user clicks the "Details" button.
537
538         * src/main/java/org/glom/web/client/ClientFactory.java:
539         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
540         OnlineGlomView. Add TableSelectionView, ListView and
541         AuthenticationPopup.
542         * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
543         for main layout. Add display regions for main activities. Add
544         activity manager for for main activities.
545         * src/main/java/org/glom/web/client/activity/ListActivity.java: New
546         file from parts of the deleted OnlineGlomActivity.
547         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
548         New file from parts of the deleted OnlineGlomActivity.
549         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
550         * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
551         New files for app wide table change event.
552         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
553         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
554         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
555         Activity mappers for the main activities replace the deleted app-wide
556         AppActivityMapper.
557         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
558         Fix a spelling error in he comment.
559         * src/main/java/org/glom/web/client/ui/ListView.java:
560         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
561         Renamed from LayoutListView and modified for MVP. This still not a
562         proper dumb view as prescribed by the MVP pattern but it works for now.
563         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
564         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
565         New widget stripped out of the deleted OnlineGlomView.
566         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
567         Remove hack that is fixed by this patch.
568
569 2011-05-06  Ben Konrath  <ben@bagu.org>
570
571         Rename OnlineGlomPlace to ListPlace.
572
573         The only change besides the rename is that url will now display #list
574         instead of #Document.
575
576         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
577         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
578         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
579         * src/main/java/org/glom/web/client/place/ListPlace.java:
580         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
581
582 2011-05-06  Ben Konrath  <ben@bagu.org>
583
584         Use Presenter for app navigation.
585
586         This is the proper way to deal with Place (URL) changes with the MVP
587         framework.
588
589         * src/main/java/org/glom/web/client/ClientFactory.java:
590         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
591         PlaceHistoryMapper and PlaceHistoryHandler.
592         * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
593         PlaceHistoryMapper and PlaceHistoryHandler.
594         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
595         Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
596         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
597         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
598         Add Presenter interface and setPresenter methods. Rename addHyperLink
599         to addDocumentLink taking only the document title as a parameter.
600
601 2011-04-14  Ben Konrath  <ben@bagu.org>
602
603         Prompt for db username/password if they haven't been set.
604
605         This is implemented with a popup widget that is contained within the
606         OnlineGlomView and managed by the OnlineGlomActivity.
607
608         * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
609         methods for checking and setting the database username and password.
610         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
611         new methods for checking and setting the database username and
612         password.
613         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
614         Display authentication popup if the JDBC connection to the database
615         has not been authenticated.
616         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
617         file.
618         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
619         for dealing with the authentication popup.
620         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
621         Implement the methods for dealing with the authentication popup.
622         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
623         try to executed queries if the database connection hasn't been
624         authenticated. Implement methods for checking and setting the
625         database username and password.
626
627 2011-04-12  Ben Konrath  <ben@bagu.org>
628
629         Make log messages a little clearer.
630
631         Add a dash betweeen the document title and the table name.
632
633         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
634
635 2011-04-12  Ben Konrath  <ben@bagu.org>
636
637         Protect against NPEs when cleaning up database resources.
638
639         While this isn't strictly necessary because the exception is caught,
640         not protecting against the NPEs makes it harder to find the real error
641         in the log file.
642
643         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644
645 2011-04-12  Ben Konrath  <ben@bagu.org>
646
647         Move configuration of the servlet to the constructor.
648
649         The servlet will be initialized even if the database authentication
650         information is not set or correct. I still need to add the UI for prompting
651         the user for the authentication information when it's required.
652
653         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
654         javadocs for getDocumentTitles() method.
655         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
656         Set error message when RPC fails.
657         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
658         glom files directory from the configuration file. Try to set the
659         database authentication information for the specific document if it's
660         set and works otherwise try to use the global authentication
661         information set for the directory.
662         * src/main/resources/onlineglom.properties: Moved from
663         src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
664         Added detailed comments for the new keys.
665
666 2011-04-11  Ben Konrath  <ben@bagu.org>
667
668         Remove unnecessary @Override in DocumentSelectionViewImpl.
669
670         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
671
672 2011-04-11  Ben Konrath  <ben@bagu.org>
673
674         Remove center alignment in DocumentSelectionView.
675
676         The title element is still centred but the document titles and bottom
677         sentence are both left-aligned.
678
679         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
680
681 2011-04-11  Ben Konrath  <ben@bagu.org>
682
683         Change 'Demo' naming convention to 'Document'.
684
685         This is just a rename refactor with no functional changes to the code.
686
687         * src/main/java/org/glom/web/client/ClientFactory.java:
688         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
689         * src/main/java/org/glom/web/client/OnlineGlom.java:
690         * src/main/java/org/glom/web/client/OnlineGlomService.java:
691         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
692         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
693         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
694         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
695         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
696         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
697         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
698         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
699         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
700
701 2011-04-08  Ben Konrath  <ben@bagu.org>
702
703         Remove FIXME from safeLongToInt() method.
704
705         Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
706         this method.
707
708         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
709
710 2011-04-08  Ben Konrath  <ben@bagu.org>
711
712         Display an error if no glom documents are found in the specified directory.
713
714         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
715         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
716         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
717         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
718
719 2011-04-08  Ben Konrath  <ben@bagu.org>
720
721         Add copyright header to one more file ... oops.
722
723         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
724
725 2011-04-08  Ben Konrath  <ben@bagu.org>
726
727         Add copyright header to files without it.
728
729         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
730         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
731         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
732         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
733         * src/main/java/org/glom/web/shared/ColumnInfo.java:
734         * src/main/java/org/glom/web/shared/GlomField.java:
735
736 2011-04-08  Ben Konrath  <ben@bagu.org>
737
738         Add support for accessing multiple glom documents in the servlet.
739
740         This completes the demo selection functionality.
741
742         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
743         document title to methods.
744         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
745         document title to methods.
746         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
747         Set browser window title when the activity starts. Correct name of
748         document title variable.
749         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
750         Set browser window title when the activity starts. Set the table
751         selector change handler after table selector has been set. Clear the
752         OnlineGlomView when the activity has been stopped.
753         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
754         document title as the place token. Use "#Document:" instead of
755         "#OnlineGlomPlace:" in the URL.
756         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
757         Change heading to "Online Glom"
758         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
759         document title in RPC methods.
760         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
761         setDocumentTitle() method. Add clear() method.
762         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
763         setDocumentTitle() method. Implement clear() method which removes the
764         change handler on the ListBox, clears the ListBox and clears the
765         DataPanel.
766         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
767         Implement methods with document title. Keep track for the configured
768         glom documents and their corresponding JDBC configurations in a hash
769         table. This information is retrieved using the document title as the
770         key in the hash table.
771         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
772         document title field as it's no longer needed.
773
774 2011-04-08  Ben Konrath  <ben@bagu.org>
775
776         Update the Eclipse JDT configuration.
777
778         * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
779         methods. Automatically add the copyright header to new files.
780
781 2011-04-05  Ben Konrath  <ben@bagu.org>
782
783         Add new page for demo selection.
784
785         This patch adds all the components required to view and start an
786         OnlineGlom demo by clicking on the desired hyperlink. The user is
787         able to return to the demo selection page with the browser's back
788         button. I still need to modify the servlet to work with multiple
789         documents so all demo links will load the file defined in the
790         OnlineGlom.properties.
791
792         * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
793         This is only useful during development so we don't need to save it.
794         * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
795         get a reference to the DemoSelectionView.
796         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
797         method to get a reference to the DemoSelectionView.
798         * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
799         default view to DemoSelectionView.
800         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
801         to get glom document titles for glom files in a hard-coded directory.
802         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
803         method to get glom document titles for glom files in a hard-coded
804         directory.
805         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
806         Presenter for DemoSelectionView.
807         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
808         for DemoSelectionView.
809         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
810         Update for DemoSelectionView.
811         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
812         Basic 'Place' implementation for the DemoSelectionView.
813         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
814         The interface for the DemoSelectionView.
815         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
816         The implementation of the DemoSelectionView.
817         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
818         The GWT UiBuilder xml file used in DemoSelectionViewImpl.
819         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
820         implementation of method to get glom document titles for glom files
821         in a hard-coded directory.
822         * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
823         on longer being used.
824         * src/main/webapp/glom.png: Glom logo.
825
826 2011-04-05  Ben Konrath  <ben@bagu.org>
827
828         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
829
830         This is the forth and final commit of a refactor that will allow
831         OnlineGlom to be used with multiple documents.
832
833         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
834         Move RPC code from OnlineGlomViewImpl to this class.
835         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
836         to inferface.
837         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
838         RPC code to the presenter class (the P in MVP).
839
840 2011-04-04  Ben Konrath  <ben@bagu.org>
841
842         Start moving the existing OnlineGlom code to MVP.
843
844         This work is based on the GWT MVP framework that is documented here:
845
846         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
847
848         This is the third commit of a refactor that will allow OnlineGlom to
849         be used with multiple documents.
850
851         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
852         Interface for client factory which is used to get instances of various
853         classes throughout the app.
854         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
855         Implementation of client factory.
856         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
857         initialize the MVP framework.
858         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
859         New file. Activity manager for the main container widget. This is the
860         Presenter in MVP.
861         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
862         Maps place (URL) to its corresponding activity.
863         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
864         New file. This is just a place holder for a generated file.
865         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
866         New file. Represents the URL for the main Online Glom app.
867         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
868         for changes in LayoutListViewImpl.
869         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
870         interface for View. Move code to OnlineGlomViewImpl class.
871         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
872         file. Implementation of OnlineGlomView.
873         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
874         Place resources. Use ClientFactoryImpl by default.
875
876 2011-04-04  Ben Konrath  <ben@bagu.org>
877
878         Move View classes to their own package.
879
880         This is the second commit of a refactor that will allow OnlineGlom to
881         be used with multiple documents.
882
883         * src/main/java/org/glom/web/client/OnlineGlom.java:
884         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
885         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
886
887 2011-04-02  Ben Konrath  <ben@bagu.org>
888
889         Move UI code from the main module to its own class.
890
891         This is the first commit of a refactor that will allow OnlineGlom to be
892         used with multiple documents.
893
894         * src/main/java/org/glom/web/client/LayoutListView.java: Update
895         references to OnlineGlom to OnlineGlomView.
896         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
897         OnlineGlomView and instantiate it here.
898         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
899         represents the main OnlineGlomView with one document.
900
901 2011-04-01  Ben Konrath  <ben@bagu.org>
902
903         Fix formatting of gwt.xml and add DTD.
904
905         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
906
907 2011-03-30  Ben Konrath  <ben@bagu.org>
908
909         Propperly convert gdkColor string to html colour string.
910
911         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
912
913 2011-03-28  Ben Konrath  <ben@bagu.org>
914
915         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
916
917         This implementation matches
918         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
919         readable and is not tied to Swig.
920
921         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
922
923 2011-03-28  Ben Konrath  <ben@bagu.org>
924
925         Use read-only checkboxes for boolean field types.
926
927         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
928         in the CellTable based on the field type. It currently only
929         distinguishes between boolean and text columns but I'll need to add
930         support for more types.
931         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
932         column type in the ColumnInfo object. Add method to convert between the
933         glom field type enum in ColumnInfo and the glom field type in libglom.
934         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
935         field type.
936         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
937         getting and setting booleans.
938
939 2011-03-25  Ben Konrath  <ben@bagu.org>
940
941         Don't get the Date twice from the ResultSet.
942
943         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
944
945 2011-03-25  Ben Konrath  <ben@bagu.org>
946
947         Cleanup code in the servlet.
948
949         * TODO: Remove item about row count. Add item about testing row count
950         query with large number of rows.
951         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
952         spelling mistakes, change method parameter to be consistent with
953         other methods.
954
955 2011-03-25  Ben Konrath  <ben@bagu.org>
956
957         Add server side logging with the gwt-log library.
958
959         * .gitignore: Ignore the log file we're now producing.
960         * TODO: Add a couple TODO item for logging.
961         * pom.xml: Add gwt-log and log4j as a dependency.
962         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
963         logging of errors, warnings and some important info.
964         * src/main/resources/log4j.properties: New file to configure log4j.
965
966 2011-03-24  Ben Konrath  <ben@bagu.org>
967
968         Add a disable button for the Details view.
969
970         * src/main/java/org/glom/web/client/LayoutListView.java:
971
972 2011-03-22  Ben Konrath  <ben@bagu.org>
973
974         Use a count query to get the number of rows for the list view pager.
975
976         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
977
978 2011-03-22  Ben Konrath  <ben@bagu.org>
979
980         Add more TODO information about CellTable pager positioning. 
981
982         * TODO:
983
984 2011-03-19  Ben Konrath  <ben@bagu.org>
985
986         Add TODO item about CellTable pager positioning.
987
988         * TODO:
989
990 2011-03-18  Ben Konrath  <ben@bagu.org>
991
992         Remove unneeded GlomFieldColumn class.
993
994         This is just a small code cleanup.
995
996         * src/main/java/org/glom/web/client/LayoutListView.java:
997
998 2011-03-18  Ben Konrath  <ben@bagu.org>
999
1000         Use cursor mode in the query that gets data for the list view.
1001
1002         I still need to fix the potential memory problem when getting the row
1003         count for the list view.
1004
1005         * TODO: Add note about testing memory usage with large data sets. Add
1006         item about fixing row counting with large data sets.
1007         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1008         PostgreSQL JDBC driver into cursor mode when getting data for the
1009         list view.
1010
1011 2011-03-15  Ben Konrath  <ben@bagu.org>
1012
1013         Remove the GWT Container from the Eclipse build classpath.
1014
1015         The GWT dependencies are set by Maven so this isn't needed.
1016
1017         * .classpath:
1018
1019 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
1020
1021         Added some earlier mockups to git, but not to the tarball dist.
1022
1023         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1024         Openismus. These hopefully show how we might structure the HTML so that
1025         it can be styled easily with CSS. However, we probably need to adapt them
1026         for the CSS structure that GWT dictates for common widgets.
1027
1028 2011-03-14  Ben Konrath  <ben@bagu.org>
1029
1030         Locate OnlineGlom.properties using the ServletContext.
1031
1032         This is required to be able to locate the file in the deployed servlet.
1033
1034         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1035         Configure the database and glom document in in a helper method so
1036         that the ServletContext can be used to locate OnlineGlom.properties.
1037         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1038         src/main/webapp. This is the proper location for .properites files.
1039
1040 2011-03-12  Ben Konrath  <ben@bagu.org>
1041
1042         Add note to README about why we're compiling down to obfuscated JavaScript.
1043
1044         * README:
1045
1046 2011-03-11  Ben Konrath  <ben@bagu.org>
1047
1048         Use properties file to configure servlet.
1049
1050         This allows people to change the glom file path, db username and db
1051         password without recompiling the code.
1052
1053         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1054         * src/main/webapp/OnlineGlom.properties:
1055
1056 2011-03-11  Ben Konrath  <ben@bagu.org>
1057
1058         Use table fields in layout list view if the layout list is not defined.
1059
1060         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1061         Manually create a LayoutFieldVector for the query builder using the
1062         table fields when a layout list is not defined in the glom file.
1063
1064 2011-03-11  Ben Konrath  <ben@bagu.org>
1065
1066         Only show FIXME string for images when there's an image.
1067
1068         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1069         in this change are some small code cleanups.
1070
1071 2011-03-11  Ben Konrath  <ben@bagu.org>
1072
1073         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1074
1075         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1076
1077 2011-03-11  Ben Konrath  <ben@bagu.org>
1078
1079         Correctly set the index of the default table.
1080
1081         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1082         Correctly set the index of the default table. Add commented out example
1083         file paths.
1084
1085 2011-03-10  Ben Konrath  <ben@bagu.org>
1086
1087         Add comment to pom.xml about the previous change.
1088
1089         * pom.xml: Add comment about the deployment issue so that it's obvious
1090         why java-libglom is set to the provided scope.
1091
1092 2011-03-10  Ben Konrath  <ben@bagu.org>
1093
1094         Change java-libglom dependency from compile to provided in pom.xml.
1095
1096         Since java-libglom uses jni it can only be loaded once and therefore
1097         must be placed in $CATALINA_HOME/lib and not included in each war.
1098         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1099         More information about this issue can be found in the Tomcat 6 release
1100         notes in the "JNI Based Applications" section:
1101
1102         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1103
1104         * README: Remove note about this issue. Deployment info should really
1105         be on the wiki anyway so I'll add it right now.
1106         * pom.xml: Change java-libglom dependency from compile to provided so
1107         that it's copied in to the packaged war.
1108
1109 2011-03-09  Ben Konrath  <ben@bagu.org>
1110
1111         Change to using a neutral locale for currency, date and time formatting.
1112
1113         This solves the problem of currency values being represented without a
1114         space between the currency code and the number (e.g. "EUR5.89" is now
1115         represented as "EUR 5.89"). More work is required when we implement
1116         a locale preference setting.
1117
1118         * TODO: Add note about currency formatting issues with different
1119         locales.
1120         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1121         to using the neutral ROOT locale.
1122
1123 2011-03-09  Ben Konrath  <ben@bagu.org>
1124
1125         Add support for currency codes that are not ISO 4217 codes.
1126
1127         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1128         the currency code defined in the glom file when it's not 3 characters
1129         long or when Java doesn't recognize the string as an ISO 4217 code.
1130
1131 2011-03-08  Ben Konrath  <ben@bagu.org>
1132
1133         Remove test classes, launch configurations and configuration.
1134
1135         The test stuff was getting in the way when creating the war. To make
1136         the war file you can now do 'mvn clean package'. The packaged war file
1137         will be in the target directory.
1138
1139         * .classpath: Remove unused classpathentry for tests and i18n.
1140         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1141         property. Don't run test or i18n goals when packaging the war.
1142         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1143         formatting.
1144
1145         Removed files:
1146
1147         * OnlineGlomTest-dev.launch:
1148         * OnlineGlomTest-prod.launch:
1149         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1150         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1151
1152 2011-03-07  Ben Konrath  <ben@bagu.org>
1153
1154         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1155
1156         These fixes allow me to use 'mvn deploy' to create the war file.
1157
1158         * .classpath: This generated config has been updated by Eclipse. This
1159         change was probably triggered by me updating from Eclipse 3.6.1 to
1160         3.6.2.
1161         * .gitignore: Add entry to ignore the directory
1162         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1163         * .project: The generated config has been updated by Eclipse. This
1164         change was probably triggered by me updating from Eclipse 3.6.1 to
1165         3.6.2.
1166         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1167         so that Eclipse doesn't complain
1168         * pom.xml: Update to gwt-maven-plugin 2.2.0.
1169         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1170         'tests' directory to 'client' directory. This is the new
1171         gwt-maven-plugin convension.
1172         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1173         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1174
1175 2011-03-07  Ben Konrath  <ben@bagu.org>
1176
1177         Add support for horizontal alignment in the LayoutList columns.
1178
1179         * TODO: Remove item about horizontal alignment. Add item about
1180         improvements to ColumnInfo.
1181         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1182         alignment on the columns. Use ColumnInfo RPC object get the column
1183         title and horizontal alignment.
1184         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1185         LayoutListView creation with ColumnInfo RPC object.
1186         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1187         a ColumnInfo object for every LayoutList columnn. Convert the
1188         FieldFormatting.HorizontalAlignment to the correct
1189         ColumnnInfo.HorizontatlAlignment with the new
1190         getColumnInfoHorizontalAlignment helper method.
1191         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1192         to encapsulate column information like alignment and title. This
1193         could be used to set the colour instead of on a per cell field basis.
1194         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1195         column title storage and retrieval with ColumnInfo.
1196
1197 2011-03-04  Ben Konrath  <ben@bagu.org>
1198
1199         Add support for column sorting.
1200
1201         * src/main/java/org/glom/web/client/LayoutListView.java: Change
1202         AsynDataProvider to be an anonymous inner class. Use new
1203         getSortedTableData RPC method when column sort is requested. Set all
1204         columns sortable and add an AsyncHandler to activate sorting in the
1205         AsyncDataProvider.
1206         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1207         method getSortedTableData(). Cleanup other method signatures.
1208         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1209         new method getSortedTableData(). Cleanup other method signatures.
1210         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1211         Implement getSortedTableData() and getTableData() methods by using a
1212         private helper method with the appropriate parameters filled in. Use
1213         user supplied sort clause when supplied, otherwise fall back to
1214         sorting by the primary key. Move destroy() method to be underneath
1215         constructor for readability.  Cleanup comments.
1216
1217 2011-03-03  Ben Konrath  <ben@bagu.org>
1218
1219         Add support for colour text and colour backgrounds to the layout list cells.
1220
1221         Only the cell backgrounds are coloured which leaves a gap between the
1222         cells that isn't coloured. I need to figure out a way to set
1223         'style=background-colour:' on the whole column rather than just the
1224         cell.
1225
1226         * TODO: Add a note about colouring the background of the whole column.
1227         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1228         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1229         render the coloured text and backgrounds. Use GlomField[] for the row type.
1230         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1231         for the row type.
1232         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1233         GlomField[] for the row type.
1234         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1235         GlomField[] for the row type. Set the text, text colour and background
1236         colour in the GlomField objects as specified in the glom document. Add
1237         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1238         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1239         the glom field text, foreground colour and background colour.
1240
1241 2011-03-02  Ben Konrath  <ben@bagu.org>
1242
1243         Don't display hidden tables in the combo box.
1244
1245         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1246         ArrayLists.
1247         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1248         code to ignore hidden tables using ArrayLists for the table names and
1249         titles.
1250         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1251         tableNames to use ArrayLists instead of String[]. Update getter and setter
1252         methods.
1253
1254 2011-03-01  Ben Konrath  <ben@bagu.org>
1255
1256         Add support for Date and Time number types.
1257
1258         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1259         Implement formatting for Date and Time values. Change the default glom
1260         file to small business example.
1261
1262 2011-03-01  Ben Konrath  <ben@bagu.org>
1263
1264         Add support for formatting glom types as specified in the glom file.
1265
1266         Formatting isn't finished yet - I still need to add support for Date
1267         and Time values.
1268
1269         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1270         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1271         checks for null values in JDBC cleanup code and catch all exceptions
1272         instead of just SQLExceptions.
1273         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1274         method name.
1275
1276 2011-03-01  Ben Konrath  <ben@bagu.org>
1277
1278         Use GWT 2.2.0 instead of 2.1.1.
1279
1280         * pom.xml: Change GWT version numbers.
1281
1282 2011-03-01  Ben Konrath  <ben@bagu.org>
1283
1284         A few small code cleanups.
1285
1286         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1287         duplicate for loop.
1288         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1289         unnecessary object creation in constructor.
1290         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1291         unnecessary object creation in constructor.
1292
1293 2011-02-28  Ben Konrath  <ben@bagu.org>
1294
1295         Add file for TODO list.
1296
1297         * TODO: New file.
1298
1299 2011-02-18  Ben Konrath  <ben@bagu.org>
1300
1301         Enable the CellTable Pager when more than 20 rows need to be viewed.
1302
1303         The Pager will automatically become active when the results are larger
1304         than the CellTable size which is currently set to 20 lines.
1305
1306         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1307         name on debug statment in RPC call in LayoutListDataProvider, add
1308         numRows parameter to LayoutListView constructor, propperly set rowCount
1309         in CellTable.
1310         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1311         name on debug statment in RPC call, use LayoutListTable object in RPC
1312         calls, pass rowCount to LayoutListView.
1313         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1314         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1315         object.
1316         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1317         interface for changes in OnlineGlomService.
1318         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1319         getLayoutListHeaders() to getLayoutListTable() and return
1320         LayoutListTable. Using this object allows me to pass other information
1321         about the LayoutList like the expected number of rows in the result set.
1322         The Connection object from the connection pool is now propperly closed.
1323         Only the requested number of lines are returned to the client in
1324         getTableData().
1325         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1326         GlomTable and add columnTitles and numRows.
1327
1328 2011-02-18  Ben Konrath  <ben@bagu.org>
1329
1330         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1331
1332         This is a small performance boost. I'll use GlomTable to get the required
1333         layoutlist information.
1334
1335         * src/main/java/org/glom/web/client/OnlineGlom.java:
1336         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1337         * src/main/java/org/glom/web/shared/GlomDocument.java:
1338
1339 2011-02-18  Ben Konrath  <ben@bagu.org>
1340
1341         Add option to turn off formatting in JDT formatter preferences.
1342
1343         * .settings/org.eclipse.jdt.core.prefs:
1344
1345 2011-02-18  Ben Konrath  <ben@bagu.org>
1346
1347         Rename LayoutList to LayoutListView.
1348
1349         I'm working towards setting things up to easily use MVP when the time
1350         comes.
1351
1352         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1353         LayoutList.java.
1354         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1355         references.
1356
1357 2011-02-17  Ben Konrath  <ben@bagu.org>
1358
1359         Move LayoutListDataProvider class into LayoutList.java.
1360
1361         * src/main/java/org/glom/web/client/LayoutList.java:
1362
1363 2011-02-17  Ben Konrath  <ben@bagu.org>
1364
1365         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1366
1367         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1368         references.
1369         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1370         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1371         from LibGlomServer.java.
1372         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1373         Rename from LibGlomServiceAsync.java.
1374         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1375         Rename from LibGlomServiceImpl.java.
1376         * src/main/webapp/WEB-INF/web.xml: Update configuration.
1377
1378 2011-02-17  Ben Konrath  <ben@bagu.org>
1379
1380         Update JDT settings.
1381
1382         * .settings/org.eclipse.jdt.core.prefs:
1383
1384 2011-02-17  Ben Konrath  <ben@bagu.org>
1385
1386         Move GWT-RPC objects to shared package (where they should be).
1387
1388         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1389         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1390         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1391         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1392         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1393         org.glom.web.shared package.
1394         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1395         org.glom.web.shared package.
1396         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1397         directory in compilation to javascript.
1398
1399 2011-02-16  Ben Konrath  <ben@bagu.org>
1400
1401         Add sort clause to the sql query that grabs table information.
1402
1403         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1404         if one of the columns is a primary key.
1405
1406 2011-02-16  Ben Konrath  <ben@bagu.org>
1407
1408         Disable generateAsync feature of gwt-maven.
1409
1410         The generated interface does not correctly match the methods in LibGlomService
1411         and the generated singleton Util inner-class doesn't respect the servlet
1412         mappings.
1413
1414         * pom.xml: Turn off generateAsync feature.
1415         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1416         with singleton Util inner-class.
1417
1418 2011-02-14  Ben Konrath  <ben@bagu.org>
1419
1420         Add LGPL v3 licence notices.
1421
1422         Followed directions listed here:
1423         http://www.gnu.org/licenses/gpl-howto.html
1424
1425         * COPYING: This file is a copy of the GPL v3.
1426         * COPYING.LESSER: This file is a copy of the LGPL v3.
1427         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1428         notice.
1429         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1430         notice.
1431         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1432         notice.
1433         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1434         licence notice.
1435         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1436         notice.
1437         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1438         notice.
1439         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1440         licence notice.
1441
1442 2011-02-14  Ben Konrath  <ben@bagu.org>
1443
1444         Use ArrayList instead of Array in GWT-RPC calls.
1445
1446         Apparently this gives a slight performance boost to the compiled
1447         java script.
1448
1449         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1450         instead of Array.
1451         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1452         of Array.
1453
1454 2011-02-14  Ben Konrath  <ben@bagu.org>
1455
1456         Access data from a postgres db rather than the example glom file.
1457
1458         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1459         compile down to obfuscated javascript.
1460         * pom.xml: Add c3p0 and postgres JDBC libraries.
1461         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1462         using a postgres db accessed through the c3p0 connection pooling library.
1463
1464 2011-02-14  Ben Konrath  <ben@bagu.org>
1465
1466         Update Java formatter settings.
1467
1468         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1469
1470 2011-02-02  Ben Konrath  <ben@bagu.org>
1471
1472         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1473
1474         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1475         using Maven.
1476         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1477         the compiled webapp directory that Eclipse uses as we're using Maven now.
1478         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1479         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1480         to 1.6.
1481         * pom.xml: Format file, change target Java version to 1.6.
1482
1483 2011-02-02  Ben Konrath  <ben@bagu.org>
1484
1485         Add information about a deployment related issue.
1486
1487         * README: Add Notes section with the problem outlined.
1488
1489 2011-02-02  Ben Konrath  <ben@bagu.org>
1490
1491         Call Glom.libglom_deinit() when the servlet is shutdown.
1492
1493         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1494         Glom.libglom_deinit() to destroy() method.
1495
1496 2011-01-28  Ben Konrath  <ben@bagu.org>
1497
1498         Use generated Util class to get the RPC Async interface.
1499
1500         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1501         file.
1502         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1503         getInstance() method to get a reference to the RPC Async interface.
1504         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1505         getInstance() method to get a reference to the RPC Async interface, remove
1506         the now unused getLibGlomServiceProxy() method.
1507
1508 2011-01-27  Ben Konrath  <ben@bagu.org>
1509
1510         Cleanup ChangeLog entry from previous commit.
1511
1512         * ChangeLog: Group logical changes together and add comments.
1513
1514 2011-01-25  Ben Konrath  <ben@bagu.org>
1515
1516         Convert to gwt-maven project.
1517
1518         * .gitignore: Update for new project structure.
1519         * README: New file with a link to the online documentation.
1520         * pom.xml: The generated maven configuration file with some tweaks.
1521
1522         Add / update Eclipse settings. These files are a merge of the files that
1523         were generated with the gwt-maven plugin and the files we were previously
1524         using.
1525         * .classpath:
1526         * .project:
1527         * .settings/.jsdtscope:
1528         * .settings/com.google.gdt.eclipse.core.prefs:
1529         * .settings/com.google.gwt.eclipse.core.prefs:
1530         * .settings/org.eclipse.jdt.core.prefs:
1531         * .settings/org.eclipse.wst.common.component:
1532         * .settings/org.eclipse.wst.common.project.facet.core.xml:
1533         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1534         * .settings/org.maven.ide.eclipse.prefs:
1535         * OnlineGlomTest-dev.launch:
1536         * OnlineGlomTest-prod.launch:
1537
1538         Java source files moved from the 'src' directory to the directory structure
1539         required by maven.
1540         * src/main/java/org/glom/web/client/GlomDocument.java:
1541         * src/main/java/org/glom/web/client/GlomTable.java:
1542         * src/main/java/org/glom/web/client/LayoutList.java:
1543         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1544         * src/main/java/org/glom/web/client/LibGlomService.java:
1545         * src/main/java/org/glom/web/client/OnlineGlom.java:
1546         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1547
1548         Non-functional property file used for translations. I included this as
1549         reminder that it's something I need to sort out.
1550         * src/main/resources/org/glom/web/client/Messages.properties:
1551
1552         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1553         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1554
1555         The servlet configuration files moved from the 'war' directory.
1556         * src/main/webapp/OnlineGlom.css:
1557         * src/main/webapp/OnlineGlom.html:
1558         * src/main/webapp/WEB-INF/web.xml:
1559
1560         Generated test files with most of the code commented out. I included these
1561         so that it's easy to add tests when we're ready for them.
1562         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1563         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1564
1565 2011-01-25  Ben Konrath  <ben@bagu.org>
1566
1567         Remove unused println.
1568
1569         * src/org/glom/web/server/LibGlomServiceImpl.java:
1570
1571 2011-01-25  Ben Konrath  <ben@bagu.org>
1572
1573         Add project specific JDT settings.
1574
1575         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1576         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1577
1578 2011-01-25  Ben Konrath  <ben@bagu.org>
1579
1580         Populate celltable with example data.
1581
1582         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1583         * src/org/glom/web/client/GlomTable.java: Correct formatting.
1584         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1585         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1586         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1587         asynchronously gets the example data.
1588         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1589         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1590         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1591         curently selected table to be retrieved by other widgets.
1592         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1593         implement getTableData() in a hacky way. This method needs to be updated
1594         to grab information from the database when database creating is
1595         implemented.
1596
1597 2011-01-20  Ben Konrath  <ben@bagu.org>
1598
1599         Set table headers when table dropBox changes.
1600
1601         * src/org/glom/web/client/GlomDocument.java: Correct some method
1602         names.
1603         * src/org/glom/web/client/LibGlomService.java: Add method
1604         to get list layout field names.
1605         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1606         to get list layout field names.
1607         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1608         widget for list layout table.
1609         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1610         the table drop box and add new updateTable() method to asynchronously
1611         get the layout list field names for the currently selected table.
1612         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1613         implementation of getLayoutListHeaders() method.
1614         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1615
1616 2011-01-18  Ben Konrath  <ben@bagu.org>
1617
1618         Make a listBox with table titles instead of the flexTable demo.
1619
1620         This is the start of something more useful.
1621
1622         * .classpath: Exclude a bunch of packages from the JVM that are
1623         getting in the way of the Eclipse content assist.
1624         * src/org/glom/web/client/GlomDocument.java:
1625         * src/org/glom/web/client/GlomTable.java:
1626         * src/org/glom/web/client/LibGlomService.java:
1627         * src/org/glom/web/client/LibGlomServiceAsync.java:
1628         * src/org/glom/web/client/OnlineGlom.java:
1629         * src/org/glom/web/server/LibGlomServiceImpl.java:
1630         * war/OnlineGlom.html:
1631         * war/WEB-INF/web.xml:
1632
1633 211-01-13  Ben Konrath  <ben@bagu.org>
1634
1635         Update to new java-libglom API.
1636
1637         * .gitignore: Ignore OnlineGlom.war.
1638         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1639
1640 2010-12-20  Ben Konrath  <ben@bagu.org>
1641
1642         Add some basic style to the table listing.
1643
1644         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1645         header, print useful error message on async callback failure.
1646         * war/OnlineGlom.css: Add style for table header, remove defaults
1647         provided by the Eclipse project wizard.
1648
1649 2010-12-20  Ben Konrath  <ben@bagu.org>
1650
1651         Load example file from installed glom dir.
1652
1653         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1654         provided by java-libglom to find the example file.
1655
1656 2010-12-20  Ben Konrath  <ben@bagu.org>
1657
1658         Update Eclipse settings.
1659
1660         * .classpath:
1661         * .settings/com.google.gdt.eclipse.core.prefs:
1662         * .settings/com.google.gwt.eclipse.core.prefs:
1663
1664 2010-12-17  Ben Konrath  <ben@bagu.org>
1665
1666         Initial commit.
1667
1668         * .classpath: New file.
1669         * .gitignore: New file.
1670         * .project: New file.
1671         * .settings/com.google.gdt.eclipse.core.prefs: New file.
1672         * .settings/com.google.gwt.eclipse.core.prefs: New file.
1673         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1674         * src/org/glom/web/client/GlomTable.java: New file.
1675         * src/org/glom/web/client/OnlineGlom.java: New file.
1676         * src/org/glom/web/client/TableNameService.java: New file.
1677         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1678         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1679         * war/OnlineGlom.css: New file.
1680         * war/OnlineGlom.html: New file.
1681         * war/WEB-INF/web.xml: New file.
1682         * war/images/glom.png: New file.