1 2011-05-27 Ben Konrath <ben@bagu.org>
3 Fix problem with onlineglom.properties file loading.
5 The old way worked in Eclipse but not on the server. Loading the
6 onlineglom.properties file now works in Eclipse and on the server.
8 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
10 2011-05-24 Ben Konrath <ben@bagu.org>
12 Update gwt-log from 3.1.0 to 3.1.2.
14 Gwt-log 3.1.0 has been marked as depreciated.
18 2011-05-24 Ben Konrath <ben@bagu.org>
20 Add comment to ListActivity.goTo() method.
22 * src/main/java/org/glom/web/client/activity/ListActivity.java:
24 2011-05-24 Ben Konrath <ben@bagu.org>
26 Remove FIXME in convertGdkColorToHtmlColour()
28 The Gdk::Color value returned by libglom is 16-bits per channel on both
29 64 and 32-bit platforms.
31 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
33 2011-05-19 Ben Konrath <ben@bagu.org>
35 Improve performance of initial ListView load.
37 I removed a round trip to the server for getting the default table name
38 and then requesting information about that table. This also removes a potential
39 problem with the table change handler not being setup in time to receive the
40 table change event from the ListActivity.
42 * src/main/java/org/glom/web/client/OnlineGlomService.java:
43 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
44 getDefaultLayoutListTable() method. Improve comments.
45 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
46 getDefaultLayoutListTable() method instead of firing a table change
47 event to get the table to load.
48 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
49 implementation of getDefaultLayoutListTable() method.
50 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
53 2011-05-19 Ben Konrath <ben@bagu.org>
55 Override toDebugString() in TableChangeEvent.
57 This is useful to have for debugging.
59 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
61 2011-05-19 Ben Konrath <ben@bagu.org>
63 Add a "Back to List" link when at the DetailsPlace.
65 * src/main/java/org/glom/web/client/activity/ListActivity.java:
66 Populate the CellTable based on the selected table of the ListBox if
67 it's set otherwise use the default table. This allows the "Back to
69 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
70 Remove Place from constructors. Add a setPlace() method. Add
71 goToPlace() method. Set class as presenter for TableSelectionView.
72 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
73 Use the same TableSelectionActivity when switching between the List and
75 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
76 Subclass the new HasSelectableTablePlace. This removes some duplicate
78 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
79 New class to represent Places that display the TableSelectionView.
80 * src/main/java/org/glom/web/client/place/ListPlace.java:
81 Subclass the new HasSelectableTablePlace. This removes some duplicate
83 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
84 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
85 Add Presenter interface. Add setBackLinkVisible() method. Add
88 2011-05-18 Ben Konrath <ben@bagu.org>
90 Enable the "Details" buttons.
92 Right now only an empty details view is displayed.
94 * src/main/java/org/glom/web/client/ClientFactory.java:
95 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
96 Add DetailsView to ClientFactory.
97 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
98 A basic activity for the details view.
99 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
100 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
102 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
103 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
105 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
106 Create a new DetailsActivity when a DetailsPlace is requested. Remove
107 unnecessary super() in constructor.
108 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
109 Create a new TableSelectionActivity when a DetailsPlace is requested. We
110 really shouldn't create a new TableSelectionActivity for both the ListPlace
111 and the DetailsPlace so this should be considered a temporary solution.
112 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
113 New file. Represents a URL for the details view.
114 * src/main/java/org/glom/web/client/ui/DetailsView.java:
115 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
116 A basic details view interface and implementation.
117 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
118 Enable the "Details" buttons.
120 2011-05-12 Ben Konrath <ben@bagu.org>
122 Use a LayoutPanel with multiple display areas for main layout.
124 This is mostly a refactor in that there are no changes from the user
125 point of view. These changes are required so that we can swap out the list view
126 with the details view when the user clicks the "Details" button.
128 * src/main/java/org/glom/web/client/ClientFactory.java:
129 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
130 OnlineGlomView. Add TableSelectionView, ListView and
132 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
133 for main layout. Add display regions for main activities. Add
134 activity manager for for main activities.
135 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
136 file from parts of the deleted OnlineGlomActivity.
137 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
138 New file from parts of the deleted OnlineGlomActivity.
139 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
140 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
141 New files for app wide table change event.
142 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
143 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
144 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
145 Activity mappers for the main activities replace the deleted app-wide
147 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
148 Fix a spelling error in he comment.
149 * src/main/java/org/glom/web/client/ui/ListView.java:
150 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
151 Renamed from LayoutListView and modified for MVP. This still not a
152 proper dumb view as prescribed by the MVP pattern but it works for now.
153 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
154 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
155 New widget stripped out of the deleted OnlineGlomView.
156 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
157 Remove hack that is fixed by this patch.
159 2011-05-06 Ben Konrath <ben@bagu.org>
161 Rename OnlineGlomPlace to ListPlace.
163 The only change besides the rename is that url will now display #list
164 instead of #Document.
166 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
167 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
168 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
169 * src/main/java/org/glom/web/client/place/ListPlace.java:
170 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
172 2011-05-06 Ben Konrath <ben@bagu.org>
174 Use Presenter for app navigation.
176 This is the proper way to deal with Place (URL) changes with the MVP
179 * src/main/java/org/glom/web/client/ClientFactory.java:
180 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
181 PlaceHistoryMapper and PlaceHistoryHandler.
182 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
183 PlaceHistoryMapper and PlaceHistoryHandler.
184 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
185 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
186 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
187 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
188 Add Presenter interface and setPresenter methods. Rename addHyperLink
189 to addDocumentLink taking only the document title as a parameter.
191 2011-04-14 Ben Konrath <ben@bagu.org>
193 Prompt for db username/password if they haven't been set.
195 This is implemented with a popup widget that is contained within the
196 OnlineGlomView and managed by the OnlineGlomActivity.
198 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
199 methods for checking and setting the database username and password.
200 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
201 new methods for checking and setting the database username and
203 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
204 Display authentication popup if the JDBC connection to the database
205 has not been authenticated.
206 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
208 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
209 for dealing with the authentication popup.
210 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
211 Implement the methods for dealing with the authentication popup.
212 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
213 try to executed queries if the database connection hasn't been
214 authenticated. Implement methods for checking and setting the
215 database username and password.
217 2011-04-12 Ben Konrath <ben@bagu.org>
219 Make log messages a little clearer.
221 Add a dash betweeen the document title and the table name.
223 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
225 2011-04-12 Ben Konrath <ben@bagu.org>
227 Protect against NPEs when cleaning up database resources.
229 While this isn't strictly necessary because the exception is caught,
230 not protecting against the NPEs makes it harder to find the real error
233 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
235 2011-04-12 Ben Konrath <ben@bagu.org>
237 Move configuration of the servlet to the constructor.
239 The servlet will be initialized even if the database authentication
240 information is not set or correct. I still need to add the UI for prompting
241 the user for the authentication information when it's required.
243 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
244 javadocs for getDocumentTitles() method.
245 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
246 Set error message when RPC fails.
247 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
248 glom files directory from the configuration file. Try to set the
249 database authentication information for the specific document if it's
250 set and works otherwise try to use the global authentication
251 information set for the directory.
252 * src/main/resources/onlineglom.properties: Moved from
253 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
254 Added detailed comments for the new keys.
256 2011-04-11 Ben Konrath <ben@bagu.org>
258 Remove unnecessary @Override in DocumentSelectionViewImpl.
260 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
262 2011-04-11 Ben Konrath <ben@bagu.org>
264 Remove center alignment in DocumentSelectionView.
266 The title element is still centred but the document titles and bottom
267 sentence are both left-aligned.
269 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
271 2011-04-11 Ben Konrath <ben@bagu.org>
273 Change 'Demo' naming convention to 'Document'.
275 This is just a rename refactor with no functional changes to the code.
277 * src/main/java/org/glom/web/client/ClientFactory.java:
278 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
279 * src/main/java/org/glom/web/client/OnlineGlom.java:
280 * src/main/java/org/glom/web/client/OnlineGlomService.java:
281 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
282 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
283 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
284 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
285 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
286 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
287 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
288 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
289 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
291 2011-04-08 Ben Konrath <ben@bagu.org>
293 Remove FIXME from safeLongToInt() method.
295 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
298 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
300 2011-04-08 Ben Konrath <ben@bagu.org>
302 Display an error if no glom documents are found in the specified directory.
304 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
305 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
306 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
307 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
309 2011-04-08 Ben Konrath <ben@bagu.org>
311 Add copyright header to one more file ... oops.
313 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
315 2011-04-08 Ben Konrath <ben@bagu.org>
317 Add copyright header to files without it.
319 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
320 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
321 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
322 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
323 * src/main/java/org/glom/web/shared/ColumnInfo.java:
324 * src/main/java/org/glom/web/shared/GlomField.java:
326 2011-04-08 Ben Konrath <ben@bagu.org>
328 Add support for accessing multiple glom documents in the servlet.
330 This completes the demo selection functionality.
332 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
333 document title to methods.
334 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
335 document title to methods.
336 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
337 Set browser window title when the activity starts. Correct name of
338 document title variable.
339 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
340 Set browser window title when the activity starts. Set the table
341 selector change handler after table selector has been set. Clear the
342 OnlineGlomView when the activity has been stopped.
343 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
344 document title as the place token. Use "#Document:" instead of
345 "#OnlineGlomPlace:" in the URL.
346 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
347 Change heading to "Online Glom"
348 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
349 document title in RPC methods.
350 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
351 setDocumentTitle() method. Add clear() method.
352 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
353 setDocumentTitle() method. Implement clear() method which removes the
354 change handler on the ListBox, clears the ListBox and clears the
356 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
357 Implement methods with document title. Keep track for the configured
358 glom documents and their corresponding JDBC configurations in a hash
359 table. This information is retrieved using the document title as the
360 key in the hash table.
361 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
362 document title field as it's no longer needed.
364 2011-04-08 Ben Konrath <ben@bagu.org>
366 Update the Eclipse JDT configuration.
368 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
369 methods. Automatically add the copyright header to new files.
371 2011-04-05 Ben Konrath <ben@bagu.org>
373 Add new page for demo selection.
375 This patch adds all the components required to view and start an
376 OnlineGlom demo by clicking on the desired hyperlink. The user is
377 able to return to the demo selection page with the browser's back
378 button. I still need to modify the servlet to work with multiple
379 documents so all demo links will load the file defined in the
380 OnlineGlom.properties.
382 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
383 This is only useful during development so we don't need to save it.
384 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
385 get a reference to the DemoSelectionView.
386 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
387 method to get a reference to the DemoSelectionView.
388 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
389 default view to DemoSelectionView.
390 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
391 to get glom document titles for glom files in a hard-coded directory.
392 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
393 method to get glom document titles for glom files in a hard-coded
395 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
396 Presenter for DemoSelectionView.
397 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
398 for DemoSelectionView.
399 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
400 Update for DemoSelectionView.
401 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
402 Basic 'Place' implementation for the DemoSelectionView.
403 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
404 The interface for the DemoSelectionView.
405 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
406 The implementation of the DemoSelectionView.
407 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
408 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
409 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
410 implementation of method to get glom document titles for glom files
411 in a hard-coded directory.
412 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
413 on longer being used.
414 * src/main/webapp/glom.png: Glom logo.
416 2011-04-05 Ben Konrath <ben@bagu.org>
418 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
420 This is the forth and final commit of a refactor that will allow
421 OnlineGlom to be used with multiple documents.
423 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
424 Move RPC code from OnlineGlomViewImpl to this class.
425 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
427 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
428 RPC code to the presenter class (the P in MVP).
430 2011-04-04 Ben Konrath <ben@bagu.org>
432 Start moving the existing OnlineGlom code to MVP.
434 This work is based on the GWT MVP framework that is documented here:
436 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
438 This is the third commit of a refactor that will allow OnlineGlom to
439 be used with multiple documents.
441 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
442 Interface for client factory which is used to get instances of various
443 classes throughout the app.
444 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
445 Implementation of client factory.
446 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
447 initialize the MVP framework.
448 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
449 New file. Activity manager for the main container widget. This is the
451 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
452 Maps place (URL) to its corresponding activity.
453 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
454 New file. This is just a place holder for a generated file.
455 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
456 New file. Represents the URL for the main Online Glom app.
457 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
458 for changes in LayoutListViewImpl.
459 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
460 interface for View. Move code to OnlineGlomViewImpl class.
461 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
462 file. Implementation of OnlineGlomView.
463 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
464 Place resources. Use ClientFactoryImpl by default.
466 2011-04-04 Ben Konrath <ben@bagu.org>
468 Move View classes to their own package.
470 This is the second commit of a refactor that will allow OnlineGlom to
471 be used with multiple documents.
473 * src/main/java/org/glom/web/client/OnlineGlom.java:
474 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
475 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
477 2011-04-02 Ben Konrath <ben@bagu.org>
479 Move UI code from the main module to its own class.
481 This is the first commit of a refactor that will allow OnlineGlom to be
482 used with multiple documents.
484 * src/main/java/org/glom/web/client/LayoutListView.java: Update
485 references to OnlineGlom to OnlineGlomView.
486 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
487 OnlineGlomView and instantiate it here.
488 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
489 represents the main OnlineGlomView with one document.
491 2011-04-01 Ben Konrath <ben@bagu.org>
493 Fix formatting of gwt.xml and add DTD.
495 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
497 2011-03-30 Ben Konrath <ben@bagu.org>
499 Propperly convert gdkColor string to html colour string.
501 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
503 2011-03-28 Ben Konrath <ben@bagu.org>
505 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
507 This implementation matches
508 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
509 readable and is not tied to Swig.
511 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
513 2011-03-28 Ben Konrath <ben@bagu.org>
515 Use read-only checkboxes for boolean field types.
517 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
518 in the CellTable based on the field type. It currently only
519 distinguishes between boolean and text columns but I'll need to add
520 support for more types.
521 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
522 column type in the ColumnInfo object. Add method to convert between the
523 glom field type enum in ColumnInfo and the glom field type in libglom.
524 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
526 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
527 getting and setting booleans.
529 2011-03-25 Ben Konrath <ben@bagu.org>
531 Don't get the Date twice from the ResultSet.
533 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
535 2011-03-25 Ben Konrath <ben@bagu.org>
537 Cleanup code in the servlet.
539 * TODO: Remove item about row count. Add item about testing row count
540 query with large number of rows.
541 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
542 spelling mistakes, change method parameter to be consistent with
545 2011-03-25 Ben Konrath <ben@bagu.org>
547 Add server side logging with the gwt-log library.
549 * .gitignore: Ignore the log file we're now producing.
550 * TODO: Add a couple TODO item for logging.
551 * pom.xml: Add gwt-log and log4j as a dependency.
552 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
553 logging of errors, warnings and some important info.
554 * src/main/resources/log4j.properties: New file to configure log4j.
556 2011-03-24 Ben Konrath <ben@bagu.org>
558 Add a disable button for the Details view.
560 * src/main/java/org/glom/web/client/LayoutListView.java:
562 2011-03-22 Ben Konrath <ben@bagu.org>
564 Use a count query to get the number of rows for the list view pager.
566 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
568 2011-03-22 Ben Konrath <ben@bagu.org>
570 Add more TODO information about CellTable pager positioning.
574 2011-03-19 Ben Konrath <ben@bagu.org>
576 Add TODO item about CellTable pager positioning.
580 2011-03-18 Ben Konrath <ben@bagu.org>
582 Remove unneeded GlomFieldColumn class.
584 This is just a small code cleanup.
586 * src/main/java/org/glom/web/client/LayoutListView.java:
588 2011-03-18 Ben Konrath <ben@bagu.org>
590 Use cursor mode in the query that gets data for the list view.
592 I still need to fix the potential memory problem when getting the row
593 count for the list view.
595 * TODO: Add note about testing memory usage with large data sets. Add
596 item about fixing row counting with large data sets.
597 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
598 PostgreSQL JDBC driver into cursor mode when getting data for the
601 2011-03-15 Ben Konrath <ben@bagu.org>
603 Remove the GWT Container from the Eclipse build classpath.
605 The GWT dependencies are set by Maven so this isn't needed.
609 2011-03-15 Murray Cumming <murrayc@murrayc.com>
611 Added some earlier mockups to git, but not to the tarball dist.
613 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
614 Openismus. These hopefully show how we might structure the HTML so that
615 it can be styled easily with CSS. However, we probably need to adapt them
616 for the CSS structure that GWT dictates for common widgets.
618 2011-03-14 Ben Konrath <ben@bagu.org>
620 Locate OnlineGlom.properties using the ServletContext.
622 This is required to be able to locate the file in the deployed servlet.
624 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
625 Configure the database and glom document in in a helper method so
626 that the ServletContext can be used to locate OnlineGlom.properties.
627 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
628 src/main/webapp. This is the proper location for .properites files.
630 2011-03-12 Ben Konrath <ben@bagu.org>
632 Add note to README about why we're compiling down to obfuscated JavaScript.
636 2011-03-11 Ben Konrath <ben@bagu.org>
638 Use properties file to configure servlet.
640 This allows people to change the glom file path, db username and db
641 password without recompiling the code.
643 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644 * src/main/webapp/OnlineGlom.properties:
646 2011-03-11 Ben Konrath <ben@bagu.org>
648 Use table fields in layout list view if the layout list is not defined.
650 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
651 Manually create a LayoutFieldVector for the query builder using the
652 table fields when a layout list is not defined in the glom file.
654 2011-03-11 Ben Konrath <ben@bagu.org>
656 Only show FIXME string for images when there's an image.
658 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
659 in this change are some small code cleanups.
661 2011-03-11 Ben Konrath <ben@bagu.org>
663 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
665 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
667 2011-03-11 Ben Konrath <ben@bagu.org>
669 Correctly set the index of the default table.
671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
672 Correctly set the index of the default table. Add commented out example
675 2011-03-10 Ben Konrath <ben@bagu.org>
677 Add comment to pom.xml about the previous change.
679 * pom.xml: Add comment about the deployment issue so that it's obvious
680 why java-libglom is set to the provided scope.
682 2011-03-10 Ben Konrath <ben@bagu.org>
684 Change java-libglom dependency from compile to provided in pom.xml.
686 Since java-libglom uses jni it can only be loaded once and therefore
687 must be placed in $CATALINA_HOME/lib and not included in each war.
688 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
689 More information about this issue can be found in the Tomcat 6 release
690 notes in the "JNI Based Applications" section:
692 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
694 * README: Remove note about this issue. Deployment info should really
695 be on the wiki anyway so I'll add it right now.
696 * pom.xml: Change java-libglom dependency from compile to provided so
697 that it's copied in to the packaged war.
699 2011-03-09 Ben Konrath <ben@bagu.org>
701 Change to using a neutral locale for currency, date and time formatting.
703 This solves the problem of currency values being represented without a
704 space between the currency code and the number (e.g. "EUR5.89" is now
705 represented as "EUR 5.89"). More work is required when we implement
706 a locale preference setting.
708 * TODO: Add note about currency formatting issues with different
710 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
711 to using the neutral ROOT locale.
713 2011-03-09 Ben Konrath <ben@bagu.org>
715 Add support for currency codes that are not ISO 4217 codes.
717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
718 the currency code defined in the glom file when it's not 3 characters
719 long or when Java doesn't recognize the string as an ISO 4217 code.
721 2011-03-08 Ben Konrath <ben@bagu.org>
723 Remove test classes, launch configurations and configuration.
725 The test stuff was getting in the way when creating the war. To make
726 the war file you can now do 'mvn clean package'. The packaged war file
727 will be in the target directory.
729 * .classpath: Remove unused classpathentry for tests and i18n.
730 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
731 property. Don't run test or i18n goals when packaging the war.
732 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
737 * OnlineGlomTest-dev.launch:
738 * OnlineGlomTest-prod.launch:
739 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
740 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
742 2011-03-07 Ben Konrath <ben@bagu.org>
744 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
746 These fixes allow me to use 'mvn deploy' to create the war file.
748 * .classpath: This generated config has been updated by Eclipse. This
749 change was probably triggered by me updating from Eclipse 3.6.1 to
751 * .gitignore: Add entry to ignore the directory
752 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
753 * .project: The generated config has been updated by Eclipse. This
754 change was probably triggered by me updating from Eclipse 3.6.1 to
756 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
757 so that Eclipse doesn't complain
758 * pom.xml: Update to gwt-maven-plugin 2.2.0.
759 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
760 'tests' directory to 'client' directory. This is the new
761 gwt-maven-plugin convension.
762 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
763 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
765 2011-03-07 Ben Konrath <ben@bagu.org>
767 Add support for horizontal alignment in the LayoutList columns.
769 * TODO: Remove item about horizontal alignment. Add item about
770 improvements to ColumnInfo.
771 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
772 alignment on the columns. Use ColumnInfo RPC object get the column
773 title and horizontal alignment.
774 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
775 LayoutListView creation with ColumnInfo RPC object.
776 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
777 a ColumnInfo object for every LayoutList columnn. Convert the
778 FieldFormatting.HorizontalAlignment to the correct
779 ColumnnInfo.HorizontatlAlignment with the new
780 getColumnInfoHorizontalAlignment helper method.
781 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
782 to encapsulate column information like alignment and title. This
783 could be used to set the colour instead of on a per cell field basis.
784 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
785 column title storage and retrieval with ColumnInfo.
787 2011-03-04 Ben Konrath <ben@bagu.org>
789 Add support for column sorting.
791 * src/main/java/org/glom/web/client/LayoutListView.java: Change
792 AsynDataProvider to be an anonymous inner class. Use new
793 getSortedTableData RPC method when column sort is requested. Set all
794 columns sortable and add an AsyncHandler to activate sorting in the
796 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
797 method getSortedTableData(). Cleanup other method signatures.
798 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
799 new method getSortedTableData(). Cleanup other method signatures.
800 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
801 Implement getSortedTableData() and getTableData() methods by using a
802 private helper method with the appropriate parameters filled in. Use
803 user supplied sort clause when supplied, otherwise fall back to
804 sorting by the primary key. Move destroy() method to be underneath
805 constructor for readability. Cleanup comments.
807 2011-03-03 Ben Konrath <ben@bagu.org>
809 Add support for colour text and colour backgrounds to the layout list cells.
811 Only the cell backgrounds are coloured which leaves a gap between the
812 cells that isn't coloured. I need to figure out a way to set
813 'style=background-colour:' on the whole column rather than just the
816 * TODO: Add a note about colouring the background of the whole column.
817 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
818 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
819 render the coloured text and backgrounds. Use GlomField[] for the row type.
820 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
822 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
823 GlomField[] for the row type.
824 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
825 GlomField[] for the row type. Set the text, text colour and background
826 colour in the GlomField objects as specified in the glom document. Add
827 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
828 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
829 the glom field text, foreground colour and background colour.
831 2011-03-02 Ben Konrath <ben@bagu.org>
833 Don't display hidden tables in the combo box.
835 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
837 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
838 code to ignore hidden tables using ArrayLists for the table names and
840 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
841 tableNames to use ArrayLists instead of String[]. Update getter and setter
844 2011-03-01 Ben Konrath <ben@bagu.org>
846 Add support for Date and Time number types.
848 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
849 Implement formatting for Date and Time values. Change the default glom
850 file to small business example.
852 2011-03-01 Ben Konrath <ben@bagu.org>
854 Add support for formatting glom types as specified in the glom file.
856 Formatting isn't finished yet - I still need to add support for Date
859 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
860 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
861 checks for null values in JDBC cleanup code and catch all exceptions
862 instead of just SQLExceptions.
863 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
866 2011-03-01 Ben Konrath <ben@bagu.org>
868 Use GWT 2.2.0 instead of 2.1.1.
870 * pom.xml: Change GWT version numbers.
872 2011-03-01 Ben Konrath <ben@bagu.org>
874 A few small code cleanups.
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
878 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
879 unnecessary object creation in constructor.
880 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
881 unnecessary object creation in constructor.
883 2011-02-28 Ben Konrath <ben@bagu.org>
885 Add file for TODO list.
889 2011-02-18 Ben Konrath <ben@bagu.org>
891 Enable the CellTable Pager when more than 20 rows need to be viewed.
893 The Pager will automatically become active when the results are larger
894 than the CellTable size which is currently set to 20 lines.
896 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
897 name on debug statment in RPC call in LayoutListDataProvider, add
898 numRows parameter to LayoutListView constructor, propperly set rowCount
900 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
901 name on debug statment in RPC call, use LayoutListTable object in RPC
902 calls, pass rowCount to LayoutListView.
903 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
904 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
906 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
907 interface for changes in OnlineGlomService.
908 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
909 getLayoutListHeaders() to getLayoutListTable() and return
910 LayoutListTable. Using this object allows me to pass other information
911 about the LayoutList like the expected number of rows in the result set.
912 The Connection object from the connection pool is now propperly closed.
913 Only the requested number of lines are returned to the client in
915 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
916 GlomTable and add columnTitles and numRows.
918 2011-02-18 Ben Konrath <ben@bagu.org>
920 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
922 This is a small performance boost. I'll use GlomTable to get the required
923 layoutlist information.
925 * src/main/java/org/glom/web/client/OnlineGlom.java:
926 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
927 * src/main/java/org/glom/web/shared/GlomDocument.java:
929 2011-02-18 Ben Konrath <ben@bagu.org>
931 Add option to turn off formatting in JDT formatter preferences.
933 * .settings/org.eclipse.jdt.core.prefs:
935 2011-02-18 Ben Konrath <ben@bagu.org>
937 Rename LayoutList to LayoutListView.
939 I'm working towards setting things up to easily use MVP when the time
942 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
944 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
947 2011-02-17 Ben Konrath <ben@bagu.org>
949 Move LayoutListDataProvider class into LayoutList.java.
951 * src/main/java/org/glom/web/client/LayoutList.java:
953 2011-02-17 Ben Konrath <ben@bagu.org>
955 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
957 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
959 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
960 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
961 from LibGlomServer.java.
962 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
963 Rename from LibGlomServiceAsync.java.
964 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
965 Rename from LibGlomServiceImpl.java.
966 * src/main/webapp/WEB-INF/web.xml: Update configuration.
968 2011-02-17 Ben Konrath <ben@bagu.org>
972 * .settings/org.eclipse.jdt.core.prefs:
974 2011-02-17 Ben Konrath <ben@bagu.org>
976 Move GWT-RPC objects to shared package (where they should be).
978 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
979 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
980 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
981 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
982 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
983 org.glom.web.shared package.
984 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
985 org.glom.web.shared package.
986 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
987 directory in compilation to javascript.
989 2011-02-16 Ben Konrath <ben@bagu.org>
991 Add sort clause to the sql query that grabs table information.
993 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
994 if one of the columns is a primary key.
996 2011-02-16 Ben Konrath <ben@bagu.org>
998 Disable generateAsync feature of gwt-maven.
1000 The generated interface does not correctly match the methods in LibGlomService
1001 and the generated singleton Util inner-class doesn't respect the servlet
1004 * pom.xml: Turn off generateAsync feature.
1005 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1006 with singleton Util inner-class.
1008 2011-02-14 Ben Konrath <ben@bagu.org>
1010 Add LGPL v3 licence notices.
1012 Followed directions listed here:
1013 http://www.gnu.org/licenses/gpl-howto.html
1015 * COPYING: This file is a copy of the GPL v3.
1016 * COPYING.LESSER: This file is a copy of the LGPL v3.
1017 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1019 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1021 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1023 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1025 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1027 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1029 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1032 2011-02-14 Ben Konrath <ben@bagu.org>
1034 Use ArrayList instead of Array in GWT-RPC calls.
1036 Apparently this gives a slight performance boost to the compiled
1039 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1041 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1044 2011-02-14 Ben Konrath <ben@bagu.org>
1046 Access data from a postgres db rather than the example glom file.
1048 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1049 compile down to obfuscated javascript.
1050 * pom.xml: Add c3p0 and postgres JDBC libraries.
1051 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1052 using a postgres db accessed through the c3p0 connection pooling library.
1054 2011-02-14 Ben Konrath <ben@bagu.org>
1056 Update Java formatter settings.
1058 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1060 2011-02-02 Ben Konrath <ben@bagu.org>
1062 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1064 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1066 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1067 the compiled webapp directory that Eclipse uses as we're using Maven now.
1068 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1069 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1071 * pom.xml: Format file, change target Java version to 1.6.
1073 2011-02-02 Ben Konrath <ben@bagu.org>
1075 Add information about a deployment related issue.
1077 * README: Add Notes section with the problem outlined.
1079 2011-02-02 Ben Konrath <ben@bagu.org>
1081 Call Glom.libglom_deinit() when the servlet is shutdown.
1083 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1084 Glom.libglom_deinit() to destroy() method.
1086 2011-01-28 Ben Konrath <ben@bagu.org>
1088 Use generated Util class to get the RPC Async interface.
1090 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1092 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1093 getInstance() method to get a reference to the RPC Async interface.
1094 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1095 getInstance() method to get a reference to the RPC Async interface, remove
1096 the now unused getLibGlomServiceProxy() method.
1098 2011-01-27 Ben Konrath <ben@bagu.org>
1100 Cleanup ChangeLog entry from previous commit.
1102 * ChangeLog: Group logical changes together and add comments.
1104 2011-01-25 Ben Konrath <ben@bagu.org>
1106 Convert to gwt-maven project.
1108 * .gitignore: Update for new project structure.
1109 * README: New file with a link to the online documentation.
1110 * pom.xml: The generated maven configuration file with some tweaks.
1112 Add / update Eclipse settings. These files are a merge of the files that
1113 were generated with the gwt-maven plugin and the files we were previously
1117 * .settings/.jsdtscope:
1118 * .settings/com.google.gdt.eclipse.core.prefs:
1119 * .settings/com.google.gwt.eclipse.core.prefs:
1120 * .settings/org.eclipse.jdt.core.prefs:
1121 * .settings/org.eclipse.wst.common.component:
1122 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1123 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1124 * .settings/org.maven.ide.eclipse.prefs:
1125 * OnlineGlomTest-dev.launch:
1126 * OnlineGlomTest-prod.launch:
1128 Java source files moved from the 'src' directory to the directory structure
1130 * src/main/java/org/glom/web/client/GlomDocument.java:
1131 * src/main/java/org/glom/web/client/GlomTable.java:
1132 * src/main/java/org/glom/web/client/LayoutList.java:
1133 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1134 * src/main/java/org/glom/web/client/LibGlomService.java:
1135 * src/main/java/org/glom/web/client/OnlineGlom.java:
1136 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1138 Non-functional property file used for translations. I included this as
1139 reminder that it's something I need to sort out.
1140 * src/main/resources/org/glom/web/client/Messages.properties:
1142 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1143 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1145 The servlet configuration files moved from the 'war' directory.
1146 * src/main/webapp/OnlineGlom.css:
1147 * src/main/webapp/OnlineGlom.html:
1148 * src/main/webapp/WEB-INF/web.xml:
1150 Generated test files with most of the code commented out. I included these
1151 so that it's easy to add tests when we're ready for them.
1152 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1153 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1155 2011-01-25 Ben Konrath <ben@bagu.org>
1157 Remove unused println.
1159 * src/org/glom/web/server/LibGlomServiceImpl.java:
1161 2011-01-25 Ben Konrath <ben@bagu.org>
1163 Add project specific JDT settings.
1165 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1166 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1168 2011-01-25 Ben Konrath <ben@bagu.org>
1170 Populate celltable with example data.
1172 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1173 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1174 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1175 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1176 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1177 asynchronously gets the example data.
1178 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1179 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1180 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1181 curently selected table to be retrieved by other widgets.
1182 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1183 implement getTableData() in a hacky way. This method needs to be updated
1184 to grab information from the database when database creating is
1187 2011-01-20 Ben Konrath <ben@bagu.org>
1189 Set table headers when table dropBox changes.
1191 * src/org/glom/web/client/GlomDocument.java: Correct some method
1193 * src/org/glom/web/client/LibGlomService.java: Add method
1194 to get list layout field names.
1195 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1196 to get list layout field names.
1197 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1198 widget for list layout table.
1199 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1200 the table drop box and add new updateTable() method to asynchronously
1201 get the layout list field names for the currently selected table.
1202 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1203 implementation of getLayoutListHeaders() method.
1204 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1206 2011-01-18 Ben Konrath <ben@bagu.org>
1208 Make a listBox with table titles instead of the flexTable demo.
1210 This is the start of something more useful.
1212 * .classpath: Exclude a bunch of packages from the JVM that are
1213 getting in the way of the Eclipse content assist.
1214 * src/org/glom/web/client/GlomDocument.java:
1215 * src/org/glom/web/client/GlomTable.java:
1216 * src/org/glom/web/client/LibGlomService.java:
1217 * src/org/glom/web/client/LibGlomServiceAsync.java:
1218 * src/org/glom/web/client/OnlineGlom.java:
1219 * src/org/glom/web/server/LibGlomServiceImpl.java:
1220 * war/OnlineGlom.html:
1221 * war/WEB-INF/web.xml:
1223 211-01-13 Ben Konrath <ben@bagu.org>
1225 Update to new java-libglom API.
1227 * .gitignore: Ignore OnlineGlom.war.
1228 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1230 2010-12-20 Ben Konrath <ben@bagu.org>
1232 Add some basic style to the table listing.
1234 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1235 header, print useful error message on async callback failure.
1236 * war/OnlineGlom.css: Add style for table header, remove defaults
1237 provided by the Eclipse project wizard.
1239 2010-12-20 Ben Konrath <ben@bagu.org>
1241 Load example file from installed glom dir.
1243 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1244 provided by java-libglom to find the example file.
1246 2010-12-20 Ben Konrath <ben@bagu.org>
1248 Update Eclipse settings.
1251 * .settings/com.google.gdt.eclipse.core.prefs:
1252 * .settings/com.google.gwt.eclipse.core.prefs:
1254 2010-12-17 Ben Konrath <ben@bagu.org>
1258 * .classpath: New file.
1259 * .gitignore: New file.
1260 * .project: New file.
1261 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1262 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1263 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1264 * src/org/glom/web/client/GlomTable.java: New file.
1265 * src/org/glom/web/client/OnlineGlom.java: New file.
1266 * src/org/glom/web/client/TableNameService.java: New file.
1267 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1268 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1269 * war/OnlineGlom.css: New file.
1270 * war/OnlineGlom.html: New file.
1271 * war/WEB-INF/web.xml: New file.
1272 * war/images/glom.png: New file.