1 2011-04-11 Ben Konrath <ben@bagu.org>
3 Remove unnecessary @Override in DocumentSelectionViewImpl.
5 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
7 2011-04-11 Ben Konrath <ben@bagu.org>
9 Remove center alignment in DocumentSelectionView.
11 The title element is still centred but the document titles and bottom
12 sentence are both left-aligned.
14 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
16 2011-04-11 Ben Konrath <ben@bagu.org>
18 Change 'Demo' naming convention to 'Document'.
20 This is just a rename refactor with no functional changes to the code.
22 * src/main/java/org/glom/web/client/ClientFactory.java:
23 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
24 * src/main/java/org/glom/web/client/OnlineGlom.java:
25 * src/main/java/org/glom/web/client/OnlineGlomService.java:
26 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
27 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
28 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
29 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
30 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
31 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
32 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
33 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
34 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
36 2011-04-08 Ben Konrath <ben@bagu.org>
38 Remove FIXME from safeLongToInt() method.
40 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
43 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
45 2011-04-08 Ben Konrath <ben@bagu.org>
47 Display an error if no glom documents are found in the specified directory.
49 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
50 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
51 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
52 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
54 2011-04-08 Ben Konrath <ben@bagu.org>
56 Add copyright header to one more file ... oops.
58 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
60 2011-04-08 Ben Konrath <ben@bagu.org>
62 Add copyright header to files without it.
64 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
65 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
66 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
67 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
68 * src/main/java/org/glom/web/shared/ColumnInfo.java:
69 * src/main/java/org/glom/web/shared/GlomField.java:
71 2011-04-08 Ben Konrath <ben@bagu.org>
73 Add support for accessing multiple glom documents in the servlet.
75 This completes the demo selection functionality.
77 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
78 document title to methods.
79 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
80 document title to methods.
81 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
82 Set browser window title when the activity starts. Correct name of
83 document title variable.
84 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
85 Set browser window title when the activity starts. Set the table
86 selector change handler after table selector has been set. Clear the
87 OnlineGlomView when the activity has been stopped.
88 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
89 document title as the place token. Use "#Document:" instead of
90 "#OnlineGlomPlace:" in the URL.
91 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
92 Change heading to "Online Glom"
93 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
94 document title in RPC methods.
95 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
96 setDocumentTitle() method. Add clear() method.
97 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
98 setDocumentTitle() method. Implement clear() method which removes the
99 change handler on the ListBox, clears the ListBox and clears the
101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
102 Implement methods with document title. Keep track for the configured
103 glom documents and their corresponding JDBC configurations in a hash
104 table. This information is retrieved using the document title as the
105 key in the hash table.
106 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
107 document title field as it's no longer needed.
109 2011-04-08 Ben Konrath <ben@bagu.org>
111 Update the Eclipse JDT configuration.
113 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
114 methods. Automatically add the copyright header to new files.
116 2011-04-05 Ben Konrath <ben@bagu.org>
118 Add new page for demo selection.
120 This patch adds all the components required to view and start an
121 OnlineGlom demo by clicking on the desired hyperlink. The user is
122 able to return to the demo selection page with the browser's back
123 button. I still need to modify the servlet to work with multiple
124 documents so all demo links will load the file defined in the
125 OnlineGlom.properties.
127 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
128 This is only useful during development so we don't need to save it.
129 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
130 get a reference to the DemoSelectionView.
131 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
132 method to get a reference to the DemoSelectionView.
133 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
134 default view to DemoSelectionView.
135 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
136 to get glom document titles for glom files in a hard-coded directory.
137 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
138 method to get glom document titles for glom files in a hard-coded
140 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
141 Presenter for DemoSelectionView.
142 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
143 for DemoSelectionView.
144 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
145 Update for DemoSelectionView.
146 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
147 Basic 'Place' implementation for the DemoSelectionView.
148 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
149 The interface for the DemoSelectionView.
150 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
151 The implementation of the DemoSelectionView.
152 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
153 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
154 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
155 implementation of method to get glom document titles for glom files
156 in a hard-coded directory.
157 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
158 on longer being used.
159 * src/main/webapp/glom.png: Glom logo.
161 2011-04-05 Ben Konrath <ben@bagu.org>
163 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
165 This is the forth and final commit of a refactor that will allow
166 OnlineGlom to be used with multiple documents.
168 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
169 Move RPC code from OnlineGlomViewImpl to this class.
170 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
172 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
173 RPC code to the presenter class (the P in MVP).
175 2011-04-04 Ben Konrath <ben@bagu.org>
177 Start moving the existing OnlineGlom code to MVP.
179 This work is based on the GWT MVP framework that is documented here:
181 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
183 This is the third commit of a refactor that will allow OnlineGlom to
184 be used with multiple documents.
186 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
187 Interface for client factory which is used to get instances of various
188 classes throughout the app.
189 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
190 Implementation of client factory.
191 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
192 initialize the MVP framework.
193 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
194 New file. Activity manager for the main container widget. This is the
196 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
197 Maps place (URL) to its corresponding activity.
198 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
199 New file. This is just a place holder for a generated file.
200 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
201 New file. Represents the URL for the main Online Glom app.
202 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
203 for changes in LayoutListViewImpl.
204 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
205 interface for View. Move code to OnlineGlomViewImpl class.
206 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
207 file. Implementation of OnlineGlomView.
208 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
209 Place resources. Use ClientFactoryImpl by default.
211 2011-04-04 Ben Konrath <ben@bagu.org>
213 Move View classes to their own package.
215 This is the second commit of a refactor that will allow OnlineGlom to
216 be used with multiple documents.
218 * src/main/java/org/glom/web/client/OnlineGlom.java:
219 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
220 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
222 2011-04-02 Ben Konrath <ben@bagu.org>
224 Move UI code from the main module to its own class.
226 This is the first commit of a refactor that will allow OnlineGlom to be
227 used with multiple documents.
229 * src/main/java/org/glom/web/client/LayoutListView.java: Update
230 references to OnlineGlom to OnlineGlomView.
231 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
232 OnlineGlomView and instantiate it here.
233 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
234 represents the main OnlineGlomView with one document.
236 2011-04-01 Ben Konrath <ben@bagu.org>
238 Fix formatting of gwt.xml and add DTD.
240 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
242 2011-03-30 Ben Konrath <ben@bagu.org>
244 Propperly convert gdkColor string to html colour string.
246 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
248 2011-03-28 Ben Konrath <ben@bagu.org>
250 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
252 This implementation matches
253 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
254 readable and is not tied to Swig.
256 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
258 2011-03-28 Ben Konrath <ben@bagu.org>
260 Use read-only checkboxes for boolean field types.
262 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
263 in the CellTable based on the field type. It currently only
264 distinguishes between boolean and text columns but I'll need to add
265 support for more types.
266 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
267 column type in the ColumnInfo object. Add method to convert between the
268 glom field type enum in ColumnInfo and the glom field type in libglom.
269 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
271 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
272 getting and setting booleans.
274 2011-03-25 Ben Konrath <ben@bagu.org>
276 Don't get the Date twice from the ResultSet.
278 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
280 2011-03-25 Ben Konrath <ben@bagu.org>
282 Cleanup code in the servlet.
284 * TODO: Remove item about row count. Add item about testing row count
285 query with large number of rows.
286 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
287 spelling mistakes, change method parameter to be consistent with
290 2011-03-25 Ben Konrath <ben@bagu.org>
292 Add server side logging with the gwt-log library.
294 * .gitignore: Ignore the log file we're now producing.
295 * TODO: Add a couple TODO item for logging.
296 * pom.xml: Add gwt-log and log4j as a dependency.
297 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
298 logging of errors, warnings and some important info.
299 * src/main/resources/log4j.properties: New file to configure log4j.
301 2011-03-24 Ben Konrath <ben@bagu.org>
303 Add a disable button for the Details view.
305 * src/main/java/org/glom/web/client/LayoutListView.java:
307 2011-03-22 Ben Konrath <ben@bagu.org>
309 Use a count query to get the number of rows for the list view pager.
311 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
313 2011-03-22 Ben Konrath <ben@bagu.org>
315 Add more TODO information about CellTable pager positioning.
319 2011-03-19 Ben Konrath <ben@bagu.org>
321 Add TODO item about CellTable pager positioning.
325 2011-03-18 Ben Konrath <ben@bagu.org>
327 Remove unneeded GlomFieldColumn class.
329 This is just a small code cleanup.
331 * src/main/java/org/glom/web/client/LayoutListView.java:
333 2011-03-18 Ben Konrath <ben@bagu.org>
335 Use cursor mode in the query that gets data for the list view.
337 I still need to fix the potential memory problem when getting the row
338 count for the list view.
340 * TODO: Add note about testing memory usage with large data sets. Add
341 item about fixing row counting with large data sets.
342 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
343 PostgreSQL JDBC driver into cursor mode when getting data for the
346 2011-03-15 Ben Konrath <ben@bagu.org>
348 Remove the GWT Container from the Eclipse build classpath.
350 The GWT dependencies are set by Maven so this isn't needed.
354 2011-03-15 Murray Cumming <murrayc@murrayc.com>
356 Added some earlier mockups to git, but not to the tarball dist.
358 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
359 Openismus. These hopefully show how we might structure the HTML so that
360 it can be styled easily with CSS. However, we probably need to adapt them
361 for the CSS structure that GWT dictates for common widgets.
363 2011-03-14 Ben Konrath <ben@bagu.org>
365 Locate OnlineGlom.properties using the ServletContext.
367 This is required to be able to locate the file in the deployed servlet.
369 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
370 Configure the database and glom document in in a helper method so
371 that the ServletContext can be used to locate OnlineGlom.properties.
372 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
373 src/main/webapp. This is the proper location for .properites files.
375 2011-03-12 Ben Konrath <ben@bagu.org>
377 Add note to README about why we're compiling down to obfuscated JavaScript.
381 2011-03-11 Ben Konrath <ben@bagu.org>
383 Use properties file to configure servlet.
385 This allows people to change the glom file path, db username and db
386 password without recompiling the code.
388 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
389 * src/main/webapp/OnlineGlom.properties:
391 2011-03-11 Ben Konrath <ben@bagu.org>
393 Use table fields in layout list view if the layout list is not defined.
395 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
396 Manually create a LayoutFieldVector for the query builder using the
397 table fields when a layout list is not defined in the glom file.
399 2011-03-11 Ben Konrath <ben@bagu.org>
401 Only show FIXME string for images when there's an image.
403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
404 in this change are some small code cleanups.
406 2011-03-11 Ben Konrath <ben@bagu.org>
408 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
410 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
412 2011-03-11 Ben Konrath <ben@bagu.org>
414 Correctly set the index of the default table.
416 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
417 Correctly set the index of the default table. Add commented out example
420 2011-03-10 Ben Konrath <ben@bagu.org>
422 Add comment to pom.xml about the previous change.
424 * pom.xml: Add comment about the deployment issue so that it's obvious
425 why java-libglom is set to the provided scope.
427 2011-03-10 Ben Konrath <ben@bagu.org>
429 Change java-libglom dependency from compile to provided in pom.xml.
431 Since java-libglom uses jni it can only be loaded once and therefore
432 must be placed in $CATALINA_HOME/lib and not included in each war.
433 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
434 More information about this issue can be found in the Tomcat 6 release
435 notes in the "JNI Based Applications" section:
437 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
439 * README: Remove note about this issue. Deployment info should really
440 be on the wiki anyway so I'll add it right now.
441 * pom.xml: Change java-libglom dependency from compile to provided so
442 that it's copied in to the packaged war.
444 2011-03-09 Ben Konrath <ben@bagu.org>
446 Change to using a neutral locale for currency, date and time formatting.
448 This solves the problem of currency values being represented without a
449 space between the currency code and the number (e.g. "EUR5.89" is now
450 represented as "EUR 5.89"). More work is required when we implement
451 a locale preference setting.
453 * TODO: Add note about currency formatting issues with different
455 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
456 to using the neutral ROOT locale.
458 2011-03-09 Ben Konrath <ben@bagu.org>
460 Add support for currency codes that are not ISO 4217 codes.
462 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
463 the currency code defined in the glom file when it's not 3 characters
464 long or when Java doesn't recognize the string as an ISO 4217 code.
466 2011-03-08 Ben Konrath <ben@bagu.org>
468 Remove test classes, launch configurations and configuration.
470 The test stuff was getting in the way when creating the war. To make
471 the war file you can now do 'mvn clean package'. The packaged war file
472 will be in the target directory.
474 * .classpath: Remove unused classpathentry for tests and i18n.
475 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
476 property. Don't run test or i18n goals when packaging the war.
477 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
482 * OnlineGlomTest-dev.launch:
483 * OnlineGlomTest-prod.launch:
484 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
485 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
487 2011-03-07 Ben Konrath <ben@bagu.org>
489 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
491 These fixes allow me to use 'mvn deploy' to create the war file.
493 * .classpath: This generated config has been updated by Eclipse. This
494 change was probably triggered by me updating from Eclipse 3.6.1 to
496 * .gitignore: Add entry to ignore the directory
497 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
498 * .project: The generated config has been updated by Eclipse. This
499 change was probably triggered by me updating from Eclipse 3.6.1 to
501 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
502 so that Eclipse doesn't complain
503 * pom.xml: Update to gwt-maven-plugin 2.2.0.
504 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
505 'tests' directory to 'client' directory. This is the new
506 gwt-maven-plugin convension.
507 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
508 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
510 2011-03-07 Ben Konrath <ben@bagu.org>
512 Add support for horizontal alignment in the LayoutList columns.
514 * TODO: Remove item about horizontal alignment. Add item about
515 improvements to ColumnInfo.
516 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
517 alignment on the columns. Use ColumnInfo RPC object get the column
518 title and horizontal alignment.
519 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
520 LayoutListView creation with ColumnInfo RPC object.
521 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
522 a ColumnInfo object for every LayoutList columnn. Convert the
523 FieldFormatting.HorizontalAlignment to the correct
524 ColumnnInfo.HorizontatlAlignment with the new
525 getColumnInfoHorizontalAlignment helper method.
526 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
527 to encapsulate column information like alignment and title. This
528 could be used to set the colour instead of on a per cell field basis.
529 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
530 column title storage and retrieval with ColumnInfo.
532 2011-03-04 Ben Konrath <ben@bagu.org>
534 Add support for column sorting.
536 * src/main/java/org/glom/web/client/LayoutListView.java: Change
537 AsynDataProvider to be an anonymous inner class. Use new
538 getSortedTableData RPC method when column sort is requested. Set all
539 columns sortable and add an AsyncHandler to activate sorting in the
541 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
542 method getSortedTableData(). Cleanup other method signatures.
543 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
544 new method getSortedTableData(). Cleanup other method signatures.
545 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
546 Implement getSortedTableData() and getTableData() methods by using a
547 private helper method with the appropriate parameters filled in. Use
548 user supplied sort clause when supplied, otherwise fall back to
549 sorting by the primary key. Move destroy() method to be underneath
550 constructor for readability. Cleanup comments.
552 2011-03-03 Ben Konrath <ben@bagu.org>
554 Add support for colour text and colour backgrounds to the layout list cells.
556 Only the cell backgrounds are coloured which leaves a gap between the
557 cells that isn't coloured. I need to figure out a way to set
558 'style=background-colour:' on the whole column rather than just the
561 * TODO: Add a note about colouring the background of the whole column.
562 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
563 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
564 render the coloured text and backgrounds. Use GlomField[] for the row type.
565 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
567 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
568 GlomField[] for the row type.
569 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
570 GlomField[] for the row type. Set the text, text colour and background
571 colour in the GlomField objects as specified in the glom document. Add
572 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
573 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
574 the glom field text, foreground colour and background colour.
576 2011-03-02 Ben Konrath <ben@bagu.org>
578 Don't display hidden tables in the combo box.
580 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
582 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
583 code to ignore hidden tables using ArrayLists for the table names and
585 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
586 tableNames to use ArrayLists instead of String[]. Update getter and setter
589 2011-03-01 Ben Konrath <ben@bagu.org>
591 Add support for Date and Time number types.
593 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
594 Implement formatting for Date and Time values. Change the default glom
595 file to small business example.
597 2011-03-01 Ben Konrath <ben@bagu.org>
599 Add support for formatting glom types as specified in the glom file.
601 Formatting isn't finished yet - I still need to add support for Date
604 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
605 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
606 checks for null values in JDBC cleanup code and catch all exceptions
607 instead of just SQLExceptions.
608 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
611 2011-03-01 Ben Konrath <ben@bagu.org>
613 Use GWT 2.2.0 instead of 2.1.1.
615 * pom.xml: Change GWT version numbers.
617 2011-03-01 Ben Konrath <ben@bagu.org>
619 A few small code cleanups.
621 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
623 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
624 unnecessary object creation in constructor.
625 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
626 unnecessary object creation in constructor.
628 2011-02-28 Ben Konrath <ben@bagu.org>
630 Add file for TODO list.
634 2011-02-18 Ben Konrath <ben@bagu.org>
636 Enable the CellTable Pager when more than 20 rows need to be viewed.
638 The Pager will automatically become active when the results are larger
639 than the CellTable size which is currently set to 20 lines.
641 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
642 name on debug statment in RPC call in LayoutListDataProvider, add
643 numRows parameter to LayoutListView constructor, propperly set rowCount
645 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
646 name on debug statment in RPC call, use LayoutListTable object in RPC
647 calls, pass rowCount to LayoutListView.
648 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
649 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
651 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
652 interface for changes in OnlineGlomService.
653 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
654 getLayoutListHeaders() to getLayoutListTable() and return
655 LayoutListTable. Using this object allows me to pass other information
656 about the LayoutList like the expected number of rows in the result set.
657 The Connection object from the connection pool is now propperly closed.
658 Only the requested number of lines are returned to the client in
660 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
661 GlomTable and add columnTitles and numRows.
663 2011-02-18 Ben Konrath <ben@bagu.org>
665 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
667 This is a small performance boost. I'll use GlomTable to get the required
668 layoutlist information.
670 * src/main/java/org/glom/web/client/OnlineGlom.java:
671 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
672 * src/main/java/org/glom/web/shared/GlomDocument.java:
674 2011-02-18 Ben Konrath <ben@bagu.org>
676 Add option to turn off formatting in JDT formatter preferences.
678 * .settings/org.eclipse.jdt.core.prefs:
680 2011-02-18 Ben Konrath <ben@bagu.org>
682 Rename LayoutList to LayoutListView.
684 I'm working towards setting things up to easily use MVP when the time
687 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
689 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
692 2011-02-17 Ben Konrath <ben@bagu.org>
694 Move LayoutListDataProvider class into LayoutList.java.
696 * src/main/java/org/glom/web/client/LayoutList.java:
698 2011-02-17 Ben Konrath <ben@bagu.org>
700 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
702 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
704 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
705 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
706 from LibGlomServer.java.
707 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
708 Rename from LibGlomServiceAsync.java.
709 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
710 Rename from LibGlomServiceImpl.java.
711 * src/main/webapp/WEB-INF/web.xml: Update configuration.
713 2011-02-17 Ben Konrath <ben@bagu.org>
717 * .settings/org.eclipse.jdt.core.prefs:
719 2011-02-17 Ben Konrath <ben@bagu.org>
721 Move GWT-RPC objects to shared package (where they should be).
723 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
724 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
725 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
726 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
727 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
728 org.glom.web.shared package.
729 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
730 org.glom.web.shared package.
731 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
732 directory in compilation to javascript.
734 2011-02-16 Ben Konrath <ben@bagu.org>
736 Add sort clause to the sql query that grabs table information.
738 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
739 if one of the columns is a primary key.
741 2011-02-16 Ben Konrath <ben@bagu.org>
743 Disable generateAsync feature of gwt-maven.
745 The generated interface does not correctly match the methods in LibGlomService
746 and the generated singleton Util inner-class doesn't respect the servlet
749 * pom.xml: Turn off generateAsync feature.
750 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
751 with singleton Util inner-class.
753 2011-02-14 Ben Konrath <ben@bagu.org>
755 Add LGPL v3 licence notices.
757 Followed directions listed here:
758 http://www.gnu.org/licenses/gpl-howto.html
760 * COPYING: This file is a copy of the GPL v3.
761 * COPYING.LESSER: This file is a copy of the LGPL v3.
762 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
764 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
766 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
768 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
770 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
772 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
774 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
777 2011-02-14 Ben Konrath <ben@bagu.org>
779 Use ArrayList instead of Array in GWT-RPC calls.
781 Apparently this gives a slight performance boost to the compiled
784 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
786 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
789 2011-02-14 Ben Konrath <ben@bagu.org>
791 Access data from a postgres db rather than the example glom file.
793 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
794 compile down to obfuscated javascript.
795 * pom.xml: Add c3p0 and postgres JDBC libraries.
796 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
797 using a postgres db accessed through the c3p0 connection pooling library.
799 2011-02-14 Ben Konrath <ben@bagu.org>
801 Update Java formatter settings.
803 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
805 2011-02-02 Ben Konrath <ben@bagu.org>
807 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
809 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
811 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
812 the compiled webapp directory that Eclipse uses as we're using Maven now.
813 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
814 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
816 * pom.xml: Format file, change target Java version to 1.6.
818 2011-02-02 Ben Konrath <ben@bagu.org>
820 Add information about a deployment related issue.
822 * README: Add Notes section with the problem outlined.
824 2011-02-02 Ben Konrath <ben@bagu.org>
826 Call Glom.libglom_deinit() when the servlet is shutdown.
828 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
829 Glom.libglom_deinit() to destroy() method.
831 2011-01-28 Ben Konrath <ben@bagu.org>
833 Use generated Util class to get the RPC Async interface.
835 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
837 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
838 getInstance() method to get a reference to the RPC Async interface.
839 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
840 getInstance() method to get a reference to the RPC Async interface, remove
841 the now unused getLibGlomServiceProxy() method.
843 2011-01-27 Ben Konrath <ben@bagu.org>
845 Cleanup ChangeLog entry from previous commit.
847 * ChangeLog: Group logical changes together and add comments.
849 2011-01-25 Ben Konrath <ben@bagu.org>
851 Convert to gwt-maven project.
853 * .gitignore: Update for new project structure.
854 * README: New file with a link to the online documentation.
855 * pom.xml: The generated maven configuration file with some tweaks.
857 Add / update Eclipse settings. These files are a merge of the files that
858 were generated with the gwt-maven plugin and the files we were previously
862 * .settings/.jsdtscope:
863 * .settings/com.google.gdt.eclipse.core.prefs:
864 * .settings/com.google.gwt.eclipse.core.prefs:
865 * .settings/org.eclipse.jdt.core.prefs:
866 * .settings/org.eclipse.wst.common.component:
867 * .settings/org.eclipse.wst.common.project.facet.core.xml:
868 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
869 * .settings/org.maven.ide.eclipse.prefs:
870 * OnlineGlomTest-dev.launch:
871 * OnlineGlomTest-prod.launch:
873 Java source files moved from the 'src' directory to the directory structure
875 * src/main/java/org/glom/web/client/GlomDocument.java:
876 * src/main/java/org/glom/web/client/GlomTable.java:
877 * src/main/java/org/glom/web/client/LayoutList.java:
878 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
879 * src/main/java/org/glom/web/client/LibGlomService.java:
880 * src/main/java/org/glom/web/client/OnlineGlom.java:
881 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
883 Non-functional property file used for translations. I included this as
884 reminder that it's something I need to sort out.
885 * src/main/resources/org/glom/web/client/Messages.properties:
887 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
888 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
890 The servlet configuration files moved from the 'war' directory.
891 * src/main/webapp/OnlineGlom.css:
892 * src/main/webapp/OnlineGlom.html:
893 * src/main/webapp/WEB-INF/web.xml:
895 Generated test files with most of the code commented out. I included these
896 so that it's easy to add tests when we're ready for them.
897 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
898 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
900 2011-01-25 Ben Konrath <ben@bagu.org>
902 Remove unused println.
904 * src/org/glom/web/server/LibGlomServiceImpl.java:
906 2011-01-25 Ben Konrath <ben@bagu.org>
908 Add project specific JDT settings.
910 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
911 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
913 2011-01-25 Ben Konrath <ben@bagu.org>
915 Populate celltable with example data.
917 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
918 * src/org/glom/web/client/GlomTable.java: Correct formatting.
919 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
920 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
921 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
922 asynchronously gets the example data.
923 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
924 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
925 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
926 curently selected table to be retrieved by other widgets.
927 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
928 implement getTableData() in a hacky way. This method needs to be updated
929 to grab information from the database when database creating is
932 2011-01-20 Ben Konrath <ben@bagu.org>
934 Set table headers when table dropBox changes.
936 * src/org/glom/web/client/GlomDocument.java: Correct some method
938 * src/org/glom/web/client/LibGlomService.java: Add method
939 to get list layout field names.
940 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
941 to get list layout field names.
942 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
943 widget for list layout table.
944 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
945 the table drop box and add new updateTable() method to asynchronously
946 get the layout list field names for the currently selected table.
947 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
948 implementation of getLayoutListHeaders() method.
949 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
951 2011-01-18 Ben Konrath <ben@bagu.org>
953 Make a listBox with table titles instead of the flexTable demo.
955 This is the start of something more useful.
957 * .classpath: Exclude a bunch of packages from the JVM that are
958 getting in the way of the Eclipse content assist.
959 * src/org/glom/web/client/GlomDocument.java:
960 * src/org/glom/web/client/GlomTable.java:
961 * src/org/glom/web/client/LibGlomService.java:
962 * src/org/glom/web/client/LibGlomServiceAsync.java:
963 * src/org/glom/web/client/OnlineGlom.java:
964 * src/org/glom/web/server/LibGlomServiceImpl.java:
965 * war/OnlineGlom.html:
966 * war/WEB-INF/web.xml:
968 211-01-13 Ben Konrath <ben@bagu.org>
970 Update to new java-libglom API.
972 * .gitignore: Ignore OnlineGlom.war.
973 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
975 2010-12-20 Ben Konrath <ben@bagu.org>
977 Add some basic style to the table listing.
979 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
980 header, print useful error message on async callback failure.
981 * war/OnlineGlom.css: Add style for table header, remove defaults
982 provided by the Eclipse project wizard.
984 2010-12-20 Ben Konrath <ben@bagu.org>
986 Load example file from installed glom dir.
988 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
989 provided by java-libglom to find the example file.
991 2010-12-20 Ben Konrath <ben@bagu.org>
993 Update Eclipse settings.
996 * .settings/com.google.gdt.eclipse.core.prefs:
997 * .settings/com.google.gwt.eclipse.core.prefs:
999 2010-12-17 Ben Konrath <ben@bagu.org>
1003 * .classpath: New file.
1004 * .gitignore: New file.
1005 * .project: New file.
1006 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1007 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1008 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1009 * src/org/glom/web/client/GlomTable.java: New file.
1010 * src/org/glom/web/client/OnlineGlom.java: New file.
1011 * src/org/glom/web/client/TableNameService.java: New file.
1012 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1013 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1014 * war/OnlineGlom.css: New file.
1015 * war/OnlineGlom.html: New file.
1016 * war/WEB-INF/web.xml: New file.
1017 * war/images/glom.png: New file.