1 2011-05-24 Ben Konrath <ben@bagu.org>
3 Update gwt-log from 3.1.0 to 3.1.2.
5 Gwt-log 3.1.0 has been marked as depreciated.
9 2011-05-24 Ben Konrath <ben@bagu.org>
11 Add comment to ListActivity.goTo() method.
13 * src/main/java/org/glom/web/client/activity/ListActivity.java:
15 2011-05-24 Ben Konrath <ben@bagu.org>
17 Remove FIXME in convertGdkColorToHtmlColour()
19 The Gdk::Color value returned by libglom is 16-bits per channel on both
20 64 and 32-bit platforms.
22 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
24 2011-05-19 Ben Konrath <ben@bagu.org>
26 Improve performance of initial ListView load.
28 I removed a round trip to the server for getting the default table name
29 and then requesting information about that table. This also removes a potential
30 problem with the table change handler not being setup in time to receive the
31 table change event from the ListActivity.
33 * src/main/java/org/glom/web/client/OnlineGlomService.java:
34 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
35 getDefaultLayoutListTable() method. Improve comments.
36 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
37 getDefaultLayoutListTable() method instead of firing a table change
38 event to get the table to load.
39 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
40 implementation of getDefaultLayoutListTable() method.
41 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
44 2011-05-19 Ben Konrath <ben@bagu.org>
46 Override toDebugString() in TableChangeEvent.
48 This is useful to have for debugging.
50 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
52 2011-05-19 Ben Konrath <ben@bagu.org>
54 Add a "Back to List" link when at the DetailsPlace.
56 * src/main/java/org/glom/web/client/activity/ListActivity.java:
57 Populate the CellTable based on the selected table of the ListBox if
58 it's set otherwise use the default table. This allows the "Back to
60 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
61 Remove Place from constructors. Add a setPlace() method. Add
62 goToPlace() method. Set class as presenter for TableSelectionView.
63 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
64 Use the same TableSelectionActivity when switching between the List and
66 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
67 Subclass the new HasSelectableTablePlace. This removes some duplicate
69 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
70 New class to represent Places that display the TableSelectionView.
71 * src/main/java/org/glom/web/client/place/ListPlace.java:
72 Subclass the new HasSelectableTablePlace. This removes some duplicate
74 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
75 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
76 Add Presenter interface. Add setBackLinkVisible() method. Add
79 2011-05-18 Ben Konrath <ben@bagu.org>
81 Enable the "Details" buttons.
83 Right now only an empty details view is displayed.
85 * src/main/java/org/glom/web/client/ClientFactory.java:
86 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
87 Add DetailsView to ClientFactory.
88 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
89 A basic activity for the details view.
90 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
91 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
93 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
94 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
96 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
97 Create a new DetailsActivity when a DetailsPlace is requested. Remove
98 unnecessary super() in constructor.
99 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
100 Create a new TableSelectionActivity when a DetailsPlace is requested. We
101 really shouldn't create a new TableSelectionActivity for both the ListPlace
102 and the DetailsPlace so this should be considered a temporary solution.
103 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
104 New file. Represents a URL for the details view.
105 * src/main/java/org/glom/web/client/ui/DetailsView.java:
106 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
107 A basic details view interface and implementation.
108 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
109 Enable the "Details" buttons.
111 2011-05-12 Ben Konrath <ben@bagu.org>
113 Use a LayoutPanel with multiple display areas for main layout.
115 This is mostly a refactor in that there are no changes from the user
116 point of view. These changes are required so that we can swap out the list view
117 with the details view when the user clicks the "Details" button.
119 * src/main/java/org/glom/web/client/ClientFactory.java:
120 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
121 OnlineGlomView. Add TableSelectionView, ListView and
123 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
124 for main layout. Add display regions for main activities. Add
125 activity manager for for main activities.
126 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
127 file from parts of the deleted OnlineGlomActivity.
128 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
129 New file from parts of the deleted OnlineGlomActivity.
130 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
131 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
132 New files for app wide table change event.
133 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
134 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
135 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
136 Activity mappers for the main activities replace the deleted app-wide
138 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
139 Fix a spelling error in he comment.
140 * src/main/java/org/glom/web/client/ui/ListView.java:
141 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
142 Renamed from LayoutListView and modified for MVP. This still not a
143 proper dumb view as prescribed by the MVP pattern but it works for now.
144 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
145 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
146 New widget stripped out of the deleted OnlineGlomView.
147 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
148 Remove hack that is fixed by this patch.
150 2011-05-06 Ben Konrath <ben@bagu.org>
152 Rename OnlineGlomPlace to ListPlace.
154 The only change besides the rename is that url will now display #list
155 instead of #Document.
157 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
158 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
159 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
160 * src/main/java/org/glom/web/client/place/ListPlace.java:
161 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
163 2011-05-06 Ben Konrath <ben@bagu.org>
165 Use Presenter for app navigation.
167 This is the proper way to deal with Place (URL) changes with the MVP
170 * src/main/java/org/glom/web/client/ClientFactory.java:
171 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
172 PlaceHistoryMapper and PlaceHistoryHandler.
173 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
174 PlaceHistoryMapper and PlaceHistoryHandler.
175 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
176 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
177 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
178 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
179 Add Presenter interface and setPresenter methods. Rename addHyperLink
180 to addDocumentLink taking only the document title as a parameter.
182 2011-04-14 Ben Konrath <ben@bagu.org>
184 Prompt for db username/password if they haven't been set.
186 This is implemented with a popup widget that is contained within the
187 OnlineGlomView and managed by the OnlineGlomActivity.
189 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
190 methods for checking and setting the database username and password.
191 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
192 new methods for checking and setting the database username and
194 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
195 Display authentication popup if the JDBC connection to the database
196 has not been authenticated.
197 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
199 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
200 for dealing with the authentication popup.
201 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
202 Implement the methods for dealing with the authentication popup.
203 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
204 try to executed queries if the database connection hasn't been
205 authenticated. Implement methods for checking and setting the
206 database username and password.
208 2011-04-12 Ben Konrath <ben@bagu.org>
210 Make log messages a little clearer.
212 Add a dash betweeen the document title and the table name.
214 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
216 2011-04-12 Ben Konrath <ben@bagu.org>
218 Protect against NPEs when cleaning up database resources.
220 While this isn't strictly necessary because the exception is caught,
221 not protecting against the NPEs makes it harder to find the real error
224 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
226 2011-04-12 Ben Konrath <ben@bagu.org>
228 Move configuration of the servlet to the constructor.
230 The servlet will be initialized even if the database authentication
231 information is not set or correct. I still need to add the UI for prompting
232 the user for the authentication information when it's required.
234 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
235 javadocs for getDocumentTitles() method.
236 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
237 Set error message when RPC fails.
238 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
239 glom files directory from the configuration file. Try to set the
240 database authentication information for the specific document if it's
241 set and works otherwise try to use the global authentication
242 information set for the directory.
243 * src/main/resources/onlineglom.properties: Moved from
244 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
245 Added detailed comments for the new keys.
247 2011-04-11 Ben Konrath <ben@bagu.org>
249 Remove unnecessary @Override in DocumentSelectionViewImpl.
251 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
253 2011-04-11 Ben Konrath <ben@bagu.org>
255 Remove center alignment in DocumentSelectionView.
257 The title element is still centred but the document titles and bottom
258 sentence are both left-aligned.
260 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
262 2011-04-11 Ben Konrath <ben@bagu.org>
264 Change 'Demo' naming convention to 'Document'.
266 This is just a rename refactor with no functional changes to the code.
268 * src/main/java/org/glom/web/client/ClientFactory.java:
269 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
270 * src/main/java/org/glom/web/client/OnlineGlom.java:
271 * src/main/java/org/glom/web/client/OnlineGlomService.java:
272 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
273 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
274 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
275 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
276 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
277 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
278 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
279 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
280 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
282 2011-04-08 Ben Konrath <ben@bagu.org>
284 Remove FIXME from safeLongToInt() method.
286 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
289 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
291 2011-04-08 Ben Konrath <ben@bagu.org>
293 Display an error if no glom documents are found in the specified directory.
295 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
296 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
297 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
298 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
300 2011-04-08 Ben Konrath <ben@bagu.org>
302 Add copyright header to one more file ... oops.
304 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
306 2011-04-08 Ben Konrath <ben@bagu.org>
308 Add copyright header to files without it.
310 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
311 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
312 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
313 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
314 * src/main/java/org/glom/web/shared/ColumnInfo.java:
315 * src/main/java/org/glom/web/shared/GlomField.java:
317 2011-04-08 Ben Konrath <ben@bagu.org>
319 Add support for accessing multiple glom documents in the servlet.
321 This completes the demo selection functionality.
323 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
324 document title to methods.
325 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
326 document title to methods.
327 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
328 Set browser window title when the activity starts. Correct name of
329 document title variable.
330 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
331 Set browser window title when the activity starts. Set the table
332 selector change handler after table selector has been set. Clear the
333 OnlineGlomView when the activity has been stopped.
334 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
335 document title as the place token. Use "#Document:" instead of
336 "#OnlineGlomPlace:" in the URL.
337 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
338 Change heading to "Online Glom"
339 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
340 document title in RPC methods.
341 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
342 setDocumentTitle() method. Add clear() method.
343 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
344 setDocumentTitle() method. Implement clear() method which removes the
345 change handler on the ListBox, clears the ListBox and clears the
347 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
348 Implement methods with document title. Keep track for the configured
349 glom documents and their corresponding JDBC configurations in a hash
350 table. This information is retrieved using the document title as the
351 key in the hash table.
352 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
353 document title field as it's no longer needed.
355 2011-04-08 Ben Konrath <ben@bagu.org>
357 Update the Eclipse JDT configuration.
359 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
360 methods. Automatically add the copyright header to new files.
362 2011-04-05 Ben Konrath <ben@bagu.org>
364 Add new page for demo selection.
366 This patch adds all the components required to view and start an
367 OnlineGlom demo by clicking on the desired hyperlink. The user is
368 able to return to the demo selection page with the browser's back
369 button. I still need to modify the servlet to work with multiple
370 documents so all demo links will load the file defined in the
371 OnlineGlom.properties.
373 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
374 This is only useful during development so we don't need to save it.
375 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
376 get a reference to the DemoSelectionView.
377 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
378 method to get a reference to the DemoSelectionView.
379 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
380 default view to DemoSelectionView.
381 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
382 to get glom document titles for glom files in a hard-coded directory.
383 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
384 method to get glom document titles for glom files in a hard-coded
386 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
387 Presenter for DemoSelectionView.
388 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
389 for DemoSelectionView.
390 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
391 Update for DemoSelectionView.
392 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
393 Basic 'Place' implementation for the DemoSelectionView.
394 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
395 The interface for the DemoSelectionView.
396 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
397 The implementation of the DemoSelectionView.
398 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
399 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
400 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
401 implementation of method to get glom document titles for glom files
402 in a hard-coded directory.
403 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
404 on longer being used.
405 * src/main/webapp/glom.png: Glom logo.
407 2011-04-05 Ben Konrath <ben@bagu.org>
409 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
411 This is the forth and final commit of a refactor that will allow
412 OnlineGlom to be used with multiple documents.
414 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
415 Move RPC code from OnlineGlomViewImpl to this class.
416 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
418 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
419 RPC code to the presenter class (the P in MVP).
421 2011-04-04 Ben Konrath <ben@bagu.org>
423 Start moving the existing OnlineGlom code to MVP.
425 This work is based on the GWT MVP framework that is documented here:
427 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
429 This is the third commit of a refactor that will allow OnlineGlom to
430 be used with multiple documents.
432 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
433 Interface for client factory which is used to get instances of various
434 classes throughout the app.
435 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
436 Implementation of client factory.
437 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
438 initialize the MVP framework.
439 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
440 New file. Activity manager for the main container widget. This is the
442 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
443 Maps place (URL) to its corresponding activity.
444 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
445 New file. This is just a place holder for a generated file.
446 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
447 New file. Represents the URL for the main Online Glom app.
448 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
449 for changes in LayoutListViewImpl.
450 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
451 interface for View. Move code to OnlineGlomViewImpl class.
452 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
453 file. Implementation of OnlineGlomView.
454 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
455 Place resources. Use ClientFactoryImpl by default.
457 2011-04-04 Ben Konrath <ben@bagu.org>
459 Move View classes to their own package.
461 This is the second commit of a refactor that will allow OnlineGlom to
462 be used with multiple documents.
464 * src/main/java/org/glom/web/client/OnlineGlom.java:
465 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
466 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
468 2011-04-02 Ben Konrath <ben@bagu.org>
470 Move UI code from the main module to its own class.
472 This is the first commit of a refactor that will allow OnlineGlom to be
473 used with multiple documents.
475 * src/main/java/org/glom/web/client/LayoutListView.java: Update
476 references to OnlineGlom to OnlineGlomView.
477 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
478 OnlineGlomView and instantiate it here.
479 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
480 represents the main OnlineGlomView with one document.
482 2011-04-01 Ben Konrath <ben@bagu.org>
484 Fix formatting of gwt.xml and add DTD.
486 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
488 2011-03-30 Ben Konrath <ben@bagu.org>
490 Propperly convert gdkColor string to html colour string.
492 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
494 2011-03-28 Ben Konrath <ben@bagu.org>
496 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
498 This implementation matches
499 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
500 readable and is not tied to Swig.
502 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
504 2011-03-28 Ben Konrath <ben@bagu.org>
506 Use read-only checkboxes for boolean field types.
508 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
509 in the CellTable based on the field type. It currently only
510 distinguishes between boolean and text columns but I'll need to add
511 support for more types.
512 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
513 column type in the ColumnInfo object. Add method to convert between the
514 glom field type enum in ColumnInfo and the glom field type in libglom.
515 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
517 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
518 getting and setting booleans.
520 2011-03-25 Ben Konrath <ben@bagu.org>
522 Don't get the Date twice from the ResultSet.
524 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
526 2011-03-25 Ben Konrath <ben@bagu.org>
528 Cleanup code in the servlet.
530 * TODO: Remove item about row count. Add item about testing row count
531 query with large number of rows.
532 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
533 spelling mistakes, change method parameter to be consistent with
536 2011-03-25 Ben Konrath <ben@bagu.org>
538 Add server side logging with the gwt-log library.
540 * .gitignore: Ignore the log file we're now producing.
541 * TODO: Add a couple TODO item for logging.
542 * pom.xml: Add gwt-log and log4j as a dependency.
543 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
544 logging of errors, warnings and some important info.
545 * src/main/resources/log4j.properties: New file to configure log4j.
547 2011-03-24 Ben Konrath <ben@bagu.org>
549 Add a disable button for the Details view.
551 * src/main/java/org/glom/web/client/LayoutListView.java:
553 2011-03-22 Ben Konrath <ben@bagu.org>
555 Use a count query to get the number of rows for the list view pager.
557 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
559 2011-03-22 Ben Konrath <ben@bagu.org>
561 Add more TODO information about CellTable pager positioning.
565 2011-03-19 Ben Konrath <ben@bagu.org>
567 Add TODO item about CellTable pager positioning.
571 2011-03-18 Ben Konrath <ben@bagu.org>
573 Remove unneeded GlomFieldColumn class.
575 This is just a small code cleanup.
577 * src/main/java/org/glom/web/client/LayoutListView.java:
579 2011-03-18 Ben Konrath <ben@bagu.org>
581 Use cursor mode in the query that gets data for the list view.
583 I still need to fix the potential memory problem when getting the row
584 count for the list view.
586 * TODO: Add note about testing memory usage with large data sets. Add
587 item about fixing row counting with large data sets.
588 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
589 PostgreSQL JDBC driver into cursor mode when getting data for the
592 2011-03-15 Ben Konrath <ben@bagu.org>
594 Remove the GWT Container from the Eclipse build classpath.
596 The GWT dependencies are set by Maven so this isn't needed.
600 2011-03-15 Murray Cumming <murrayc@murrayc.com>
602 Added some earlier mockups to git, but not to the tarball dist.
604 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
605 Openismus. These hopefully show how we might structure the HTML so that
606 it can be styled easily with CSS. However, we probably need to adapt them
607 for the CSS structure that GWT dictates for common widgets.
609 2011-03-14 Ben Konrath <ben@bagu.org>
611 Locate OnlineGlom.properties using the ServletContext.
613 This is required to be able to locate the file in the deployed servlet.
615 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
616 Configure the database and glom document in in a helper method so
617 that the ServletContext can be used to locate OnlineGlom.properties.
618 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
619 src/main/webapp. This is the proper location for .properites files.
621 2011-03-12 Ben Konrath <ben@bagu.org>
623 Add note to README about why we're compiling down to obfuscated JavaScript.
627 2011-03-11 Ben Konrath <ben@bagu.org>
629 Use properties file to configure servlet.
631 This allows people to change the glom file path, db username and db
632 password without recompiling the code.
634 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
635 * src/main/webapp/OnlineGlom.properties:
637 2011-03-11 Ben Konrath <ben@bagu.org>
639 Use table fields in layout list view if the layout list is not defined.
641 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
642 Manually create a LayoutFieldVector for the query builder using the
643 table fields when a layout list is not defined in the glom file.
645 2011-03-11 Ben Konrath <ben@bagu.org>
647 Only show FIXME string for images when there's an image.
649 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
650 in this change are some small code cleanups.
652 2011-03-11 Ben Konrath <ben@bagu.org>
654 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
656 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
658 2011-03-11 Ben Konrath <ben@bagu.org>
660 Correctly set the index of the default table.
662 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
663 Correctly set the index of the default table. Add commented out example
666 2011-03-10 Ben Konrath <ben@bagu.org>
668 Add comment to pom.xml about the previous change.
670 * pom.xml: Add comment about the deployment issue so that it's obvious
671 why java-libglom is set to the provided scope.
673 2011-03-10 Ben Konrath <ben@bagu.org>
675 Change java-libglom dependency from compile to provided in pom.xml.
677 Since java-libglom uses jni it can only be loaded once and therefore
678 must be placed in $CATALINA_HOME/lib and not included in each war.
679 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
680 More information about this issue can be found in the Tomcat 6 release
681 notes in the "JNI Based Applications" section:
683 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
685 * README: Remove note about this issue. Deployment info should really
686 be on the wiki anyway so I'll add it right now.
687 * pom.xml: Change java-libglom dependency from compile to provided so
688 that it's copied in to the packaged war.
690 2011-03-09 Ben Konrath <ben@bagu.org>
692 Change to using a neutral locale for currency, date and time formatting.
694 This solves the problem of currency values being represented without a
695 space between the currency code and the number (e.g. "EUR5.89" is now
696 represented as "EUR 5.89"). More work is required when we implement
697 a locale preference setting.
699 * TODO: Add note about currency formatting issues with different
701 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
702 to using the neutral ROOT locale.
704 2011-03-09 Ben Konrath <ben@bagu.org>
706 Add support for currency codes that are not ISO 4217 codes.
708 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
709 the currency code defined in the glom file when it's not 3 characters
710 long or when Java doesn't recognize the string as an ISO 4217 code.
712 2011-03-08 Ben Konrath <ben@bagu.org>
714 Remove test classes, launch configurations and configuration.
716 The test stuff was getting in the way when creating the war. To make
717 the war file you can now do 'mvn clean package'. The packaged war file
718 will be in the target directory.
720 * .classpath: Remove unused classpathentry for tests and i18n.
721 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
722 property. Don't run test or i18n goals when packaging the war.
723 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
728 * OnlineGlomTest-dev.launch:
729 * OnlineGlomTest-prod.launch:
730 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
731 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
733 2011-03-07 Ben Konrath <ben@bagu.org>
735 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
737 These fixes allow me to use 'mvn deploy' to create the war file.
739 * .classpath: This generated config has been updated by Eclipse. This
740 change was probably triggered by me updating from Eclipse 3.6.1 to
742 * .gitignore: Add entry to ignore the directory
743 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
744 * .project: The generated config has been updated by Eclipse. This
745 change was probably triggered by me updating from Eclipse 3.6.1 to
747 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
748 so that Eclipse doesn't complain
749 * pom.xml: Update to gwt-maven-plugin 2.2.0.
750 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
751 'tests' directory to 'client' directory. This is the new
752 gwt-maven-plugin convension.
753 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
754 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
756 2011-03-07 Ben Konrath <ben@bagu.org>
758 Add support for horizontal alignment in the LayoutList columns.
760 * TODO: Remove item about horizontal alignment. Add item about
761 improvements to ColumnInfo.
762 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
763 alignment on the columns. Use ColumnInfo RPC object get the column
764 title and horizontal alignment.
765 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
766 LayoutListView creation with ColumnInfo RPC object.
767 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
768 a ColumnInfo object for every LayoutList columnn. Convert the
769 FieldFormatting.HorizontalAlignment to the correct
770 ColumnnInfo.HorizontatlAlignment with the new
771 getColumnInfoHorizontalAlignment helper method.
772 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
773 to encapsulate column information like alignment and title. This
774 could be used to set the colour instead of on a per cell field basis.
775 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
776 column title storage and retrieval with ColumnInfo.
778 2011-03-04 Ben Konrath <ben@bagu.org>
780 Add support for column sorting.
782 * src/main/java/org/glom/web/client/LayoutListView.java: Change
783 AsynDataProvider to be an anonymous inner class. Use new
784 getSortedTableData RPC method when column sort is requested. Set all
785 columns sortable and add an AsyncHandler to activate sorting in the
787 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
788 method getSortedTableData(). Cleanup other method signatures.
789 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
790 new method getSortedTableData(). Cleanup other method signatures.
791 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
792 Implement getSortedTableData() and getTableData() methods by using a
793 private helper method with the appropriate parameters filled in. Use
794 user supplied sort clause when supplied, otherwise fall back to
795 sorting by the primary key. Move destroy() method to be underneath
796 constructor for readability. Cleanup comments.
798 2011-03-03 Ben Konrath <ben@bagu.org>
800 Add support for colour text and colour backgrounds to the layout list cells.
802 Only the cell backgrounds are coloured which leaves a gap between the
803 cells that isn't coloured. I need to figure out a way to set
804 'style=background-colour:' on the whole column rather than just the
807 * TODO: Add a note about colouring the background of the whole column.
808 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
809 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
810 render the coloured text and backgrounds. Use GlomField[] for the row type.
811 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
813 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
814 GlomField[] for the row type.
815 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
816 GlomField[] for the row type. Set the text, text colour and background
817 colour in the GlomField objects as specified in the glom document. Add
818 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
819 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
820 the glom field text, foreground colour and background colour.
822 2011-03-02 Ben Konrath <ben@bagu.org>
824 Don't display hidden tables in the combo box.
826 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
828 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
829 code to ignore hidden tables using ArrayLists for the table names and
831 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
832 tableNames to use ArrayLists instead of String[]. Update getter and setter
835 2011-03-01 Ben Konrath <ben@bagu.org>
837 Add support for Date and Time number types.
839 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
840 Implement formatting for Date and Time values. Change the default glom
841 file to small business example.
843 2011-03-01 Ben Konrath <ben@bagu.org>
845 Add support for formatting glom types as specified in the glom file.
847 Formatting isn't finished yet - I still need to add support for Date
850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
851 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
852 checks for null values in JDBC cleanup code and catch all exceptions
853 instead of just SQLExceptions.
854 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
857 2011-03-01 Ben Konrath <ben@bagu.org>
859 Use GWT 2.2.0 instead of 2.1.1.
861 * pom.xml: Change GWT version numbers.
863 2011-03-01 Ben Konrath <ben@bagu.org>
865 A few small code cleanups.
867 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
869 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
870 unnecessary object creation in constructor.
871 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
872 unnecessary object creation in constructor.
874 2011-02-28 Ben Konrath <ben@bagu.org>
876 Add file for TODO list.
880 2011-02-18 Ben Konrath <ben@bagu.org>
882 Enable the CellTable Pager when more than 20 rows need to be viewed.
884 The Pager will automatically become active when the results are larger
885 than the CellTable size which is currently set to 20 lines.
887 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
888 name on debug statment in RPC call in LayoutListDataProvider, add
889 numRows parameter to LayoutListView constructor, propperly set rowCount
891 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
892 name on debug statment in RPC call, use LayoutListTable object in RPC
893 calls, pass rowCount to LayoutListView.
894 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
895 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
897 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
898 interface for changes in OnlineGlomService.
899 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
900 getLayoutListHeaders() to getLayoutListTable() and return
901 LayoutListTable. Using this object allows me to pass other information
902 about the LayoutList like the expected number of rows in the result set.
903 The Connection object from the connection pool is now propperly closed.
904 Only the requested number of lines are returned to the client in
906 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
907 GlomTable and add columnTitles and numRows.
909 2011-02-18 Ben Konrath <ben@bagu.org>
911 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
913 This is a small performance boost. I'll use GlomTable to get the required
914 layoutlist information.
916 * src/main/java/org/glom/web/client/OnlineGlom.java:
917 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
918 * src/main/java/org/glom/web/shared/GlomDocument.java:
920 2011-02-18 Ben Konrath <ben@bagu.org>
922 Add option to turn off formatting in JDT formatter preferences.
924 * .settings/org.eclipse.jdt.core.prefs:
926 2011-02-18 Ben Konrath <ben@bagu.org>
928 Rename LayoutList to LayoutListView.
930 I'm working towards setting things up to easily use MVP when the time
933 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
935 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
938 2011-02-17 Ben Konrath <ben@bagu.org>
940 Move LayoutListDataProvider class into LayoutList.java.
942 * src/main/java/org/glom/web/client/LayoutList.java:
944 2011-02-17 Ben Konrath <ben@bagu.org>
946 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
948 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
950 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
951 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
952 from LibGlomServer.java.
953 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
954 Rename from LibGlomServiceAsync.java.
955 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
956 Rename from LibGlomServiceImpl.java.
957 * src/main/webapp/WEB-INF/web.xml: Update configuration.
959 2011-02-17 Ben Konrath <ben@bagu.org>
963 * .settings/org.eclipse.jdt.core.prefs:
965 2011-02-17 Ben Konrath <ben@bagu.org>
967 Move GWT-RPC objects to shared package (where they should be).
969 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
970 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
971 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
972 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
973 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
974 org.glom.web.shared package.
975 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
976 org.glom.web.shared package.
977 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
978 directory in compilation to javascript.
980 2011-02-16 Ben Konrath <ben@bagu.org>
982 Add sort clause to the sql query that grabs table information.
984 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
985 if one of the columns is a primary key.
987 2011-02-16 Ben Konrath <ben@bagu.org>
989 Disable generateAsync feature of gwt-maven.
991 The generated interface does not correctly match the methods in LibGlomService
992 and the generated singleton Util inner-class doesn't respect the servlet
995 * pom.xml: Turn off generateAsync feature.
996 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
997 with singleton Util inner-class.
999 2011-02-14 Ben Konrath <ben@bagu.org>
1001 Add LGPL v3 licence notices.
1003 Followed directions listed here:
1004 http://www.gnu.org/licenses/gpl-howto.html
1006 * COPYING: This file is a copy of the GPL v3.
1007 * COPYING.LESSER: This file is a copy of the LGPL v3.
1008 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1010 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1012 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1014 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1016 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1018 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1020 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1023 2011-02-14 Ben Konrath <ben@bagu.org>
1025 Use ArrayList instead of Array in GWT-RPC calls.
1027 Apparently this gives a slight performance boost to the compiled
1030 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1032 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1035 2011-02-14 Ben Konrath <ben@bagu.org>
1037 Access data from a postgres db rather than the example glom file.
1039 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1040 compile down to obfuscated javascript.
1041 * pom.xml: Add c3p0 and postgres JDBC libraries.
1042 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1043 using a postgres db accessed through the c3p0 connection pooling library.
1045 2011-02-14 Ben Konrath <ben@bagu.org>
1047 Update Java formatter settings.
1049 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1051 2011-02-02 Ben Konrath <ben@bagu.org>
1053 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1055 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1057 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1058 the compiled webapp directory that Eclipse uses as we're using Maven now.
1059 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1060 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1062 * pom.xml: Format file, change target Java version to 1.6.
1064 2011-02-02 Ben Konrath <ben@bagu.org>
1066 Add information about a deployment related issue.
1068 * README: Add Notes section with the problem outlined.
1070 2011-02-02 Ben Konrath <ben@bagu.org>
1072 Call Glom.libglom_deinit() when the servlet is shutdown.
1074 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1075 Glom.libglom_deinit() to destroy() method.
1077 2011-01-28 Ben Konrath <ben@bagu.org>
1079 Use generated Util class to get the RPC Async interface.
1081 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1083 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1084 getInstance() method to get a reference to the RPC Async interface.
1085 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1086 getInstance() method to get a reference to the RPC Async interface, remove
1087 the now unused getLibGlomServiceProxy() method.
1089 2011-01-27 Ben Konrath <ben@bagu.org>
1091 Cleanup ChangeLog entry from previous commit.
1093 * ChangeLog: Group logical changes together and add comments.
1095 2011-01-25 Ben Konrath <ben@bagu.org>
1097 Convert to gwt-maven project.
1099 * .gitignore: Update for new project structure.
1100 * README: New file with a link to the online documentation.
1101 * pom.xml: The generated maven configuration file with some tweaks.
1103 Add / update Eclipse settings. These files are a merge of the files that
1104 were generated with the gwt-maven plugin and the files we were previously
1108 * .settings/.jsdtscope:
1109 * .settings/com.google.gdt.eclipse.core.prefs:
1110 * .settings/com.google.gwt.eclipse.core.prefs:
1111 * .settings/org.eclipse.jdt.core.prefs:
1112 * .settings/org.eclipse.wst.common.component:
1113 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1114 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1115 * .settings/org.maven.ide.eclipse.prefs:
1116 * OnlineGlomTest-dev.launch:
1117 * OnlineGlomTest-prod.launch:
1119 Java source files moved from the 'src' directory to the directory structure
1121 * src/main/java/org/glom/web/client/GlomDocument.java:
1122 * src/main/java/org/glom/web/client/GlomTable.java:
1123 * src/main/java/org/glom/web/client/LayoutList.java:
1124 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1125 * src/main/java/org/glom/web/client/LibGlomService.java:
1126 * src/main/java/org/glom/web/client/OnlineGlom.java:
1127 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1129 Non-functional property file used for translations. I included this as
1130 reminder that it's something I need to sort out.
1131 * src/main/resources/org/glom/web/client/Messages.properties:
1133 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1134 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1136 The servlet configuration files moved from the 'war' directory.
1137 * src/main/webapp/OnlineGlom.css:
1138 * src/main/webapp/OnlineGlom.html:
1139 * src/main/webapp/WEB-INF/web.xml:
1141 Generated test files with most of the code commented out. I included these
1142 so that it's easy to add tests when we're ready for them.
1143 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1144 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1146 2011-01-25 Ben Konrath <ben@bagu.org>
1148 Remove unused println.
1150 * src/org/glom/web/server/LibGlomServiceImpl.java:
1152 2011-01-25 Ben Konrath <ben@bagu.org>
1154 Add project specific JDT settings.
1156 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1157 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1159 2011-01-25 Ben Konrath <ben@bagu.org>
1161 Populate celltable with example data.
1163 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1164 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1165 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1166 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1167 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1168 asynchronously gets the example data.
1169 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1170 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1171 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1172 curently selected table to be retrieved by other widgets.
1173 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1174 implement getTableData() in a hacky way. This method needs to be updated
1175 to grab information from the database when database creating is
1178 2011-01-20 Ben Konrath <ben@bagu.org>
1180 Set table headers when table dropBox changes.
1182 * src/org/glom/web/client/GlomDocument.java: Correct some method
1184 * src/org/glom/web/client/LibGlomService.java: Add method
1185 to get list layout field names.
1186 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1187 to get list layout field names.
1188 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1189 widget for list layout table.
1190 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1191 the table drop box and add new updateTable() method to asynchronously
1192 get the layout list field names for the currently selected table.
1193 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1194 implementation of getLayoutListHeaders() method.
1195 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1197 2011-01-18 Ben Konrath <ben@bagu.org>
1199 Make a listBox with table titles instead of the flexTable demo.
1201 This is the start of something more useful.
1203 * .classpath: Exclude a bunch of packages from the JVM that are
1204 getting in the way of the Eclipse content assist.
1205 * src/org/glom/web/client/GlomDocument.java:
1206 * src/org/glom/web/client/GlomTable.java:
1207 * src/org/glom/web/client/LibGlomService.java:
1208 * src/org/glom/web/client/LibGlomServiceAsync.java:
1209 * src/org/glom/web/client/OnlineGlom.java:
1210 * src/org/glom/web/server/LibGlomServiceImpl.java:
1211 * war/OnlineGlom.html:
1212 * war/WEB-INF/web.xml:
1214 211-01-13 Ben Konrath <ben@bagu.org>
1216 Update to new java-libglom API.
1218 * .gitignore: Ignore OnlineGlom.war.
1219 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1221 2010-12-20 Ben Konrath <ben@bagu.org>
1223 Add some basic style to the table listing.
1225 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1226 header, print useful error message on async callback failure.
1227 * war/OnlineGlom.css: Add style for table header, remove defaults
1228 provided by the Eclipse project wizard.
1230 2010-12-20 Ben Konrath <ben@bagu.org>
1232 Load example file from installed glom dir.
1234 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1235 provided by java-libglom to find the example file.
1237 2010-12-20 Ben Konrath <ben@bagu.org>
1239 Update Eclipse settings.
1242 * .settings/com.google.gdt.eclipse.core.prefs:
1243 * .settings/com.google.gwt.eclipse.core.prefs:
1245 2010-12-17 Ben Konrath <ben@bagu.org>
1249 * .classpath: New file.
1250 * .gitignore: New file.
1251 * .project: New file.
1252 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1253 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1254 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1255 * src/org/glom/web/client/GlomTable.java: New file.
1256 * src/org/glom/web/client/OnlineGlom.java: New file.
1257 * src/org/glom/web/client/TableNameService.java: New file.
1258 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1259 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1260 * war/OnlineGlom.css: New file.
1261 * war/OnlineGlom.html: New file.
1262 * war/WEB-INF/web.xml: New file.
1263 * war/images/glom.png: New file.