1 2011-04-05 Ben Konrath <ben@bagu.org>
3 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
5 This is the forth and final commit of a refactor that will allow
6 OnlineGlom to be used with multiple documents.
8 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
9 Move RPC code from OnlineGlomViewImpl to this class.
10 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
12 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
13 RPC code to the presenter class (the P in MVP).
15 2011-04-04 Ben Konrath <ben@bagu.org>
17 Start moving the existing OnlineGlom code to MVP.
19 This work is based on the GWT MVP framework that is documented here:
21 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
23 This is the third commit of a refactor that will allow OnlineGlom to
24 be used with multiple documents.
26 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
27 Interface for client factory which is used to get instances of various
28 classes throughout the app.
29 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
30 Implementation of client factory.
31 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
32 initialize the MVP framework.
33 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
34 New file. Activity manager for the main container widget. This is the
36 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
37 Maps place (URL) to its corresponding activity.
38 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
39 New file. This is just a place holder for a generated file.
40 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
41 New file. Represents the URL for the main Online Glom app.
42 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
43 for changes in LayoutListViewImpl.
44 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
45 interface for View. Move code to OnlineGlomViewImpl class.
46 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
47 file. Implementation of OnlineGlomView.
48 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
49 Place resources. Use ClientFactoryImpl by default.
51 2011-04-04 Ben Konrath <ben@bagu.org>
53 Move View classes to their own package.
55 This is the second commit of a refactor that will allow OnlineGlom to
56 be used with multiple documents.
58 * src/main/java/org/glom/web/client/OnlineGlom.java:
59 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
60 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
62 2011-04-02 Ben Konrath <ben@bagu.org>
64 Move UI code from the main module to its own class.
66 This is the first commit of a refactor that will allow OnlineGlom to be
67 used with multiple documents.
69 * src/main/java/org/glom/web/client/LayoutListView.java: Update
70 references to OnlineGlom to OnlineGlomView.
71 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
72 OnlineGlomView and instantiate it here.
73 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
74 represents the main OnlineGlomView with one document.
76 2011-04-01 Ben Konrath <ben@bagu.org>
78 Fix formatting of gwt.xml and add DTD.
80 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
82 2011-03-30 Ben Konrath <ben@bagu.org>
84 Propperly convert gdkColor string to html colour string.
86 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
88 2011-03-28 Ben Konrath <ben@bagu.org>
90 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
92 This implementation matches
93 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
94 readable and is not tied to Swig.
96 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
98 2011-03-28 Ben Konrath <ben@bagu.org>
100 Use read-only checkboxes for boolean field types.
102 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
103 in the CellTable based on the field type. It currently only
104 distinguishes between boolean and text columns but I'll need to add
105 support for more types.
106 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
107 column type in the ColumnInfo object. Add method to convert between the
108 glom field type enum in ColumnInfo and the glom field type in libglom.
109 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
111 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
112 getting and setting booleans.
114 2011-03-25 Ben Konrath <ben@bagu.org>
116 Don't get the Date twice from the ResultSet.
118 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
120 2011-03-25 Ben Konrath <ben@bagu.org>
122 Cleanup code in the servlet.
124 * TODO: Remove item about row count. Add item about testing row count
125 query with large number of rows.
126 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
127 spelling mistakes, change method parameter to be consistent with
130 2011-03-25 Ben Konrath <ben@bagu.org>
132 Add server side logging with the gwt-log library.
134 * .gitignore: Ignore the log file we're now producing.
135 * TODO: Add a couple TODO item for logging.
136 * pom.xml: Add gwt-log and log4j as a dependency.
137 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
138 logging of errors, warnings and some important info.
139 * src/main/resources/log4j.properties: New file to configure log4j.
141 2011-03-24 Ben Konrath <ben@bagu.org>
143 Add a disable button for the Details view.
145 * src/main/java/org/glom/web/client/LayoutListView.java:
147 2011-03-22 Ben Konrath <ben@bagu.org>
149 Use a count query to get the number of rows for the list view pager.
151 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
153 2011-03-22 Ben Konrath <ben@bagu.org>
155 Add more TODO information about CellTable pager positioning.
159 2011-03-19 Ben Konrath <ben@bagu.org>
161 Add TODO item about CellTable pager positioning.
165 2011-03-18 Ben Konrath <ben@bagu.org>
167 Remove unneeded GlomFieldColumn class.
169 This is just a small code cleanup.
171 * src/main/java/org/glom/web/client/LayoutListView.java:
173 2011-03-18 Ben Konrath <ben@bagu.org>
175 Use cursor mode in the query that gets data for the list view.
177 I still need to fix the potential memory problem when getting the row
178 count for the list view.
180 * TODO: Add note about testing memory usage with large data sets. Add
181 item about fixing row counting with large data sets.
182 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
183 PostgreSQL JDBC driver into cursor mode when getting data for the
186 2011-03-15 Ben Konrath <ben@bagu.org>
188 Remove the GWT Container from the Eclipse build classpath.
190 The GWT dependencies are set by Maven so this isn't needed.
194 2011-03-15 Murray Cumming <murrayc@murrayc.com>
196 Added some earlier mockups to git, but not to the tarball dist.
198 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
199 Openismus. These hopefully show how we might structure the HTML so that
200 it can be styled easily with CSS. However, we probably need to adapt them
201 for the CSS structure that GWT dictates for common widgets.
203 2011-03-14 Ben Konrath <ben@bagu.org>
205 Locate OnlineGlom.properties using the ServletContext.
207 This is required to be able to locate the file in the deployed servlet.
209 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
210 Configure the database and glom document in in a helper method so
211 that the ServletContext can be used to locate OnlineGlom.properties.
212 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
213 src/main/webapp. This is the proper location for .properites files.
215 2011-03-12 Ben Konrath <ben@bagu.org>
217 Add note to README about why we're compiling down to obfuscated JavaScript.
221 2011-03-11 Ben Konrath <ben@bagu.org>
223 Use properties file to configure servlet.
225 This allows people to change the glom file path, db username and db
226 password without recompiling the code.
228 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
229 * src/main/webapp/OnlineGlom.properties:
231 2011-03-11 Ben Konrath <ben@bagu.org>
233 Use table fields in layout list view if the layout list is not defined.
235 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
236 Manually create a LayoutFieldVector for the query builder using the
237 table fields when a layout list is not defined in the glom file.
239 2011-03-11 Ben Konrath <ben@bagu.org>
241 Only show FIXME string for images when there's an image.
243 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
244 in this change are some small code cleanups.
246 2011-03-11 Ben Konrath <ben@bagu.org>
248 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
250 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
252 2011-03-11 Ben Konrath <ben@bagu.org>
254 Correctly set the index of the default table.
256 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
257 Correctly set the index of the default table. Add commented out example
260 2011-03-10 Ben Konrath <ben@bagu.org>
262 Add comment to pom.xml about the previous change.
264 * pom.xml: Add comment about the deployment issue so that it's obvious
265 why java-libglom is set to the provided scope.
267 2011-03-10 Ben Konrath <ben@bagu.org>
269 Change java-libglom dependency from compile to provided in pom.xml.
271 Since java-libglom uses jni it can only be loaded once and therefore
272 must be placed in $CATALINA_HOME/lib and not included in each war.
273 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
274 More information about this issue can be found in the Tomcat 6 release
275 notes in the "JNI Based Applications" section:
277 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
279 * README: Remove note about this issue. Deployment info should really
280 be on the wiki anyway so I'll add it right now.
281 * pom.xml: Change java-libglom dependency from compile to provided so
282 that it's copied in to the packaged war.
284 2011-03-09 Ben Konrath <ben@bagu.org>
286 Change to using a neutral locale for currency, date and time formatting.
288 This solves the problem of currency values being represented without a
289 space between the currency code and the number (e.g. "EUR5.89" is now
290 represented as "EUR 5.89"). More work is required when we implement
291 a locale preference setting.
293 * TODO: Add note about currency formatting issues with different
295 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
296 to using the neutral ROOT locale.
298 2011-03-09 Ben Konrath <ben@bagu.org>
300 Add support for currency codes that are not ISO 4217 codes.
302 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
303 the currency code defined in the glom file when it's not 3 characters
304 long or when Java doesn't recognize the string as an ISO 4217 code.
306 2011-03-08 Ben Konrath <ben@bagu.org>
308 Remove test classes, launch configurations and configuration.
310 The test stuff was getting in the way when creating the war. To make
311 the war file you can now do 'mvn clean package'. The packaged war file
312 will be in the target directory.
314 * .classpath: Remove unused classpathentry for tests and i18n.
315 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
316 property. Don't run test or i18n goals when packaging the war.
317 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
322 * OnlineGlomTest-dev.launch:
323 * OnlineGlomTest-prod.launch:
324 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
325 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
327 2011-03-07 Ben Konrath <ben@bagu.org>
329 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
331 These fixes allow me to use 'mvn deploy' to create the war file.
333 * .classpath: This generated config has been updated by Eclipse. This
334 change was probably triggered by me updating from Eclipse 3.6.1 to
336 * .gitignore: Add entry to ignore the directory
337 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
338 * .project: The generated config has been updated by Eclipse. This
339 change was probably triggered by me updating from Eclipse 3.6.1 to
341 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
342 so that Eclipse doesn't complain
343 * pom.xml: Update to gwt-maven-plugin 2.2.0.
344 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
345 'tests' directory to 'client' directory. This is the new
346 gwt-maven-plugin convension.
347 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
348 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
350 2011-03-07 Ben Konrath <ben@bagu.org>
352 Add support for horizontal alignment in the LayoutList columns.
354 * TODO: Remove item about horizontal alignment. Add item about
355 improvements to ColumnInfo.
356 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
357 alignment on the columns. Use ColumnInfo RPC object get the column
358 title and horizontal alignment.
359 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
360 LayoutListView creation with ColumnInfo RPC object.
361 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
362 a ColumnInfo object for every LayoutList columnn. Convert the
363 FieldFormatting.HorizontalAlignment to the correct
364 ColumnnInfo.HorizontatlAlignment with the new
365 getColumnInfoHorizontalAlignment helper method.
366 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
367 to encapsulate column information like alignment and title. This
368 could be used to set the colour instead of on a per cell field basis.
369 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
370 column title storage and retrieval with ColumnInfo.
372 2011-03-04 Ben Konrath <ben@bagu.org>
374 Add support for column sorting.
376 * src/main/java/org/glom/web/client/LayoutListView.java: Change
377 AsynDataProvider to be an anonymous inner class. Use new
378 getSortedTableData RPC method when column sort is requested. Set all
379 columns sortable and add an AsyncHandler to activate sorting in the
381 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
382 method getSortedTableData(). Cleanup other method signatures.
383 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
384 new method getSortedTableData(). Cleanup other method signatures.
385 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
386 Implement getSortedTableData() and getTableData() methods by using a
387 private helper method with the appropriate parameters filled in. Use
388 user supplied sort clause when supplied, otherwise fall back to
389 sorting by the primary key. Move destroy() method to be underneath
390 constructor for readability. Cleanup comments.
392 2011-03-03 Ben Konrath <ben@bagu.org>
394 Add support for colour text and colour backgrounds to the layout list cells.
396 Only the cell backgrounds are coloured which leaves a gap between the
397 cells that isn't coloured. I need to figure out a way to set
398 'style=background-colour:' on the whole column rather than just the
401 * TODO: Add a note about colouring the background of the whole column.
402 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
403 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
404 render the coloured text and backgrounds. Use GlomField[] for the row type.
405 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
407 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
408 GlomField[] for the row type.
409 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
410 GlomField[] for the row type. Set the text, text colour and background
411 colour in the GlomField objects as specified in the glom document. Add
412 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
413 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
414 the glom field text, foreground colour and background colour.
416 2011-03-02 Ben Konrath <ben@bagu.org>
418 Don't display hidden tables in the combo box.
420 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
422 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
423 code to ignore hidden tables using ArrayLists for the table names and
425 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
426 tableNames to use ArrayLists instead of String[]. Update getter and setter
429 2011-03-01 Ben Konrath <ben@bagu.org>
431 Add support for Date and Time number types.
433 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
434 Implement formatting for Date and Time values. Change the default glom
435 file to small business example.
437 2011-03-01 Ben Konrath <ben@bagu.org>
439 Add support for formatting glom types as specified in the glom file.
441 Formatting isn't finished yet - I still need to add support for Date
444 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
445 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
446 checks for null values in JDBC cleanup code and catch all exceptions
447 instead of just SQLExceptions.
448 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
451 2011-03-01 Ben Konrath <ben@bagu.org>
453 Use GWT 2.2.0 instead of 2.1.1.
455 * pom.xml: Change GWT version numbers.
457 2011-03-01 Ben Konrath <ben@bagu.org>
459 A few small code cleanups.
461 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
463 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
464 unnecessary object creation in constructor.
465 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
466 unnecessary object creation in constructor.
468 2011-02-28 Ben Konrath <ben@bagu.org>
470 Add file for TODO list.
474 2011-02-18 Ben Konrath <ben@bagu.org>
476 Enable the CellTable Pager when more than 20 rows need to be viewed.
478 The Pager will automatically become active when the results are larger
479 than the CellTable size which is currently set to 20 lines.
481 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
482 name on debug statment in RPC call in LayoutListDataProvider, add
483 numRows parameter to LayoutListView constructor, propperly set rowCount
485 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
486 name on debug statment in RPC call, use LayoutListTable object in RPC
487 calls, pass rowCount to LayoutListView.
488 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
489 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
491 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
492 interface for changes in OnlineGlomService.
493 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
494 getLayoutListHeaders() to getLayoutListTable() and return
495 LayoutListTable. Using this object allows me to pass other information
496 about the LayoutList like the expected number of rows in the result set.
497 The Connection object from the connection pool is now propperly closed.
498 Only the requested number of lines are returned to the client in
500 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
501 GlomTable and add columnTitles and numRows.
503 2011-02-18 Ben Konrath <ben@bagu.org>
505 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
507 This is a small performance boost. I'll use GlomTable to get the required
508 layoutlist information.
510 * src/main/java/org/glom/web/client/OnlineGlom.java:
511 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
512 * src/main/java/org/glom/web/shared/GlomDocument.java:
514 2011-02-18 Ben Konrath <ben@bagu.org>
516 Add option to turn off formatting in JDT formatter preferences.
518 * .settings/org.eclipse.jdt.core.prefs:
520 2011-02-18 Ben Konrath <ben@bagu.org>
522 Rename LayoutList to LayoutListView.
524 I'm working towards setting things up to easily use MVP when the time
527 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
529 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
532 2011-02-17 Ben Konrath <ben@bagu.org>
534 Move LayoutListDataProvider class into LayoutList.java.
536 * src/main/java/org/glom/web/client/LayoutList.java:
538 2011-02-17 Ben Konrath <ben@bagu.org>
540 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
542 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
544 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
545 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
546 from LibGlomServer.java.
547 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
548 Rename from LibGlomServiceAsync.java.
549 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
550 Rename from LibGlomServiceImpl.java.
551 * src/main/webapp/WEB-INF/web.xml: Update configuration.
553 2011-02-17 Ben Konrath <ben@bagu.org>
557 * .settings/org.eclipse.jdt.core.prefs:
559 2011-02-17 Ben Konrath <ben@bagu.org>
561 Move GWT-RPC objects to shared package (where they should be).
563 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
564 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
565 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
566 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
567 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
568 org.glom.web.shared package.
569 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
570 org.glom.web.shared package.
571 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
572 directory in compilation to javascript.
574 2011-02-16 Ben Konrath <ben@bagu.org>
576 Add sort clause to the sql query that grabs table information.
578 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
579 if one of the columns is a primary key.
581 2011-02-16 Ben Konrath <ben@bagu.org>
583 Disable generateAsync feature of gwt-maven.
585 The generated interface does not correctly match the methods in LibGlomService
586 and the generated singleton Util inner-class doesn't respect the servlet
589 * pom.xml: Turn off generateAsync feature.
590 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
591 with singleton Util inner-class.
593 2011-02-14 Ben Konrath <ben@bagu.org>
595 Add LGPL v3 licence notices.
597 Followed directions listed here:
598 http://www.gnu.org/licenses/gpl-howto.html
600 * COPYING: This file is a copy of the GPL v3.
601 * COPYING.LESSER: This file is a copy of the LGPL v3.
602 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
604 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
606 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
608 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
610 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
612 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
614 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
617 2011-02-14 Ben Konrath <ben@bagu.org>
619 Use ArrayList instead of Array in GWT-RPC calls.
621 Apparently this gives a slight performance boost to the compiled
624 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
626 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
629 2011-02-14 Ben Konrath <ben@bagu.org>
631 Access data from a postgres db rather than the example glom file.
633 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
634 compile down to obfuscated javascript.
635 * pom.xml: Add c3p0 and postgres JDBC libraries.
636 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
637 using a postgres db accessed through the c3p0 connection pooling library.
639 2011-02-14 Ben Konrath <ben@bagu.org>
641 Update Java formatter settings.
643 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
645 2011-02-02 Ben Konrath <ben@bagu.org>
647 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
649 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
651 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
652 the compiled webapp directory that Eclipse uses as we're using Maven now.
653 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
654 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
656 * pom.xml: Format file, change target Java version to 1.6.
658 2011-02-02 Ben Konrath <ben@bagu.org>
660 Add information about a deployment related issue.
662 * README: Add Notes section with the problem outlined.
664 2011-02-02 Ben Konrath <ben@bagu.org>
666 Call Glom.libglom_deinit() when the servlet is shutdown.
668 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
669 Glom.libglom_deinit() to destroy() method.
671 2011-01-28 Ben Konrath <ben@bagu.org>
673 Use generated Util class to get the RPC Async interface.
675 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
677 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
678 getInstance() method to get a reference to the RPC Async interface.
679 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
680 getInstance() method to get a reference to the RPC Async interface, remove
681 the now unused getLibGlomServiceProxy() method.
683 2011-01-27 Ben Konrath <ben@bagu.org>
685 Cleanup ChangeLog entry from previous commit.
687 * ChangeLog: Group logical changes together and add comments.
689 2011-01-25 Ben Konrath <ben@bagu.org>
691 Convert to gwt-maven project.
693 * .gitignore: Update for new project structure.
694 * README: New file with a link to the online documentation.
695 * pom.xml: The generated maven configuration file with some tweaks.
697 Add / update Eclipse settings. These files are a merge of the files that
698 were generated with the gwt-maven plugin and the files we were previously
702 * .settings/.jsdtscope:
703 * .settings/com.google.gdt.eclipse.core.prefs:
704 * .settings/com.google.gwt.eclipse.core.prefs:
705 * .settings/org.eclipse.jdt.core.prefs:
706 * .settings/org.eclipse.wst.common.component:
707 * .settings/org.eclipse.wst.common.project.facet.core.xml:
708 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
709 * .settings/org.maven.ide.eclipse.prefs:
710 * OnlineGlomTest-dev.launch:
711 * OnlineGlomTest-prod.launch:
713 Java source files moved from the 'src' directory to the directory structure
715 * src/main/java/org/glom/web/client/GlomDocument.java:
716 * src/main/java/org/glom/web/client/GlomTable.java:
717 * src/main/java/org/glom/web/client/LayoutList.java:
718 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
719 * src/main/java/org/glom/web/client/LibGlomService.java:
720 * src/main/java/org/glom/web/client/OnlineGlom.java:
721 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
723 Non-functional property file used for translations. I included this as
724 reminder that it's something I need to sort out.
725 * src/main/resources/org/glom/web/client/Messages.properties:
727 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
728 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
730 The servlet configuration files moved from the 'war' directory.
731 * src/main/webapp/OnlineGlom.css:
732 * src/main/webapp/OnlineGlom.html:
733 * src/main/webapp/WEB-INF/web.xml:
735 Generated test files with most of the code commented out. I included these
736 so that it's easy to add tests when we're ready for them.
737 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
738 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
740 2011-01-25 Ben Konrath <ben@bagu.org>
742 Remove unused println.
744 * src/org/glom/web/server/LibGlomServiceImpl.java:
746 2011-01-25 Ben Konrath <ben@bagu.org>
748 Add project specific JDT settings.
750 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
751 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
753 2011-01-25 Ben Konrath <ben@bagu.org>
755 Populate celltable with example data.
757 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
758 * src/org/glom/web/client/GlomTable.java: Correct formatting.
759 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
760 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
761 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
762 asynchronously gets the example data.
763 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
764 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
765 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
766 curently selected table to be retrieved by other widgets.
767 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
768 implement getTableData() in a hacky way. This method needs to be updated
769 to grab information from the database when database creating is
772 2011-01-20 Ben Konrath <ben@bagu.org>
774 Set table headers when table dropBox changes.
776 * src/org/glom/web/client/GlomDocument.java: Correct some method
778 * src/org/glom/web/client/LibGlomService.java: Add method
779 to get list layout field names.
780 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
781 to get list layout field names.
782 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
783 widget for list layout table.
784 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
785 the table drop box and add new updateTable() method to asynchronously
786 get the layout list field names for the currently selected table.
787 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
788 implementation of getLayoutListHeaders() method.
789 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
791 2011-01-18 Ben Konrath <ben@bagu.org>
793 Make a listBox with table titles instead of the flexTable demo.
795 This is the start of something more useful.
797 * .classpath: Exclude a bunch of packages from the JVM that are
798 getting in the way of the Eclipse content assist.
799 * src/org/glom/web/client/GlomDocument.java:
800 * src/org/glom/web/client/GlomTable.java:
801 * src/org/glom/web/client/LibGlomService.java:
802 * src/org/glom/web/client/LibGlomServiceAsync.java:
803 * src/org/glom/web/client/OnlineGlom.java:
804 * src/org/glom/web/server/LibGlomServiceImpl.java:
805 * war/OnlineGlom.html:
806 * war/WEB-INF/web.xml:
808 211-01-13 Ben Konrath <ben@bagu.org>
810 Update to new java-libglom API.
812 * .gitignore: Ignore OnlineGlom.war.
813 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
815 2010-12-20 Ben Konrath <ben@bagu.org>
817 Add some basic style to the table listing.
819 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
820 header, print useful error message on async callback failure.
821 * war/OnlineGlom.css: Add style for table header, remove defaults
822 provided by the Eclipse project wizard.
824 2010-12-20 Ben Konrath <ben@bagu.org>
826 Load example file from installed glom dir.
828 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
829 provided by java-libglom to find the example file.
831 2010-12-20 Ben Konrath <ben@bagu.org>
833 Update Eclipse settings.
836 * .settings/com.google.gdt.eclipse.core.prefs:
837 * .settings/com.google.gwt.eclipse.core.prefs:
839 2010-12-17 Ben Konrath <ben@bagu.org>
843 * .classpath: New file.
844 * .gitignore: New file.
845 * .project: New file.
846 * .settings/com.google.gdt.eclipse.core.prefs: New file.
847 * .settings/com.google.gwt.eclipse.core.prefs: New file.
848 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
849 * src/org/glom/web/client/GlomTable.java: New file.
850 * src/org/glom/web/client/OnlineGlom.java: New file.
851 * src/org/glom/web/client/TableNameService.java: New file.
852 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
853 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
854 * war/OnlineGlom.css: New file.
855 * war/OnlineGlom.html: New file.
856 * war/WEB-INF/web.xml: New file.
857 * war/images/glom.png: New file.