1 2011-04-08 Ben Konrath <ben@bagu.org>
3 Add copyright header to files without it.
5 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
6 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
7 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
8 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
9 * src/main/java/org/glom/web/shared/ColumnInfo.java:
10 * src/main/java/org/glom/web/shared/GlomField.java:
12 2011-04-08 Ben Konrath <ben@bagu.org>
14 Add support for accessing multiple glom documents in the servlet.
16 This completes the demo selection functionality.
18 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
19 document title to methods.
20 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
21 document title to methods.
22 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
23 Set browser window title when the activity starts. Correct name of
24 document title variable.
25 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
26 Set browser window title when the activity starts. Set the table
27 selector change handler after table selector has been set. Clear the
28 OnlineGlomView when the activity has been stopped.
29 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
30 document title as the place token. Use "#Document:" instead of
31 "#OnlineGlomPlace:" in the URL.
32 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
33 Change heading to "Online Glom"
34 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
35 document title in RPC methods.
36 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
37 setDocumentTitle() method. Add clear() method.
38 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
39 setDocumentTitle() method. Implement clear() method which removes the
40 change handler on the ListBox, clears the ListBox and clears the
42 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
43 Implement methods with document title. Keep track for the configured
44 glom documents and their corresponding JDBC configurations in a hash
45 table. This information is retrieved using the document title as the
46 key in the hash table.
47 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
48 document title field as it's no longer needed.
50 2011-04-08 Ben Konrath <ben@bagu.org>
52 Update the Eclipse JDT configuration.
54 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
55 methods. Automatically add the copyright header to new files.
57 2011-04-05 Ben Konrath <ben@bagu.org>
59 Add new page for demo selection.
61 This patch adds all the components required to view and start an
62 OnlineGlom demo by clicking on the desired hyperlink. The user is
63 able to return to the demo selection page with the browser's back
64 button. I still need to modify the servlet to work with multiple
65 documents so all demo links will load the file defined in the
66 OnlineGlom.properties.
68 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
69 This is only useful during development so we don't need to save it.
70 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
71 get a reference to the DemoSelectionView.
72 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
73 method to get a reference to the DemoSelectionView.
74 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
75 default view to DemoSelectionView.
76 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
77 to get glom document titles for glom files in a hard-coded directory.
78 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
79 method to get glom document titles for glom files in a hard-coded
81 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
82 Presenter for DemoSelectionView.
83 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
84 for DemoSelectionView.
85 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
86 Update for DemoSelectionView.
87 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
88 Basic 'Place' implementation for the DemoSelectionView.
89 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
90 The interface for the DemoSelectionView.
91 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
92 The implementation of the DemoSelectionView.
93 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
94 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
95 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
96 implementation of method to get glom document titles for glom files
97 in a hard-coded directory.
98 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
100 * src/main/webapp/glom.png: Glom logo.
102 2011-04-05 Ben Konrath <ben@bagu.org>
104 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
106 This is the forth and final commit of a refactor that will allow
107 OnlineGlom to be used with multiple documents.
109 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
110 Move RPC code from OnlineGlomViewImpl to this class.
111 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
113 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
114 RPC code to the presenter class (the P in MVP).
116 2011-04-04 Ben Konrath <ben@bagu.org>
118 Start moving the existing OnlineGlom code to MVP.
120 This work is based on the GWT MVP framework that is documented here:
122 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
124 This is the third commit of a refactor that will allow OnlineGlom to
125 be used with multiple documents.
127 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
128 Interface for client factory which is used to get instances of various
129 classes throughout the app.
130 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
131 Implementation of client factory.
132 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
133 initialize the MVP framework.
134 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
135 New file. Activity manager for the main container widget. This is the
137 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
138 Maps place (URL) to its corresponding activity.
139 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
140 New file. This is just a place holder for a generated file.
141 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
142 New file. Represents the URL for the main Online Glom app.
143 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
144 for changes in LayoutListViewImpl.
145 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
146 interface for View. Move code to OnlineGlomViewImpl class.
147 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
148 file. Implementation of OnlineGlomView.
149 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
150 Place resources. Use ClientFactoryImpl by default.
152 2011-04-04 Ben Konrath <ben@bagu.org>
154 Move View classes to their own package.
156 This is the second commit of a refactor that will allow OnlineGlom to
157 be used with multiple documents.
159 * src/main/java/org/glom/web/client/OnlineGlom.java:
160 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
161 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
163 2011-04-02 Ben Konrath <ben@bagu.org>
165 Move UI code from the main module to its own class.
167 This is the first commit of a refactor that will allow OnlineGlom to be
168 used with multiple documents.
170 * src/main/java/org/glom/web/client/LayoutListView.java: Update
171 references to OnlineGlom to OnlineGlomView.
172 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
173 OnlineGlomView and instantiate it here.
174 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
175 represents the main OnlineGlomView with one document.
177 2011-04-01 Ben Konrath <ben@bagu.org>
179 Fix formatting of gwt.xml and add DTD.
181 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
183 2011-03-30 Ben Konrath <ben@bagu.org>
185 Propperly convert gdkColor string to html colour string.
187 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
189 2011-03-28 Ben Konrath <ben@bagu.org>
191 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
193 This implementation matches
194 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
195 readable and is not tied to Swig.
197 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
199 2011-03-28 Ben Konrath <ben@bagu.org>
201 Use read-only checkboxes for boolean field types.
203 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
204 in the CellTable based on the field type. It currently only
205 distinguishes between boolean and text columns but I'll need to add
206 support for more types.
207 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
208 column type in the ColumnInfo object. Add method to convert between the
209 glom field type enum in ColumnInfo and the glom field type in libglom.
210 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
212 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
213 getting and setting booleans.
215 2011-03-25 Ben Konrath <ben@bagu.org>
217 Don't get the Date twice from the ResultSet.
219 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
221 2011-03-25 Ben Konrath <ben@bagu.org>
223 Cleanup code in the servlet.
225 * TODO: Remove item about row count. Add item about testing row count
226 query with large number of rows.
227 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
228 spelling mistakes, change method parameter to be consistent with
231 2011-03-25 Ben Konrath <ben@bagu.org>
233 Add server side logging with the gwt-log library.
235 * .gitignore: Ignore the log file we're now producing.
236 * TODO: Add a couple TODO item for logging.
237 * pom.xml: Add gwt-log and log4j as a dependency.
238 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
239 logging of errors, warnings and some important info.
240 * src/main/resources/log4j.properties: New file to configure log4j.
242 2011-03-24 Ben Konrath <ben@bagu.org>
244 Add a disable button for the Details view.
246 * src/main/java/org/glom/web/client/LayoutListView.java:
248 2011-03-22 Ben Konrath <ben@bagu.org>
250 Use a count query to get the number of rows for the list view pager.
252 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
254 2011-03-22 Ben Konrath <ben@bagu.org>
256 Add more TODO information about CellTable pager positioning.
260 2011-03-19 Ben Konrath <ben@bagu.org>
262 Add TODO item about CellTable pager positioning.
266 2011-03-18 Ben Konrath <ben@bagu.org>
268 Remove unneeded GlomFieldColumn class.
270 This is just a small code cleanup.
272 * src/main/java/org/glom/web/client/LayoutListView.java:
274 2011-03-18 Ben Konrath <ben@bagu.org>
276 Use cursor mode in the query that gets data for the list view.
278 I still need to fix the potential memory problem when getting the row
279 count for the list view.
281 * TODO: Add note about testing memory usage with large data sets. Add
282 item about fixing row counting with large data sets.
283 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
284 PostgreSQL JDBC driver into cursor mode when getting data for the
287 2011-03-15 Ben Konrath <ben@bagu.org>
289 Remove the GWT Container from the Eclipse build classpath.
291 The GWT dependencies are set by Maven so this isn't needed.
295 2011-03-15 Murray Cumming <murrayc@murrayc.com>
297 Added some earlier mockups to git, but not to the tarball dist.
299 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
300 Openismus. These hopefully show how we might structure the HTML so that
301 it can be styled easily with CSS. However, we probably need to adapt them
302 for the CSS structure that GWT dictates for common widgets.
304 2011-03-14 Ben Konrath <ben@bagu.org>
306 Locate OnlineGlom.properties using the ServletContext.
308 This is required to be able to locate the file in the deployed servlet.
310 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
311 Configure the database and glom document in in a helper method so
312 that the ServletContext can be used to locate OnlineGlom.properties.
313 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
314 src/main/webapp. This is the proper location for .properites files.
316 2011-03-12 Ben Konrath <ben@bagu.org>
318 Add note to README about why we're compiling down to obfuscated JavaScript.
322 2011-03-11 Ben Konrath <ben@bagu.org>
324 Use properties file to configure servlet.
326 This allows people to change the glom file path, db username and db
327 password without recompiling the code.
329 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
330 * src/main/webapp/OnlineGlom.properties:
332 2011-03-11 Ben Konrath <ben@bagu.org>
334 Use table fields in layout list view if the layout list is not defined.
336 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
337 Manually create a LayoutFieldVector for the query builder using the
338 table fields when a layout list is not defined in the glom file.
340 2011-03-11 Ben Konrath <ben@bagu.org>
342 Only show FIXME string for images when there's an image.
344 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
345 in this change are some small code cleanups.
347 2011-03-11 Ben Konrath <ben@bagu.org>
349 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
351 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
353 2011-03-11 Ben Konrath <ben@bagu.org>
355 Correctly set the index of the default table.
357 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
358 Correctly set the index of the default table. Add commented out example
361 2011-03-10 Ben Konrath <ben@bagu.org>
363 Add comment to pom.xml about the previous change.
365 * pom.xml: Add comment about the deployment issue so that it's obvious
366 why java-libglom is set to the provided scope.
368 2011-03-10 Ben Konrath <ben@bagu.org>
370 Change java-libglom dependency from compile to provided in pom.xml.
372 Since java-libglom uses jni it can only be loaded once and therefore
373 must be placed in $CATALINA_HOME/lib and not included in each war.
374 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
375 More information about this issue can be found in the Tomcat 6 release
376 notes in the "JNI Based Applications" section:
378 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
380 * README: Remove note about this issue. Deployment info should really
381 be on the wiki anyway so I'll add it right now.
382 * pom.xml: Change java-libglom dependency from compile to provided so
383 that it's copied in to the packaged war.
385 2011-03-09 Ben Konrath <ben@bagu.org>
387 Change to using a neutral locale for currency, date and time formatting.
389 This solves the problem of currency values being represented without a
390 space between the currency code and the number (e.g. "EUR5.89" is now
391 represented as "EUR 5.89"). More work is required when we implement
392 a locale preference setting.
394 * TODO: Add note about currency formatting issues with different
396 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
397 to using the neutral ROOT locale.
399 2011-03-09 Ben Konrath <ben@bagu.org>
401 Add support for currency codes that are not ISO 4217 codes.
403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
404 the currency code defined in the glom file when it's not 3 characters
405 long or when Java doesn't recognize the string as an ISO 4217 code.
407 2011-03-08 Ben Konrath <ben@bagu.org>
409 Remove test classes, launch configurations and configuration.
411 The test stuff was getting in the way when creating the war. To make
412 the war file you can now do 'mvn clean package'. The packaged war file
413 will be in the target directory.
415 * .classpath: Remove unused classpathentry for tests and i18n.
416 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
417 property. Don't run test or i18n goals when packaging the war.
418 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
423 * OnlineGlomTest-dev.launch:
424 * OnlineGlomTest-prod.launch:
425 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
426 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
428 2011-03-07 Ben Konrath <ben@bagu.org>
430 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
432 These fixes allow me to use 'mvn deploy' to create the war file.
434 * .classpath: This generated config has been updated by Eclipse. This
435 change was probably triggered by me updating from Eclipse 3.6.1 to
437 * .gitignore: Add entry to ignore the directory
438 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
439 * .project: The generated config has been updated by Eclipse. This
440 change was probably triggered by me updating from Eclipse 3.6.1 to
442 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
443 so that Eclipse doesn't complain
444 * pom.xml: Update to gwt-maven-plugin 2.2.0.
445 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
446 'tests' directory to 'client' directory. This is the new
447 gwt-maven-plugin convension.
448 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
449 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
451 2011-03-07 Ben Konrath <ben@bagu.org>
453 Add support for horizontal alignment in the LayoutList columns.
455 * TODO: Remove item about horizontal alignment. Add item about
456 improvements to ColumnInfo.
457 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
458 alignment on the columns. Use ColumnInfo RPC object get the column
459 title and horizontal alignment.
460 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
461 LayoutListView creation with ColumnInfo RPC object.
462 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
463 a ColumnInfo object for every LayoutList columnn. Convert the
464 FieldFormatting.HorizontalAlignment to the correct
465 ColumnnInfo.HorizontatlAlignment with the new
466 getColumnInfoHorizontalAlignment helper method.
467 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
468 to encapsulate column information like alignment and title. This
469 could be used to set the colour instead of on a per cell field basis.
470 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
471 column title storage and retrieval with ColumnInfo.
473 2011-03-04 Ben Konrath <ben@bagu.org>
475 Add support for column sorting.
477 * src/main/java/org/glom/web/client/LayoutListView.java: Change
478 AsynDataProvider to be an anonymous inner class. Use new
479 getSortedTableData RPC method when column sort is requested. Set all
480 columns sortable and add an AsyncHandler to activate sorting in the
482 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
483 method getSortedTableData(). Cleanup other method signatures.
484 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
485 new method getSortedTableData(). Cleanup other method signatures.
486 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
487 Implement getSortedTableData() and getTableData() methods by using a
488 private helper method with the appropriate parameters filled in. Use
489 user supplied sort clause when supplied, otherwise fall back to
490 sorting by the primary key. Move destroy() method to be underneath
491 constructor for readability. Cleanup comments.
493 2011-03-03 Ben Konrath <ben@bagu.org>
495 Add support for colour text and colour backgrounds to the layout list cells.
497 Only the cell backgrounds are coloured which leaves a gap between the
498 cells that isn't coloured. I need to figure out a way to set
499 'style=background-colour:' on the whole column rather than just the
502 * TODO: Add a note about colouring the background of the whole column.
503 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
504 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
505 render the coloured text and backgrounds. Use GlomField[] for the row type.
506 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
508 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
509 GlomField[] for the row type.
510 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
511 GlomField[] for the row type. Set the text, text colour and background
512 colour in the GlomField objects as specified in the glom document. Add
513 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
514 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
515 the glom field text, foreground colour and background colour.
517 2011-03-02 Ben Konrath <ben@bagu.org>
519 Don't display hidden tables in the combo box.
521 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
523 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
524 code to ignore hidden tables using ArrayLists for the table names and
526 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
527 tableNames to use ArrayLists instead of String[]. Update getter and setter
530 2011-03-01 Ben Konrath <ben@bagu.org>
532 Add support for Date and Time number types.
534 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
535 Implement formatting for Date and Time values. Change the default glom
536 file to small business example.
538 2011-03-01 Ben Konrath <ben@bagu.org>
540 Add support for formatting glom types as specified in the glom file.
542 Formatting isn't finished yet - I still need to add support for Date
545 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
546 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
547 checks for null values in JDBC cleanup code and catch all exceptions
548 instead of just SQLExceptions.
549 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
552 2011-03-01 Ben Konrath <ben@bagu.org>
554 Use GWT 2.2.0 instead of 2.1.1.
556 * pom.xml: Change GWT version numbers.
558 2011-03-01 Ben Konrath <ben@bagu.org>
560 A few small code cleanups.
562 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
564 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
565 unnecessary object creation in constructor.
566 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
567 unnecessary object creation in constructor.
569 2011-02-28 Ben Konrath <ben@bagu.org>
571 Add file for TODO list.
575 2011-02-18 Ben Konrath <ben@bagu.org>
577 Enable the CellTable Pager when more than 20 rows need to be viewed.
579 The Pager will automatically become active when the results are larger
580 than the CellTable size which is currently set to 20 lines.
582 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
583 name on debug statment in RPC call in LayoutListDataProvider, add
584 numRows parameter to LayoutListView constructor, propperly set rowCount
586 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
587 name on debug statment in RPC call, use LayoutListTable object in RPC
588 calls, pass rowCount to LayoutListView.
589 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
590 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
592 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
593 interface for changes in OnlineGlomService.
594 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
595 getLayoutListHeaders() to getLayoutListTable() and return
596 LayoutListTable. Using this object allows me to pass other information
597 about the LayoutList like the expected number of rows in the result set.
598 The Connection object from the connection pool is now propperly closed.
599 Only the requested number of lines are returned to the client in
601 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
602 GlomTable and add columnTitles and numRows.
604 2011-02-18 Ben Konrath <ben@bagu.org>
606 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
608 This is a small performance boost. I'll use GlomTable to get the required
609 layoutlist information.
611 * src/main/java/org/glom/web/client/OnlineGlom.java:
612 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
613 * src/main/java/org/glom/web/shared/GlomDocument.java:
615 2011-02-18 Ben Konrath <ben@bagu.org>
617 Add option to turn off formatting in JDT formatter preferences.
619 * .settings/org.eclipse.jdt.core.prefs:
621 2011-02-18 Ben Konrath <ben@bagu.org>
623 Rename LayoutList to LayoutListView.
625 I'm working towards setting things up to easily use MVP when the time
628 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
630 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
633 2011-02-17 Ben Konrath <ben@bagu.org>
635 Move LayoutListDataProvider class into LayoutList.java.
637 * src/main/java/org/glom/web/client/LayoutList.java:
639 2011-02-17 Ben Konrath <ben@bagu.org>
641 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
643 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
645 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
646 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
647 from LibGlomServer.java.
648 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
649 Rename from LibGlomServiceAsync.java.
650 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
651 Rename from LibGlomServiceImpl.java.
652 * src/main/webapp/WEB-INF/web.xml: Update configuration.
654 2011-02-17 Ben Konrath <ben@bagu.org>
658 * .settings/org.eclipse.jdt.core.prefs:
660 2011-02-17 Ben Konrath <ben@bagu.org>
662 Move GWT-RPC objects to shared package (where they should be).
664 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
665 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
666 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
667 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
668 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
669 org.glom.web.shared package.
670 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
671 org.glom.web.shared package.
672 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
673 directory in compilation to javascript.
675 2011-02-16 Ben Konrath <ben@bagu.org>
677 Add sort clause to the sql query that grabs table information.
679 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
680 if one of the columns is a primary key.
682 2011-02-16 Ben Konrath <ben@bagu.org>
684 Disable generateAsync feature of gwt-maven.
686 The generated interface does not correctly match the methods in LibGlomService
687 and the generated singleton Util inner-class doesn't respect the servlet
690 * pom.xml: Turn off generateAsync feature.
691 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
692 with singleton Util inner-class.
694 2011-02-14 Ben Konrath <ben@bagu.org>
696 Add LGPL v3 licence notices.
698 Followed directions listed here:
699 http://www.gnu.org/licenses/gpl-howto.html
701 * COPYING: This file is a copy of the GPL v3.
702 * COPYING.LESSER: This file is a copy of the LGPL v3.
703 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
705 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
707 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
709 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
711 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
713 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
715 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
718 2011-02-14 Ben Konrath <ben@bagu.org>
720 Use ArrayList instead of Array in GWT-RPC calls.
722 Apparently this gives a slight performance boost to the compiled
725 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
727 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
730 2011-02-14 Ben Konrath <ben@bagu.org>
732 Access data from a postgres db rather than the example glom file.
734 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
735 compile down to obfuscated javascript.
736 * pom.xml: Add c3p0 and postgres JDBC libraries.
737 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
738 using a postgres db accessed through the c3p0 connection pooling library.
740 2011-02-14 Ben Konrath <ben@bagu.org>
742 Update Java formatter settings.
744 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
746 2011-02-02 Ben Konrath <ben@bagu.org>
748 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
750 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
752 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
753 the compiled webapp directory that Eclipse uses as we're using Maven now.
754 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
755 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
757 * pom.xml: Format file, change target Java version to 1.6.
759 2011-02-02 Ben Konrath <ben@bagu.org>
761 Add information about a deployment related issue.
763 * README: Add Notes section with the problem outlined.
765 2011-02-02 Ben Konrath <ben@bagu.org>
767 Call Glom.libglom_deinit() when the servlet is shutdown.
769 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
770 Glom.libglom_deinit() to destroy() method.
772 2011-01-28 Ben Konrath <ben@bagu.org>
774 Use generated Util class to get the RPC Async interface.
776 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
778 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
779 getInstance() method to get a reference to the RPC Async interface.
780 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
781 getInstance() method to get a reference to the RPC Async interface, remove
782 the now unused getLibGlomServiceProxy() method.
784 2011-01-27 Ben Konrath <ben@bagu.org>
786 Cleanup ChangeLog entry from previous commit.
788 * ChangeLog: Group logical changes together and add comments.
790 2011-01-25 Ben Konrath <ben@bagu.org>
792 Convert to gwt-maven project.
794 * .gitignore: Update for new project structure.
795 * README: New file with a link to the online documentation.
796 * pom.xml: The generated maven configuration file with some tweaks.
798 Add / update Eclipse settings. These files are a merge of the files that
799 were generated with the gwt-maven plugin and the files we were previously
803 * .settings/.jsdtscope:
804 * .settings/com.google.gdt.eclipse.core.prefs:
805 * .settings/com.google.gwt.eclipse.core.prefs:
806 * .settings/org.eclipse.jdt.core.prefs:
807 * .settings/org.eclipse.wst.common.component:
808 * .settings/org.eclipse.wst.common.project.facet.core.xml:
809 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
810 * .settings/org.maven.ide.eclipse.prefs:
811 * OnlineGlomTest-dev.launch:
812 * OnlineGlomTest-prod.launch:
814 Java source files moved from the 'src' directory to the directory structure
816 * src/main/java/org/glom/web/client/GlomDocument.java:
817 * src/main/java/org/glom/web/client/GlomTable.java:
818 * src/main/java/org/glom/web/client/LayoutList.java:
819 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
820 * src/main/java/org/glom/web/client/LibGlomService.java:
821 * src/main/java/org/glom/web/client/OnlineGlom.java:
822 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
824 Non-functional property file used for translations. I included this as
825 reminder that it's something I need to sort out.
826 * src/main/resources/org/glom/web/client/Messages.properties:
828 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
829 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
831 The servlet configuration files moved from the 'war' directory.
832 * src/main/webapp/OnlineGlom.css:
833 * src/main/webapp/OnlineGlom.html:
834 * src/main/webapp/WEB-INF/web.xml:
836 Generated test files with most of the code commented out. I included these
837 so that it's easy to add tests when we're ready for them.
838 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
839 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
841 2011-01-25 Ben Konrath <ben@bagu.org>
843 Remove unused println.
845 * src/org/glom/web/server/LibGlomServiceImpl.java:
847 2011-01-25 Ben Konrath <ben@bagu.org>
849 Add project specific JDT settings.
851 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
852 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
854 2011-01-25 Ben Konrath <ben@bagu.org>
856 Populate celltable with example data.
858 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
859 * src/org/glom/web/client/GlomTable.java: Correct formatting.
860 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
861 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
862 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
863 asynchronously gets the example data.
864 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
865 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
866 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
867 curently selected table to be retrieved by other widgets.
868 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
869 implement getTableData() in a hacky way. This method needs to be updated
870 to grab information from the database when database creating is
873 2011-01-20 Ben Konrath <ben@bagu.org>
875 Set table headers when table dropBox changes.
877 * src/org/glom/web/client/GlomDocument.java: Correct some method
879 * src/org/glom/web/client/LibGlomService.java: Add method
880 to get list layout field names.
881 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
882 to get list layout field names.
883 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
884 widget for list layout table.
885 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
886 the table drop box and add new updateTable() method to asynchronously
887 get the layout list field names for the currently selected table.
888 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
889 implementation of getLayoutListHeaders() method.
890 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
892 2011-01-18 Ben Konrath <ben@bagu.org>
894 Make a listBox with table titles instead of the flexTable demo.
896 This is the start of something more useful.
898 * .classpath: Exclude a bunch of packages from the JVM that are
899 getting in the way of the Eclipse content assist.
900 * src/org/glom/web/client/GlomDocument.java:
901 * src/org/glom/web/client/GlomTable.java:
902 * src/org/glom/web/client/LibGlomService.java:
903 * src/org/glom/web/client/LibGlomServiceAsync.java:
904 * src/org/glom/web/client/OnlineGlom.java:
905 * src/org/glom/web/server/LibGlomServiceImpl.java:
906 * war/OnlineGlom.html:
907 * war/WEB-INF/web.xml:
909 211-01-13 Ben Konrath <ben@bagu.org>
911 Update to new java-libglom API.
913 * .gitignore: Ignore OnlineGlom.war.
914 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
916 2010-12-20 Ben Konrath <ben@bagu.org>
918 Add some basic style to the table listing.
920 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
921 header, print useful error message on async callback failure.
922 * war/OnlineGlom.css: Add style for table header, remove defaults
923 provided by the Eclipse project wizard.
925 2010-12-20 Ben Konrath <ben@bagu.org>
927 Load example file from installed glom dir.
929 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
930 provided by java-libglom to find the example file.
932 2010-12-20 Ben Konrath <ben@bagu.org>
934 Update Eclipse settings.
937 * .settings/com.google.gdt.eclipse.core.prefs:
938 * .settings/com.google.gwt.eclipse.core.prefs:
940 2010-12-17 Ben Konrath <ben@bagu.org>
944 * .classpath: New file.
945 * .gitignore: New file.
946 * .project: New file.
947 * .settings/com.google.gdt.eclipse.core.prefs: New file.
948 * .settings/com.google.gwt.eclipse.core.prefs: New file.
949 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
950 * src/org/glom/web/client/GlomTable.java: New file.
951 * src/org/glom/web/client/OnlineGlom.java: New file.
952 * src/org/glom/web/client/TableNameService.java: New file.
953 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
954 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
955 * war/OnlineGlom.css: New file.
956 * war/OnlineGlom.html: New file.
957 * war/WEB-INF/web.xml: New file.
958 * war/images/glom.png: New file.