1 2011-04-08 Ben Konrath <ben@bagu.org>
3 Update the Eclipse JDT configuration.
5 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
6 methods. Automatically add the copyright header to new files.
8 2011-04-05 Ben Konrath <ben@bagu.org>
10 Add new page for demo selection.
12 This patch adds all the components required to view and start an
13 OnlineGlom demo by clicking on the desired hyperlink. The user is
14 able to return to the demo selection page with the browser's back
15 button. I still need to modify the servlet to work with multiple
16 documents so all demo links will load the file defined in the
17 OnlineGlom.properties.
19 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
20 This is only useful during development so we don't need to save it.
21 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
22 get a reference to the DemoSelectionView.
23 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
24 method to get a reference to the DemoSelectionView.
25 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
26 default view to DemoSelectionView.
27 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
28 to get glom document titles for glom files in a hard-coded directory.
29 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
30 method to get glom document titles for glom files in a hard-coded
32 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
33 Presenter for DemoSelectionView.
34 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
35 for DemoSelectionView.
36 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
37 Update for DemoSelectionView.
38 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
39 Basic 'Place' implementation for the DemoSelectionView.
40 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
41 The interface for the DemoSelectionView.
42 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
43 The implementation of the DemoSelectionView.
44 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
45 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
46 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
47 implementation of method to get glom document titles for glom files
48 in a hard-coded directory.
49 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
51 * src/main/webapp/glom.png: Glom logo.
53 2011-04-05 Ben Konrath <ben@bagu.org>
55 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
57 This is the forth and final commit of a refactor that will allow
58 OnlineGlom to be used with multiple documents.
60 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
61 Move RPC code from OnlineGlomViewImpl to this class.
62 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
64 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
65 RPC code to the presenter class (the P in MVP).
67 2011-04-04 Ben Konrath <ben@bagu.org>
69 Start moving the existing OnlineGlom code to MVP.
71 This work is based on the GWT MVP framework that is documented here:
73 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
75 This is the third commit of a refactor that will allow OnlineGlom to
76 be used with multiple documents.
78 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
79 Interface for client factory which is used to get instances of various
80 classes throughout the app.
81 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
82 Implementation of client factory.
83 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
84 initialize the MVP framework.
85 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
86 New file. Activity manager for the main container widget. This is the
88 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
89 Maps place (URL) to its corresponding activity.
90 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
91 New file. This is just a place holder for a generated file.
92 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
93 New file. Represents the URL for the main Online Glom app.
94 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
95 for changes in LayoutListViewImpl.
96 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
97 interface for View. Move code to OnlineGlomViewImpl class.
98 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
99 file. Implementation of OnlineGlomView.
100 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
101 Place resources. Use ClientFactoryImpl by default.
103 2011-04-04 Ben Konrath <ben@bagu.org>
105 Move View classes to their own package.
107 This is the second commit of a refactor that will allow OnlineGlom to
108 be used with multiple documents.
110 * src/main/java/org/glom/web/client/OnlineGlom.java:
111 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
112 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
114 2011-04-02 Ben Konrath <ben@bagu.org>
116 Move UI code from the main module to its own class.
118 This is the first commit of a refactor that will allow OnlineGlom to be
119 used with multiple documents.
121 * src/main/java/org/glom/web/client/LayoutListView.java: Update
122 references to OnlineGlom to OnlineGlomView.
123 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
124 OnlineGlomView and instantiate it here.
125 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
126 represents the main OnlineGlomView with one document.
128 2011-04-01 Ben Konrath <ben@bagu.org>
130 Fix formatting of gwt.xml and add DTD.
132 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
134 2011-03-30 Ben Konrath <ben@bagu.org>
136 Propperly convert gdkColor string to html colour string.
138 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
140 2011-03-28 Ben Konrath <ben@bagu.org>
142 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
144 This implementation matches
145 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
146 readable and is not tied to Swig.
148 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
150 2011-03-28 Ben Konrath <ben@bagu.org>
152 Use read-only checkboxes for boolean field types.
154 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
155 in the CellTable based on the field type. It currently only
156 distinguishes between boolean and text columns but I'll need to add
157 support for more types.
158 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
159 column type in the ColumnInfo object. Add method to convert between the
160 glom field type enum in ColumnInfo and the glom field type in libglom.
161 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
163 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
164 getting and setting booleans.
166 2011-03-25 Ben Konrath <ben@bagu.org>
168 Don't get the Date twice from the ResultSet.
170 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
172 2011-03-25 Ben Konrath <ben@bagu.org>
174 Cleanup code in the servlet.
176 * TODO: Remove item about row count. Add item about testing row count
177 query with large number of rows.
178 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
179 spelling mistakes, change method parameter to be consistent with
182 2011-03-25 Ben Konrath <ben@bagu.org>
184 Add server side logging with the gwt-log library.
186 * .gitignore: Ignore the log file we're now producing.
187 * TODO: Add a couple TODO item for logging.
188 * pom.xml: Add gwt-log and log4j as a dependency.
189 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
190 logging of errors, warnings and some important info.
191 * src/main/resources/log4j.properties: New file to configure log4j.
193 2011-03-24 Ben Konrath <ben@bagu.org>
195 Add a disable button for the Details view.
197 * src/main/java/org/glom/web/client/LayoutListView.java:
199 2011-03-22 Ben Konrath <ben@bagu.org>
201 Use a count query to get the number of rows for the list view pager.
203 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
205 2011-03-22 Ben Konrath <ben@bagu.org>
207 Add more TODO information about CellTable pager positioning.
211 2011-03-19 Ben Konrath <ben@bagu.org>
213 Add TODO item about CellTable pager positioning.
217 2011-03-18 Ben Konrath <ben@bagu.org>
219 Remove unneeded GlomFieldColumn class.
221 This is just a small code cleanup.
223 * src/main/java/org/glom/web/client/LayoutListView.java:
225 2011-03-18 Ben Konrath <ben@bagu.org>
227 Use cursor mode in the query that gets data for the list view.
229 I still need to fix the potential memory problem when getting the row
230 count for the list view.
232 * TODO: Add note about testing memory usage with large data sets. Add
233 item about fixing row counting with large data sets.
234 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
235 PostgreSQL JDBC driver into cursor mode when getting data for the
238 2011-03-15 Ben Konrath <ben@bagu.org>
240 Remove the GWT Container from the Eclipse build classpath.
242 The GWT dependencies are set by Maven so this isn't needed.
246 2011-03-15 Murray Cumming <murrayc@murrayc.com>
248 Added some earlier mockups to git, but not to the tarball dist.
250 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
251 Openismus. These hopefully show how we might structure the HTML so that
252 it can be styled easily with CSS. However, we probably need to adapt them
253 for the CSS structure that GWT dictates for common widgets.
255 2011-03-14 Ben Konrath <ben@bagu.org>
257 Locate OnlineGlom.properties using the ServletContext.
259 This is required to be able to locate the file in the deployed servlet.
261 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
262 Configure the database and glom document in in a helper method so
263 that the ServletContext can be used to locate OnlineGlom.properties.
264 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
265 src/main/webapp. This is the proper location for .properites files.
267 2011-03-12 Ben Konrath <ben@bagu.org>
269 Add note to README about why we're compiling down to obfuscated JavaScript.
273 2011-03-11 Ben Konrath <ben@bagu.org>
275 Use properties file to configure servlet.
277 This allows people to change the glom file path, db username and db
278 password without recompiling the code.
280 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
281 * src/main/webapp/OnlineGlom.properties:
283 2011-03-11 Ben Konrath <ben@bagu.org>
285 Use table fields in layout list view if the layout list is not defined.
287 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
288 Manually create a LayoutFieldVector for the query builder using the
289 table fields when a layout list is not defined in the glom file.
291 2011-03-11 Ben Konrath <ben@bagu.org>
293 Only show FIXME string for images when there's an image.
295 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
296 in this change are some small code cleanups.
298 2011-03-11 Ben Konrath <ben@bagu.org>
300 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
302 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
304 2011-03-11 Ben Konrath <ben@bagu.org>
306 Correctly set the index of the default table.
308 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
309 Correctly set the index of the default table. Add commented out example
312 2011-03-10 Ben Konrath <ben@bagu.org>
314 Add comment to pom.xml about the previous change.
316 * pom.xml: Add comment about the deployment issue so that it's obvious
317 why java-libglom is set to the provided scope.
319 2011-03-10 Ben Konrath <ben@bagu.org>
321 Change java-libglom dependency from compile to provided in pom.xml.
323 Since java-libglom uses jni it can only be loaded once and therefore
324 must be placed in $CATALINA_HOME/lib and not included in each war.
325 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
326 More information about this issue can be found in the Tomcat 6 release
327 notes in the "JNI Based Applications" section:
329 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
331 * README: Remove note about this issue. Deployment info should really
332 be on the wiki anyway so I'll add it right now.
333 * pom.xml: Change java-libglom dependency from compile to provided so
334 that it's copied in to the packaged war.
336 2011-03-09 Ben Konrath <ben@bagu.org>
338 Change to using a neutral locale for currency, date and time formatting.
340 This solves the problem of currency values being represented without a
341 space between the currency code and the number (e.g. "EUR5.89" is now
342 represented as "EUR 5.89"). More work is required when we implement
343 a locale preference setting.
345 * TODO: Add note about currency formatting issues with different
347 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
348 to using the neutral ROOT locale.
350 2011-03-09 Ben Konrath <ben@bagu.org>
352 Add support for currency codes that are not ISO 4217 codes.
354 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
355 the currency code defined in the glom file when it's not 3 characters
356 long or when Java doesn't recognize the string as an ISO 4217 code.
358 2011-03-08 Ben Konrath <ben@bagu.org>
360 Remove test classes, launch configurations and configuration.
362 The test stuff was getting in the way when creating the war. To make
363 the war file you can now do 'mvn clean package'. The packaged war file
364 will be in the target directory.
366 * .classpath: Remove unused classpathentry for tests and i18n.
367 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
368 property. Don't run test or i18n goals when packaging the war.
369 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
374 * OnlineGlomTest-dev.launch:
375 * OnlineGlomTest-prod.launch:
376 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
377 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
379 2011-03-07 Ben Konrath <ben@bagu.org>
381 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
383 These fixes allow me to use 'mvn deploy' to create the war file.
385 * .classpath: This generated config has been updated by Eclipse. This
386 change was probably triggered by me updating from Eclipse 3.6.1 to
388 * .gitignore: Add entry to ignore the directory
389 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
390 * .project: The generated config has been updated by Eclipse. This
391 change was probably triggered by me updating from Eclipse 3.6.1 to
393 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
394 so that Eclipse doesn't complain
395 * pom.xml: Update to gwt-maven-plugin 2.2.0.
396 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
397 'tests' directory to 'client' directory. This is the new
398 gwt-maven-plugin convension.
399 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
400 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
402 2011-03-07 Ben Konrath <ben@bagu.org>
404 Add support for horizontal alignment in the LayoutList columns.
406 * TODO: Remove item about horizontal alignment. Add item about
407 improvements to ColumnInfo.
408 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
409 alignment on the columns. Use ColumnInfo RPC object get the column
410 title and horizontal alignment.
411 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
412 LayoutListView creation with ColumnInfo RPC object.
413 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
414 a ColumnInfo object for every LayoutList columnn. Convert the
415 FieldFormatting.HorizontalAlignment to the correct
416 ColumnnInfo.HorizontatlAlignment with the new
417 getColumnInfoHorizontalAlignment helper method.
418 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
419 to encapsulate column information like alignment and title. This
420 could be used to set the colour instead of on a per cell field basis.
421 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
422 column title storage and retrieval with ColumnInfo.
424 2011-03-04 Ben Konrath <ben@bagu.org>
426 Add support for column sorting.
428 * src/main/java/org/glom/web/client/LayoutListView.java: Change
429 AsynDataProvider to be an anonymous inner class. Use new
430 getSortedTableData RPC method when column sort is requested. Set all
431 columns sortable and add an AsyncHandler to activate sorting in the
433 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
434 method getSortedTableData(). Cleanup other method signatures.
435 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
436 new method getSortedTableData(). Cleanup other method signatures.
437 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
438 Implement getSortedTableData() and getTableData() methods by using a
439 private helper method with the appropriate parameters filled in. Use
440 user supplied sort clause when supplied, otherwise fall back to
441 sorting by the primary key. Move destroy() method to be underneath
442 constructor for readability. Cleanup comments.
444 2011-03-03 Ben Konrath <ben@bagu.org>
446 Add support for colour text and colour backgrounds to the layout list cells.
448 Only the cell backgrounds are coloured which leaves a gap between the
449 cells that isn't coloured. I need to figure out a way to set
450 'style=background-colour:' on the whole column rather than just the
453 * TODO: Add a note about colouring the background of the whole column.
454 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
455 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
456 render the coloured text and backgrounds. Use GlomField[] for the row type.
457 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
459 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
460 GlomField[] for the row type.
461 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
462 GlomField[] for the row type. Set the text, text colour and background
463 colour in the GlomField objects as specified in the glom document. Add
464 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
465 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
466 the glom field text, foreground colour and background colour.
468 2011-03-02 Ben Konrath <ben@bagu.org>
470 Don't display hidden tables in the combo box.
472 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
474 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
475 code to ignore hidden tables using ArrayLists for the table names and
477 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
478 tableNames to use ArrayLists instead of String[]. Update getter and setter
481 2011-03-01 Ben Konrath <ben@bagu.org>
483 Add support for Date and Time number types.
485 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
486 Implement formatting for Date and Time values. Change the default glom
487 file to small business example.
489 2011-03-01 Ben Konrath <ben@bagu.org>
491 Add support for formatting glom types as specified in the glom file.
493 Formatting isn't finished yet - I still need to add support for Date
496 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
497 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
498 checks for null values in JDBC cleanup code and catch all exceptions
499 instead of just SQLExceptions.
500 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
503 2011-03-01 Ben Konrath <ben@bagu.org>
505 Use GWT 2.2.0 instead of 2.1.1.
507 * pom.xml: Change GWT version numbers.
509 2011-03-01 Ben Konrath <ben@bagu.org>
511 A few small code cleanups.
513 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
515 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
516 unnecessary object creation in constructor.
517 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
518 unnecessary object creation in constructor.
520 2011-02-28 Ben Konrath <ben@bagu.org>
522 Add file for TODO list.
526 2011-02-18 Ben Konrath <ben@bagu.org>
528 Enable the CellTable Pager when more than 20 rows need to be viewed.
530 The Pager will automatically become active when the results are larger
531 than the CellTable size which is currently set to 20 lines.
533 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
534 name on debug statment in RPC call in LayoutListDataProvider, add
535 numRows parameter to LayoutListView constructor, propperly set rowCount
537 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
538 name on debug statment in RPC call, use LayoutListTable object in RPC
539 calls, pass rowCount to LayoutListView.
540 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
541 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
543 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
544 interface for changes in OnlineGlomService.
545 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
546 getLayoutListHeaders() to getLayoutListTable() and return
547 LayoutListTable. Using this object allows me to pass other information
548 about the LayoutList like the expected number of rows in the result set.
549 The Connection object from the connection pool is now propperly closed.
550 Only the requested number of lines are returned to the client in
552 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
553 GlomTable and add columnTitles and numRows.
555 2011-02-18 Ben Konrath <ben@bagu.org>
557 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
559 This is a small performance boost. I'll use GlomTable to get the required
560 layoutlist information.
562 * src/main/java/org/glom/web/client/OnlineGlom.java:
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
564 * src/main/java/org/glom/web/shared/GlomDocument.java:
566 2011-02-18 Ben Konrath <ben@bagu.org>
568 Add option to turn off formatting in JDT formatter preferences.
570 * .settings/org.eclipse.jdt.core.prefs:
572 2011-02-18 Ben Konrath <ben@bagu.org>
574 Rename LayoutList to LayoutListView.
576 I'm working towards setting things up to easily use MVP when the time
579 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
581 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
584 2011-02-17 Ben Konrath <ben@bagu.org>
586 Move LayoutListDataProvider class into LayoutList.java.
588 * src/main/java/org/glom/web/client/LayoutList.java:
590 2011-02-17 Ben Konrath <ben@bagu.org>
592 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
594 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
596 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
597 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
598 from LibGlomServer.java.
599 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
600 Rename from LibGlomServiceAsync.java.
601 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
602 Rename from LibGlomServiceImpl.java.
603 * src/main/webapp/WEB-INF/web.xml: Update configuration.
605 2011-02-17 Ben Konrath <ben@bagu.org>
609 * .settings/org.eclipse.jdt.core.prefs:
611 2011-02-17 Ben Konrath <ben@bagu.org>
613 Move GWT-RPC objects to shared package (where they should be).
615 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
616 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
617 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
618 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
619 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
620 org.glom.web.shared package.
621 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
622 org.glom.web.shared package.
623 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
624 directory in compilation to javascript.
626 2011-02-16 Ben Konrath <ben@bagu.org>
628 Add sort clause to the sql query that grabs table information.
630 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
631 if one of the columns is a primary key.
633 2011-02-16 Ben Konrath <ben@bagu.org>
635 Disable generateAsync feature of gwt-maven.
637 The generated interface does not correctly match the methods in LibGlomService
638 and the generated singleton Util inner-class doesn't respect the servlet
641 * pom.xml: Turn off generateAsync feature.
642 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
643 with singleton Util inner-class.
645 2011-02-14 Ben Konrath <ben@bagu.org>
647 Add LGPL v3 licence notices.
649 Followed directions listed here:
650 http://www.gnu.org/licenses/gpl-howto.html
652 * COPYING: This file is a copy of the GPL v3.
653 * COPYING.LESSER: This file is a copy of the LGPL v3.
654 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
656 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
658 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
660 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
662 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
664 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
666 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
669 2011-02-14 Ben Konrath <ben@bagu.org>
671 Use ArrayList instead of Array in GWT-RPC calls.
673 Apparently this gives a slight performance boost to the compiled
676 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
678 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
681 2011-02-14 Ben Konrath <ben@bagu.org>
683 Access data from a postgres db rather than the example glom file.
685 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
686 compile down to obfuscated javascript.
687 * pom.xml: Add c3p0 and postgres JDBC libraries.
688 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
689 using a postgres db accessed through the c3p0 connection pooling library.
691 2011-02-14 Ben Konrath <ben@bagu.org>
693 Update Java formatter settings.
695 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
697 2011-02-02 Ben Konrath <ben@bagu.org>
699 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
701 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
703 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
704 the compiled webapp directory that Eclipse uses as we're using Maven now.
705 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
706 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
708 * pom.xml: Format file, change target Java version to 1.6.
710 2011-02-02 Ben Konrath <ben@bagu.org>
712 Add information about a deployment related issue.
714 * README: Add Notes section with the problem outlined.
716 2011-02-02 Ben Konrath <ben@bagu.org>
718 Call Glom.libglom_deinit() when the servlet is shutdown.
720 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
721 Glom.libglom_deinit() to destroy() method.
723 2011-01-28 Ben Konrath <ben@bagu.org>
725 Use generated Util class to get the RPC Async interface.
727 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
729 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
730 getInstance() method to get a reference to the RPC Async interface.
731 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
732 getInstance() method to get a reference to the RPC Async interface, remove
733 the now unused getLibGlomServiceProxy() method.
735 2011-01-27 Ben Konrath <ben@bagu.org>
737 Cleanup ChangeLog entry from previous commit.
739 * ChangeLog: Group logical changes together and add comments.
741 2011-01-25 Ben Konrath <ben@bagu.org>
743 Convert to gwt-maven project.
745 * .gitignore: Update for new project structure.
746 * README: New file with a link to the online documentation.
747 * pom.xml: The generated maven configuration file with some tweaks.
749 Add / update Eclipse settings. These files are a merge of the files that
750 were generated with the gwt-maven plugin and the files we were previously
754 * .settings/.jsdtscope:
755 * .settings/com.google.gdt.eclipse.core.prefs:
756 * .settings/com.google.gwt.eclipse.core.prefs:
757 * .settings/org.eclipse.jdt.core.prefs:
758 * .settings/org.eclipse.wst.common.component:
759 * .settings/org.eclipse.wst.common.project.facet.core.xml:
760 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
761 * .settings/org.maven.ide.eclipse.prefs:
762 * OnlineGlomTest-dev.launch:
763 * OnlineGlomTest-prod.launch:
765 Java source files moved from the 'src' directory to the directory structure
767 * src/main/java/org/glom/web/client/GlomDocument.java:
768 * src/main/java/org/glom/web/client/GlomTable.java:
769 * src/main/java/org/glom/web/client/LayoutList.java:
770 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
771 * src/main/java/org/glom/web/client/LibGlomService.java:
772 * src/main/java/org/glom/web/client/OnlineGlom.java:
773 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
775 Non-functional property file used for translations. I included this as
776 reminder that it's something I need to sort out.
777 * src/main/resources/org/glom/web/client/Messages.properties:
779 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
780 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
782 The servlet configuration files moved from the 'war' directory.
783 * src/main/webapp/OnlineGlom.css:
784 * src/main/webapp/OnlineGlom.html:
785 * src/main/webapp/WEB-INF/web.xml:
787 Generated test files with most of the code commented out. I included these
788 so that it's easy to add tests when we're ready for them.
789 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
790 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
792 2011-01-25 Ben Konrath <ben@bagu.org>
794 Remove unused println.
796 * src/org/glom/web/server/LibGlomServiceImpl.java:
798 2011-01-25 Ben Konrath <ben@bagu.org>
800 Add project specific JDT settings.
802 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
803 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
805 2011-01-25 Ben Konrath <ben@bagu.org>
807 Populate celltable with example data.
809 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
810 * src/org/glom/web/client/GlomTable.java: Correct formatting.
811 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
812 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
813 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
814 asynchronously gets the example data.
815 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
816 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
817 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
818 curently selected table to be retrieved by other widgets.
819 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
820 implement getTableData() in a hacky way. This method needs to be updated
821 to grab information from the database when database creating is
824 2011-01-20 Ben Konrath <ben@bagu.org>
826 Set table headers when table dropBox changes.
828 * src/org/glom/web/client/GlomDocument.java: Correct some method
830 * src/org/glom/web/client/LibGlomService.java: Add method
831 to get list layout field names.
832 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
833 to get list layout field names.
834 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
835 widget for list layout table.
836 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
837 the table drop box and add new updateTable() method to asynchronously
838 get the layout list field names for the currently selected table.
839 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
840 implementation of getLayoutListHeaders() method.
841 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
843 2011-01-18 Ben Konrath <ben@bagu.org>
845 Make a listBox with table titles instead of the flexTable demo.
847 This is the start of something more useful.
849 * .classpath: Exclude a bunch of packages from the JVM that are
850 getting in the way of the Eclipse content assist.
851 * src/org/glom/web/client/GlomDocument.java:
852 * src/org/glom/web/client/GlomTable.java:
853 * src/org/glom/web/client/LibGlomService.java:
854 * src/org/glom/web/client/LibGlomServiceAsync.java:
855 * src/org/glom/web/client/OnlineGlom.java:
856 * src/org/glom/web/server/LibGlomServiceImpl.java:
857 * war/OnlineGlom.html:
858 * war/WEB-INF/web.xml:
860 211-01-13 Ben Konrath <ben@bagu.org>
862 Update to new java-libglom API.
864 * .gitignore: Ignore OnlineGlom.war.
865 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
867 2010-12-20 Ben Konrath <ben@bagu.org>
869 Add some basic style to the table listing.
871 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
872 header, print useful error message on async callback failure.
873 * war/OnlineGlom.css: Add style for table header, remove defaults
874 provided by the Eclipse project wizard.
876 2010-12-20 Ben Konrath <ben@bagu.org>
878 Load example file from installed glom dir.
880 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
881 provided by java-libglom to find the example file.
883 2010-12-20 Ben Konrath <ben@bagu.org>
885 Update Eclipse settings.
888 * .settings/com.google.gdt.eclipse.core.prefs:
889 * .settings/com.google.gwt.eclipse.core.prefs:
891 2010-12-17 Ben Konrath <ben@bagu.org>
895 * .classpath: New file.
896 * .gitignore: New file.
897 * .project: New file.
898 * .settings/com.google.gdt.eclipse.core.prefs: New file.
899 * .settings/com.google.gwt.eclipse.core.prefs: New file.
900 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
901 * src/org/glom/web/client/GlomTable.java: New file.
902 * src/org/glom/web/client/OnlineGlom.java: New file.
903 * src/org/glom/web/client/TableNameService.java: New file.
904 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
905 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
906 * war/OnlineGlom.css: New file.
907 * war/OnlineGlom.html: New file.
908 * war/WEB-INF/web.xml: New file.
909 * war/images/glom.png: New file.