1 2011-04-02 Ben Konrath <ben@bagu.org>
3 Move UI code from the main module to its own class.
5 This is the first commit of a refactor that will allow OnlineGlom to be
6 used with multiple documents.
8 * src/main/java/org/glom/web/client/LayoutListView.java: Update
9 references to OnlineGlom to OnlineGlomView.
10 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
11 OnlineGlomView and instantiate it here.
12 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
13 represents the main OnlineGlomView with one document.
15 2011-04-01 Ben Konrath <ben@bagu.org>
17 Fix formatting of gwt.xml and add DTD.
19 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
21 2011-03-30 Ben Konrath <ben@bagu.org>
23 Propperly convert gdkColor string to html colour string.
25 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
27 2011-03-28 Ben Konrath <ben@bagu.org>
29 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
31 This implementation matches
32 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
33 readable and is not tied to Swig.
35 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
37 2011-03-28 Ben Konrath <ben@bagu.org>
39 Use read-only checkboxes for boolean field types.
41 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
42 in the CellTable based on the field type. It currently only
43 distinguishes between boolean and text columns but I'll need to add
44 support for more types.
45 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
46 column type in the ColumnInfo object. Add method to convert between the
47 glom field type enum in ColumnInfo and the glom field type in libglom.
48 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
50 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
51 getting and setting booleans.
53 2011-03-25 Ben Konrath <ben@bagu.org>
55 Don't get the Date twice from the ResultSet.
57 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
59 2011-03-25 Ben Konrath <ben@bagu.org>
61 Cleanup code in the servlet.
63 * TODO: Remove item about row count. Add item about testing row count
64 query with large number of rows.
65 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
66 spelling mistakes, change method parameter to be consistent with
69 2011-03-25 Ben Konrath <ben@bagu.org>
71 Add server side logging with the gwt-log library.
73 * .gitignore: Ignore the log file we're now producing.
74 * TODO: Add a couple TODO item for logging.
75 * pom.xml: Add gwt-log and log4j as a dependency.
76 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
77 logging of errors, warnings and some important info.
78 * src/main/resources/log4j.properties: New file to configure log4j.
80 2011-03-24 Ben Konrath <ben@bagu.org>
82 Add a disable button for the Details view.
84 * src/main/java/org/glom/web/client/LayoutListView.java:
86 2011-03-22 Ben Konrath <ben@bagu.org>
88 Use a count query to get the number of rows for the list view pager.
90 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
92 2011-03-22 Ben Konrath <ben@bagu.org>
94 Add more TODO information about CellTable pager positioning.
98 2011-03-19 Ben Konrath <ben@bagu.org>
100 Add TODO item about CellTable pager positioning.
104 2011-03-18 Ben Konrath <ben@bagu.org>
106 Remove unneeded GlomFieldColumn class.
108 This is just a small code cleanup.
110 * src/main/java/org/glom/web/client/LayoutListView.java:
112 2011-03-18 Ben Konrath <ben@bagu.org>
114 Use cursor mode in the query that gets data for the list view.
116 I still need to fix the potential memory problem when getting the row
117 count for the list view.
119 * TODO: Add note about testing memory usage with large data sets. Add
120 item about fixing row counting with large data sets.
121 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
122 PostgreSQL JDBC driver into cursor mode when getting data for the
125 2011-03-15 Ben Konrath <ben@bagu.org>
127 Remove the GWT Container from the Eclipse build classpath.
129 The GWT dependencies are set by Maven so this isn't needed.
133 2011-03-15 Murray Cumming <murrayc@murrayc.com>
135 Added some earlier mockups to git, but not to the tarball dist.
137 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
138 Openismus. These hopefully show how we might structure the HTML so that
139 it can be styled easily with CSS. However, we probably need to adapt them
140 for the CSS structure that GWT dictates for common widgets.
142 2011-03-14 Ben Konrath <ben@bagu.org>
144 Locate OnlineGlom.properties using the ServletContext.
146 This is required to be able to locate the file in the deployed servlet.
148 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
149 Configure the database and glom document in in a helper method so
150 that the ServletContext can be used to locate OnlineGlom.properties.
151 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
152 src/main/webapp. This is the proper location for .properites files.
154 2011-03-12 Ben Konrath <ben@bagu.org>
156 Add note to README about why we're compiling down to obfuscated JavaScript.
160 2011-03-11 Ben Konrath <ben@bagu.org>
162 Use properties file to configure servlet.
164 This allows people to change the glom file path, db username and db
165 password without recompiling the code.
167 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
168 * src/main/webapp/OnlineGlom.properties:
170 2011-03-11 Ben Konrath <ben@bagu.org>
172 Use table fields in layout list view if the layout list is not defined.
174 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
175 Manually create a LayoutFieldVector for the query builder using the
176 table fields when a layout list is not defined in the glom file.
178 2011-03-11 Ben Konrath <ben@bagu.org>
180 Only show FIXME string for images when there's an image.
182 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
183 in this change are some small code cleanups.
185 2011-03-11 Ben Konrath <ben@bagu.org>
187 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
189 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
191 2011-03-11 Ben Konrath <ben@bagu.org>
193 Correctly set the index of the default table.
195 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
196 Correctly set the index of the default table. Add commented out example
199 2011-03-10 Ben Konrath <ben@bagu.org>
201 Add comment to pom.xml about the previous change.
203 * pom.xml: Add comment about the deployment issue so that it's obvious
204 why java-libglom is set to the provided scope.
206 2011-03-10 Ben Konrath <ben@bagu.org>
208 Change java-libglom dependency from compile to provided in pom.xml.
210 Since java-libglom uses jni it can only be loaded once and therefore
211 must be placed in $CATALINA_HOME/lib and not included in each war.
212 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
213 More information about this issue can be found in the Tomcat 6 release
214 notes in the "JNI Based Applications" section:
216 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
218 * README: Remove note about this issue. Deployment info should really
219 be on the wiki anyway so I'll add it right now.
220 * pom.xml: Change java-libglom dependency from compile to provided so
221 that it's copied in to the packaged war.
223 2011-03-09 Ben Konrath <ben@bagu.org>
225 Change to using a neutral locale for currency, date and time formatting.
227 This solves the problem of currency values being represented without a
228 space between the currency code and the number (e.g. "EUR5.89" is now
229 represented as "EUR 5.89"). More work is required when we implement
230 a locale preference setting.
232 * TODO: Add note about currency formatting issues with different
234 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
235 to using the neutral ROOT locale.
237 2011-03-09 Ben Konrath <ben@bagu.org>
239 Add support for currency codes that are not ISO 4217 codes.
241 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
242 the currency code defined in the glom file when it's not 3 characters
243 long or when Java doesn't recognize the string as an ISO 4217 code.
245 2011-03-08 Ben Konrath <ben@bagu.org>
247 Remove test classes, launch configurations and configuration.
249 The test stuff was getting in the way when creating the war. To make
250 the war file you can now do 'mvn clean package'. The packaged war file
251 will be in the target directory.
253 * .classpath: Remove unused classpathentry for tests and i18n.
254 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
255 property. Don't run test or i18n goals when packaging the war.
256 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
261 * OnlineGlomTest-dev.launch:
262 * OnlineGlomTest-prod.launch:
263 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
264 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
266 2011-03-07 Ben Konrath <ben@bagu.org>
268 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
270 These fixes allow me to use 'mvn deploy' to create the war file.
272 * .classpath: This generated config has been updated by Eclipse. This
273 change was probably triggered by me updating from Eclipse 3.6.1 to
275 * .gitignore: Add entry to ignore the directory
276 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
277 * .project: The generated config has been updated by Eclipse. This
278 change was probably triggered by me updating from Eclipse 3.6.1 to
280 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
281 so that Eclipse doesn't complain
282 * pom.xml: Update to gwt-maven-plugin 2.2.0.
283 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
284 'tests' directory to 'client' directory. This is the new
285 gwt-maven-plugin convension.
286 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
287 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
289 2011-03-07 Ben Konrath <ben@bagu.org>
291 Add support for horizontal alignment in the LayoutList columns.
293 * TODO: Remove item about horizontal alignment. Add item about
294 improvements to ColumnInfo.
295 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
296 alignment on the columns. Use ColumnInfo RPC object get the column
297 title and horizontal alignment.
298 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
299 LayoutListView creation with ColumnInfo RPC object.
300 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
301 a ColumnInfo object for every LayoutList columnn. Convert the
302 FieldFormatting.HorizontalAlignment to the correct
303 ColumnnInfo.HorizontatlAlignment with the new
304 getColumnInfoHorizontalAlignment helper method.
305 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
306 to encapsulate column information like alignment and title. This
307 could be used to set the colour instead of on a per cell field basis.
308 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
309 column title storage and retrieval with ColumnInfo.
311 2011-03-04 Ben Konrath <ben@bagu.org>
313 Add support for column sorting.
315 * src/main/java/org/glom/web/client/LayoutListView.java: Change
316 AsynDataProvider to be an anonymous inner class. Use new
317 getSortedTableData RPC method when column sort is requested. Set all
318 columns sortable and add an AsyncHandler to activate sorting in the
320 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
321 method getSortedTableData(). Cleanup other method signatures.
322 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
323 new method getSortedTableData(). Cleanup other method signatures.
324 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
325 Implement getSortedTableData() and getTableData() methods by using a
326 private helper method with the appropriate parameters filled in. Use
327 user supplied sort clause when supplied, otherwise fall back to
328 sorting by the primary key. Move destroy() method to be underneath
329 constructor for readability. Cleanup comments.
331 2011-03-03 Ben Konrath <ben@bagu.org>
333 Add support for colour text and colour backgrounds to the layout list cells.
335 Only the cell backgrounds are coloured which leaves a gap between the
336 cells that isn't coloured. I need to figure out a way to set
337 'style=background-colour:' on the whole column rather than just the
340 * TODO: Add a note about colouring the background of the whole column.
341 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
342 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
343 render the coloured text and backgrounds. Use GlomField[] for the row type.
344 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
346 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
347 GlomField[] for the row type.
348 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
349 GlomField[] for the row type. Set the text, text colour and background
350 colour in the GlomField objects as specified in the glom document. Add
351 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
352 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
353 the glom field text, foreground colour and background colour.
355 2011-03-02 Ben Konrath <ben@bagu.org>
357 Don't display hidden tables in the combo box.
359 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
361 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
362 code to ignore hidden tables using ArrayLists for the table names and
364 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
365 tableNames to use ArrayLists instead of String[]. Update getter and setter
368 2011-03-01 Ben Konrath <ben@bagu.org>
370 Add support for Date and Time number types.
372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
373 Implement formatting for Date and Time values. Change the default glom
374 file to small business example.
376 2011-03-01 Ben Konrath <ben@bagu.org>
378 Add support for formatting glom types as specified in the glom file.
380 Formatting isn't finished yet - I still need to add support for Date
383 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
384 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
385 checks for null values in JDBC cleanup code and catch all exceptions
386 instead of just SQLExceptions.
387 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
390 2011-03-01 Ben Konrath <ben@bagu.org>
392 Use GWT 2.2.0 instead of 2.1.1.
394 * pom.xml: Change GWT version numbers.
396 2011-03-01 Ben Konrath <ben@bagu.org>
398 A few small code cleanups.
400 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
402 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
403 unnecessary object creation in constructor.
404 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
405 unnecessary object creation in constructor.
407 2011-02-28 Ben Konrath <ben@bagu.org>
409 Add file for TODO list.
413 2011-02-18 Ben Konrath <ben@bagu.org>
415 Enable the CellTable Pager when more than 20 rows need to be viewed.
417 The Pager will automatically become active when the results are larger
418 than the CellTable size which is currently set to 20 lines.
420 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
421 name on debug statment in RPC call in LayoutListDataProvider, add
422 numRows parameter to LayoutListView constructor, propperly set rowCount
424 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
425 name on debug statment in RPC call, use LayoutListTable object in RPC
426 calls, pass rowCount to LayoutListView.
427 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
428 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
430 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
431 interface for changes in OnlineGlomService.
432 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
433 getLayoutListHeaders() to getLayoutListTable() and return
434 LayoutListTable. Using this object allows me to pass other information
435 about the LayoutList like the expected number of rows in the result set.
436 The Connection object from the connection pool is now propperly closed.
437 Only the requested number of lines are returned to the client in
439 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
440 GlomTable and add columnTitles and numRows.
442 2011-02-18 Ben Konrath <ben@bagu.org>
444 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
446 This is a small performance boost. I'll use GlomTable to get the required
447 layoutlist information.
449 * src/main/java/org/glom/web/client/OnlineGlom.java:
450 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
451 * src/main/java/org/glom/web/shared/GlomDocument.java:
453 2011-02-18 Ben Konrath <ben@bagu.org>
455 Add option to turn off formatting in JDT formatter preferences.
457 * .settings/org.eclipse.jdt.core.prefs:
459 2011-02-18 Ben Konrath <ben@bagu.org>
461 Rename LayoutList to LayoutListView.
463 I'm working towards setting things up to easily use MVP when the time
466 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
468 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
471 2011-02-17 Ben Konrath <ben@bagu.org>
473 Move LayoutListDataProvider class into LayoutList.java.
475 * src/main/java/org/glom/web/client/LayoutList.java:
477 2011-02-17 Ben Konrath <ben@bagu.org>
479 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
481 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
483 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
484 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
485 from LibGlomServer.java.
486 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
487 Rename from LibGlomServiceAsync.java.
488 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
489 Rename from LibGlomServiceImpl.java.
490 * src/main/webapp/WEB-INF/web.xml: Update configuration.
492 2011-02-17 Ben Konrath <ben@bagu.org>
496 * .settings/org.eclipse.jdt.core.prefs:
498 2011-02-17 Ben Konrath <ben@bagu.org>
500 Move GWT-RPC objects to shared package (where they should be).
502 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
503 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
504 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
505 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
506 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
507 org.glom.web.shared package.
508 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
509 org.glom.web.shared package.
510 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
511 directory in compilation to javascript.
513 2011-02-16 Ben Konrath <ben@bagu.org>
515 Add sort clause to the sql query that grabs table information.
517 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
518 if one of the columns is a primary key.
520 2011-02-16 Ben Konrath <ben@bagu.org>
522 Disable generateAsync feature of gwt-maven.
524 The generated interface does not correctly match the methods in LibGlomService
525 and the generated singleton Util inner-class doesn't respect the servlet
528 * pom.xml: Turn off generateAsync feature.
529 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
530 with singleton Util inner-class.
532 2011-02-14 Ben Konrath <ben@bagu.org>
534 Add LGPL v3 licence notices.
536 Followed directions listed here:
537 http://www.gnu.org/licenses/gpl-howto.html
539 * COPYING: This file is a copy of the GPL v3.
540 * COPYING.LESSER: This file is a copy of the LGPL v3.
541 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
543 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
545 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
547 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
549 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
551 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
553 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
556 2011-02-14 Ben Konrath <ben@bagu.org>
558 Use ArrayList instead of Array in GWT-RPC calls.
560 Apparently this gives a slight performance boost to the compiled
563 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
565 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
568 2011-02-14 Ben Konrath <ben@bagu.org>
570 Access data from a postgres db rather than the example glom file.
572 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
573 compile down to obfuscated javascript.
574 * pom.xml: Add c3p0 and postgres JDBC libraries.
575 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
576 using a postgres db accessed through the c3p0 connection pooling library.
578 2011-02-14 Ben Konrath <ben@bagu.org>
580 Update Java formatter settings.
582 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
584 2011-02-02 Ben Konrath <ben@bagu.org>
586 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
588 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
590 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
591 the compiled webapp directory that Eclipse uses as we're using Maven now.
592 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
593 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
595 * pom.xml: Format file, change target Java version to 1.6.
597 2011-02-02 Ben Konrath <ben@bagu.org>
599 Add information about a deployment related issue.
601 * README: Add Notes section with the problem outlined.
603 2011-02-02 Ben Konrath <ben@bagu.org>
605 Call Glom.libglom_deinit() when the servlet is shutdown.
607 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
608 Glom.libglom_deinit() to destroy() method.
610 2011-01-28 Ben Konrath <ben@bagu.org>
612 Use generated Util class to get the RPC Async interface.
614 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
616 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
617 getInstance() method to get a reference to the RPC Async interface.
618 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
619 getInstance() method to get a reference to the RPC Async interface, remove
620 the now unused getLibGlomServiceProxy() method.
622 2011-01-27 Ben Konrath <ben@bagu.org>
624 Cleanup ChangeLog entry from previous commit.
626 * ChangeLog: Group logical changes together and add comments.
628 2011-01-25 Ben Konrath <ben@bagu.org>
630 Convert to gwt-maven project.
632 * .gitignore: Update for new project structure.
633 * README: New file with a link to the online documentation.
634 * pom.xml: The generated maven configuration file with some tweaks.
636 Add / update Eclipse settings. These files are a merge of the files that
637 were generated with the gwt-maven plugin and the files we were previously
641 * .settings/.jsdtscope:
642 * .settings/com.google.gdt.eclipse.core.prefs:
643 * .settings/com.google.gwt.eclipse.core.prefs:
644 * .settings/org.eclipse.jdt.core.prefs:
645 * .settings/org.eclipse.wst.common.component:
646 * .settings/org.eclipse.wst.common.project.facet.core.xml:
647 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
648 * .settings/org.maven.ide.eclipse.prefs:
649 * OnlineGlomTest-dev.launch:
650 * OnlineGlomTest-prod.launch:
652 Java source files moved from the 'src' directory to the directory structure
654 * src/main/java/org/glom/web/client/GlomDocument.java:
655 * src/main/java/org/glom/web/client/GlomTable.java:
656 * src/main/java/org/glom/web/client/LayoutList.java:
657 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
658 * src/main/java/org/glom/web/client/LibGlomService.java:
659 * src/main/java/org/glom/web/client/OnlineGlom.java:
660 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
662 Non-functional property file used for translations. I included this as
663 reminder that it's something I need to sort out.
664 * src/main/resources/org/glom/web/client/Messages.properties:
666 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
667 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
669 The servlet configuration files moved from the 'war' directory.
670 * src/main/webapp/OnlineGlom.css:
671 * src/main/webapp/OnlineGlom.html:
672 * src/main/webapp/WEB-INF/web.xml:
674 Generated test files with most of the code commented out. I included these
675 so that it's easy to add tests when we're ready for them.
676 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
677 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
679 2011-01-25 Ben Konrath <ben@bagu.org>
681 Remove unused println.
683 * src/org/glom/web/server/LibGlomServiceImpl.java:
685 2011-01-25 Ben Konrath <ben@bagu.org>
687 Add project specific JDT settings.
689 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
690 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
692 2011-01-25 Ben Konrath <ben@bagu.org>
694 Populate celltable with example data.
696 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
697 * src/org/glom/web/client/GlomTable.java: Correct formatting.
698 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
699 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
700 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
701 asynchronously gets the example data.
702 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
703 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
704 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
705 curently selected table to be retrieved by other widgets.
706 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
707 implement getTableData() in a hacky way. This method needs to be updated
708 to grab information from the database when database creating is
711 2011-01-20 Ben Konrath <ben@bagu.org>
713 Set table headers when table dropBox changes.
715 * src/org/glom/web/client/GlomDocument.java: Correct some method
717 * src/org/glom/web/client/LibGlomService.java: Add method
718 to get list layout field names.
719 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
720 to get list layout field names.
721 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
722 widget for list layout table.
723 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
724 the table drop box and add new updateTable() method to asynchronously
725 get the layout list field names for the currently selected table.
726 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
727 implementation of getLayoutListHeaders() method.
728 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
730 2011-01-18 Ben Konrath <ben@bagu.org>
732 Make a listBox with table titles instead of the flexTable demo.
734 This is the start of something more useful.
736 * .classpath: Exclude a bunch of packages from the JVM that are
737 getting in the way of the Eclipse content assist.
738 * src/org/glom/web/client/GlomDocument.java:
739 * src/org/glom/web/client/GlomTable.java:
740 * src/org/glom/web/client/LibGlomService.java:
741 * src/org/glom/web/client/LibGlomServiceAsync.java:
742 * src/org/glom/web/client/OnlineGlom.java:
743 * src/org/glom/web/server/LibGlomServiceImpl.java:
744 * war/OnlineGlom.html:
745 * war/WEB-INF/web.xml:
747 211-01-13 Ben Konrath <ben@bagu.org>
749 Update to new java-libglom API.
751 * .gitignore: Ignore OnlineGlom.war.
752 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
754 2010-12-20 Ben Konrath <ben@bagu.org>
756 Add some basic style to the table listing.
758 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
759 header, print useful error message on async callback failure.
760 * war/OnlineGlom.css: Add style for table header, remove defaults
761 provided by the Eclipse project wizard.
763 2010-12-20 Ben Konrath <ben@bagu.org>
765 Load example file from installed glom dir.
767 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
768 provided by java-libglom to find the example file.
770 2010-12-20 Ben Konrath <ben@bagu.org>
772 Update Eclipse settings.
775 * .settings/com.google.gdt.eclipse.core.prefs:
776 * .settings/com.google.gwt.eclipse.core.prefs:
778 2010-12-17 Ben Konrath <ben@bagu.org>
782 * .classpath: New file.
783 * .gitignore: New file.
784 * .project: New file.
785 * .settings/com.google.gdt.eclipse.core.prefs: New file.
786 * .settings/com.google.gwt.eclipse.core.prefs: New file.
787 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
788 * src/org/glom/web/client/GlomTable.java: New file.
789 * src/org/glom/web/client/OnlineGlom.java: New file.
790 * src/org/glom/web/client/TableNameService.java: New file.
791 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
792 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
793 * war/OnlineGlom.css: New file.
794 * war/OnlineGlom.html: New file.
795 * war/WEB-INF/web.xml: New file.
796 * war/images/glom.png: New file.