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