1 2011-04-04 Ben Konrath <ben@bagu.org>
3 Start moving the existing OnlineGlom code to MVP.
5 This work is based on the GWT MVP framework that is documented here:
7 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
9 This is the third commit of a refactor that will allow OnlineGlom to
10 be used with multiple documents.
12 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
13 Interface for client factory which is used to get instances of various
14 classes throughout the app.
15 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
16 Implementation of client factory.
17 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
18 initialize the MVP framework.
19 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
20 New file. Activity manager for the main container widget. This is the
22 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
23 Maps place (URL) to its corresponding activity.
24 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
25 New file. This is just a place holder for a generated file.
26 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
27 New file. Represents the URL for the main Online Glom app.
28 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
29 for changes in LayoutListViewImpl.
30 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
31 interface for View. Move code to OnlineGlomViewImpl class.
32 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
33 file. Implementation of OnlineGlomView.
34 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
35 Place resources. Use ClientFactoryImpl by default.
37 2011-04-04 Ben Konrath <ben@bagu.org>
39 Move View classes to their own package.
41 This is the second commit of a refactor that will allow OnlineGlom to
42 be used with multiple documents.
44 * src/main/java/org/glom/web/client/OnlineGlom.java:
45 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
46 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
48 2011-04-02 Ben Konrath <ben@bagu.org>
50 Move UI code from the main module to its own class.
52 This is the first commit of a refactor that will allow OnlineGlom to be
53 used with multiple documents.
55 * src/main/java/org/glom/web/client/LayoutListView.java: Update
56 references to OnlineGlom to OnlineGlomView.
57 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
58 OnlineGlomView and instantiate it here.
59 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
60 represents the main OnlineGlomView with one document.
62 2011-04-01 Ben Konrath <ben@bagu.org>
64 Fix formatting of gwt.xml and add DTD.
66 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
68 2011-03-30 Ben Konrath <ben@bagu.org>
70 Propperly convert gdkColor string to html colour string.
72 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
74 2011-03-28 Ben Konrath <ben@bagu.org>
76 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
78 This implementation matches
79 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
80 readable and is not tied to Swig.
82 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
84 2011-03-28 Ben Konrath <ben@bagu.org>
86 Use read-only checkboxes for boolean field types.
88 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
89 in the CellTable based on the field type. It currently only
90 distinguishes between boolean and text columns but I'll need to add
91 support for more types.
92 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
93 column type in the ColumnInfo object. Add method to convert between the
94 glom field type enum in ColumnInfo and the glom field type in libglom.
95 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
97 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
98 getting and setting booleans.
100 2011-03-25 Ben Konrath <ben@bagu.org>
102 Don't get the Date twice from the ResultSet.
104 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
106 2011-03-25 Ben Konrath <ben@bagu.org>
108 Cleanup code in the servlet.
110 * TODO: Remove item about row count. Add item about testing row count
111 query with large number of rows.
112 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
113 spelling mistakes, change method parameter to be consistent with
116 2011-03-25 Ben Konrath <ben@bagu.org>
118 Add server side logging with the gwt-log library.
120 * .gitignore: Ignore the log file we're now producing.
121 * TODO: Add a couple TODO item for logging.
122 * pom.xml: Add gwt-log and log4j as a dependency.
123 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
124 logging of errors, warnings and some important info.
125 * src/main/resources/log4j.properties: New file to configure log4j.
127 2011-03-24 Ben Konrath <ben@bagu.org>
129 Add a disable button for the Details view.
131 * src/main/java/org/glom/web/client/LayoutListView.java:
133 2011-03-22 Ben Konrath <ben@bagu.org>
135 Use a count query to get the number of rows for the list view pager.
137 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
139 2011-03-22 Ben Konrath <ben@bagu.org>
141 Add more TODO information about CellTable pager positioning.
145 2011-03-19 Ben Konrath <ben@bagu.org>
147 Add TODO item about CellTable pager positioning.
151 2011-03-18 Ben Konrath <ben@bagu.org>
153 Remove unneeded GlomFieldColumn class.
155 This is just a small code cleanup.
157 * src/main/java/org/glom/web/client/LayoutListView.java:
159 2011-03-18 Ben Konrath <ben@bagu.org>
161 Use cursor mode in the query that gets data for the list view.
163 I still need to fix the potential memory problem when getting the row
164 count for the list view.
166 * TODO: Add note about testing memory usage with large data sets. Add
167 item about fixing row counting with large data sets.
168 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
169 PostgreSQL JDBC driver into cursor mode when getting data for the
172 2011-03-15 Ben Konrath <ben@bagu.org>
174 Remove the GWT Container from the Eclipse build classpath.
176 The GWT dependencies are set by Maven so this isn't needed.
180 2011-03-15 Murray Cumming <murrayc@murrayc.com>
182 Added some earlier mockups to git, but not to the tarball dist.
184 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
185 Openismus. These hopefully show how we might structure the HTML so that
186 it can be styled easily with CSS. However, we probably need to adapt them
187 for the CSS structure that GWT dictates for common widgets.
189 2011-03-14 Ben Konrath <ben@bagu.org>
191 Locate OnlineGlom.properties using the ServletContext.
193 This is required to be able to locate the file in the deployed servlet.
195 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
196 Configure the database and glom document in in a helper method so
197 that the ServletContext can be used to locate OnlineGlom.properties.
198 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
199 src/main/webapp. This is the proper location for .properites files.
201 2011-03-12 Ben Konrath <ben@bagu.org>
203 Add note to README about why we're compiling down to obfuscated JavaScript.
207 2011-03-11 Ben Konrath <ben@bagu.org>
209 Use properties file to configure servlet.
211 This allows people to change the glom file path, db username and db
212 password without recompiling the code.
214 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
215 * src/main/webapp/OnlineGlom.properties:
217 2011-03-11 Ben Konrath <ben@bagu.org>
219 Use table fields in layout list view if the layout list is not defined.
221 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
222 Manually create a LayoutFieldVector for the query builder using the
223 table fields when a layout list is not defined in the glom file.
225 2011-03-11 Ben Konrath <ben@bagu.org>
227 Only show FIXME string for images when there's an image.
229 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
230 in this change are some small code cleanups.
232 2011-03-11 Ben Konrath <ben@bagu.org>
234 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
236 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
238 2011-03-11 Ben Konrath <ben@bagu.org>
240 Correctly set the index of the default table.
242 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
243 Correctly set the index of the default table. Add commented out example
246 2011-03-10 Ben Konrath <ben@bagu.org>
248 Add comment to pom.xml about the previous change.
250 * pom.xml: Add comment about the deployment issue so that it's obvious
251 why java-libglom is set to the provided scope.
253 2011-03-10 Ben Konrath <ben@bagu.org>
255 Change java-libglom dependency from compile to provided in pom.xml.
257 Since java-libglom uses jni it can only be loaded once and therefore
258 must be placed in $CATALINA_HOME/lib and not included in each war.
259 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
260 More information about this issue can be found in the Tomcat 6 release
261 notes in the "JNI Based Applications" section:
263 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
265 * README: Remove note about this issue. Deployment info should really
266 be on the wiki anyway so I'll add it right now.
267 * pom.xml: Change java-libglom dependency from compile to provided so
268 that it's copied in to the packaged war.
270 2011-03-09 Ben Konrath <ben@bagu.org>
272 Change to using a neutral locale for currency, date and time formatting.
274 This solves the problem of currency values being represented without a
275 space between the currency code and the number (e.g. "EUR5.89" is now
276 represented as "EUR 5.89"). More work is required when we implement
277 a locale preference setting.
279 * TODO: Add note about currency formatting issues with different
281 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
282 to using the neutral ROOT locale.
284 2011-03-09 Ben Konrath <ben@bagu.org>
286 Add support for currency codes that are not ISO 4217 codes.
288 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
289 the currency code defined in the glom file when it's not 3 characters
290 long or when Java doesn't recognize the string as an ISO 4217 code.
292 2011-03-08 Ben Konrath <ben@bagu.org>
294 Remove test classes, launch configurations and configuration.
296 The test stuff was getting in the way when creating the war. To make
297 the war file you can now do 'mvn clean package'. The packaged war file
298 will be in the target directory.
300 * .classpath: Remove unused classpathentry for tests and i18n.
301 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
302 property. Don't run test or i18n goals when packaging the war.
303 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
308 * OnlineGlomTest-dev.launch:
309 * OnlineGlomTest-prod.launch:
310 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
311 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
313 2011-03-07 Ben Konrath <ben@bagu.org>
315 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
317 These fixes allow me to use 'mvn deploy' to create the war file.
319 * .classpath: This generated config has been updated by Eclipse. This
320 change was probably triggered by me updating from Eclipse 3.6.1 to
322 * .gitignore: Add entry to ignore the directory
323 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
324 * .project: The generated config has been updated by Eclipse. This
325 change was probably triggered by me updating from Eclipse 3.6.1 to
327 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
328 so that Eclipse doesn't complain
329 * pom.xml: Update to gwt-maven-plugin 2.2.0.
330 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
331 'tests' directory to 'client' directory. This is the new
332 gwt-maven-plugin convension.
333 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
334 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
336 2011-03-07 Ben Konrath <ben@bagu.org>
338 Add support for horizontal alignment in the LayoutList columns.
340 * TODO: Remove item about horizontal alignment. Add item about
341 improvements to ColumnInfo.
342 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
343 alignment on the columns. Use ColumnInfo RPC object get the column
344 title and horizontal alignment.
345 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
346 LayoutListView creation with ColumnInfo RPC object.
347 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
348 a ColumnInfo object for every LayoutList columnn. Convert the
349 FieldFormatting.HorizontalAlignment to the correct
350 ColumnnInfo.HorizontatlAlignment with the new
351 getColumnInfoHorizontalAlignment helper method.
352 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
353 to encapsulate column information like alignment and title. This
354 could be used to set the colour instead of on a per cell field basis.
355 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
356 column title storage and retrieval with ColumnInfo.
358 2011-03-04 Ben Konrath <ben@bagu.org>
360 Add support for column sorting.
362 * src/main/java/org/glom/web/client/LayoutListView.java: Change
363 AsynDataProvider to be an anonymous inner class. Use new
364 getSortedTableData RPC method when column sort is requested. Set all
365 columns sortable and add an AsyncHandler to activate sorting in the
367 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
368 method getSortedTableData(). Cleanup other method signatures.
369 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
370 new method getSortedTableData(). Cleanup other method signatures.
371 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
372 Implement getSortedTableData() and getTableData() methods by using a
373 private helper method with the appropriate parameters filled in. Use
374 user supplied sort clause when supplied, otherwise fall back to
375 sorting by the primary key. Move destroy() method to be underneath
376 constructor for readability. Cleanup comments.
378 2011-03-03 Ben Konrath <ben@bagu.org>
380 Add support for colour text and colour backgrounds to the layout list cells.
382 Only the cell backgrounds are coloured which leaves a gap between the
383 cells that isn't coloured. I need to figure out a way to set
384 'style=background-colour:' on the whole column rather than just the
387 * TODO: Add a note about colouring the background of the whole column.
388 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
389 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
390 render the coloured text and backgrounds. Use GlomField[] for the row type.
391 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
393 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
394 GlomField[] for the row type.
395 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
396 GlomField[] for the row type. Set the text, text colour and background
397 colour in the GlomField objects as specified in the glom document. Add
398 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
399 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
400 the glom field text, foreground colour and background colour.
402 2011-03-02 Ben Konrath <ben@bagu.org>
404 Don't display hidden tables in the combo box.
406 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
408 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
409 code to ignore hidden tables using ArrayLists for the table names and
411 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
412 tableNames to use ArrayLists instead of String[]. Update getter and setter
415 2011-03-01 Ben Konrath <ben@bagu.org>
417 Add support for Date and Time number types.
419 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
420 Implement formatting for Date and Time values. Change the default glom
421 file to small business example.
423 2011-03-01 Ben Konrath <ben@bagu.org>
425 Add support for formatting glom types as specified in the glom file.
427 Formatting isn't finished yet - I still need to add support for Date
430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
431 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
432 checks for null values in JDBC cleanup code and catch all exceptions
433 instead of just SQLExceptions.
434 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
437 2011-03-01 Ben Konrath <ben@bagu.org>
439 Use GWT 2.2.0 instead of 2.1.1.
441 * pom.xml: Change GWT version numbers.
443 2011-03-01 Ben Konrath <ben@bagu.org>
445 A few small code cleanups.
447 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
449 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
450 unnecessary object creation in constructor.
451 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
452 unnecessary object creation in constructor.
454 2011-02-28 Ben Konrath <ben@bagu.org>
456 Add file for TODO list.
460 2011-02-18 Ben Konrath <ben@bagu.org>
462 Enable the CellTable Pager when more than 20 rows need to be viewed.
464 The Pager will automatically become active when the results are larger
465 than the CellTable size which is currently set to 20 lines.
467 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
468 name on debug statment in RPC call in LayoutListDataProvider, add
469 numRows parameter to LayoutListView constructor, propperly set rowCount
471 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
472 name on debug statment in RPC call, use LayoutListTable object in RPC
473 calls, pass rowCount to LayoutListView.
474 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
475 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
477 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
478 interface for changes in OnlineGlomService.
479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
480 getLayoutListHeaders() to getLayoutListTable() and return
481 LayoutListTable. Using this object allows me to pass other information
482 about the LayoutList like the expected number of rows in the result set.
483 The Connection object from the connection pool is now propperly closed.
484 Only the requested number of lines are returned to the client in
486 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
487 GlomTable and add columnTitles and numRows.
489 2011-02-18 Ben Konrath <ben@bagu.org>
491 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
493 This is a small performance boost. I'll use GlomTable to get the required
494 layoutlist information.
496 * src/main/java/org/glom/web/client/OnlineGlom.java:
497 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
498 * src/main/java/org/glom/web/shared/GlomDocument.java:
500 2011-02-18 Ben Konrath <ben@bagu.org>
502 Add option to turn off formatting in JDT formatter preferences.
504 * .settings/org.eclipse.jdt.core.prefs:
506 2011-02-18 Ben Konrath <ben@bagu.org>
508 Rename LayoutList to LayoutListView.
510 I'm working towards setting things up to easily use MVP when the time
513 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
515 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
518 2011-02-17 Ben Konrath <ben@bagu.org>
520 Move LayoutListDataProvider class into LayoutList.java.
522 * src/main/java/org/glom/web/client/LayoutList.java:
524 2011-02-17 Ben Konrath <ben@bagu.org>
526 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
528 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
530 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
531 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
532 from LibGlomServer.java.
533 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
534 Rename from LibGlomServiceAsync.java.
535 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
536 Rename from LibGlomServiceImpl.java.
537 * src/main/webapp/WEB-INF/web.xml: Update configuration.
539 2011-02-17 Ben Konrath <ben@bagu.org>
543 * .settings/org.eclipse.jdt.core.prefs:
545 2011-02-17 Ben Konrath <ben@bagu.org>
547 Move GWT-RPC objects to shared package (where they should be).
549 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
550 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
551 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
552 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
553 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
554 org.glom.web.shared package.
555 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
556 org.glom.web.shared package.
557 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
558 directory in compilation to javascript.
560 2011-02-16 Ben Konrath <ben@bagu.org>
562 Add sort clause to the sql query that grabs table information.
564 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
565 if one of the columns is a primary key.
567 2011-02-16 Ben Konrath <ben@bagu.org>
569 Disable generateAsync feature of gwt-maven.
571 The generated interface does not correctly match the methods in LibGlomService
572 and the generated singleton Util inner-class doesn't respect the servlet
575 * pom.xml: Turn off generateAsync feature.
576 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
577 with singleton Util inner-class.
579 2011-02-14 Ben Konrath <ben@bagu.org>
581 Add LGPL v3 licence notices.
583 Followed directions listed here:
584 http://www.gnu.org/licenses/gpl-howto.html
586 * COPYING: This file is a copy of the GPL v3.
587 * COPYING.LESSER: This file is a copy of the LGPL v3.
588 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
590 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
592 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
594 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
596 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
598 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
600 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
603 2011-02-14 Ben Konrath <ben@bagu.org>
605 Use ArrayList instead of Array in GWT-RPC calls.
607 Apparently this gives a slight performance boost to the compiled
610 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
612 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
615 2011-02-14 Ben Konrath <ben@bagu.org>
617 Access data from a postgres db rather than the example glom file.
619 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
620 compile down to obfuscated javascript.
621 * pom.xml: Add c3p0 and postgres JDBC libraries.
622 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
623 using a postgres db accessed through the c3p0 connection pooling library.
625 2011-02-14 Ben Konrath <ben@bagu.org>
627 Update Java formatter settings.
629 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
631 2011-02-02 Ben Konrath <ben@bagu.org>
633 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
635 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
637 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
638 the compiled webapp directory that Eclipse uses as we're using Maven now.
639 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
640 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
642 * pom.xml: Format file, change target Java version to 1.6.
644 2011-02-02 Ben Konrath <ben@bagu.org>
646 Add information about a deployment related issue.
648 * README: Add Notes section with the problem outlined.
650 2011-02-02 Ben Konrath <ben@bagu.org>
652 Call Glom.libglom_deinit() when the servlet is shutdown.
654 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
655 Glom.libglom_deinit() to destroy() method.
657 2011-01-28 Ben Konrath <ben@bagu.org>
659 Use generated Util class to get the RPC Async interface.
661 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
663 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
664 getInstance() method to get a reference to the RPC Async interface.
665 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
666 getInstance() method to get a reference to the RPC Async interface, remove
667 the now unused getLibGlomServiceProxy() method.
669 2011-01-27 Ben Konrath <ben@bagu.org>
671 Cleanup ChangeLog entry from previous commit.
673 * ChangeLog: Group logical changes together and add comments.
675 2011-01-25 Ben Konrath <ben@bagu.org>
677 Convert to gwt-maven project.
679 * .gitignore: Update for new project structure.
680 * README: New file with a link to the online documentation.
681 * pom.xml: The generated maven configuration file with some tweaks.
683 Add / update Eclipse settings. These files are a merge of the files that
684 were generated with the gwt-maven plugin and the files we were previously
688 * .settings/.jsdtscope:
689 * .settings/com.google.gdt.eclipse.core.prefs:
690 * .settings/com.google.gwt.eclipse.core.prefs:
691 * .settings/org.eclipse.jdt.core.prefs:
692 * .settings/org.eclipse.wst.common.component:
693 * .settings/org.eclipse.wst.common.project.facet.core.xml:
694 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
695 * .settings/org.maven.ide.eclipse.prefs:
696 * OnlineGlomTest-dev.launch:
697 * OnlineGlomTest-prod.launch:
699 Java source files moved from the 'src' directory to the directory structure
701 * src/main/java/org/glom/web/client/GlomDocument.java:
702 * src/main/java/org/glom/web/client/GlomTable.java:
703 * src/main/java/org/glom/web/client/LayoutList.java:
704 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
705 * src/main/java/org/glom/web/client/LibGlomService.java:
706 * src/main/java/org/glom/web/client/OnlineGlom.java:
707 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
709 Non-functional property file used for translations. I included this as
710 reminder that it's something I need to sort out.
711 * src/main/resources/org/glom/web/client/Messages.properties:
713 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
714 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
716 The servlet configuration files moved from the 'war' directory.
717 * src/main/webapp/OnlineGlom.css:
718 * src/main/webapp/OnlineGlom.html:
719 * src/main/webapp/WEB-INF/web.xml:
721 Generated test files with most of the code commented out. I included these
722 so that it's easy to add tests when we're ready for them.
723 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
724 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
726 2011-01-25 Ben Konrath <ben@bagu.org>
728 Remove unused println.
730 * src/org/glom/web/server/LibGlomServiceImpl.java:
732 2011-01-25 Ben Konrath <ben@bagu.org>
734 Add project specific JDT settings.
736 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
737 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
739 2011-01-25 Ben Konrath <ben@bagu.org>
741 Populate celltable with example data.
743 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
744 * src/org/glom/web/client/GlomTable.java: Correct formatting.
745 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
746 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
747 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
748 asynchronously gets the example data.
749 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
750 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
751 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
752 curently selected table to be retrieved by other widgets.
753 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
754 implement getTableData() in a hacky way. This method needs to be updated
755 to grab information from the database when database creating is
758 2011-01-20 Ben Konrath <ben@bagu.org>
760 Set table headers when table dropBox changes.
762 * src/org/glom/web/client/GlomDocument.java: Correct some method
764 * src/org/glom/web/client/LibGlomService.java: Add method
765 to get list layout field names.
766 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
767 to get list layout field names.
768 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
769 widget for list layout table.
770 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
771 the table drop box and add new updateTable() method to asynchronously
772 get the layout list field names for the currently selected table.
773 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
774 implementation of getLayoutListHeaders() method.
775 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
777 2011-01-18 Ben Konrath <ben@bagu.org>
779 Make a listBox with table titles instead of the flexTable demo.
781 This is the start of something more useful.
783 * .classpath: Exclude a bunch of packages from the JVM that are
784 getting in the way of the Eclipse content assist.
785 * src/org/glom/web/client/GlomDocument.java:
786 * src/org/glom/web/client/GlomTable.java:
787 * src/org/glom/web/client/LibGlomService.java:
788 * src/org/glom/web/client/LibGlomServiceAsync.java:
789 * src/org/glom/web/client/OnlineGlom.java:
790 * src/org/glom/web/server/LibGlomServiceImpl.java:
791 * war/OnlineGlom.html:
792 * war/WEB-INF/web.xml:
794 211-01-13 Ben Konrath <ben@bagu.org>
796 Update to new java-libglom API.
798 * .gitignore: Ignore OnlineGlom.war.
799 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
801 2010-12-20 Ben Konrath <ben@bagu.org>
803 Add some basic style to the table listing.
805 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
806 header, print useful error message on async callback failure.
807 * war/OnlineGlom.css: Add style for table header, remove defaults
808 provided by the Eclipse project wizard.
810 2010-12-20 Ben Konrath <ben@bagu.org>
812 Load example file from installed glom dir.
814 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
815 provided by java-libglom to find the example file.
817 2010-12-20 Ben Konrath <ben@bagu.org>
819 Update Eclipse settings.
822 * .settings/com.google.gdt.eclipse.core.prefs:
823 * .settings/com.google.gwt.eclipse.core.prefs:
825 2010-12-17 Ben Konrath <ben@bagu.org>
829 * .classpath: New file.
830 * .gitignore: New file.
831 * .project: New file.
832 * .settings/com.google.gdt.eclipse.core.prefs: New file.
833 * .settings/com.google.gwt.eclipse.core.prefs: New file.
834 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
835 * src/org/glom/web/client/GlomTable.java: New file.
836 * src/org/glom/web/client/OnlineGlom.java: New file.
837 * src/org/glom/web/client/TableNameService.java: New file.
838 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
839 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
840 * war/OnlineGlom.css: New file.
841 * war/OnlineGlom.html: New file.
842 * war/WEB-INF/web.xml: New file.
843 * war/images/glom.png: New file.