1 2011-04-05 Ben Konrath <ben@bagu.org>
3 Add new page for demo selection.
5 This patch adds all the components required to view and start an
6 OnlineGlom demo by clicking on the desired hyperlink. The user is
7 able to return to the demo selection page with the browser's back
8 button. I still need to modify the servlet to work with multiple
9 documents so all demo links will load the file defined in the
10 OnlineGlom.properties.
12 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
13 This is only useful during development so we don't need to save it.
14 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
15 get a reference to the DemoSelectionView.
16 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
17 method to get a reference to the DemoSelectionView.
18 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
19 default view to DemoSelectionView.
20 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
21 to get glom document titles for glom files in a hard-coded directory.
22 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
23 method to get glom document titles for glom files in a hard-coded
25 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
26 Presenter for DemoSelectionView.
27 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
28 for DemoSelectionView.
29 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
30 Update for DemoSelectionView.
31 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
32 Basic 'Place' implementation for the DemoSelectionView.
33 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
34 The interface for the DemoSelectionView.
35 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
36 The implementation of the DemoSelectionView.
37 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
38 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
39 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
40 implementation of method to get glom document titles for glom files
41 in a hard-coded directory.
42 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
44 * src/main/webapp/glom.png: Glom logo.
46 2011-04-05 Ben Konrath <ben@bagu.org>
48 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
50 This is the forth and final commit of a refactor that will allow
51 OnlineGlom to be used with multiple documents.
53 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
54 Move RPC code from OnlineGlomViewImpl to this class.
55 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
57 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
58 RPC code to the presenter class (the P in MVP).
60 2011-04-04 Ben Konrath <ben@bagu.org>
62 Start moving the existing OnlineGlom code to MVP.
64 This work is based on the GWT MVP framework that is documented here:
66 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
68 This is the third commit of a refactor that will allow OnlineGlom to
69 be used with multiple documents.
71 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
72 Interface for client factory which is used to get instances of various
73 classes throughout the app.
74 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
75 Implementation of client factory.
76 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
77 initialize the MVP framework.
78 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
79 New file. Activity manager for the main container widget. This is the
81 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
82 Maps place (URL) to its corresponding activity.
83 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
84 New file. This is just a place holder for a generated file.
85 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
86 New file. Represents the URL for the main Online Glom app.
87 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
88 for changes in LayoutListViewImpl.
89 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
90 interface for View. Move code to OnlineGlomViewImpl class.
91 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
92 file. Implementation of OnlineGlomView.
93 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
94 Place resources. Use ClientFactoryImpl by default.
96 2011-04-04 Ben Konrath <ben@bagu.org>
98 Move View classes to their own package.
100 This is the second commit of a refactor that will allow OnlineGlom to
101 be used with multiple documents.
103 * src/main/java/org/glom/web/client/OnlineGlom.java:
104 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
105 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
107 2011-04-02 Ben Konrath <ben@bagu.org>
109 Move UI code from the main module to its own class.
111 This is the first commit of a refactor that will allow OnlineGlom to be
112 used with multiple documents.
114 * src/main/java/org/glom/web/client/LayoutListView.java: Update
115 references to OnlineGlom to OnlineGlomView.
116 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
117 OnlineGlomView and instantiate it here.
118 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
119 represents the main OnlineGlomView with one document.
121 2011-04-01 Ben Konrath <ben@bagu.org>
123 Fix formatting of gwt.xml and add DTD.
125 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
127 2011-03-30 Ben Konrath <ben@bagu.org>
129 Propperly convert gdkColor string to html colour string.
131 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
133 2011-03-28 Ben Konrath <ben@bagu.org>
135 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
137 This implementation matches
138 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
139 readable and is not tied to Swig.
141 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
143 2011-03-28 Ben Konrath <ben@bagu.org>
145 Use read-only checkboxes for boolean field types.
147 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
148 in the CellTable based on the field type. It currently only
149 distinguishes between boolean and text columns but I'll need to add
150 support for more types.
151 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
152 column type in the ColumnInfo object. Add method to convert between the
153 glom field type enum in ColumnInfo and the glom field type in libglom.
154 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
156 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
157 getting and setting booleans.
159 2011-03-25 Ben Konrath <ben@bagu.org>
161 Don't get the Date twice from the ResultSet.
163 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
165 2011-03-25 Ben Konrath <ben@bagu.org>
167 Cleanup code in the servlet.
169 * TODO: Remove item about row count. Add item about testing row count
170 query with large number of rows.
171 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
172 spelling mistakes, change method parameter to be consistent with
175 2011-03-25 Ben Konrath <ben@bagu.org>
177 Add server side logging with the gwt-log library.
179 * .gitignore: Ignore the log file we're now producing.
180 * TODO: Add a couple TODO item for logging.
181 * pom.xml: Add gwt-log and log4j as a dependency.
182 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
183 logging of errors, warnings and some important info.
184 * src/main/resources/log4j.properties: New file to configure log4j.
186 2011-03-24 Ben Konrath <ben@bagu.org>
188 Add a disable button for the Details view.
190 * src/main/java/org/glom/web/client/LayoutListView.java:
192 2011-03-22 Ben Konrath <ben@bagu.org>
194 Use a count query to get the number of rows for the list view pager.
196 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
198 2011-03-22 Ben Konrath <ben@bagu.org>
200 Add more TODO information about CellTable pager positioning.
204 2011-03-19 Ben Konrath <ben@bagu.org>
206 Add TODO item about CellTable pager positioning.
210 2011-03-18 Ben Konrath <ben@bagu.org>
212 Remove unneeded GlomFieldColumn class.
214 This is just a small code cleanup.
216 * src/main/java/org/glom/web/client/LayoutListView.java:
218 2011-03-18 Ben Konrath <ben@bagu.org>
220 Use cursor mode in the query that gets data for the list view.
222 I still need to fix the potential memory problem when getting the row
223 count for the list view.
225 * TODO: Add note about testing memory usage with large data sets. Add
226 item about fixing row counting with large data sets.
227 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
228 PostgreSQL JDBC driver into cursor mode when getting data for the
231 2011-03-15 Ben Konrath <ben@bagu.org>
233 Remove the GWT Container from the Eclipse build classpath.
235 The GWT dependencies are set by Maven so this isn't needed.
239 2011-03-15 Murray Cumming <murrayc@murrayc.com>
241 Added some earlier mockups to git, but not to the tarball dist.
243 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
244 Openismus. These hopefully show how we might structure the HTML so that
245 it can be styled easily with CSS. However, we probably need to adapt them
246 for the CSS structure that GWT dictates for common widgets.
248 2011-03-14 Ben Konrath <ben@bagu.org>
250 Locate OnlineGlom.properties using the ServletContext.
252 This is required to be able to locate the file in the deployed servlet.
254 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
255 Configure the database and glom document in in a helper method so
256 that the ServletContext can be used to locate OnlineGlom.properties.
257 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
258 src/main/webapp. This is the proper location for .properites files.
260 2011-03-12 Ben Konrath <ben@bagu.org>
262 Add note to README about why we're compiling down to obfuscated JavaScript.
266 2011-03-11 Ben Konrath <ben@bagu.org>
268 Use properties file to configure servlet.
270 This allows people to change the glom file path, db username and db
271 password without recompiling the code.
273 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
274 * src/main/webapp/OnlineGlom.properties:
276 2011-03-11 Ben Konrath <ben@bagu.org>
278 Use table fields in layout list view if the layout list is not defined.
280 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
281 Manually create a LayoutFieldVector for the query builder using the
282 table fields when a layout list is not defined in the glom file.
284 2011-03-11 Ben Konrath <ben@bagu.org>
286 Only show FIXME string for images when there's an image.
288 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
289 in this change are some small code cleanups.
291 2011-03-11 Ben Konrath <ben@bagu.org>
293 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
295 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
297 2011-03-11 Ben Konrath <ben@bagu.org>
299 Correctly set the index of the default table.
301 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
302 Correctly set the index of the default table. Add commented out example
305 2011-03-10 Ben Konrath <ben@bagu.org>
307 Add comment to pom.xml about the previous change.
309 * pom.xml: Add comment about the deployment issue so that it's obvious
310 why java-libglom is set to the provided scope.
312 2011-03-10 Ben Konrath <ben@bagu.org>
314 Change java-libglom dependency from compile to provided in pom.xml.
316 Since java-libglom uses jni it can only be loaded once and therefore
317 must be placed in $CATALINA_HOME/lib and not included in each war.
318 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
319 More information about this issue can be found in the Tomcat 6 release
320 notes in the "JNI Based Applications" section:
322 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
324 * README: Remove note about this issue. Deployment info should really
325 be on the wiki anyway so I'll add it right now.
326 * pom.xml: Change java-libglom dependency from compile to provided so
327 that it's copied in to the packaged war.
329 2011-03-09 Ben Konrath <ben@bagu.org>
331 Change to using a neutral locale for currency, date and time formatting.
333 This solves the problem of currency values being represented without a
334 space between the currency code and the number (e.g. "EUR5.89" is now
335 represented as "EUR 5.89"). More work is required when we implement
336 a locale preference setting.
338 * TODO: Add note about currency formatting issues with different
340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
341 to using the neutral ROOT locale.
343 2011-03-09 Ben Konrath <ben@bagu.org>
345 Add support for currency codes that are not ISO 4217 codes.
347 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
348 the currency code defined in the glom file when it's not 3 characters
349 long or when Java doesn't recognize the string as an ISO 4217 code.
351 2011-03-08 Ben Konrath <ben@bagu.org>
353 Remove test classes, launch configurations and configuration.
355 The test stuff was getting in the way when creating the war. To make
356 the war file you can now do 'mvn clean package'. The packaged war file
357 will be in the target directory.
359 * .classpath: Remove unused classpathentry for tests and i18n.
360 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
361 property. Don't run test or i18n goals when packaging the war.
362 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
367 * OnlineGlomTest-dev.launch:
368 * OnlineGlomTest-prod.launch:
369 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
370 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
372 2011-03-07 Ben Konrath <ben@bagu.org>
374 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
376 These fixes allow me to use 'mvn deploy' to create the war file.
378 * .classpath: This generated config has been updated by Eclipse. This
379 change was probably triggered by me updating from Eclipse 3.6.1 to
381 * .gitignore: Add entry to ignore the directory
382 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
383 * .project: The generated config has been updated by Eclipse. This
384 change was probably triggered by me updating from Eclipse 3.6.1 to
386 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
387 so that Eclipse doesn't complain
388 * pom.xml: Update to gwt-maven-plugin 2.2.0.
389 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
390 'tests' directory to 'client' directory. This is the new
391 gwt-maven-plugin convension.
392 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
393 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
395 2011-03-07 Ben Konrath <ben@bagu.org>
397 Add support for horizontal alignment in the LayoutList columns.
399 * TODO: Remove item about horizontal alignment. Add item about
400 improvements to ColumnInfo.
401 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
402 alignment on the columns. Use ColumnInfo RPC object get the column
403 title and horizontal alignment.
404 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
405 LayoutListView creation with ColumnInfo RPC object.
406 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
407 a ColumnInfo object for every LayoutList columnn. Convert the
408 FieldFormatting.HorizontalAlignment to the correct
409 ColumnnInfo.HorizontatlAlignment with the new
410 getColumnInfoHorizontalAlignment helper method.
411 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
412 to encapsulate column information like alignment and title. This
413 could be used to set the colour instead of on a per cell field basis.
414 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
415 column title storage and retrieval with ColumnInfo.
417 2011-03-04 Ben Konrath <ben@bagu.org>
419 Add support for column sorting.
421 * src/main/java/org/glom/web/client/LayoutListView.java: Change
422 AsynDataProvider to be an anonymous inner class. Use new
423 getSortedTableData RPC method when column sort is requested. Set all
424 columns sortable and add an AsyncHandler to activate sorting in the
426 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
427 method getSortedTableData(). Cleanup other method signatures.
428 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
429 new method getSortedTableData(). Cleanup other method signatures.
430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
431 Implement getSortedTableData() and getTableData() methods by using a
432 private helper method with the appropriate parameters filled in. Use
433 user supplied sort clause when supplied, otherwise fall back to
434 sorting by the primary key. Move destroy() method to be underneath
435 constructor for readability. Cleanup comments.
437 2011-03-03 Ben Konrath <ben@bagu.org>
439 Add support for colour text and colour backgrounds to the layout list cells.
441 Only the cell backgrounds are coloured which leaves a gap between the
442 cells that isn't coloured. I need to figure out a way to set
443 'style=background-colour:' on the whole column rather than just the
446 * TODO: Add a note about colouring the background of the whole column.
447 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
448 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
449 render the coloured text and backgrounds. Use GlomField[] for the row type.
450 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
452 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
453 GlomField[] for the row type.
454 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
455 GlomField[] for the row type. Set the text, text colour and background
456 colour in the GlomField objects as specified in the glom document. Add
457 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
458 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
459 the glom field text, foreground colour and background colour.
461 2011-03-02 Ben Konrath <ben@bagu.org>
463 Don't display hidden tables in the combo box.
465 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
467 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
468 code to ignore hidden tables using ArrayLists for the table names and
470 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
471 tableNames to use ArrayLists instead of String[]. Update getter and setter
474 2011-03-01 Ben Konrath <ben@bagu.org>
476 Add support for Date and Time number types.
478 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
479 Implement formatting for Date and Time values. Change the default glom
480 file to small business example.
482 2011-03-01 Ben Konrath <ben@bagu.org>
484 Add support for formatting glom types as specified in the glom file.
486 Formatting isn't finished yet - I still need to add support for Date
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
490 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
491 checks for null values in JDBC cleanup code and catch all exceptions
492 instead of just SQLExceptions.
493 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
496 2011-03-01 Ben Konrath <ben@bagu.org>
498 Use GWT 2.2.0 instead of 2.1.1.
500 * pom.xml: Change GWT version numbers.
502 2011-03-01 Ben Konrath <ben@bagu.org>
504 A few small code cleanups.
506 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
508 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
509 unnecessary object creation in constructor.
510 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
511 unnecessary object creation in constructor.
513 2011-02-28 Ben Konrath <ben@bagu.org>
515 Add file for TODO list.
519 2011-02-18 Ben Konrath <ben@bagu.org>
521 Enable the CellTable Pager when more than 20 rows need to be viewed.
523 The Pager will automatically become active when the results are larger
524 than the CellTable size which is currently set to 20 lines.
526 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
527 name on debug statment in RPC call in LayoutListDataProvider, add
528 numRows parameter to LayoutListView constructor, propperly set rowCount
530 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
531 name on debug statment in RPC call, use LayoutListTable object in RPC
532 calls, pass rowCount to LayoutListView.
533 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
534 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
536 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
537 interface for changes in OnlineGlomService.
538 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
539 getLayoutListHeaders() to getLayoutListTable() and return
540 LayoutListTable. Using this object allows me to pass other information
541 about the LayoutList like the expected number of rows in the result set.
542 The Connection object from the connection pool is now propperly closed.
543 Only the requested number of lines are returned to the client in
545 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
546 GlomTable and add columnTitles and numRows.
548 2011-02-18 Ben Konrath <ben@bagu.org>
550 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
552 This is a small performance boost. I'll use GlomTable to get the required
553 layoutlist information.
555 * src/main/java/org/glom/web/client/OnlineGlom.java:
556 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
557 * src/main/java/org/glom/web/shared/GlomDocument.java:
559 2011-02-18 Ben Konrath <ben@bagu.org>
561 Add option to turn off formatting in JDT formatter preferences.
563 * .settings/org.eclipse.jdt.core.prefs:
565 2011-02-18 Ben Konrath <ben@bagu.org>
567 Rename LayoutList to LayoutListView.
569 I'm working towards setting things up to easily use MVP when the time
572 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
574 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
577 2011-02-17 Ben Konrath <ben@bagu.org>
579 Move LayoutListDataProvider class into LayoutList.java.
581 * src/main/java/org/glom/web/client/LayoutList.java:
583 2011-02-17 Ben Konrath <ben@bagu.org>
585 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
587 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
589 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
590 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
591 from LibGlomServer.java.
592 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
593 Rename from LibGlomServiceAsync.java.
594 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
595 Rename from LibGlomServiceImpl.java.
596 * src/main/webapp/WEB-INF/web.xml: Update configuration.
598 2011-02-17 Ben Konrath <ben@bagu.org>
602 * .settings/org.eclipse.jdt.core.prefs:
604 2011-02-17 Ben Konrath <ben@bagu.org>
606 Move GWT-RPC objects to shared package (where they should be).
608 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
609 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
610 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
611 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
612 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
613 org.glom.web.shared package.
614 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
615 org.glom.web.shared package.
616 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
617 directory in compilation to javascript.
619 2011-02-16 Ben Konrath <ben@bagu.org>
621 Add sort clause to the sql query that grabs table information.
623 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
624 if one of the columns is a primary key.
626 2011-02-16 Ben Konrath <ben@bagu.org>
628 Disable generateAsync feature of gwt-maven.
630 The generated interface does not correctly match the methods in LibGlomService
631 and the generated singleton Util inner-class doesn't respect the servlet
634 * pom.xml: Turn off generateAsync feature.
635 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
636 with singleton Util inner-class.
638 2011-02-14 Ben Konrath <ben@bagu.org>
640 Add LGPL v3 licence notices.
642 Followed directions listed here:
643 http://www.gnu.org/licenses/gpl-howto.html
645 * COPYING: This file is a copy of the GPL v3.
646 * COPYING.LESSER: This file is a copy of the LGPL v3.
647 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
649 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
651 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
653 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
655 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
657 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
659 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
662 2011-02-14 Ben Konrath <ben@bagu.org>
664 Use ArrayList instead of Array in GWT-RPC calls.
666 Apparently this gives a slight performance boost to the compiled
669 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
671 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
674 2011-02-14 Ben Konrath <ben@bagu.org>
676 Access data from a postgres db rather than the example glom file.
678 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
679 compile down to obfuscated javascript.
680 * pom.xml: Add c3p0 and postgres JDBC libraries.
681 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
682 using a postgres db accessed through the c3p0 connection pooling library.
684 2011-02-14 Ben Konrath <ben@bagu.org>
686 Update Java formatter settings.
688 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
690 2011-02-02 Ben Konrath <ben@bagu.org>
692 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
694 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
696 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
697 the compiled webapp directory that Eclipse uses as we're using Maven now.
698 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
699 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
701 * pom.xml: Format file, change target Java version to 1.6.
703 2011-02-02 Ben Konrath <ben@bagu.org>
705 Add information about a deployment related issue.
707 * README: Add Notes section with the problem outlined.
709 2011-02-02 Ben Konrath <ben@bagu.org>
711 Call Glom.libglom_deinit() when the servlet is shutdown.
713 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
714 Glom.libglom_deinit() to destroy() method.
716 2011-01-28 Ben Konrath <ben@bagu.org>
718 Use generated Util class to get the RPC Async interface.
720 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
722 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
723 getInstance() method to get a reference to the RPC Async interface.
724 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
725 getInstance() method to get a reference to the RPC Async interface, remove
726 the now unused getLibGlomServiceProxy() method.
728 2011-01-27 Ben Konrath <ben@bagu.org>
730 Cleanup ChangeLog entry from previous commit.
732 * ChangeLog: Group logical changes together and add comments.
734 2011-01-25 Ben Konrath <ben@bagu.org>
736 Convert to gwt-maven project.
738 * .gitignore: Update for new project structure.
739 * README: New file with a link to the online documentation.
740 * pom.xml: The generated maven configuration file with some tweaks.
742 Add / update Eclipse settings. These files are a merge of the files that
743 were generated with the gwt-maven plugin and the files we were previously
747 * .settings/.jsdtscope:
748 * .settings/com.google.gdt.eclipse.core.prefs:
749 * .settings/com.google.gwt.eclipse.core.prefs:
750 * .settings/org.eclipse.jdt.core.prefs:
751 * .settings/org.eclipse.wst.common.component:
752 * .settings/org.eclipse.wst.common.project.facet.core.xml:
753 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
754 * .settings/org.maven.ide.eclipse.prefs:
755 * OnlineGlomTest-dev.launch:
756 * OnlineGlomTest-prod.launch:
758 Java source files moved from the 'src' directory to the directory structure
760 * src/main/java/org/glom/web/client/GlomDocument.java:
761 * src/main/java/org/glom/web/client/GlomTable.java:
762 * src/main/java/org/glom/web/client/LayoutList.java:
763 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
764 * src/main/java/org/glom/web/client/LibGlomService.java:
765 * src/main/java/org/glom/web/client/OnlineGlom.java:
766 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
768 Non-functional property file used for translations. I included this as
769 reminder that it's something I need to sort out.
770 * src/main/resources/org/glom/web/client/Messages.properties:
772 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
773 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
775 The servlet configuration files moved from the 'war' directory.
776 * src/main/webapp/OnlineGlom.css:
777 * src/main/webapp/OnlineGlom.html:
778 * src/main/webapp/WEB-INF/web.xml:
780 Generated test files with most of the code commented out. I included these
781 so that it's easy to add tests when we're ready for them.
782 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
783 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
785 2011-01-25 Ben Konrath <ben@bagu.org>
787 Remove unused println.
789 * src/org/glom/web/server/LibGlomServiceImpl.java:
791 2011-01-25 Ben Konrath <ben@bagu.org>
793 Add project specific JDT settings.
795 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
796 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
798 2011-01-25 Ben Konrath <ben@bagu.org>
800 Populate celltable with example data.
802 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
803 * src/org/glom/web/client/GlomTable.java: Correct formatting.
804 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
805 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
806 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
807 asynchronously gets the example data.
808 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
809 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
810 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
811 curently selected table to be retrieved by other widgets.
812 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
813 implement getTableData() in a hacky way. This method needs to be updated
814 to grab information from the database when database creating is
817 2011-01-20 Ben Konrath <ben@bagu.org>
819 Set table headers when table dropBox changes.
821 * src/org/glom/web/client/GlomDocument.java: Correct some method
823 * src/org/glom/web/client/LibGlomService.java: Add method
824 to get list layout field names.
825 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
826 to get list layout field names.
827 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
828 widget for list layout table.
829 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
830 the table drop box and add new updateTable() method to asynchronously
831 get the layout list field names for the currently selected table.
832 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
833 implementation of getLayoutListHeaders() method.
834 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
836 2011-01-18 Ben Konrath <ben@bagu.org>
838 Make a listBox with table titles instead of the flexTable demo.
840 This is the start of something more useful.
842 * .classpath: Exclude a bunch of packages from the JVM that are
843 getting in the way of the Eclipse content assist.
844 * src/org/glom/web/client/GlomDocument.java:
845 * src/org/glom/web/client/GlomTable.java:
846 * src/org/glom/web/client/LibGlomService.java:
847 * src/org/glom/web/client/LibGlomServiceAsync.java:
848 * src/org/glom/web/client/OnlineGlom.java:
849 * src/org/glom/web/server/LibGlomServiceImpl.java:
850 * war/OnlineGlom.html:
851 * war/WEB-INF/web.xml:
853 211-01-13 Ben Konrath <ben@bagu.org>
855 Update to new java-libglom API.
857 * .gitignore: Ignore OnlineGlom.war.
858 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
860 2010-12-20 Ben Konrath <ben@bagu.org>
862 Add some basic style to the table listing.
864 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
865 header, print useful error message on async callback failure.
866 * war/OnlineGlom.css: Add style for table header, remove defaults
867 provided by the Eclipse project wizard.
869 2010-12-20 Ben Konrath <ben@bagu.org>
871 Load example file from installed glom dir.
873 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
874 provided by java-libglom to find the example file.
876 2010-12-20 Ben Konrath <ben@bagu.org>
878 Update Eclipse settings.
881 * .settings/com.google.gdt.eclipse.core.prefs:
882 * .settings/com.google.gwt.eclipse.core.prefs:
884 2010-12-17 Ben Konrath <ben@bagu.org>
888 * .classpath: New file.
889 * .gitignore: New file.
890 * .project: New file.
891 * .settings/com.google.gdt.eclipse.core.prefs: New file.
892 * .settings/com.google.gwt.eclipse.core.prefs: New file.
893 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
894 * src/org/glom/web/client/GlomTable.java: New file.
895 * src/org/glom/web/client/OnlineGlom.java: New file.
896 * src/org/glom/web/client/TableNameService.java: New file.
897 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
898 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
899 * war/OnlineGlom.css: New file.
900 * war/OnlineGlom.html: New file.
901 * war/WEB-INF/web.xml: New file.
902 * war/images/glom.png: New file.