1 2011-04-04 Ben Konrath <ben@bagu.org>
3 Move View classes to their own package.
5 This is the second commit of a refactor that will allow OnlineGlom to
6 be used with multiple documents.
8 * src/main/java/org/glom/web/client/OnlineGlom.java:
9 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
10 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
12 2011-04-02 Ben Konrath <ben@bagu.org>
14 Move UI code from the main module to its own class.
16 This is the first commit of a refactor that will allow OnlineGlom to be
17 used with multiple documents.
19 * src/main/java/org/glom/web/client/LayoutListView.java: Update
20 references to OnlineGlom to OnlineGlomView.
21 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
22 OnlineGlomView and instantiate it here.
23 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
24 represents the main OnlineGlomView with one document.
26 2011-04-01 Ben Konrath <ben@bagu.org>
28 Fix formatting of gwt.xml and add DTD.
30 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
32 2011-03-30 Ben Konrath <ben@bagu.org>
34 Propperly convert gdkColor string to html colour string.
36 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
38 2011-03-28 Ben Konrath <ben@bagu.org>
40 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
42 This implementation matches
43 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
44 readable and is not tied to Swig.
46 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
48 2011-03-28 Ben Konrath <ben@bagu.org>
50 Use read-only checkboxes for boolean field types.
52 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
53 in the CellTable based on the field type. It currently only
54 distinguishes between boolean and text columns but I'll need to add
55 support for more types.
56 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
57 column type in the ColumnInfo object. Add method to convert between the
58 glom field type enum in ColumnInfo and the glom field type in libglom.
59 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
61 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
62 getting and setting booleans.
64 2011-03-25 Ben Konrath <ben@bagu.org>
66 Don't get the Date twice from the ResultSet.
68 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
70 2011-03-25 Ben Konrath <ben@bagu.org>
72 Cleanup code in the servlet.
74 * TODO: Remove item about row count. Add item about testing row count
75 query with large number of rows.
76 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
77 spelling mistakes, change method parameter to be consistent with
80 2011-03-25 Ben Konrath <ben@bagu.org>
82 Add server side logging with the gwt-log library.
84 * .gitignore: Ignore the log file we're now producing.
85 * TODO: Add a couple TODO item for logging.
86 * pom.xml: Add gwt-log and log4j as a dependency.
87 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
88 logging of errors, warnings and some important info.
89 * src/main/resources/log4j.properties: New file to configure log4j.
91 2011-03-24 Ben Konrath <ben@bagu.org>
93 Add a disable button for the Details view.
95 * src/main/java/org/glom/web/client/LayoutListView.java:
97 2011-03-22 Ben Konrath <ben@bagu.org>
99 Use a count query to get the number of rows for the list view pager.
101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
103 2011-03-22 Ben Konrath <ben@bagu.org>
105 Add more TODO information about CellTable pager positioning.
109 2011-03-19 Ben Konrath <ben@bagu.org>
111 Add TODO item about CellTable pager positioning.
115 2011-03-18 Ben Konrath <ben@bagu.org>
117 Remove unneeded GlomFieldColumn class.
119 This is just a small code cleanup.
121 * src/main/java/org/glom/web/client/LayoutListView.java:
123 2011-03-18 Ben Konrath <ben@bagu.org>
125 Use cursor mode in the query that gets data for the list view.
127 I still need to fix the potential memory problem when getting the row
128 count for the list view.
130 * TODO: Add note about testing memory usage with large data sets. Add
131 item about fixing row counting with large data sets.
132 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
133 PostgreSQL JDBC driver into cursor mode when getting data for the
136 2011-03-15 Ben Konrath <ben@bagu.org>
138 Remove the GWT Container from the Eclipse build classpath.
140 The GWT dependencies are set by Maven so this isn't needed.
144 2011-03-15 Murray Cumming <murrayc@murrayc.com>
146 Added some earlier mockups to git, but not to the tarball dist.
148 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
149 Openismus. These hopefully show how we might structure the HTML so that
150 it can be styled easily with CSS. However, we probably need to adapt them
151 for the CSS structure that GWT dictates for common widgets.
153 2011-03-14 Ben Konrath <ben@bagu.org>
155 Locate OnlineGlom.properties using the ServletContext.
157 This is required to be able to locate the file in the deployed servlet.
159 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
160 Configure the database and glom document in in a helper method so
161 that the ServletContext can be used to locate OnlineGlom.properties.
162 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
163 src/main/webapp. This is the proper location for .properites files.
165 2011-03-12 Ben Konrath <ben@bagu.org>
167 Add note to README about why we're compiling down to obfuscated JavaScript.
171 2011-03-11 Ben Konrath <ben@bagu.org>
173 Use properties file to configure servlet.
175 This allows people to change the glom file path, db username and db
176 password without recompiling the code.
178 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
179 * src/main/webapp/OnlineGlom.properties:
181 2011-03-11 Ben Konrath <ben@bagu.org>
183 Use table fields in layout list view if the layout list is not defined.
185 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
186 Manually create a LayoutFieldVector for the query builder using the
187 table fields when a layout list is not defined in the glom file.
189 2011-03-11 Ben Konrath <ben@bagu.org>
191 Only show FIXME string for images when there's an image.
193 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
194 in this change are some small code cleanups.
196 2011-03-11 Ben Konrath <ben@bagu.org>
198 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
200 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
202 2011-03-11 Ben Konrath <ben@bagu.org>
204 Correctly set the index of the default table.
206 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
207 Correctly set the index of the default table. Add commented out example
210 2011-03-10 Ben Konrath <ben@bagu.org>
212 Add comment to pom.xml about the previous change.
214 * pom.xml: Add comment about the deployment issue so that it's obvious
215 why java-libglom is set to the provided scope.
217 2011-03-10 Ben Konrath <ben@bagu.org>
219 Change java-libglom dependency from compile to provided in pom.xml.
221 Since java-libglom uses jni it can only be loaded once and therefore
222 must be placed in $CATALINA_HOME/lib and not included in each war.
223 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
224 More information about this issue can be found in the Tomcat 6 release
225 notes in the "JNI Based Applications" section:
227 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
229 * README: Remove note about this issue. Deployment info should really
230 be on the wiki anyway so I'll add it right now.
231 * pom.xml: Change java-libglom dependency from compile to provided so
232 that it's copied in to the packaged war.
234 2011-03-09 Ben Konrath <ben@bagu.org>
236 Change to using a neutral locale for currency, date and time formatting.
238 This solves the problem of currency values being represented without a
239 space between the currency code and the number (e.g. "EUR5.89" is now
240 represented as "EUR 5.89"). More work is required when we implement
241 a locale preference setting.
243 * TODO: Add note about currency formatting issues with different
245 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
246 to using the neutral ROOT locale.
248 2011-03-09 Ben Konrath <ben@bagu.org>
250 Add support for currency codes that are not ISO 4217 codes.
252 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
253 the currency code defined in the glom file when it's not 3 characters
254 long or when Java doesn't recognize the string as an ISO 4217 code.
256 2011-03-08 Ben Konrath <ben@bagu.org>
258 Remove test classes, launch configurations and configuration.
260 The test stuff was getting in the way when creating the war. To make
261 the war file you can now do 'mvn clean package'. The packaged war file
262 will be in the target directory.
264 * .classpath: Remove unused classpathentry for tests and i18n.
265 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
266 property. Don't run test or i18n goals when packaging the war.
267 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
272 * OnlineGlomTest-dev.launch:
273 * OnlineGlomTest-prod.launch:
274 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
275 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
277 2011-03-07 Ben Konrath <ben@bagu.org>
279 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
281 These fixes allow me to use 'mvn deploy' to create the war file.
283 * .classpath: This generated config has been updated by Eclipse. This
284 change was probably triggered by me updating from Eclipse 3.6.1 to
286 * .gitignore: Add entry to ignore the directory
287 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
288 * .project: The generated config has been updated by Eclipse. This
289 change was probably triggered by me updating from Eclipse 3.6.1 to
291 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
292 so that Eclipse doesn't complain
293 * pom.xml: Update to gwt-maven-plugin 2.2.0.
294 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
295 'tests' directory to 'client' directory. This is the new
296 gwt-maven-plugin convension.
297 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
298 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
300 2011-03-07 Ben Konrath <ben@bagu.org>
302 Add support for horizontal alignment in the LayoutList columns.
304 * TODO: Remove item about horizontal alignment. Add item about
305 improvements to ColumnInfo.
306 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
307 alignment on the columns. Use ColumnInfo RPC object get the column
308 title and horizontal alignment.
309 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
310 LayoutListView creation with ColumnInfo RPC object.
311 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
312 a ColumnInfo object for every LayoutList columnn. Convert the
313 FieldFormatting.HorizontalAlignment to the correct
314 ColumnnInfo.HorizontatlAlignment with the new
315 getColumnInfoHorizontalAlignment helper method.
316 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
317 to encapsulate column information like alignment and title. This
318 could be used to set the colour instead of on a per cell field basis.
319 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
320 column title storage and retrieval with ColumnInfo.
322 2011-03-04 Ben Konrath <ben@bagu.org>
324 Add support for column sorting.
326 * src/main/java/org/glom/web/client/LayoutListView.java: Change
327 AsynDataProvider to be an anonymous inner class. Use new
328 getSortedTableData RPC method when column sort is requested. Set all
329 columns sortable and add an AsyncHandler to activate sorting in the
331 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
332 method getSortedTableData(). Cleanup other method signatures.
333 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
334 new method getSortedTableData(). Cleanup other method signatures.
335 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
336 Implement getSortedTableData() and getTableData() methods by using a
337 private helper method with the appropriate parameters filled in. Use
338 user supplied sort clause when supplied, otherwise fall back to
339 sorting by the primary key. Move destroy() method to be underneath
340 constructor for readability. Cleanup comments.
342 2011-03-03 Ben Konrath <ben@bagu.org>
344 Add support for colour text and colour backgrounds to the layout list cells.
346 Only the cell backgrounds are coloured which leaves a gap between the
347 cells that isn't coloured. I need to figure out a way to set
348 'style=background-colour:' on the whole column rather than just the
351 * TODO: Add a note about colouring the background of the whole column.
352 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
353 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
354 render the coloured text and backgrounds. Use GlomField[] for the row type.
355 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
357 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
358 GlomField[] for the row type.
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
360 GlomField[] for the row type. Set the text, text colour and background
361 colour in the GlomField objects as specified in the glom document. Add
362 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
363 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
364 the glom field text, foreground colour and background colour.
366 2011-03-02 Ben Konrath <ben@bagu.org>
368 Don't display hidden tables in the combo box.
370 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
373 code to ignore hidden tables using ArrayLists for the table names and
375 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
376 tableNames to use ArrayLists instead of String[]. Update getter and setter
379 2011-03-01 Ben Konrath <ben@bagu.org>
381 Add support for Date and Time number types.
383 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
384 Implement formatting for Date and Time values. Change the default glom
385 file to small business example.
387 2011-03-01 Ben Konrath <ben@bagu.org>
389 Add support for formatting glom types as specified in the glom file.
391 Formatting isn't finished yet - I still need to add support for Date
394 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
395 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
396 checks for null values in JDBC cleanup code and catch all exceptions
397 instead of just SQLExceptions.
398 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
401 2011-03-01 Ben Konrath <ben@bagu.org>
403 Use GWT 2.2.0 instead of 2.1.1.
405 * pom.xml: Change GWT version numbers.
407 2011-03-01 Ben Konrath <ben@bagu.org>
409 A few small code cleanups.
411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
413 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
414 unnecessary object creation in constructor.
415 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
416 unnecessary object creation in constructor.
418 2011-02-28 Ben Konrath <ben@bagu.org>
420 Add file for TODO list.
424 2011-02-18 Ben Konrath <ben@bagu.org>
426 Enable the CellTable Pager when more than 20 rows need to be viewed.
428 The Pager will automatically become active when the results are larger
429 than the CellTable size which is currently set to 20 lines.
431 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
432 name on debug statment in RPC call in LayoutListDataProvider, add
433 numRows parameter to LayoutListView constructor, propperly set rowCount
435 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
436 name on debug statment in RPC call, use LayoutListTable object in RPC
437 calls, pass rowCount to LayoutListView.
438 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
439 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
441 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
442 interface for changes in OnlineGlomService.
443 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
444 getLayoutListHeaders() to getLayoutListTable() and return
445 LayoutListTable. Using this object allows me to pass other information
446 about the LayoutList like the expected number of rows in the result set.
447 The Connection object from the connection pool is now propperly closed.
448 Only the requested number of lines are returned to the client in
450 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
451 GlomTable and add columnTitles and numRows.
453 2011-02-18 Ben Konrath <ben@bagu.org>
455 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
457 This is a small performance boost. I'll use GlomTable to get the required
458 layoutlist information.
460 * src/main/java/org/glom/web/client/OnlineGlom.java:
461 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
462 * src/main/java/org/glom/web/shared/GlomDocument.java:
464 2011-02-18 Ben Konrath <ben@bagu.org>
466 Add option to turn off formatting in JDT formatter preferences.
468 * .settings/org.eclipse.jdt.core.prefs:
470 2011-02-18 Ben Konrath <ben@bagu.org>
472 Rename LayoutList to LayoutListView.
474 I'm working towards setting things up to easily use MVP when the time
477 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
479 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
482 2011-02-17 Ben Konrath <ben@bagu.org>
484 Move LayoutListDataProvider class into LayoutList.java.
486 * src/main/java/org/glom/web/client/LayoutList.java:
488 2011-02-17 Ben Konrath <ben@bagu.org>
490 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
492 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
494 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
495 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
496 from LibGlomServer.java.
497 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
498 Rename from LibGlomServiceAsync.java.
499 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
500 Rename from LibGlomServiceImpl.java.
501 * src/main/webapp/WEB-INF/web.xml: Update configuration.
503 2011-02-17 Ben Konrath <ben@bagu.org>
507 * .settings/org.eclipse.jdt.core.prefs:
509 2011-02-17 Ben Konrath <ben@bagu.org>
511 Move GWT-RPC objects to shared package (where they should be).
513 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
514 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
515 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
516 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
517 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
518 org.glom.web.shared package.
519 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
520 org.glom.web.shared package.
521 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
522 directory in compilation to javascript.
524 2011-02-16 Ben Konrath <ben@bagu.org>
526 Add sort clause to the sql query that grabs table information.
528 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
529 if one of the columns is a primary key.
531 2011-02-16 Ben Konrath <ben@bagu.org>
533 Disable generateAsync feature of gwt-maven.
535 The generated interface does not correctly match the methods in LibGlomService
536 and the generated singleton Util inner-class doesn't respect the servlet
539 * pom.xml: Turn off generateAsync feature.
540 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
541 with singleton Util inner-class.
543 2011-02-14 Ben Konrath <ben@bagu.org>
545 Add LGPL v3 licence notices.
547 Followed directions listed here:
548 http://www.gnu.org/licenses/gpl-howto.html
550 * COPYING: This file is a copy of the GPL v3.
551 * COPYING.LESSER: This file is a copy of the LGPL v3.
552 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
554 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
556 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
558 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
560 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
562 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
564 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
567 2011-02-14 Ben Konrath <ben@bagu.org>
569 Use ArrayList instead of Array in GWT-RPC calls.
571 Apparently this gives a slight performance boost to the compiled
574 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
576 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
579 2011-02-14 Ben Konrath <ben@bagu.org>
581 Access data from a postgres db rather than the example glom file.
583 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
584 compile down to obfuscated javascript.
585 * pom.xml: Add c3p0 and postgres JDBC libraries.
586 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
587 using a postgres db accessed through the c3p0 connection pooling library.
589 2011-02-14 Ben Konrath <ben@bagu.org>
591 Update Java formatter settings.
593 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
595 2011-02-02 Ben Konrath <ben@bagu.org>
597 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
599 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
601 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
602 the compiled webapp directory that Eclipse uses as we're using Maven now.
603 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
604 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
606 * pom.xml: Format file, change target Java version to 1.6.
608 2011-02-02 Ben Konrath <ben@bagu.org>
610 Add information about a deployment related issue.
612 * README: Add Notes section with the problem outlined.
614 2011-02-02 Ben Konrath <ben@bagu.org>
616 Call Glom.libglom_deinit() when the servlet is shutdown.
618 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
619 Glom.libglom_deinit() to destroy() method.
621 2011-01-28 Ben Konrath <ben@bagu.org>
623 Use generated Util class to get the RPC Async interface.
625 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
627 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
628 getInstance() method to get a reference to the RPC Async interface.
629 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
630 getInstance() method to get a reference to the RPC Async interface, remove
631 the now unused getLibGlomServiceProxy() method.
633 2011-01-27 Ben Konrath <ben@bagu.org>
635 Cleanup ChangeLog entry from previous commit.
637 * ChangeLog: Group logical changes together and add comments.
639 2011-01-25 Ben Konrath <ben@bagu.org>
641 Convert to gwt-maven project.
643 * .gitignore: Update for new project structure.
644 * README: New file with a link to the online documentation.
645 * pom.xml: The generated maven configuration file with some tweaks.
647 Add / update Eclipse settings. These files are a merge of the files that
648 were generated with the gwt-maven plugin and the files we were previously
652 * .settings/.jsdtscope:
653 * .settings/com.google.gdt.eclipse.core.prefs:
654 * .settings/com.google.gwt.eclipse.core.prefs:
655 * .settings/org.eclipse.jdt.core.prefs:
656 * .settings/org.eclipse.wst.common.component:
657 * .settings/org.eclipse.wst.common.project.facet.core.xml:
658 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
659 * .settings/org.maven.ide.eclipse.prefs:
660 * OnlineGlomTest-dev.launch:
661 * OnlineGlomTest-prod.launch:
663 Java source files moved from the 'src' directory to the directory structure
665 * src/main/java/org/glom/web/client/GlomDocument.java:
666 * src/main/java/org/glom/web/client/GlomTable.java:
667 * src/main/java/org/glom/web/client/LayoutList.java:
668 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
669 * src/main/java/org/glom/web/client/LibGlomService.java:
670 * src/main/java/org/glom/web/client/OnlineGlom.java:
671 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
673 Non-functional property file used for translations. I included this as
674 reminder that it's something I need to sort out.
675 * src/main/resources/org/glom/web/client/Messages.properties:
677 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
678 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
680 The servlet configuration files moved from the 'war' directory.
681 * src/main/webapp/OnlineGlom.css:
682 * src/main/webapp/OnlineGlom.html:
683 * src/main/webapp/WEB-INF/web.xml:
685 Generated test files with most of the code commented out. I included these
686 so that it's easy to add tests when we're ready for them.
687 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
688 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
690 2011-01-25 Ben Konrath <ben@bagu.org>
692 Remove unused println.
694 * src/org/glom/web/server/LibGlomServiceImpl.java:
696 2011-01-25 Ben Konrath <ben@bagu.org>
698 Add project specific JDT settings.
700 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
701 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
703 2011-01-25 Ben Konrath <ben@bagu.org>
705 Populate celltable with example data.
707 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
708 * src/org/glom/web/client/GlomTable.java: Correct formatting.
709 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
710 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
711 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
712 asynchronously gets the example data.
713 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
714 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
715 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
716 curently selected table to be retrieved by other widgets.
717 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
718 implement getTableData() in a hacky way. This method needs to be updated
719 to grab information from the database when database creating is
722 2011-01-20 Ben Konrath <ben@bagu.org>
724 Set table headers when table dropBox changes.
726 * src/org/glom/web/client/GlomDocument.java: Correct some method
728 * src/org/glom/web/client/LibGlomService.java: Add method
729 to get list layout field names.
730 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
731 to get list layout field names.
732 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
733 widget for list layout table.
734 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
735 the table drop box and add new updateTable() method to asynchronously
736 get the layout list field names for the currently selected table.
737 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
738 implementation of getLayoutListHeaders() method.
739 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
741 2011-01-18 Ben Konrath <ben@bagu.org>
743 Make a listBox with table titles instead of the flexTable demo.
745 This is the start of something more useful.
747 * .classpath: Exclude a bunch of packages from the JVM that are
748 getting in the way of the Eclipse content assist.
749 * src/org/glom/web/client/GlomDocument.java:
750 * src/org/glom/web/client/GlomTable.java:
751 * src/org/glom/web/client/LibGlomService.java:
752 * src/org/glom/web/client/LibGlomServiceAsync.java:
753 * src/org/glom/web/client/OnlineGlom.java:
754 * src/org/glom/web/server/LibGlomServiceImpl.java:
755 * war/OnlineGlom.html:
756 * war/WEB-INF/web.xml:
758 211-01-13 Ben Konrath <ben@bagu.org>
760 Update to new java-libglom API.
762 * .gitignore: Ignore OnlineGlom.war.
763 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
765 2010-12-20 Ben Konrath <ben@bagu.org>
767 Add some basic style to the table listing.
769 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
770 header, print useful error message on async callback failure.
771 * war/OnlineGlom.css: Add style for table header, remove defaults
772 provided by the Eclipse project wizard.
774 2010-12-20 Ben Konrath <ben@bagu.org>
776 Load example file from installed glom dir.
778 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
779 provided by java-libglom to find the example file.
781 2010-12-20 Ben Konrath <ben@bagu.org>
783 Update Eclipse settings.
786 * .settings/com.google.gdt.eclipse.core.prefs:
787 * .settings/com.google.gwt.eclipse.core.prefs:
789 2010-12-17 Ben Konrath <ben@bagu.org>
793 * .classpath: New file.
794 * .gitignore: New file.
795 * .project: New file.
796 * .settings/com.google.gdt.eclipse.core.prefs: New file.
797 * .settings/com.google.gwt.eclipse.core.prefs: New file.
798 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
799 * src/org/glom/web/client/GlomTable.java: New file.
800 * src/org/glom/web/client/OnlineGlom.java: New file.
801 * src/org/glom/web/client/TableNameService.java: New file.
802 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
803 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
804 * war/OnlineGlom.css: New file.
805 * war/OnlineGlom.html: New file.
806 * war/WEB-INF/web.xml: New file.
807 * war/images/glom.png: New file.