1 2011-06-14 Ben Konrath <ben@bagu.org>
3 Add method names to log entries in the servlet.
5 This helps when tracking down deployment problems.
7 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
9 2011-06-14 Ben Konrath <ben@bagu.org>
11 Add data to the DetailsView using a hard-coded primary key value.
13 The layout and functionality of the DetailsView is not complete. This
14 is just a checkpoint so the patch doesn't get too big.
16 * src/main/java/org/glom/web/client/OnlineGlomService.java:
17 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
18 Add getDetailsData() servlet method.
19 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
20 Add RPC to getDetailsData(). Change the way the LayoutGroups and
21 LayoutFields are added to the DetailsView.
22 * src/main/java/org/glom/web/client/ui/DetailsView.java:
23 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
24 Add setData() method. Change addLayoutGroup() and addLayoutField() to
25 take the string for the title instead of the object.
26 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
27 Add implementation getDetailsData() along with some private helper
29 * src/main/webapp/style.css: Add padding to details-data class. Add a
30 details-label class with the same padding as the details-data class.
32 2011-06-03 Ben Konrath <ben@bagu.org>
34 Use presenter.goTo() to change to the DetailsPlace.
36 This will make things easier when we need to open the DetailsView with
37 data specific to the row that was clicked.
39 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
41 2011-06-02 Ben Konrath <ben@bagu.org>
43 Add CSS file from mockups.
45 I'm adding this now because it's going to be useful to have when
46 developing the DetailsView. The TableSelectionView and ListView aren't
49 * src/main/webapp/OnlineGlom.html:
50 * src/main/webapp/style.css:
52 2011-06-02 Ben Konrath <ben@bagu.org>
54 Use String.isEmpty() to check for empty string.
56 * src/main/java/org/glom/web/client/activity/ListActivity.java:
58 2011-06-02 Ben Konrath <ben@bagu.org>
60 Display main layout group titles in the DetailsView.
62 This is the start of the DetailsActivity/DetailsView implementation.
64 * src/main/java/org/glom/web/client/OnlineGlomService.java:
65 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
66 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
67 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
68 Get the layout information for the details view from the server and set
69 the main layout group titles.
70 * src/main/java/org/glom/web/client/ui/DetailsView.java:
71 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
72 Add addLayoutGroup() and addLayoutField() methods. This are just
73 temporary methods for creating the the details view that will change
75 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
76 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
78 * src/main/java/org/glom/web/shared/layout/Formatting.java:
79 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
80 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
81 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
82 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
83 Data Transfer Objects that mimic the libglom object structure. These are
84 used for transferring the details layout but could also be used for
85 transferring the list layout.
87 2011-05-27 Ben Konrath <ben@bagu.org>
89 Reset the AuthenticationPopup when clearing the ListView.
91 * src/main/java/org/glom/web/client/activity/ListActivity.java:
93 2011-05-27 Ben Konrath <ben@bagu.org>
95 Fix problem with onlineglom.properties file loading.
97 The old way worked in Eclipse but not on the server. Loading the
98 onlineglom.properties file now works in Eclipse and on the server.
100 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
102 2011-05-24 Ben Konrath <ben@bagu.org>
104 Update gwt-log from 3.1.0 to 3.1.2.
106 Gwt-log 3.1.0 has been marked as depreciated.
110 2011-05-24 Ben Konrath <ben@bagu.org>
112 Add comment to ListActivity.goTo() method.
114 * src/main/java/org/glom/web/client/activity/ListActivity.java:
116 2011-05-24 Ben Konrath <ben@bagu.org>
118 Remove FIXME in convertGdkColorToHtmlColour()
120 The Gdk::Color value returned by libglom is 16-bits per channel on both
121 64 and 32-bit platforms.
123 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
125 2011-05-19 Ben Konrath <ben@bagu.org>
127 Improve performance of initial ListView load.
129 I removed a round trip to the server for getting the default table name
130 and then requesting information about that table. This also removes a potential
131 problem with the table change handler not being setup in time to receive the
132 table change event from the ListActivity.
134 * src/main/java/org/glom/web/client/OnlineGlomService.java:
135 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
136 getDefaultLayoutListTable() method. Improve comments.
137 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
138 getDefaultLayoutListTable() method instead of firing a table change
139 event to get the table to load.
140 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
141 implementation of getDefaultLayoutListTable() method.
142 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
145 2011-05-19 Ben Konrath <ben@bagu.org>
147 Override toDebugString() in TableChangeEvent.
149 This is useful to have for debugging.
151 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
153 2011-05-19 Ben Konrath <ben@bagu.org>
155 Add a "Back to List" link when at the DetailsPlace.
157 * src/main/java/org/glom/web/client/activity/ListActivity.java:
158 Populate the CellTable based on the selected table of the ListBox if
159 it's set otherwise use the default table. This allows the "Back to
161 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
162 Remove Place from constructors. Add a setPlace() method. Add
163 goToPlace() method. Set class as presenter for TableSelectionView.
164 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
165 Use the same TableSelectionActivity when switching between the List and
167 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
168 Subclass the new HasSelectableTablePlace. This removes some duplicate
170 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
171 New class to represent Places that display the TableSelectionView.
172 * src/main/java/org/glom/web/client/place/ListPlace.java:
173 Subclass the new HasSelectableTablePlace. This removes some duplicate
175 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
176 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
177 Add Presenter interface. Add setBackLinkVisible() method. Add
178 setBackLink() method.
180 2011-05-18 Ben Konrath <ben@bagu.org>
182 Enable the "Details" buttons.
184 Right now only an empty details view is displayed.
186 * src/main/java/org/glom/web/client/ClientFactory.java:
187 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
188 Add DetailsView to ClientFactory.
189 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
190 A basic activity for the details view.
191 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
192 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
194 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
195 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
197 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
198 Create a new DetailsActivity when a DetailsPlace is requested. Remove
199 unnecessary super() in constructor.
200 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
201 Create a new TableSelectionActivity when a DetailsPlace is requested. We
202 really shouldn't create a new TableSelectionActivity for both the ListPlace
203 and the DetailsPlace so this should be considered a temporary solution.
204 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
205 New file. Represents a URL for the details view.
206 * src/main/java/org/glom/web/client/ui/DetailsView.java:
207 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
208 A basic details view interface and implementation.
209 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
210 Enable the "Details" buttons.
212 2011-05-12 Ben Konrath <ben@bagu.org>
214 Use a LayoutPanel with multiple display areas for main layout.
216 This is mostly a refactor in that there are no changes from the user
217 point of view. These changes are required so that we can swap out the list view
218 with the details view when the user clicks the "Details" button.
220 * src/main/java/org/glom/web/client/ClientFactory.java:
221 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
222 OnlineGlomView. Add TableSelectionView, ListView and
224 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
225 for main layout. Add display regions for main activities. Add
226 activity manager for for main activities.
227 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
228 file from parts of the deleted OnlineGlomActivity.
229 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
230 New file from parts of the deleted OnlineGlomActivity.
231 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
232 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
233 New files for app wide table change event.
234 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
235 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
236 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
237 Activity mappers for the main activities replace the deleted app-wide
239 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
240 Fix a spelling error in he comment.
241 * src/main/java/org/glom/web/client/ui/ListView.java:
242 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
243 Renamed from LayoutListView and modified for MVP. This still not a
244 proper dumb view as prescribed by the MVP pattern but it works for now.
245 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
246 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
247 New widget stripped out of the deleted OnlineGlomView.
248 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
249 Remove hack that is fixed by this patch.
251 2011-05-06 Ben Konrath <ben@bagu.org>
253 Rename OnlineGlomPlace to ListPlace.
255 The only change besides the rename is that url will now display #list
256 instead of #Document.
258 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
259 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
260 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
261 * src/main/java/org/glom/web/client/place/ListPlace.java:
262 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
264 2011-05-06 Ben Konrath <ben@bagu.org>
266 Use Presenter for app navigation.
268 This is the proper way to deal with Place (URL) changes with the MVP
271 * src/main/java/org/glom/web/client/ClientFactory.java:
272 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
273 PlaceHistoryMapper and PlaceHistoryHandler.
274 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
275 PlaceHistoryMapper and PlaceHistoryHandler.
276 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
277 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
278 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
279 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
280 Add Presenter interface and setPresenter methods. Rename addHyperLink
281 to addDocumentLink taking only the document title as a parameter.
283 2011-04-14 Ben Konrath <ben@bagu.org>
285 Prompt for db username/password if they haven't been set.
287 This is implemented with a popup widget that is contained within the
288 OnlineGlomView and managed by the OnlineGlomActivity.
290 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
291 methods for checking and setting the database username and password.
292 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
293 new methods for checking and setting the database username and
295 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
296 Display authentication popup if the JDBC connection to the database
297 has not been authenticated.
298 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
300 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
301 for dealing with the authentication popup.
302 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
303 Implement the methods for dealing with the authentication popup.
304 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
305 try to executed queries if the database connection hasn't been
306 authenticated. Implement methods for checking and setting the
307 database username and password.
309 2011-04-12 Ben Konrath <ben@bagu.org>
311 Make log messages a little clearer.
313 Add a dash betweeen the document title and the table name.
315 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
317 2011-04-12 Ben Konrath <ben@bagu.org>
319 Protect against NPEs when cleaning up database resources.
321 While this isn't strictly necessary because the exception is caught,
322 not protecting against the NPEs makes it harder to find the real error
325 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
327 2011-04-12 Ben Konrath <ben@bagu.org>
329 Move configuration of the servlet to the constructor.
331 The servlet will be initialized even if the database authentication
332 information is not set or correct. I still need to add the UI for prompting
333 the user for the authentication information when it's required.
335 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
336 javadocs for getDocumentTitles() method.
337 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
338 Set error message when RPC fails.
339 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
340 glom files directory from the configuration file. Try to set the
341 database authentication information for the specific document if it's
342 set and works otherwise try to use the global authentication
343 information set for the directory.
344 * src/main/resources/onlineglom.properties: Moved from
345 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
346 Added detailed comments for the new keys.
348 2011-04-11 Ben Konrath <ben@bagu.org>
350 Remove unnecessary @Override in DocumentSelectionViewImpl.
352 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
354 2011-04-11 Ben Konrath <ben@bagu.org>
356 Remove center alignment in DocumentSelectionView.
358 The title element is still centred but the document titles and bottom
359 sentence are both left-aligned.
361 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
363 2011-04-11 Ben Konrath <ben@bagu.org>
365 Change 'Demo' naming convention to 'Document'.
367 This is just a rename refactor with no functional changes to the code.
369 * src/main/java/org/glom/web/client/ClientFactory.java:
370 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
371 * src/main/java/org/glom/web/client/OnlineGlom.java:
372 * src/main/java/org/glom/web/client/OnlineGlomService.java:
373 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
374 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
375 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
376 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
377 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
378 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
379 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
380 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
381 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
383 2011-04-08 Ben Konrath <ben@bagu.org>
385 Remove FIXME from safeLongToInt() method.
387 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
390 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
392 2011-04-08 Ben Konrath <ben@bagu.org>
394 Display an error if no glom documents are found in the specified directory.
396 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
397 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
398 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
399 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
401 2011-04-08 Ben Konrath <ben@bagu.org>
403 Add copyright header to one more file ... oops.
405 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
407 2011-04-08 Ben Konrath <ben@bagu.org>
409 Add copyright header to files without it.
411 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
412 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
413 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
414 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
415 * src/main/java/org/glom/web/shared/ColumnInfo.java:
416 * src/main/java/org/glom/web/shared/GlomField.java:
418 2011-04-08 Ben Konrath <ben@bagu.org>
420 Add support for accessing multiple glom documents in the servlet.
422 This completes the demo selection functionality.
424 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
425 document title to methods.
426 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
427 document title to methods.
428 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
429 Set browser window title when the activity starts. Correct name of
430 document title variable.
431 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
432 Set browser window title when the activity starts. Set the table
433 selector change handler after table selector has been set. Clear the
434 OnlineGlomView when the activity has been stopped.
435 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
436 document title as the place token. Use "#Document:" instead of
437 "#OnlineGlomPlace:" in the URL.
438 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
439 Change heading to "Online Glom"
440 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
441 document title in RPC methods.
442 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
443 setDocumentTitle() method. Add clear() method.
444 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
445 setDocumentTitle() method. Implement clear() method which removes the
446 change handler on the ListBox, clears the ListBox and clears the
448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
449 Implement methods with document title. Keep track for the configured
450 glom documents and their corresponding JDBC configurations in a hash
451 table. This information is retrieved using the document title as the
452 key in the hash table.
453 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
454 document title field as it's no longer needed.
456 2011-04-08 Ben Konrath <ben@bagu.org>
458 Update the Eclipse JDT configuration.
460 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
461 methods. Automatically add the copyright header to new files.
463 2011-04-05 Ben Konrath <ben@bagu.org>
465 Add new page for demo selection.
467 This patch adds all the components required to view and start an
468 OnlineGlom demo by clicking on the desired hyperlink. The user is
469 able to return to the demo selection page with the browser's back
470 button. I still need to modify the servlet to work with multiple
471 documents so all demo links will load the file defined in the
472 OnlineGlom.properties.
474 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
475 This is only useful during development so we don't need to save it.
476 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
477 get a reference to the DemoSelectionView.
478 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
479 method to get a reference to the DemoSelectionView.
480 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
481 default view to DemoSelectionView.
482 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
483 to get glom document titles for glom files in a hard-coded directory.
484 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
485 method to get glom document titles for glom files in a hard-coded
487 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
488 Presenter for DemoSelectionView.
489 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
490 for DemoSelectionView.
491 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
492 Update for DemoSelectionView.
493 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
494 Basic 'Place' implementation for the DemoSelectionView.
495 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
496 The interface for the DemoSelectionView.
497 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
498 The implementation of the DemoSelectionView.
499 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
500 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
501 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
502 implementation of method to get glom document titles for glom files
503 in a hard-coded directory.
504 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
505 on longer being used.
506 * src/main/webapp/glom.png: Glom logo.
508 2011-04-05 Ben Konrath <ben@bagu.org>
510 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
512 This is the forth and final commit of a refactor that will allow
513 OnlineGlom to be used with multiple documents.
515 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
516 Move RPC code from OnlineGlomViewImpl to this class.
517 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
519 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
520 RPC code to the presenter class (the P in MVP).
522 2011-04-04 Ben Konrath <ben@bagu.org>
524 Start moving the existing OnlineGlom code to MVP.
526 This work is based on the GWT MVP framework that is documented here:
528 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
530 This is the third commit of a refactor that will allow OnlineGlom to
531 be used with multiple documents.
533 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
534 Interface for client factory which is used to get instances of various
535 classes throughout the app.
536 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
537 Implementation of client factory.
538 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
539 initialize the MVP framework.
540 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
541 New file. Activity manager for the main container widget. This is the
543 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
544 Maps place (URL) to its corresponding activity.
545 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
546 New file. This is just a place holder for a generated file.
547 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
548 New file. Represents the URL for the main Online Glom app.
549 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
550 for changes in LayoutListViewImpl.
551 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
552 interface for View. Move code to OnlineGlomViewImpl class.
553 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
554 file. Implementation of OnlineGlomView.
555 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
556 Place resources. Use ClientFactoryImpl by default.
558 2011-04-04 Ben Konrath <ben@bagu.org>
560 Move View classes to their own package.
562 This is the second commit of a refactor that will allow OnlineGlom to
563 be used with multiple documents.
565 * src/main/java/org/glom/web/client/OnlineGlom.java:
566 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
567 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
569 2011-04-02 Ben Konrath <ben@bagu.org>
571 Move UI code from the main module to its own class.
573 This is the first commit of a refactor that will allow OnlineGlom to be
574 used with multiple documents.
576 * src/main/java/org/glom/web/client/LayoutListView.java: Update
577 references to OnlineGlom to OnlineGlomView.
578 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
579 OnlineGlomView and instantiate it here.
580 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
581 represents the main OnlineGlomView with one document.
583 2011-04-01 Ben Konrath <ben@bagu.org>
585 Fix formatting of gwt.xml and add DTD.
587 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
589 2011-03-30 Ben Konrath <ben@bagu.org>
591 Propperly convert gdkColor string to html colour string.
593 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
595 2011-03-28 Ben Konrath <ben@bagu.org>
597 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
599 This implementation matches
600 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
601 readable and is not tied to Swig.
603 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
605 2011-03-28 Ben Konrath <ben@bagu.org>
607 Use read-only checkboxes for boolean field types.
609 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
610 in the CellTable based on the field type. It currently only
611 distinguishes between boolean and text columns but I'll need to add
612 support for more types.
613 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
614 column type in the ColumnInfo object. Add method to convert between the
615 glom field type enum in ColumnInfo and the glom field type in libglom.
616 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
618 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
619 getting and setting booleans.
621 2011-03-25 Ben Konrath <ben@bagu.org>
623 Don't get the Date twice from the ResultSet.
625 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
627 2011-03-25 Ben Konrath <ben@bagu.org>
629 Cleanup code in the servlet.
631 * TODO: Remove item about row count. Add item about testing row count
632 query with large number of rows.
633 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
634 spelling mistakes, change method parameter to be consistent with
637 2011-03-25 Ben Konrath <ben@bagu.org>
639 Add server side logging with the gwt-log library.
641 * .gitignore: Ignore the log file we're now producing.
642 * TODO: Add a couple TODO item for logging.
643 * pom.xml: Add gwt-log and log4j as a dependency.
644 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
645 logging of errors, warnings and some important info.
646 * src/main/resources/log4j.properties: New file to configure log4j.
648 2011-03-24 Ben Konrath <ben@bagu.org>
650 Add a disable button for the Details view.
652 * src/main/java/org/glom/web/client/LayoutListView.java:
654 2011-03-22 Ben Konrath <ben@bagu.org>
656 Use a count query to get the number of rows for the list view pager.
658 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
660 2011-03-22 Ben Konrath <ben@bagu.org>
662 Add more TODO information about CellTable pager positioning.
666 2011-03-19 Ben Konrath <ben@bagu.org>
668 Add TODO item about CellTable pager positioning.
672 2011-03-18 Ben Konrath <ben@bagu.org>
674 Remove unneeded GlomFieldColumn class.
676 This is just a small code cleanup.
678 * src/main/java/org/glom/web/client/LayoutListView.java:
680 2011-03-18 Ben Konrath <ben@bagu.org>
682 Use cursor mode in the query that gets data for the list view.
684 I still need to fix the potential memory problem when getting the row
685 count for the list view.
687 * TODO: Add note about testing memory usage with large data sets. Add
688 item about fixing row counting with large data sets.
689 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
690 PostgreSQL JDBC driver into cursor mode when getting data for the
693 2011-03-15 Ben Konrath <ben@bagu.org>
695 Remove the GWT Container from the Eclipse build classpath.
697 The GWT dependencies are set by Maven so this isn't needed.
701 2011-03-15 Murray Cumming <murrayc@murrayc.com>
703 Added some earlier mockups to git, but not to the tarball dist.
705 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
706 Openismus. These hopefully show how we might structure the HTML so that
707 it can be styled easily with CSS. However, we probably need to adapt them
708 for the CSS structure that GWT dictates for common widgets.
710 2011-03-14 Ben Konrath <ben@bagu.org>
712 Locate OnlineGlom.properties using the ServletContext.
714 This is required to be able to locate the file in the deployed servlet.
716 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
717 Configure the database and glom document in in a helper method so
718 that the ServletContext can be used to locate OnlineGlom.properties.
719 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
720 src/main/webapp. This is the proper location for .properites files.
722 2011-03-12 Ben Konrath <ben@bagu.org>
724 Add note to README about why we're compiling down to obfuscated JavaScript.
728 2011-03-11 Ben Konrath <ben@bagu.org>
730 Use properties file to configure servlet.
732 This allows people to change the glom file path, db username and db
733 password without recompiling the code.
735 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
736 * src/main/webapp/OnlineGlom.properties:
738 2011-03-11 Ben Konrath <ben@bagu.org>
740 Use table fields in layout list view if the layout list is not defined.
742 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
743 Manually create a LayoutFieldVector for the query builder using the
744 table fields when a layout list is not defined in the glom file.
746 2011-03-11 Ben Konrath <ben@bagu.org>
748 Only show FIXME string for images when there's an image.
750 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
751 in this change are some small code cleanups.
753 2011-03-11 Ben Konrath <ben@bagu.org>
755 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
757 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
759 2011-03-11 Ben Konrath <ben@bagu.org>
761 Correctly set the index of the default table.
763 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
764 Correctly set the index of the default table. Add commented out example
767 2011-03-10 Ben Konrath <ben@bagu.org>
769 Add comment to pom.xml about the previous change.
771 * pom.xml: Add comment about the deployment issue so that it's obvious
772 why java-libglom is set to the provided scope.
774 2011-03-10 Ben Konrath <ben@bagu.org>
776 Change java-libglom dependency from compile to provided in pom.xml.
778 Since java-libglom uses jni it can only be loaded once and therefore
779 must be placed in $CATALINA_HOME/lib and not included in each war.
780 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
781 More information about this issue can be found in the Tomcat 6 release
782 notes in the "JNI Based Applications" section:
784 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
786 * README: Remove note about this issue. Deployment info should really
787 be on the wiki anyway so I'll add it right now.
788 * pom.xml: Change java-libglom dependency from compile to provided so
789 that it's copied in to the packaged war.
791 2011-03-09 Ben Konrath <ben@bagu.org>
793 Change to using a neutral locale for currency, date and time formatting.
795 This solves the problem of currency values being represented without a
796 space between the currency code and the number (e.g. "EUR5.89" is now
797 represented as "EUR 5.89"). More work is required when we implement
798 a locale preference setting.
800 * TODO: Add note about currency formatting issues with different
802 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
803 to using the neutral ROOT locale.
805 2011-03-09 Ben Konrath <ben@bagu.org>
807 Add support for currency codes that are not ISO 4217 codes.
809 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
810 the currency code defined in the glom file when it's not 3 characters
811 long or when Java doesn't recognize the string as an ISO 4217 code.
813 2011-03-08 Ben Konrath <ben@bagu.org>
815 Remove test classes, launch configurations and configuration.
817 The test stuff was getting in the way when creating the war. To make
818 the war file you can now do 'mvn clean package'. The packaged war file
819 will be in the target directory.
821 * .classpath: Remove unused classpathentry for tests and i18n.
822 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
823 property. Don't run test or i18n goals when packaging the war.
824 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
829 * OnlineGlomTest-dev.launch:
830 * OnlineGlomTest-prod.launch:
831 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
832 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
834 2011-03-07 Ben Konrath <ben@bagu.org>
836 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
838 These fixes allow me to use 'mvn deploy' to create the war file.
840 * .classpath: This generated config has been updated by Eclipse. This
841 change was probably triggered by me updating from Eclipse 3.6.1 to
843 * .gitignore: Add entry to ignore the directory
844 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
845 * .project: The generated config has been updated by Eclipse. This
846 change was probably triggered by me updating from Eclipse 3.6.1 to
848 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
849 so that Eclipse doesn't complain
850 * pom.xml: Update to gwt-maven-plugin 2.2.0.
851 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
852 'tests' directory to 'client' directory. This is the new
853 gwt-maven-plugin convension.
854 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
855 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
857 2011-03-07 Ben Konrath <ben@bagu.org>
859 Add support for horizontal alignment in the LayoutList columns.
861 * TODO: Remove item about horizontal alignment. Add item about
862 improvements to ColumnInfo.
863 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
864 alignment on the columns. Use ColumnInfo RPC object get the column
865 title and horizontal alignment.
866 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
867 LayoutListView creation with ColumnInfo RPC object.
868 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
869 a ColumnInfo object for every LayoutList columnn. Convert the
870 FieldFormatting.HorizontalAlignment to the correct
871 ColumnnInfo.HorizontatlAlignment with the new
872 getColumnInfoHorizontalAlignment helper method.
873 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
874 to encapsulate column information like alignment and title. This
875 could be used to set the colour instead of on a per cell field basis.
876 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
877 column title storage and retrieval with ColumnInfo.
879 2011-03-04 Ben Konrath <ben@bagu.org>
881 Add support for column sorting.
883 * src/main/java/org/glom/web/client/LayoutListView.java: Change
884 AsynDataProvider to be an anonymous inner class. Use new
885 getSortedTableData RPC method when column sort is requested. Set all
886 columns sortable and add an AsyncHandler to activate sorting in the
888 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
889 method getSortedTableData(). Cleanup other method signatures.
890 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
891 new method getSortedTableData(). Cleanup other method signatures.
892 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
893 Implement getSortedTableData() and getTableData() methods by using a
894 private helper method with the appropriate parameters filled in. Use
895 user supplied sort clause when supplied, otherwise fall back to
896 sorting by the primary key. Move destroy() method to be underneath
897 constructor for readability. Cleanup comments.
899 2011-03-03 Ben Konrath <ben@bagu.org>
901 Add support for colour text and colour backgrounds to the layout list cells.
903 Only the cell backgrounds are coloured which leaves a gap between the
904 cells that isn't coloured. I need to figure out a way to set
905 'style=background-colour:' on the whole column rather than just the
908 * TODO: Add a note about colouring the background of the whole column.
909 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
910 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
911 render the coloured text and backgrounds. Use GlomField[] for the row type.
912 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
914 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
915 GlomField[] for the row type.
916 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
917 GlomField[] for the row type. Set the text, text colour and background
918 colour in the GlomField objects as specified in the glom document. Add
919 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
920 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
921 the glom field text, foreground colour and background colour.
923 2011-03-02 Ben Konrath <ben@bagu.org>
925 Don't display hidden tables in the combo box.
927 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
929 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
930 code to ignore hidden tables using ArrayLists for the table names and
932 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
933 tableNames to use ArrayLists instead of String[]. Update getter and setter
936 2011-03-01 Ben Konrath <ben@bagu.org>
938 Add support for Date and Time number types.
940 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
941 Implement formatting for Date and Time values. Change the default glom
942 file to small business example.
944 2011-03-01 Ben Konrath <ben@bagu.org>
946 Add support for formatting glom types as specified in the glom file.
948 Formatting isn't finished yet - I still need to add support for Date
951 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
952 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
953 checks for null values in JDBC cleanup code and catch all exceptions
954 instead of just SQLExceptions.
955 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
958 2011-03-01 Ben Konrath <ben@bagu.org>
960 Use GWT 2.2.0 instead of 2.1.1.
962 * pom.xml: Change GWT version numbers.
964 2011-03-01 Ben Konrath <ben@bagu.org>
966 A few small code cleanups.
968 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
970 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
971 unnecessary object creation in constructor.
972 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
973 unnecessary object creation in constructor.
975 2011-02-28 Ben Konrath <ben@bagu.org>
977 Add file for TODO list.
981 2011-02-18 Ben Konrath <ben@bagu.org>
983 Enable the CellTable Pager when more than 20 rows need to be viewed.
985 The Pager will automatically become active when the results are larger
986 than the CellTable size which is currently set to 20 lines.
988 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
989 name on debug statment in RPC call in LayoutListDataProvider, add
990 numRows parameter to LayoutListView constructor, propperly set rowCount
992 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
993 name on debug statment in RPC call, use LayoutListTable object in RPC
994 calls, pass rowCount to LayoutListView.
995 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
996 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
998 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
999 interface for changes in OnlineGlomService.
1000 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1001 getLayoutListHeaders() to getLayoutListTable() and return
1002 LayoutListTable. Using this object allows me to pass other information
1003 about the LayoutList like the expected number of rows in the result set.
1004 The Connection object from the connection pool is now propperly closed.
1005 Only the requested number of lines are returned to the client in
1007 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1008 GlomTable and add columnTitles and numRows.
1010 2011-02-18 Ben Konrath <ben@bagu.org>
1012 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1014 This is a small performance boost. I'll use GlomTable to get the required
1015 layoutlist information.
1017 * src/main/java/org/glom/web/client/OnlineGlom.java:
1018 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1019 * src/main/java/org/glom/web/shared/GlomDocument.java:
1021 2011-02-18 Ben Konrath <ben@bagu.org>
1023 Add option to turn off formatting in JDT formatter preferences.
1025 * .settings/org.eclipse.jdt.core.prefs:
1027 2011-02-18 Ben Konrath <ben@bagu.org>
1029 Rename LayoutList to LayoutListView.
1031 I'm working towards setting things up to easily use MVP when the time
1034 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1036 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1039 2011-02-17 Ben Konrath <ben@bagu.org>
1041 Move LayoutListDataProvider class into LayoutList.java.
1043 * src/main/java/org/glom/web/client/LayoutList.java:
1045 2011-02-17 Ben Konrath <ben@bagu.org>
1047 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1049 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1051 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1052 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1053 from LibGlomServer.java.
1054 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1055 Rename from LibGlomServiceAsync.java.
1056 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1057 Rename from LibGlomServiceImpl.java.
1058 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1060 2011-02-17 Ben Konrath <ben@bagu.org>
1062 Update JDT settings.
1064 * .settings/org.eclipse.jdt.core.prefs:
1066 2011-02-17 Ben Konrath <ben@bagu.org>
1068 Move GWT-RPC objects to shared package (where they should be).
1070 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1071 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1072 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1073 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1074 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1075 org.glom.web.shared package.
1076 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1077 org.glom.web.shared package.
1078 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1079 directory in compilation to javascript.
1081 2011-02-16 Ben Konrath <ben@bagu.org>
1083 Add sort clause to the sql query that grabs table information.
1085 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1086 if one of the columns is a primary key.
1088 2011-02-16 Ben Konrath <ben@bagu.org>
1090 Disable generateAsync feature of gwt-maven.
1092 The generated interface does not correctly match the methods in LibGlomService
1093 and the generated singleton Util inner-class doesn't respect the servlet
1096 * pom.xml: Turn off generateAsync feature.
1097 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1098 with singleton Util inner-class.
1100 2011-02-14 Ben Konrath <ben@bagu.org>
1102 Add LGPL v3 licence notices.
1104 Followed directions listed here:
1105 http://www.gnu.org/licenses/gpl-howto.html
1107 * COPYING: This file is a copy of the GPL v3.
1108 * COPYING.LESSER: This file is a copy of the LGPL v3.
1109 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1111 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1113 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1115 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1117 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1119 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1121 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1124 2011-02-14 Ben Konrath <ben@bagu.org>
1126 Use ArrayList instead of Array in GWT-RPC calls.
1128 Apparently this gives a slight performance boost to the compiled
1131 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1133 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1136 2011-02-14 Ben Konrath <ben@bagu.org>
1138 Access data from a postgres db rather than the example glom file.
1140 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1141 compile down to obfuscated javascript.
1142 * pom.xml: Add c3p0 and postgres JDBC libraries.
1143 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1144 using a postgres db accessed through the c3p0 connection pooling library.
1146 2011-02-14 Ben Konrath <ben@bagu.org>
1148 Update Java formatter settings.
1150 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1152 2011-02-02 Ben Konrath <ben@bagu.org>
1154 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1156 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1158 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1159 the compiled webapp directory that Eclipse uses as we're using Maven now.
1160 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1161 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1163 * pom.xml: Format file, change target Java version to 1.6.
1165 2011-02-02 Ben Konrath <ben@bagu.org>
1167 Add information about a deployment related issue.
1169 * README: Add Notes section with the problem outlined.
1171 2011-02-02 Ben Konrath <ben@bagu.org>
1173 Call Glom.libglom_deinit() when the servlet is shutdown.
1175 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1176 Glom.libglom_deinit() to destroy() method.
1178 2011-01-28 Ben Konrath <ben@bagu.org>
1180 Use generated Util class to get the RPC Async interface.
1182 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1184 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1185 getInstance() method to get a reference to the RPC Async interface.
1186 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1187 getInstance() method to get a reference to the RPC Async interface, remove
1188 the now unused getLibGlomServiceProxy() method.
1190 2011-01-27 Ben Konrath <ben@bagu.org>
1192 Cleanup ChangeLog entry from previous commit.
1194 * ChangeLog: Group logical changes together and add comments.
1196 2011-01-25 Ben Konrath <ben@bagu.org>
1198 Convert to gwt-maven project.
1200 * .gitignore: Update for new project structure.
1201 * README: New file with a link to the online documentation.
1202 * pom.xml: The generated maven configuration file with some tweaks.
1204 Add / update Eclipse settings. These files are a merge of the files that
1205 were generated with the gwt-maven plugin and the files we were previously
1209 * .settings/.jsdtscope:
1210 * .settings/com.google.gdt.eclipse.core.prefs:
1211 * .settings/com.google.gwt.eclipse.core.prefs:
1212 * .settings/org.eclipse.jdt.core.prefs:
1213 * .settings/org.eclipse.wst.common.component:
1214 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1215 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1216 * .settings/org.maven.ide.eclipse.prefs:
1217 * OnlineGlomTest-dev.launch:
1218 * OnlineGlomTest-prod.launch:
1220 Java source files moved from the 'src' directory to the directory structure
1222 * src/main/java/org/glom/web/client/GlomDocument.java:
1223 * src/main/java/org/glom/web/client/GlomTable.java:
1224 * src/main/java/org/glom/web/client/LayoutList.java:
1225 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1226 * src/main/java/org/glom/web/client/LibGlomService.java:
1227 * src/main/java/org/glom/web/client/OnlineGlom.java:
1228 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1230 Non-functional property file used for translations. I included this as
1231 reminder that it's something I need to sort out.
1232 * src/main/resources/org/glom/web/client/Messages.properties:
1234 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1235 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1237 The servlet configuration files moved from the 'war' directory.
1238 * src/main/webapp/OnlineGlom.css:
1239 * src/main/webapp/OnlineGlom.html:
1240 * src/main/webapp/WEB-INF/web.xml:
1242 Generated test files with most of the code commented out. I included these
1243 so that it's easy to add tests when we're ready for them.
1244 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1245 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1247 2011-01-25 Ben Konrath <ben@bagu.org>
1249 Remove unused println.
1251 * src/org/glom/web/server/LibGlomServiceImpl.java:
1253 2011-01-25 Ben Konrath <ben@bagu.org>
1255 Add project specific JDT settings.
1257 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1258 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1260 2011-01-25 Ben Konrath <ben@bagu.org>
1262 Populate celltable with example data.
1264 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1265 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1266 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1267 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1268 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1269 asynchronously gets the example data.
1270 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1271 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1272 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1273 curently selected table to be retrieved by other widgets.
1274 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1275 implement getTableData() in a hacky way. This method needs to be updated
1276 to grab information from the database when database creating is
1279 2011-01-20 Ben Konrath <ben@bagu.org>
1281 Set table headers when table dropBox changes.
1283 * src/org/glom/web/client/GlomDocument.java: Correct some method
1285 * src/org/glom/web/client/LibGlomService.java: Add method
1286 to get list layout field names.
1287 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1288 to get list layout field names.
1289 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1290 widget for list layout table.
1291 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1292 the table drop box and add new updateTable() method to asynchronously
1293 get the layout list field names for the currently selected table.
1294 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1295 implementation of getLayoutListHeaders() method.
1296 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1298 2011-01-18 Ben Konrath <ben@bagu.org>
1300 Make a listBox with table titles instead of the flexTable demo.
1302 This is the start of something more useful.
1304 * .classpath: Exclude a bunch of packages from the JVM that are
1305 getting in the way of the Eclipse content assist.
1306 * src/org/glom/web/client/GlomDocument.java:
1307 * src/org/glom/web/client/GlomTable.java:
1308 * src/org/glom/web/client/LibGlomService.java:
1309 * src/org/glom/web/client/LibGlomServiceAsync.java:
1310 * src/org/glom/web/client/OnlineGlom.java:
1311 * src/org/glom/web/server/LibGlomServiceImpl.java:
1312 * war/OnlineGlom.html:
1313 * war/WEB-INF/web.xml:
1315 211-01-13 Ben Konrath <ben@bagu.org>
1317 Update to new java-libglom API.
1319 * .gitignore: Ignore OnlineGlom.war.
1320 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1322 2010-12-20 Ben Konrath <ben@bagu.org>
1324 Add some basic style to the table listing.
1326 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1327 header, print useful error message on async callback failure.
1328 * war/OnlineGlom.css: Add style for table header, remove defaults
1329 provided by the Eclipse project wizard.
1331 2010-12-20 Ben Konrath <ben@bagu.org>
1333 Load example file from installed glom dir.
1335 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1336 provided by java-libglom to find the example file.
1338 2010-12-20 Ben Konrath <ben@bagu.org>
1340 Update Eclipse settings.
1343 * .settings/com.google.gdt.eclipse.core.prefs:
1344 * .settings/com.google.gwt.eclipse.core.prefs:
1346 2010-12-17 Ben Konrath <ben@bagu.org>
1350 * .classpath: New file.
1351 * .gitignore: New file.
1352 * .project: New file.
1353 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1354 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1355 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1356 * src/org/glom/web/client/GlomTable.java: New file.
1357 * src/org/glom/web/client/OnlineGlom.java: New file.
1358 * src/org/glom/web/client/TableNameService.java: New file.
1359 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1360 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1361 * war/OnlineGlom.css: New file.
1362 * war/OnlineGlom.html: New file.
1363 * war/WEB-INF/web.xml: New file.
1364 * war/images/glom.png: New file.