1 2011-06-02 Ben Konrath <ben@bagu.org>
3 Add CSS file from mockups.
5 I'm adding this now because it's going to be useful to have when
6 developing the DetailsView. The TableSelectionView and ListView aren't
9 * src/main/webapp/OnlineGlom.html:
10 * src/main/webapp/style.css:
12 2011-06-02 Ben Konrath <ben@bagu.org>
14 Use String.isEmpty() to check for empty string.
16 * src/main/java/org/glom/web/client/activity/ListActivity.java:
18 2011-06-02 Ben Konrath <ben@bagu.org>
20 Display main layout group titles in the DetailsView.
22 This is the start of the DetailsActivity/DetailsView implementation.
24 * src/main/java/org/glom/web/client/OnlineGlomService.java:
25 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
26 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
27 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
28 Get the layout information for the details view from the server and set
29 the main layout group titles.
30 * src/main/java/org/glom/web/client/ui/DetailsView.java:
31 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
32 Add addLayoutGroup() and addLayoutField() methods. This are just
33 temporary methods for creating the the details view that will change
35 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
36 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
38 * src/main/java/org/glom/web/shared/layout/Formatting.java:
39 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
40 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
41 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
42 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
43 Data Transfer Objects that mimic the libglom object structure. These are
44 used for transferring the details layout but could also be used for
45 transferring the list layout.
47 2011-05-27 Ben Konrath <ben@bagu.org>
49 Reset the AuthenticationPopup when clearing the ListView.
51 * src/main/java/org/glom/web/client/activity/ListActivity.java:
53 2011-05-27 Ben Konrath <ben@bagu.org>
55 Fix problem with onlineglom.properties file loading.
57 The old way worked in Eclipse but not on the server. Loading the
58 onlineglom.properties file now works in Eclipse and on the server.
60 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
62 2011-05-24 Ben Konrath <ben@bagu.org>
64 Update gwt-log from 3.1.0 to 3.1.2.
66 Gwt-log 3.1.0 has been marked as depreciated.
70 2011-05-24 Ben Konrath <ben@bagu.org>
72 Add comment to ListActivity.goTo() method.
74 * src/main/java/org/glom/web/client/activity/ListActivity.java:
76 2011-05-24 Ben Konrath <ben@bagu.org>
78 Remove FIXME in convertGdkColorToHtmlColour()
80 The Gdk::Color value returned by libglom is 16-bits per channel on both
81 64 and 32-bit platforms.
83 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
85 2011-05-19 Ben Konrath <ben@bagu.org>
87 Improve performance of initial ListView load.
89 I removed a round trip to the server for getting the default table name
90 and then requesting information about that table. This also removes a potential
91 problem with the table change handler not being setup in time to receive the
92 table change event from the ListActivity.
94 * src/main/java/org/glom/web/client/OnlineGlomService.java:
95 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
96 getDefaultLayoutListTable() method. Improve comments.
97 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
98 getDefaultLayoutListTable() method instead of firing a table change
99 event to get the table to load.
100 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
101 implementation of getDefaultLayoutListTable() method.
102 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
105 2011-05-19 Ben Konrath <ben@bagu.org>
107 Override toDebugString() in TableChangeEvent.
109 This is useful to have for debugging.
111 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
113 2011-05-19 Ben Konrath <ben@bagu.org>
115 Add a "Back to List" link when at the DetailsPlace.
117 * src/main/java/org/glom/web/client/activity/ListActivity.java:
118 Populate the CellTable based on the selected table of the ListBox if
119 it's set otherwise use the default table. This allows the "Back to
121 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
122 Remove Place from constructors. Add a setPlace() method. Add
123 goToPlace() method. Set class as presenter for TableSelectionView.
124 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
125 Use the same TableSelectionActivity when switching between the List and
127 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
128 Subclass the new HasSelectableTablePlace. This removes some duplicate
130 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
131 New class to represent Places that display the TableSelectionView.
132 * src/main/java/org/glom/web/client/place/ListPlace.java:
133 Subclass the new HasSelectableTablePlace. This removes some duplicate
135 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
136 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
137 Add Presenter interface. Add setBackLinkVisible() method. Add
138 setBackLink() method.
140 2011-05-18 Ben Konrath <ben@bagu.org>
142 Enable the "Details" buttons.
144 Right now only an empty details view is displayed.
146 * src/main/java/org/glom/web/client/ClientFactory.java:
147 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
148 Add DetailsView to ClientFactory.
149 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
150 A basic activity for the details view.
151 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
152 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
154 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
155 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
157 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
158 Create a new DetailsActivity when a DetailsPlace is requested. Remove
159 unnecessary super() in constructor.
160 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
161 Create a new TableSelectionActivity when a DetailsPlace is requested. We
162 really shouldn't create a new TableSelectionActivity for both the ListPlace
163 and the DetailsPlace so this should be considered a temporary solution.
164 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
165 New file. Represents a URL for the details view.
166 * src/main/java/org/glom/web/client/ui/DetailsView.java:
167 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
168 A basic details view interface and implementation.
169 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
170 Enable the "Details" buttons.
172 2011-05-12 Ben Konrath <ben@bagu.org>
174 Use a LayoutPanel with multiple display areas for main layout.
176 This is mostly a refactor in that there are no changes from the user
177 point of view. These changes are required so that we can swap out the list view
178 with the details view when the user clicks the "Details" button.
180 * src/main/java/org/glom/web/client/ClientFactory.java:
181 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
182 OnlineGlomView. Add TableSelectionView, ListView and
184 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
185 for main layout. Add display regions for main activities. Add
186 activity manager for for main activities.
187 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
188 file from parts of the deleted OnlineGlomActivity.
189 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
190 New file from parts of the deleted OnlineGlomActivity.
191 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
192 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
193 New files for app wide table change event.
194 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
195 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
196 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
197 Activity mappers for the main activities replace the deleted app-wide
199 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
200 Fix a spelling error in he comment.
201 * src/main/java/org/glom/web/client/ui/ListView.java:
202 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
203 Renamed from LayoutListView and modified for MVP. This still not a
204 proper dumb view as prescribed by the MVP pattern but it works for now.
205 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
206 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
207 New widget stripped out of the deleted OnlineGlomView.
208 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
209 Remove hack that is fixed by this patch.
211 2011-05-06 Ben Konrath <ben@bagu.org>
213 Rename OnlineGlomPlace to ListPlace.
215 The only change besides the rename is that url will now display #list
216 instead of #Document.
218 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
219 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
220 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
221 * src/main/java/org/glom/web/client/place/ListPlace.java:
222 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
224 2011-05-06 Ben Konrath <ben@bagu.org>
226 Use Presenter for app navigation.
228 This is the proper way to deal with Place (URL) changes with the MVP
231 * src/main/java/org/glom/web/client/ClientFactory.java:
232 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
233 PlaceHistoryMapper and PlaceHistoryHandler.
234 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
235 PlaceHistoryMapper and PlaceHistoryHandler.
236 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
237 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
238 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
239 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
240 Add Presenter interface and setPresenter methods. Rename addHyperLink
241 to addDocumentLink taking only the document title as a parameter.
243 2011-04-14 Ben Konrath <ben@bagu.org>
245 Prompt for db username/password if they haven't been set.
247 This is implemented with a popup widget that is contained within the
248 OnlineGlomView and managed by the OnlineGlomActivity.
250 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
251 methods for checking and setting the database username and password.
252 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
253 new methods for checking and setting the database username and
255 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
256 Display authentication popup if the JDBC connection to the database
257 has not been authenticated.
258 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
260 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
261 for dealing with the authentication popup.
262 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
263 Implement the methods for dealing with the authentication popup.
264 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
265 try to executed queries if the database connection hasn't been
266 authenticated. Implement methods for checking and setting the
267 database username and password.
269 2011-04-12 Ben Konrath <ben@bagu.org>
271 Make log messages a little clearer.
273 Add a dash betweeen the document title and the table name.
275 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 2011-04-12 Ben Konrath <ben@bagu.org>
279 Protect against NPEs when cleaning up database resources.
281 While this isn't strictly necessary because the exception is caught,
282 not protecting against the NPEs makes it harder to find the real error
285 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
287 2011-04-12 Ben Konrath <ben@bagu.org>
289 Move configuration of the servlet to the constructor.
291 The servlet will be initialized even if the database authentication
292 information is not set or correct. I still need to add the UI for prompting
293 the user for the authentication information when it's required.
295 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
296 javadocs for getDocumentTitles() method.
297 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
298 Set error message when RPC fails.
299 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
300 glom files directory from the configuration file. Try to set the
301 database authentication information for the specific document if it's
302 set and works otherwise try to use the global authentication
303 information set for the directory.
304 * src/main/resources/onlineglom.properties: Moved from
305 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
306 Added detailed comments for the new keys.
308 2011-04-11 Ben Konrath <ben@bagu.org>
310 Remove unnecessary @Override in DocumentSelectionViewImpl.
312 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
314 2011-04-11 Ben Konrath <ben@bagu.org>
316 Remove center alignment in DocumentSelectionView.
318 The title element is still centred but the document titles and bottom
319 sentence are both left-aligned.
321 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
323 2011-04-11 Ben Konrath <ben@bagu.org>
325 Change 'Demo' naming convention to 'Document'.
327 This is just a rename refactor with no functional changes to the code.
329 * src/main/java/org/glom/web/client/ClientFactory.java:
330 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
331 * src/main/java/org/glom/web/client/OnlineGlom.java:
332 * src/main/java/org/glom/web/client/OnlineGlomService.java:
333 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
334 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
335 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
336 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
337 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
338 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
339 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
340 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
341 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
343 2011-04-08 Ben Konrath <ben@bagu.org>
345 Remove FIXME from safeLongToInt() method.
347 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
350 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
352 2011-04-08 Ben Konrath <ben@bagu.org>
354 Display an error if no glom documents are found in the specified directory.
356 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
357 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
358 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361 2011-04-08 Ben Konrath <ben@bagu.org>
363 Add copyright header to one more file ... oops.
365 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
367 2011-04-08 Ben Konrath <ben@bagu.org>
369 Add copyright header to files without it.
371 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
372 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
373 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
374 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
375 * src/main/java/org/glom/web/shared/ColumnInfo.java:
376 * src/main/java/org/glom/web/shared/GlomField.java:
378 2011-04-08 Ben Konrath <ben@bagu.org>
380 Add support for accessing multiple glom documents in the servlet.
382 This completes the demo selection functionality.
384 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
385 document title to methods.
386 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
387 document title to methods.
388 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
389 Set browser window title when the activity starts. Correct name of
390 document title variable.
391 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
392 Set browser window title when the activity starts. Set the table
393 selector change handler after table selector has been set. Clear the
394 OnlineGlomView when the activity has been stopped.
395 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
396 document title as the place token. Use "#Document:" instead of
397 "#OnlineGlomPlace:" in the URL.
398 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
399 Change heading to "Online Glom"
400 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
401 document title in RPC methods.
402 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
403 setDocumentTitle() method. Add clear() method.
404 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
405 setDocumentTitle() method. Implement clear() method which removes the
406 change handler on the ListBox, clears the ListBox and clears the
408 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
409 Implement methods with document title. Keep track for the configured
410 glom documents and their corresponding JDBC configurations in a hash
411 table. This information is retrieved using the document title as the
412 key in the hash table.
413 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
414 document title field as it's no longer needed.
416 2011-04-08 Ben Konrath <ben@bagu.org>
418 Update the Eclipse JDT configuration.
420 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
421 methods. Automatically add the copyright header to new files.
423 2011-04-05 Ben Konrath <ben@bagu.org>
425 Add new page for demo selection.
427 This patch adds all the components required to view and start an
428 OnlineGlom demo by clicking on the desired hyperlink. The user is
429 able to return to the demo selection page with the browser's back
430 button. I still need to modify the servlet to work with multiple
431 documents so all demo links will load the file defined in the
432 OnlineGlom.properties.
434 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
435 This is only useful during development so we don't need to save it.
436 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
437 get a reference to the DemoSelectionView.
438 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
439 method to get a reference to the DemoSelectionView.
440 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
441 default view to DemoSelectionView.
442 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
443 to get glom document titles for glom files in a hard-coded directory.
444 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
445 method to get glom document titles for glom files in a hard-coded
447 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
448 Presenter for DemoSelectionView.
449 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
450 for DemoSelectionView.
451 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
452 Update for DemoSelectionView.
453 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
454 Basic 'Place' implementation for the DemoSelectionView.
455 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
456 The interface for the DemoSelectionView.
457 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
458 The implementation of the DemoSelectionView.
459 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
460 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
461 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
462 implementation of method to get glom document titles for glom files
463 in a hard-coded directory.
464 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
465 on longer being used.
466 * src/main/webapp/glom.png: Glom logo.
468 2011-04-05 Ben Konrath <ben@bagu.org>
470 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
472 This is the forth and final commit of a refactor that will allow
473 OnlineGlom to be used with multiple documents.
475 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
476 Move RPC code from OnlineGlomViewImpl to this class.
477 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
479 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
480 RPC code to the presenter class (the P in MVP).
482 2011-04-04 Ben Konrath <ben@bagu.org>
484 Start moving the existing OnlineGlom code to MVP.
486 This work is based on the GWT MVP framework that is documented here:
488 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
490 This is the third commit of a refactor that will allow OnlineGlom to
491 be used with multiple documents.
493 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
494 Interface for client factory which is used to get instances of various
495 classes throughout the app.
496 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
497 Implementation of client factory.
498 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
499 initialize the MVP framework.
500 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
501 New file. Activity manager for the main container widget. This is the
503 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
504 Maps place (URL) to its corresponding activity.
505 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
506 New file. This is just a place holder for a generated file.
507 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
508 New file. Represents the URL for the main Online Glom app.
509 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
510 for changes in LayoutListViewImpl.
511 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
512 interface for View. Move code to OnlineGlomViewImpl class.
513 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
514 file. Implementation of OnlineGlomView.
515 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
516 Place resources. Use ClientFactoryImpl by default.
518 2011-04-04 Ben Konrath <ben@bagu.org>
520 Move View classes to their own package.
522 This is the second commit of a refactor that will allow OnlineGlom to
523 be used with multiple documents.
525 * src/main/java/org/glom/web/client/OnlineGlom.java:
526 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
527 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
529 2011-04-02 Ben Konrath <ben@bagu.org>
531 Move UI code from the main module to its own class.
533 This is the first commit of a refactor that will allow OnlineGlom to be
534 used with multiple documents.
536 * src/main/java/org/glom/web/client/LayoutListView.java: Update
537 references to OnlineGlom to OnlineGlomView.
538 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
539 OnlineGlomView and instantiate it here.
540 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
541 represents the main OnlineGlomView with one document.
543 2011-04-01 Ben Konrath <ben@bagu.org>
545 Fix formatting of gwt.xml and add DTD.
547 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
549 2011-03-30 Ben Konrath <ben@bagu.org>
551 Propperly convert gdkColor string to html colour string.
553 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
555 2011-03-28 Ben Konrath <ben@bagu.org>
557 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
559 This implementation matches
560 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
561 readable and is not tied to Swig.
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
565 2011-03-28 Ben Konrath <ben@bagu.org>
567 Use read-only checkboxes for boolean field types.
569 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
570 in the CellTable based on the field type. It currently only
571 distinguishes between boolean and text columns but I'll need to add
572 support for more types.
573 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
574 column type in the ColumnInfo object. Add method to convert between the
575 glom field type enum in ColumnInfo and the glom field type in libglom.
576 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
578 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
579 getting and setting booleans.
581 2011-03-25 Ben Konrath <ben@bagu.org>
583 Don't get the Date twice from the ResultSet.
585 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
587 2011-03-25 Ben Konrath <ben@bagu.org>
589 Cleanup code in the servlet.
591 * TODO: Remove item about row count. Add item about testing row count
592 query with large number of rows.
593 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
594 spelling mistakes, change method parameter to be consistent with
597 2011-03-25 Ben Konrath <ben@bagu.org>
599 Add server side logging with the gwt-log library.
601 * .gitignore: Ignore the log file we're now producing.
602 * TODO: Add a couple TODO item for logging.
603 * pom.xml: Add gwt-log and log4j as a dependency.
604 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
605 logging of errors, warnings and some important info.
606 * src/main/resources/log4j.properties: New file to configure log4j.
608 2011-03-24 Ben Konrath <ben@bagu.org>
610 Add a disable button for the Details view.
612 * src/main/java/org/glom/web/client/LayoutListView.java:
614 2011-03-22 Ben Konrath <ben@bagu.org>
616 Use a count query to get the number of rows for the list view pager.
618 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
620 2011-03-22 Ben Konrath <ben@bagu.org>
622 Add more TODO information about CellTable pager positioning.
626 2011-03-19 Ben Konrath <ben@bagu.org>
628 Add TODO item about CellTable pager positioning.
632 2011-03-18 Ben Konrath <ben@bagu.org>
634 Remove unneeded GlomFieldColumn class.
636 This is just a small code cleanup.
638 * src/main/java/org/glom/web/client/LayoutListView.java:
640 2011-03-18 Ben Konrath <ben@bagu.org>
642 Use cursor mode in the query that gets data for the list view.
644 I still need to fix the potential memory problem when getting the row
645 count for the list view.
647 * TODO: Add note about testing memory usage with large data sets. Add
648 item about fixing row counting with large data sets.
649 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
650 PostgreSQL JDBC driver into cursor mode when getting data for the
653 2011-03-15 Ben Konrath <ben@bagu.org>
655 Remove the GWT Container from the Eclipse build classpath.
657 The GWT dependencies are set by Maven so this isn't needed.
661 2011-03-15 Murray Cumming <murrayc@murrayc.com>
663 Added some earlier mockups to git, but not to the tarball dist.
665 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
666 Openismus. These hopefully show how we might structure the HTML so that
667 it can be styled easily with CSS. However, we probably need to adapt them
668 for the CSS structure that GWT dictates for common widgets.
670 2011-03-14 Ben Konrath <ben@bagu.org>
672 Locate OnlineGlom.properties using the ServletContext.
674 This is required to be able to locate the file in the deployed servlet.
676 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
677 Configure the database and glom document in in a helper method so
678 that the ServletContext can be used to locate OnlineGlom.properties.
679 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
680 src/main/webapp. This is the proper location for .properites files.
682 2011-03-12 Ben Konrath <ben@bagu.org>
684 Add note to README about why we're compiling down to obfuscated JavaScript.
688 2011-03-11 Ben Konrath <ben@bagu.org>
690 Use properties file to configure servlet.
692 This allows people to change the glom file path, db username and db
693 password without recompiling the code.
695 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
696 * src/main/webapp/OnlineGlom.properties:
698 2011-03-11 Ben Konrath <ben@bagu.org>
700 Use table fields in layout list view if the layout list is not defined.
702 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
703 Manually create a LayoutFieldVector for the query builder using the
704 table fields when a layout list is not defined in the glom file.
706 2011-03-11 Ben Konrath <ben@bagu.org>
708 Only show FIXME string for images when there's an image.
710 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
711 in this change are some small code cleanups.
713 2011-03-11 Ben Konrath <ben@bagu.org>
715 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
719 2011-03-11 Ben Konrath <ben@bagu.org>
721 Correctly set the index of the default table.
723 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
724 Correctly set the index of the default table. Add commented out example
727 2011-03-10 Ben Konrath <ben@bagu.org>
729 Add comment to pom.xml about the previous change.
731 * pom.xml: Add comment about the deployment issue so that it's obvious
732 why java-libglom is set to the provided scope.
734 2011-03-10 Ben Konrath <ben@bagu.org>
736 Change java-libglom dependency from compile to provided in pom.xml.
738 Since java-libglom uses jni it can only be loaded once and therefore
739 must be placed in $CATALINA_HOME/lib and not included in each war.
740 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
741 More information about this issue can be found in the Tomcat 6 release
742 notes in the "JNI Based Applications" section:
744 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
746 * README: Remove note about this issue. Deployment info should really
747 be on the wiki anyway so I'll add it right now.
748 * pom.xml: Change java-libglom dependency from compile to provided so
749 that it's copied in to the packaged war.
751 2011-03-09 Ben Konrath <ben@bagu.org>
753 Change to using a neutral locale for currency, date and time formatting.
755 This solves the problem of currency values being represented without a
756 space between the currency code and the number (e.g. "EUR5.89" is now
757 represented as "EUR 5.89"). More work is required when we implement
758 a locale preference setting.
760 * TODO: Add note about currency formatting issues with different
762 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
763 to using the neutral ROOT locale.
765 2011-03-09 Ben Konrath <ben@bagu.org>
767 Add support for currency codes that are not ISO 4217 codes.
769 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
770 the currency code defined in the glom file when it's not 3 characters
771 long or when Java doesn't recognize the string as an ISO 4217 code.
773 2011-03-08 Ben Konrath <ben@bagu.org>
775 Remove test classes, launch configurations and configuration.
777 The test stuff was getting in the way when creating the war. To make
778 the war file you can now do 'mvn clean package'. The packaged war file
779 will be in the target directory.
781 * .classpath: Remove unused classpathentry for tests and i18n.
782 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
783 property. Don't run test or i18n goals when packaging the war.
784 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
789 * OnlineGlomTest-dev.launch:
790 * OnlineGlomTest-prod.launch:
791 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
792 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
794 2011-03-07 Ben Konrath <ben@bagu.org>
796 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
798 These fixes allow me to use 'mvn deploy' to create the war file.
800 * .classpath: This generated config has been updated by Eclipse. This
801 change was probably triggered by me updating from Eclipse 3.6.1 to
803 * .gitignore: Add entry to ignore the directory
804 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
805 * .project: The generated config has been updated by Eclipse. This
806 change was probably triggered by me updating from Eclipse 3.6.1 to
808 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
809 so that Eclipse doesn't complain
810 * pom.xml: Update to gwt-maven-plugin 2.2.0.
811 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
812 'tests' directory to 'client' directory. This is the new
813 gwt-maven-plugin convension.
814 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
815 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
817 2011-03-07 Ben Konrath <ben@bagu.org>
819 Add support for horizontal alignment in the LayoutList columns.
821 * TODO: Remove item about horizontal alignment. Add item about
822 improvements to ColumnInfo.
823 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
824 alignment on the columns. Use ColumnInfo RPC object get the column
825 title and horizontal alignment.
826 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
827 LayoutListView creation with ColumnInfo RPC object.
828 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
829 a ColumnInfo object for every LayoutList columnn. Convert the
830 FieldFormatting.HorizontalAlignment to the correct
831 ColumnnInfo.HorizontatlAlignment with the new
832 getColumnInfoHorizontalAlignment helper method.
833 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
834 to encapsulate column information like alignment and title. This
835 could be used to set the colour instead of on a per cell field basis.
836 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
837 column title storage and retrieval with ColumnInfo.
839 2011-03-04 Ben Konrath <ben@bagu.org>
841 Add support for column sorting.
843 * src/main/java/org/glom/web/client/LayoutListView.java: Change
844 AsynDataProvider to be an anonymous inner class. Use new
845 getSortedTableData RPC method when column sort is requested. Set all
846 columns sortable and add an AsyncHandler to activate sorting in the
848 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
849 method getSortedTableData(). Cleanup other method signatures.
850 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
851 new method getSortedTableData(). Cleanup other method signatures.
852 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
853 Implement getSortedTableData() and getTableData() methods by using a
854 private helper method with the appropriate parameters filled in. Use
855 user supplied sort clause when supplied, otherwise fall back to
856 sorting by the primary key. Move destroy() method to be underneath
857 constructor for readability. Cleanup comments.
859 2011-03-03 Ben Konrath <ben@bagu.org>
861 Add support for colour text and colour backgrounds to the layout list cells.
863 Only the cell backgrounds are coloured which leaves a gap between the
864 cells that isn't coloured. I need to figure out a way to set
865 'style=background-colour:' on the whole column rather than just the
868 * TODO: Add a note about colouring the background of the whole column.
869 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
870 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
871 render the coloured text and backgrounds. Use GlomField[] for the row type.
872 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
874 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
875 GlomField[] for the row type.
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
877 GlomField[] for the row type. Set the text, text colour and background
878 colour in the GlomField objects as specified in the glom document. Add
879 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
880 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
881 the glom field text, foreground colour and background colour.
883 2011-03-02 Ben Konrath <ben@bagu.org>
885 Don't display hidden tables in the combo box.
887 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
889 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
890 code to ignore hidden tables using ArrayLists for the table names and
892 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
893 tableNames to use ArrayLists instead of String[]. Update getter and setter
896 2011-03-01 Ben Konrath <ben@bagu.org>
898 Add support for Date and Time number types.
900 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
901 Implement formatting for Date and Time values. Change the default glom
902 file to small business example.
904 2011-03-01 Ben Konrath <ben@bagu.org>
906 Add support for formatting glom types as specified in the glom file.
908 Formatting isn't finished yet - I still need to add support for Date
911 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
912 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
913 checks for null values in JDBC cleanup code and catch all exceptions
914 instead of just SQLExceptions.
915 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
918 2011-03-01 Ben Konrath <ben@bagu.org>
920 Use GWT 2.2.0 instead of 2.1.1.
922 * pom.xml: Change GWT version numbers.
924 2011-03-01 Ben Konrath <ben@bagu.org>
926 A few small code cleanups.
928 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
930 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
931 unnecessary object creation in constructor.
932 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
933 unnecessary object creation in constructor.
935 2011-02-28 Ben Konrath <ben@bagu.org>
937 Add file for TODO list.
941 2011-02-18 Ben Konrath <ben@bagu.org>
943 Enable the CellTable Pager when more than 20 rows need to be viewed.
945 The Pager will automatically become active when the results are larger
946 than the CellTable size which is currently set to 20 lines.
948 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
949 name on debug statment in RPC call in LayoutListDataProvider, add
950 numRows parameter to LayoutListView constructor, propperly set rowCount
952 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
953 name on debug statment in RPC call, use LayoutListTable object in RPC
954 calls, pass rowCount to LayoutListView.
955 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
956 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
958 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
959 interface for changes in OnlineGlomService.
960 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
961 getLayoutListHeaders() to getLayoutListTable() and return
962 LayoutListTable. Using this object allows me to pass other information
963 about the LayoutList like the expected number of rows in the result set.
964 The Connection object from the connection pool is now propperly closed.
965 Only the requested number of lines are returned to the client in
967 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
968 GlomTable and add columnTitles and numRows.
970 2011-02-18 Ben Konrath <ben@bagu.org>
972 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
974 This is a small performance boost. I'll use GlomTable to get the required
975 layoutlist information.
977 * src/main/java/org/glom/web/client/OnlineGlom.java:
978 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
979 * src/main/java/org/glom/web/shared/GlomDocument.java:
981 2011-02-18 Ben Konrath <ben@bagu.org>
983 Add option to turn off formatting in JDT formatter preferences.
985 * .settings/org.eclipse.jdt.core.prefs:
987 2011-02-18 Ben Konrath <ben@bagu.org>
989 Rename LayoutList to LayoutListView.
991 I'm working towards setting things up to easily use MVP when the time
994 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
996 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
999 2011-02-17 Ben Konrath <ben@bagu.org>
1001 Move LayoutListDataProvider class into LayoutList.java.
1003 * src/main/java/org/glom/web/client/LayoutList.java:
1005 2011-02-17 Ben Konrath <ben@bagu.org>
1007 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1009 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1011 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1012 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1013 from LibGlomServer.java.
1014 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1015 Rename from LibGlomServiceAsync.java.
1016 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1017 Rename from LibGlomServiceImpl.java.
1018 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1020 2011-02-17 Ben Konrath <ben@bagu.org>
1022 Update JDT settings.
1024 * .settings/org.eclipse.jdt.core.prefs:
1026 2011-02-17 Ben Konrath <ben@bagu.org>
1028 Move GWT-RPC objects to shared package (where they should be).
1030 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1031 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1032 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1033 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1034 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1035 org.glom.web.shared package.
1036 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1037 org.glom.web.shared package.
1038 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1039 directory in compilation to javascript.
1041 2011-02-16 Ben Konrath <ben@bagu.org>
1043 Add sort clause to the sql query that grabs table information.
1045 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1046 if one of the columns is a primary key.
1048 2011-02-16 Ben Konrath <ben@bagu.org>
1050 Disable generateAsync feature of gwt-maven.
1052 The generated interface does not correctly match the methods in LibGlomService
1053 and the generated singleton Util inner-class doesn't respect the servlet
1056 * pom.xml: Turn off generateAsync feature.
1057 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1058 with singleton Util inner-class.
1060 2011-02-14 Ben Konrath <ben@bagu.org>
1062 Add LGPL v3 licence notices.
1064 Followed directions listed here:
1065 http://www.gnu.org/licenses/gpl-howto.html
1067 * COPYING: This file is a copy of the GPL v3.
1068 * COPYING.LESSER: This file is a copy of the LGPL v3.
1069 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1071 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1073 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1075 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1077 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1079 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1081 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1084 2011-02-14 Ben Konrath <ben@bagu.org>
1086 Use ArrayList instead of Array in GWT-RPC calls.
1088 Apparently this gives a slight performance boost to the compiled
1091 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1093 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1096 2011-02-14 Ben Konrath <ben@bagu.org>
1098 Access data from a postgres db rather than the example glom file.
1100 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1101 compile down to obfuscated javascript.
1102 * pom.xml: Add c3p0 and postgres JDBC libraries.
1103 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1104 using a postgres db accessed through the c3p0 connection pooling library.
1106 2011-02-14 Ben Konrath <ben@bagu.org>
1108 Update Java formatter settings.
1110 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1112 2011-02-02 Ben Konrath <ben@bagu.org>
1114 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1116 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1118 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1119 the compiled webapp directory that Eclipse uses as we're using Maven now.
1120 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1121 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1123 * pom.xml: Format file, change target Java version to 1.6.
1125 2011-02-02 Ben Konrath <ben@bagu.org>
1127 Add information about a deployment related issue.
1129 * README: Add Notes section with the problem outlined.
1131 2011-02-02 Ben Konrath <ben@bagu.org>
1133 Call Glom.libglom_deinit() when the servlet is shutdown.
1135 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1136 Glom.libglom_deinit() to destroy() method.
1138 2011-01-28 Ben Konrath <ben@bagu.org>
1140 Use generated Util class to get the RPC Async interface.
1142 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1144 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1145 getInstance() method to get a reference to the RPC Async interface.
1146 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1147 getInstance() method to get a reference to the RPC Async interface, remove
1148 the now unused getLibGlomServiceProxy() method.
1150 2011-01-27 Ben Konrath <ben@bagu.org>
1152 Cleanup ChangeLog entry from previous commit.
1154 * ChangeLog: Group logical changes together and add comments.
1156 2011-01-25 Ben Konrath <ben@bagu.org>
1158 Convert to gwt-maven project.
1160 * .gitignore: Update for new project structure.
1161 * README: New file with a link to the online documentation.
1162 * pom.xml: The generated maven configuration file with some tweaks.
1164 Add / update Eclipse settings. These files are a merge of the files that
1165 were generated with the gwt-maven plugin and the files we were previously
1169 * .settings/.jsdtscope:
1170 * .settings/com.google.gdt.eclipse.core.prefs:
1171 * .settings/com.google.gwt.eclipse.core.prefs:
1172 * .settings/org.eclipse.jdt.core.prefs:
1173 * .settings/org.eclipse.wst.common.component:
1174 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1175 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1176 * .settings/org.maven.ide.eclipse.prefs:
1177 * OnlineGlomTest-dev.launch:
1178 * OnlineGlomTest-prod.launch:
1180 Java source files moved from the 'src' directory to the directory structure
1182 * src/main/java/org/glom/web/client/GlomDocument.java:
1183 * src/main/java/org/glom/web/client/GlomTable.java:
1184 * src/main/java/org/glom/web/client/LayoutList.java:
1185 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1186 * src/main/java/org/glom/web/client/LibGlomService.java:
1187 * src/main/java/org/glom/web/client/OnlineGlom.java:
1188 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1190 Non-functional property file used for translations. I included this as
1191 reminder that it's something I need to sort out.
1192 * src/main/resources/org/glom/web/client/Messages.properties:
1194 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1195 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1197 The servlet configuration files moved from the 'war' directory.
1198 * src/main/webapp/OnlineGlom.css:
1199 * src/main/webapp/OnlineGlom.html:
1200 * src/main/webapp/WEB-INF/web.xml:
1202 Generated test files with most of the code commented out. I included these
1203 so that it's easy to add tests when we're ready for them.
1204 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1205 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1207 2011-01-25 Ben Konrath <ben@bagu.org>
1209 Remove unused println.
1211 * src/org/glom/web/server/LibGlomServiceImpl.java:
1213 2011-01-25 Ben Konrath <ben@bagu.org>
1215 Add project specific JDT settings.
1217 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1218 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1220 2011-01-25 Ben Konrath <ben@bagu.org>
1222 Populate celltable with example data.
1224 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1225 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1226 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1227 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1228 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1229 asynchronously gets the example data.
1230 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1231 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1232 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1233 curently selected table to be retrieved by other widgets.
1234 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1235 implement getTableData() in a hacky way. This method needs to be updated
1236 to grab information from the database when database creating is
1239 2011-01-20 Ben Konrath <ben@bagu.org>
1241 Set table headers when table dropBox changes.
1243 * src/org/glom/web/client/GlomDocument.java: Correct some method
1245 * src/org/glom/web/client/LibGlomService.java: Add method
1246 to get list layout field names.
1247 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1248 to get list layout field names.
1249 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1250 widget for list layout table.
1251 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1252 the table drop box and add new updateTable() method to asynchronously
1253 get the layout list field names for the currently selected table.
1254 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1255 implementation of getLayoutListHeaders() method.
1256 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1258 2011-01-18 Ben Konrath <ben@bagu.org>
1260 Make a listBox with table titles instead of the flexTable demo.
1262 This is the start of something more useful.
1264 * .classpath: Exclude a bunch of packages from the JVM that are
1265 getting in the way of the Eclipse content assist.
1266 * src/org/glom/web/client/GlomDocument.java:
1267 * src/org/glom/web/client/GlomTable.java:
1268 * src/org/glom/web/client/LibGlomService.java:
1269 * src/org/glom/web/client/LibGlomServiceAsync.java:
1270 * src/org/glom/web/client/OnlineGlom.java:
1271 * src/org/glom/web/server/LibGlomServiceImpl.java:
1272 * war/OnlineGlom.html:
1273 * war/WEB-INF/web.xml:
1275 211-01-13 Ben Konrath <ben@bagu.org>
1277 Update to new java-libglom API.
1279 * .gitignore: Ignore OnlineGlom.war.
1280 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1282 2010-12-20 Ben Konrath <ben@bagu.org>
1284 Add some basic style to the table listing.
1286 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1287 header, print useful error message on async callback failure.
1288 * war/OnlineGlom.css: Add style for table header, remove defaults
1289 provided by the Eclipse project wizard.
1291 2010-12-20 Ben Konrath <ben@bagu.org>
1293 Load example file from installed glom dir.
1295 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1296 provided by java-libglom to find the example file.
1298 2010-12-20 Ben Konrath <ben@bagu.org>
1300 Update Eclipse settings.
1303 * .settings/com.google.gdt.eclipse.core.prefs:
1304 * .settings/com.google.gwt.eclipse.core.prefs:
1306 2010-12-17 Ben Konrath <ben@bagu.org>
1310 * .classpath: New file.
1311 * .gitignore: New file.
1312 * .project: New file.
1313 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1314 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1315 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1316 * src/org/glom/web/client/GlomTable.java: New file.
1317 * src/org/glom/web/client/OnlineGlom.java: New file.
1318 * src/org/glom/web/client/TableNameService.java: New file.
1319 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1320 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1321 * war/OnlineGlom.css: New file.
1322 * war/OnlineGlom.html: New file.
1323 * war/WEB-INF/web.xml: New file.
1324 * war/images/glom.png: New file.