1 2011-07-13 Ben Konrath <ben@bagu.org>
3 Update install script for java-libglom version change.
5 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
8 2011-07-13 Ben Konrath <ben@bagu.org>
10 Add support sub-group in the details view.
12 I also removed the code that special-cased the default details view
15 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
17 I still have to make a proper flowtable.
19 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
20 Don't special-case default details view layout.
21 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
22 addLayoutField() as I'm going to use it.
23 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
24 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
26 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
27 extracted from DetailsViewImpl.GroupPanel. Add support for
29 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
30 column count when getting the details layout.
32 2011-07-12 Ben Konrath <ben@bagu.org>
34 Set browser title with database and table titles.
36 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
37 Set the browser title when the table changes and when the activity
39 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
40 title when retrieving document info (the GlomDocument object).
41 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
42 with getter and setter methods. Remove unused convenience constructor.
43 Use default code formatting.
45 2011-07-12 Ben Konrath <ben@bagu.org>
47 Ignore LayoutItemPortals in the details view.
49 I added a new DTO for the LayoutItemPortal so that I can ignore it in
52 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
53 LayoutItemPortal layout objects.
54 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
55 LayoutItemPortal objects when retrieving the details layout.
56 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
57 file. This is an empty class and just used to get type information for
60 2011-07-12 Ben Konrath <ben@bagu.org>
62 Use java-libglom 1.17.0.
66 2011-07-11 Ben Konrath <ben@bagu.org>
68 Remove "Table:" label from table selector.
70 This matches a recent change in the Glom UI.
72 * mockups/details-contacts.html:
73 * mockups/details-projects.html:
74 * mockups/listview-contacts.html:
75 * mockups/listview-projects.html: Remove the "Table:" label from the
77 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
79 2011-07-11 Ben Konrath <ben@bagu.org>
81 Add main groups to the details view.
83 This makes things look a little nicer in the details view. The next step
84 is to implement the flowtable.
86 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
87 resources from the standard gwt css theme. Standard.css is now
88 included in OnlineGlom.html so that the online glom css rules have
89 precedence over the gwt theme.
90 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
91 the whole LayoutGroup to the DetailsView instead of just the titles.
92 * src/main/java/org/glom/web/client/ui/DetailsView.java:
93 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
94 details layout with a helper class (GroupPanel). I might extract this
95 class when I make the full flowtable.
96 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
97 string as default so I don't have to worry about NPEs when processing
99 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
100 note beside OnlineGlom.gwt.xml above).
101 * src/main/webapp/style.css: Add default font-size to body to override
102 the font-size set by the standard theme. Don't use h2 tags for
103 group-title. Create new details-cell class.
105 2011-07-08 Murray Cumming <murrayc@murrayc.com>
107 ConfiguredDocument: Set the port number too.
109 * src/main/java/org/glom/web/server/ConfiguredDocument.java
110 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
111 Glom document. Presumably this worked sometimes so far because there is a
114 2011-07-08 Murray Cumming <murrayc@murrayc.com>
116 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
118 * src/main/java/org/glom/web/server/ConfiguredDocument.java
119 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
120 correct, though we should throw an exception too.
122 2011-07-08 Murray Cumming <murrayc@murrayc.com>
124 Fix a addDocuemnt typo.
126 * src/main/java/org/glom/web/shared/Documents.java
127 (Documents.addDocuemnt): Rename to addDocument().
128 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
129 (OnlineGlomServiceImpl.getDocuments): Adapt.
131 2011-07-08 Murray Cumming <murrayc@murrayc.com>
133 Slightly improved log output when connection fails.
135 * src/main/java/org/glom/web/server/ConfiguredDocument.java
136 (ConfiguredDocument.setUsernameAndPassword):
137 We don't know for sure if it' the username/password that's wrong, so
138 rephrase the message.
139 Also ouput the exception message, though it's generic in this case.
141 2011-07-08 Ben Konrath <ben@bagu.org>
145 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
146 added braces to a one line if statement because the Eclipse formatter
147 was getting confused.
149 2011-07-07 Ben Konrath <ben@bagu.org>
151 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
153 These should really be two separate tasks but I counldn't get things to
154 work with GWT 2.2.0 and Eclipse 3.7.
158 * .settings/org.eclipse.jdt.core.prefs:
159 * .settings/org.eclipse.jdt.ui.prefs:
160 * .settings/org.eclipse.ltk.core.refactoring.prefs:
161 * .settings/org.eclipse.m2e.core.prefs:
162 Add new config files. Update current files. Remove references to the
163 webtools plugins as we're not using any of the webtools features.
164 * .gitignore: Add logs directory which is created when running with
166 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
167 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
168 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
170 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
172 2011-07-07 Murray Cumming <murrayc@murrayc.com>
174 onlineglom.properties: Add explanatory comments.
176 * src/main/resources/onlineglom.properties: Also change the default user
177 from ben to someuser, to avoid the risk of people thinking we just
178 stupidly hard-coded a locale path, when they see that on stderr or in a log.
180 2011-06-28 Ben Konrath <ben@bagu.org>
182 Use filename in Log for incorrect passwords.
184 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
185 getFileName(String) method to get the filename from the URI.
187 2011-06-28 Ben Konrath <ben@bagu.org>
189 Add the table name to the URL token for the ListPlace.
191 This makes things consistent between the DetailsPlace and the
192 ListPlace. It also allows the the ListPlace to be bookmarked.
194 * src/main/java/org/glom/web/client/OnlineGlomService.java:
195 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
196 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
197 Remove getDefaultListLayout(). The default layout is now returned
198 by the getListLayout() method when the table name is an empty string.
199 * src/main/java/org/glom/web/client/activity/ListActivity.java:
200 Add table name field. Change to a new ListPlace when the table
201 has been changed. Use getListLayout() for getting the default
203 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
204 Add table name field. Set the correct table name in the list box
205 when loading from bookmark. This corrects a problem for the
207 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
208 Move table name to super-class (HasSelectableTable). Move document
209 and table URL keys to super-class in HasSelectableTable.
210 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
211 Add table name field. Add Tokenizer class with URL key common to
212 the subclasses (DetailsPlace and ListPlace).
213 * src/main/java/org/glom/web/client/place/ListPlace.java:
214 Add table name. Add code to parse the URL token.
215 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
216 Update ListPlace construction with empty table name string.
217 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
218 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
219 Change setTableSelectedIndex(int) to setSelectedTableName(String).
220 Update ListPlace construction with table name string.
221 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
222 Change defaultTableName field to tableName to reflect how it's now
223 used. Update the getter and setter methods.
225 2011-06-28 Ben Konrath <ben@bagu.org>
227 Enable the table selector in the DetailsView.
229 * src/main/java/org/glom/web/client/OnlineGlomService.java:
230 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
231 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
232 Remove getDefaultDetailsLayout(). The default layout is now returned
233 by the getDetailsLayout() method when the table name is an empty
235 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
236 event handler for table change event. Change to using
237 getDetailsLayout() for the default details layout.
238 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
240 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
241 when navigating to the details place.
243 2011-06-27 Ben Konrath <ben@bagu.org>
245 Use filename based unique document ID in URL and for RPC.
247 The document ID is the glom document name with spaces (' ') replaced
248 with pluses ('+') and without the .glom extension.
250 This change is mostly a string substitution of 'documentTitle' for
251 'documentID'. The only code change is the addition of a Documents DTO to get the
252 filename to document title mappings as indicated below.
254 * src/main/java/org/glom/web/client/OnlineGlomService.java:
255 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
256 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
257 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
258 Use Documents DTO to create the document links in the document
260 * src/main/java/org/glom/web/client/activity/ListActivity.java:
261 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
262 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
263 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
264 * src/main/java/org/glom/web/client/place/ListPlace.java:
265 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
266 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
267 * src/main/java/org/glom/web/client/ui/ListView.java:
268 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
269 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
270 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
271 * src/main/java/org/glom/web/server/Log.java:
272 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
273 getDocumentTitles() to getDocuments() and return the Documents DTO.
274 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
275 transferring the filename to document title mappings.
277 2011-06-25 Ben Konrath <ben@bagu.org>
279 Make the authentication popup work again.
281 This bug was introduced when I extracted ConfiguredDocument to its own class.
283 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
284 correct success / fail status in setUsernameAndPassword().
286 2011-06-25 Ben Konrath <ben@bagu.org>
288 Use filename as unique key for configuring database usernames and passwords.
290 This replaces the use of the Glom document title which could change
291 depending on the locale. Thanks to Murray Cumming for pointing out this
294 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
295 * src/main/resources/onlineglom.properties:
297 2011-06-24 Ben Konrath <ben@bagu.org>
299 Pass primary key value to DetailsView.
301 This enables the DetailsView to load the correct data.
303 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
304 primary key value field and set in constructor. Pass primary key
305 value to getDetailsData().
306 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
307 variables for document title and primary key value.
308 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
309 key value to the DetailsPlace.
311 2011-06-24 Ben Konrath <ben@bagu.org>
313 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
315 This allows the primary key to be retrieved by the Details button. This
316 functionality has not been implemented yet but it's in the works.
318 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
319 the LayoutGroup result to ListView.setCellTable instead of all of its
321 * src/main/java/org/glom/web/client/ui/ListView.java:
322 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
323 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
324 get the primary key for the table.
325 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
326 index of the primary key in the LayoutGroup accounting for hidden
327 primary keys. Rename getJavaNumberFormat() to
328 convertToJavaNumberFormat() for consistency. Cleanup / add some
330 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
331 field for primary key index and a field to indicate whether the
332 primary key is hidden or not.
334 2011-06-23 Ben Konrath <ben@bagu.org>
336 Rename getTableData methods to getListData.
338 This is a rename refactor for consistency with other methods.
340 * src/main/java/org/glom/web/client/OnlineGlomService.java:
341 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
342 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
343 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
345 2011-06-23 Ben Konrath <ben@bagu.org>
347 Extract the ConfiguredDocument innerclass into its own class.
349 This makes the servlet code more object oriented.
351 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
352 from private ConfiguredDocument class in OnlineGlomServiceImpl.
353 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
354 new ConfiguredDocument class.
356 2011-06-21 Ben Konrath <ben@bagu.org>
358 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
360 This makes things more inline with how libglom works and reduces code
361 duplication. This refactor lays the groundwork for adding the primary key to
362 the LayoutGroup object.
364 * src/main/java/org/glom/web/client/OnlineGlomService.java:
365 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
366 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
367 Change method names to getListLayout and getDefaultListLayout for
368 consistency. Use LayoutGroup as the DTO for the list layout instead of
369 ColumnInfo and LayoutListTable.
370 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
371 new method names along with the LayoutGroup object for transferring the
373 * src/main/java/org/glom/web/client/ui/ListView.java:
374 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
375 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
376 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
378 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
379 Replaced with LayoutGroup.
380 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
381 expectedResultSize and defaultTableName fields which are needed for
383 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
384 type field which is needed for the list layout but will also be
385 useful for the details layout as things progress.
386 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
387 Make class abstract. Remove the unnecessary
388 getFormattingHorizontalAlignment method. Add setFormatting method.
390 2011-06-16 Ben Konrath <ben@bagu.org>
392 Add scripts for building and installing war.
394 These will help when updating OnlineGlom but they're also good
395 supplemental documentation of the build and deployment proceeding.
397 * utils/build-onlineglom-war.sh: New file.
398 * utils/install-onlineglom-war.sh: New file.
400 2011-06-16 Ben Konrath <ben@bagu.org>
402 Create wrapper class to create consistent log messages.
404 I wrapped methods in the Log class of gwt-log to add the method names
405 from the servlet and create consistent formatting of the document title
406 and table names in the log messages.
408 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
409 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
410 log methods to use methods from wrapped Log class.
412 2011-06-16 Ben Konrath <ben@bagu.org>
414 Remove superfluous conditional return.
416 Thanks to Murray Cumming for pointing this out!
418 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
420 2011-06-15 Ben Konrath <ben@bagu.org>
422 Return an ArrayList of LayoutGroups for the Details layout.
424 This corrects a problem with the details layout as it can have more
425 than one top level LayoutGroup.
427 * src/main/java/org/glom/web/client/OnlineGlomService.java:
428 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
429 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
430 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
431 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
432 with ArrayList of LayoutGroups for the details view layout.
433 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
434 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
435 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
436 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
437 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
438 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
440 2011-06-14 Ben Konrath <ben@bagu.org>
442 Use cast_dynamic method to determine the libglom LayoutItem type.
444 This is better than finding the LayoutItem type by using the string
445 returned from the get_part_type_name() method.
447 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
449 2011-06-14 Ben Konrath <ben@bagu.org>
451 Add method names to log entries in the servlet.
453 This helps when tracking down deployment problems.
455 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
457 2011-06-14 Ben Konrath <ben@bagu.org>
459 Add data to the DetailsView using a hard-coded primary key value.
461 The layout and functionality of the DetailsView is not complete. This
462 is just a checkpoint so the patch doesn't get too big.
464 * src/main/java/org/glom/web/client/OnlineGlomService.java:
465 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
466 Add getDetailsData() servlet method.
467 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
468 Add RPC to getDetailsData(). Change the way the LayoutGroups and
469 LayoutFields are added to the DetailsView.
470 * src/main/java/org/glom/web/client/ui/DetailsView.java:
471 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
472 Add setData() method. Change addLayoutGroup() and addLayoutField() to
473 take the string for the title instead of the object.
474 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
475 Add implementation getDetailsData() along with some private helper
477 * src/main/webapp/style.css: Add padding to details-data class. Add a
478 details-label class with the same padding as the details-data class.
480 2011-06-03 Ben Konrath <ben@bagu.org>
482 Use presenter.goTo() to change to the DetailsPlace.
484 This will make things easier when we need to open the DetailsView with
485 data specific to the row that was clicked.
487 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
489 2011-06-02 Ben Konrath <ben@bagu.org>
491 Add CSS file from mockups.
493 I'm adding this now because it's going to be useful to have when
494 developing the DetailsView. The TableSelectionView and ListView aren't
497 * src/main/webapp/OnlineGlom.html:
498 * src/main/webapp/style.css:
500 2011-06-02 Ben Konrath <ben@bagu.org>
502 Use String.isEmpty() to check for empty string.
504 * src/main/java/org/glom/web/client/activity/ListActivity.java:
506 2011-06-02 Ben Konrath <ben@bagu.org>
508 Display main layout group titles in the DetailsView.
510 This is the start of the DetailsActivity/DetailsView implementation.
512 * src/main/java/org/glom/web/client/OnlineGlomService.java:
513 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
514 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
515 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
516 Get the layout information for the details view from the server and set
517 the main layout group titles.
518 * src/main/java/org/glom/web/client/ui/DetailsView.java:
519 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
520 Add addLayoutGroup() and addLayoutField() methods. This are just
521 temporary methods for creating the the details view that will change
523 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
524 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
526 * src/main/java/org/glom/web/shared/layout/Formatting.java:
527 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
528 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
529 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
530 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
531 Data Transfer Objects that mimic the libglom object structure. These are
532 used for transferring the details layout but could also be used for
533 transferring the list layout.
535 2011-05-27 Ben Konrath <ben@bagu.org>
537 Reset the AuthenticationPopup when clearing the ListView.
539 * src/main/java/org/glom/web/client/activity/ListActivity.java:
541 2011-05-27 Ben Konrath <ben@bagu.org>
543 Fix problem with onlineglom.properties file loading.
545 The old way worked in Eclipse but not on the server. Loading the
546 onlineglom.properties file now works in Eclipse and on the server.
548 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
550 2011-05-24 Ben Konrath <ben@bagu.org>
552 Update gwt-log from 3.1.0 to 3.1.2.
554 Gwt-log 3.1.0 has been marked as depreciated.
558 2011-05-24 Ben Konrath <ben@bagu.org>
560 Add comment to ListActivity.goTo() method.
562 * src/main/java/org/glom/web/client/activity/ListActivity.java:
564 2011-05-24 Ben Konrath <ben@bagu.org>
566 Remove FIXME in convertGdkColorToHtmlColour()
568 The Gdk::Color value returned by libglom is 16-bits per channel on both
569 64 and 32-bit platforms.
571 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
573 2011-05-19 Ben Konrath <ben@bagu.org>
575 Improve performance of initial ListView load.
577 I removed a round trip to the server for getting the default table name
578 and then requesting information about that table. This also removes a potential
579 problem with the table change handler not being setup in time to receive the
580 table change event from the ListActivity.
582 * src/main/java/org/glom/web/client/OnlineGlomService.java:
583 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
584 getDefaultLayoutListTable() method. Improve comments.
585 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
586 getDefaultLayoutListTable() method instead of firing a table change
587 event to get the table to load.
588 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
589 implementation of getDefaultLayoutListTable() method.
590 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
593 2011-05-19 Ben Konrath <ben@bagu.org>
595 Override toDebugString() in TableChangeEvent.
597 This is useful to have for debugging.
599 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
601 2011-05-19 Ben Konrath <ben@bagu.org>
603 Add a "Back to List" link when at the DetailsPlace.
605 * src/main/java/org/glom/web/client/activity/ListActivity.java:
606 Populate the CellTable based on the selected table of the ListBox if
607 it's set otherwise use the default table. This allows the "Back to
609 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
610 Remove Place from constructors. Add a setPlace() method. Add
611 goToPlace() method. Set class as presenter for TableSelectionView.
612 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
613 Use the same TableSelectionActivity when switching between the List and
615 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
616 Subclass the new HasSelectableTablePlace. This removes some duplicate
618 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
619 New class to represent Places that display the TableSelectionView.
620 * src/main/java/org/glom/web/client/place/ListPlace.java:
621 Subclass the new HasSelectableTablePlace. This removes some duplicate
623 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
624 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
625 Add Presenter interface. Add setBackLinkVisible() method. Add
626 setBackLink() method.
628 2011-05-18 Ben Konrath <ben@bagu.org>
630 Enable the "Details" buttons.
632 Right now only an empty details view is displayed.
634 * src/main/java/org/glom/web/client/ClientFactory.java:
635 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
636 Add DetailsView to ClientFactory.
637 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
638 A basic activity for the details view.
639 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
640 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
642 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
643 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
645 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
646 Create a new DetailsActivity when a DetailsPlace is requested. Remove
647 unnecessary super() in constructor.
648 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
649 Create a new TableSelectionActivity when a DetailsPlace is requested. We
650 really shouldn't create a new TableSelectionActivity for both the ListPlace
651 and the DetailsPlace so this should be considered a temporary solution.
652 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
653 New file. Represents a URL for the details view.
654 * src/main/java/org/glom/web/client/ui/DetailsView.java:
655 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
656 A basic details view interface and implementation.
657 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
658 Enable the "Details" buttons.
660 2011-05-12 Ben Konrath <ben@bagu.org>
662 Use a LayoutPanel with multiple display areas for main layout.
664 This is mostly a refactor in that there are no changes from the user
665 point of view. These changes are required so that we can swap out the list view
666 with the details view when the user clicks the "Details" button.
668 * src/main/java/org/glom/web/client/ClientFactory.java:
669 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
670 OnlineGlomView. Add TableSelectionView, ListView and
672 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
673 for main layout. Add display regions for main activities. Add
674 activity manager for for main activities.
675 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
676 file from parts of the deleted OnlineGlomActivity.
677 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
678 New file from parts of the deleted OnlineGlomActivity.
679 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
680 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
681 New files for app wide table change event.
682 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
683 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
684 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
685 Activity mappers for the main activities replace the deleted app-wide
687 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
688 Fix a spelling error in he comment.
689 * src/main/java/org/glom/web/client/ui/ListView.java:
690 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
691 Renamed from LayoutListView and modified for MVP. This still not a
692 proper dumb view as prescribed by the MVP pattern but it works for now.
693 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
694 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
695 New widget stripped out of the deleted OnlineGlomView.
696 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
697 Remove hack that is fixed by this patch.
699 2011-05-06 Ben Konrath <ben@bagu.org>
701 Rename OnlineGlomPlace to ListPlace.
703 The only change besides the rename is that url will now display #list
704 instead of #Document.
706 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
707 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
708 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
709 * src/main/java/org/glom/web/client/place/ListPlace.java:
710 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
712 2011-05-06 Ben Konrath <ben@bagu.org>
714 Use Presenter for app navigation.
716 This is the proper way to deal with Place (URL) changes with the MVP
719 * src/main/java/org/glom/web/client/ClientFactory.java:
720 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
721 PlaceHistoryMapper and PlaceHistoryHandler.
722 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
723 PlaceHistoryMapper and PlaceHistoryHandler.
724 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
725 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
726 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
727 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
728 Add Presenter interface and setPresenter methods. Rename addHyperLink
729 to addDocumentLink taking only the document title as a parameter.
731 2011-04-14 Ben Konrath <ben@bagu.org>
733 Prompt for db username/password if they haven't been set.
735 This is implemented with a popup widget that is contained within the
736 OnlineGlomView and managed by the OnlineGlomActivity.
738 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
739 methods for checking and setting the database username and password.
740 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
741 new methods for checking and setting the database username and
743 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
744 Display authentication popup if the JDBC connection to the database
745 has not been authenticated.
746 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
748 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
749 for dealing with the authentication popup.
750 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
751 Implement the methods for dealing with the authentication popup.
752 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
753 try to executed queries if the database connection hasn't been
754 authenticated. Implement methods for checking and setting the
755 database username and password.
757 2011-04-12 Ben Konrath <ben@bagu.org>
759 Make log messages a little clearer.
761 Add a dash betweeen the document title and the table name.
763 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
765 2011-04-12 Ben Konrath <ben@bagu.org>
767 Protect against NPEs when cleaning up database resources.
769 While this isn't strictly necessary because the exception is caught,
770 not protecting against the NPEs makes it harder to find the real error
773 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
775 2011-04-12 Ben Konrath <ben@bagu.org>
777 Move configuration of the servlet to the constructor.
779 The servlet will be initialized even if the database authentication
780 information is not set or correct. I still need to add the UI for prompting
781 the user for the authentication information when it's required.
783 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
784 javadocs for getDocumentTitles() method.
785 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
786 Set error message when RPC fails.
787 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
788 glom files directory from the configuration file. Try to set the
789 database authentication information for the specific document if it's
790 set and works otherwise try to use the global authentication
791 information set for the directory.
792 * src/main/resources/onlineglom.properties: Moved from
793 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
794 Added detailed comments for the new keys.
796 2011-04-11 Ben Konrath <ben@bagu.org>
798 Remove unnecessary @Override in DocumentSelectionViewImpl.
800 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
802 2011-04-11 Ben Konrath <ben@bagu.org>
804 Remove center alignment in DocumentSelectionView.
806 The title element is still centred but the document titles and bottom
807 sentence are both left-aligned.
809 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
811 2011-04-11 Ben Konrath <ben@bagu.org>
813 Change 'Demo' naming convention to 'Document'.
815 This is just a rename refactor with no functional changes to the code.
817 * src/main/java/org/glom/web/client/ClientFactory.java:
818 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
819 * src/main/java/org/glom/web/client/OnlineGlom.java:
820 * src/main/java/org/glom/web/client/OnlineGlomService.java:
821 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
822 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
823 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
824 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
825 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
826 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
827 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
828 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
829 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
831 2011-04-08 Ben Konrath <ben@bagu.org>
833 Remove FIXME from safeLongToInt() method.
835 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
838 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
840 2011-04-08 Ben Konrath <ben@bagu.org>
842 Display an error if no glom documents are found in the specified directory.
844 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
845 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
846 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
847 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
849 2011-04-08 Ben Konrath <ben@bagu.org>
851 Add copyright header to one more file ... oops.
853 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
855 2011-04-08 Ben Konrath <ben@bagu.org>
857 Add copyright header to files without it.
859 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
860 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
861 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
862 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
863 * src/main/java/org/glom/web/shared/ColumnInfo.java:
864 * src/main/java/org/glom/web/shared/GlomField.java:
866 2011-04-08 Ben Konrath <ben@bagu.org>
868 Add support for accessing multiple glom documents in the servlet.
870 This completes the demo selection functionality.
872 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
873 document title to methods.
874 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
875 document title to methods.
876 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
877 Set browser window title when the activity starts. Correct name of
878 document title variable.
879 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
880 Set browser window title when the activity starts. Set the table
881 selector change handler after table selector has been set. Clear the
882 OnlineGlomView when the activity has been stopped.
883 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
884 document title as the place token. Use "#Document:" instead of
885 "#OnlineGlomPlace:" in the URL.
886 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
887 Change heading to "Online Glom"
888 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
889 document title in RPC methods.
890 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
891 setDocumentTitle() method. Add clear() method.
892 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
893 setDocumentTitle() method. Implement clear() method which removes the
894 change handler on the ListBox, clears the ListBox and clears the
896 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
897 Implement methods with document title. Keep track for the configured
898 glom documents and their corresponding JDBC configurations in a hash
899 table. This information is retrieved using the document title as the
900 key in the hash table.
901 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
902 document title field as it's no longer needed.
904 2011-04-08 Ben Konrath <ben@bagu.org>
906 Update the Eclipse JDT configuration.
908 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
909 methods. Automatically add the copyright header to new files.
911 2011-04-05 Ben Konrath <ben@bagu.org>
913 Add new page for demo selection.
915 This patch adds all the components required to view and start an
916 OnlineGlom demo by clicking on the desired hyperlink. The user is
917 able to return to the demo selection page with the browser's back
918 button. I still need to modify the servlet to work with multiple
919 documents so all demo links will load the file defined in the
920 OnlineGlom.properties.
922 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
923 This is only useful during development so we don't need to save it.
924 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
925 get a reference to the DemoSelectionView.
926 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
927 method to get a reference to the DemoSelectionView.
928 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
929 default view to DemoSelectionView.
930 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
931 to get glom document titles for glom files in a hard-coded directory.
932 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
933 method to get glom document titles for glom files in a hard-coded
935 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
936 Presenter for DemoSelectionView.
937 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
938 for DemoSelectionView.
939 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
940 Update for DemoSelectionView.
941 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
942 Basic 'Place' implementation for the DemoSelectionView.
943 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
944 The interface for the DemoSelectionView.
945 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
946 The implementation of the DemoSelectionView.
947 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
948 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
949 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
950 implementation of method to get glom document titles for glom files
951 in a hard-coded directory.
952 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
953 on longer being used.
954 * src/main/webapp/glom.png: Glom logo.
956 2011-04-05 Ben Konrath <ben@bagu.org>
958 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
960 This is the forth and final commit of a refactor that will allow
961 OnlineGlom to be used with multiple documents.
963 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
964 Move RPC code from OnlineGlomViewImpl to this class.
965 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
967 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
968 RPC code to the presenter class (the P in MVP).
970 2011-04-04 Ben Konrath <ben@bagu.org>
972 Start moving the existing OnlineGlom code to MVP.
974 This work is based on the GWT MVP framework that is documented here:
976 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
978 This is the third commit of a refactor that will allow OnlineGlom to
979 be used with multiple documents.
981 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
982 Interface for client factory which is used to get instances of various
983 classes throughout the app.
984 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
985 Implementation of client factory.
986 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
987 initialize the MVP framework.
988 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
989 New file. Activity manager for the main container widget. This is the
991 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
992 Maps place (URL) to its corresponding activity.
993 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
994 New file. This is just a place holder for a generated file.
995 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
996 New file. Represents the URL for the main Online Glom app.
997 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
998 for changes in LayoutListViewImpl.
999 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1000 interface for View. Move code to OnlineGlomViewImpl class.
1001 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1002 file. Implementation of OnlineGlomView.
1003 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1004 Place resources. Use ClientFactoryImpl by default.
1006 2011-04-04 Ben Konrath <ben@bagu.org>
1008 Move View classes to their own package.
1010 This is the second commit of a refactor that will allow OnlineGlom to
1011 be used with multiple documents.
1013 * src/main/java/org/glom/web/client/OnlineGlom.java:
1014 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1015 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1017 2011-04-02 Ben Konrath <ben@bagu.org>
1019 Move UI code from the main module to its own class.
1021 This is the first commit of a refactor that will allow OnlineGlom to be
1022 used with multiple documents.
1024 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1025 references to OnlineGlom to OnlineGlomView.
1026 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1027 OnlineGlomView and instantiate it here.
1028 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1029 represents the main OnlineGlomView with one document.
1031 2011-04-01 Ben Konrath <ben@bagu.org>
1033 Fix formatting of gwt.xml and add DTD.
1035 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1037 2011-03-30 Ben Konrath <ben@bagu.org>
1039 Propperly convert gdkColor string to html colour string.
1041 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1043 2011-03-28 Ben Konrath <ben@bagu.org>
1045 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1047 This implementation matches
1048 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1049 readable and is not tied to Swig.
1051 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1053 2011-03-28 Ben Konrath <ben@bagu.org>
1055 Use read-only checkboxes for boolean field types.
1057 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1058 in the CellTable based on the field type. It currently only
1059 distinguishes between boolean and text columns but I'll need to add
1060 support for more types.
1061 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1062 column type in the ColumnInfo object. Add method to convert between the
1063 glom field type enum in ColumnInfo and the glom field type in libglom.
1064 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1066 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1067 getting and setting booleans.
1069 2011-03-25 Ben Konrath <ben@bagu.org>
1071 Don't get the Date twice from the ResultSet.
1073 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1075 2011-03-25 Ben Konrath <ben@bagu.org>
1077 Cleanup code in the servlet.
1079 * TODO: Remove item about row count. Add item about testing row count
1080 query with large number of rows.
1081 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1082 spelling mistakes, change method parameter to be consistent with
1085 2011-03-25 Ben Konrath <ben@bagu.org>
1087 Add server side logging with the gwt-log library.
1089 * .gitignore: Ignore the log file we're now producing.
1090 * TODO: Add a couple TODO item for logging.
1091 * pom.xml: Add gwt-log and log4j as a dependency.
1092 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1093 logging of errors, warnings and some important info.
1094 * src/main/resources/log4j.properties: New file to configure log4j.
1096 2011-03-24 Ben Konrath <ben@bagu.org>
1098 Add a disable button for the Details view.
1100 * src/main/java/org/glom/web/client/LayoutListView.java:
1102 2011-03-22 Ben Konrath <ben@bagu.org>
1104 Use a count query to get the number of rows for the list view pager.
1106 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1108 2011-03-22 Ben Konrath <ben@bagu.org>
1110 Add more TODO information about CellTable pager positioning.
1114 2011-03-19 Ben Konrath <ben@bagu.org>
1116 Add TODO item about CellTable pager positioning.
1120 2011-03-18 Ben Konrath <ben@bagu.org>
1122 Remove unneeded GlomFieldColumn class.
1124 This is just a small code cleanup.
1126 * src/main/java/org/glom/web/client/LayoutListView.java:
1128 2011-03-18 Ben Konrath <ben@bagu.org>
1130 Use cursor mode in the query that gets data for the list view.
1132 I still need to fix the potential memory problem when getting the row
1133 count for the list view.
1135 * TODO: Add note about testing memory usage with large data sets. Add
1136 item about fixing row counting with large data sets.
1137 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1138 PostgreSQL JDBC driver into cursor mode when getting data for the
1141 2011-03-15 Ben Konrath <ben@bagu.org>
1143 Remove the GWT Container from the Eclipse build classpath.
1145 The GWT dependencies are set by Maven so this isn't needed.
1149 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1151 Added some earlier mockups to git, but not to the tarball dist.
1153 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1154 Openismus. These hopefully show how we might structure the HTML so that
1155 it can be styled easily with CSS. However, we probably need to adapt them
1156 for the CSS structure that GWT dictates for common widgets.
1158 2011-03-14 Ben Konrath <ben@bagu.org>
1160 Locate OnlineGlom.properties using the ServletContext.
1162 This is required to be able to locate the file in the deployed servlet.
1164 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1165 Configure the database and glom document in in a helper method so
1166 that the ServletContext can be used to locate OnlineGlom.properties.
1167 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1168 src/main/webapp. This is the proper location for .properites files.
1170 2011-03-12 Ben Konrath <ben@bagu.org>
1172 Add note to README about why we're compiling down to obfuscated JavaScript.
1176 2011-03-11 Ben Konrath <ben@bagu.org>
1178 Use properties file to configure servlet.
1180 This allows people to change the glom file path, db username and db
1181 password without recompiling the code.
1183 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1184 * src/main/webapp/OnlineGlom.properties:
1186 2011-03-11 Ben Konrath <ben@bagu.org>
1188 Use table fields in layout list view if the layout list is not defined.
1190 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1191 Manually create a LayoutFieldVector for the query builder using the
1192 table fields when a layout list is not defined in the glom file.
1194 2011-03-11 Ben Konrath <ben@bagu.org>
1196 Only show FIXME string for images when there's an image.
1198 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1199 in this change are some small code cleanups.
1201 2011-03-11 Ben Konrath <ben@bagu.org>
1203 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1205 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1207 2011-03-11 Ben Konrath <ben@bagu.org>
1209 Correctly set the index of the default table.
1211 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1212 Correctly set the index of the default table. Add commented out example
1215 2011-03-10 Ben Konrath <ben@bagu.org>
1217 Add comment to pom.xml about the previous change.
1219 * pom.xml: Add comment about the deployment issue so that it's obvious
1220 why java-libglom is set to the provided scope.
1222 2011-03-10 Ben Konrath <ben@bagu.org>
1224 Change java-libglom dependency from compile to provided in pom.xml.
1226 Since java-libglom uses jni it can only be loaded once and therefore
1227 must be placed in $CATALINA_HOME/lib and not included in each war.
1228 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1229 More information about this issue can be found in the Tomcat 6 release
1230 notes in the "JNI Based Applications" section:
1232 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1234 * README: Remove note about this issue. Deployment info should really
1235 be on the wiki anyway so I'll add it right now.
1236 * pom.xml: Change java-libglom dependency from compile to provided so
1237 that it's copied in to the packaged war.
1239 2011-03-09 Ben Konrath <ben@bagu.org>
1241 Change to using a neutral locale for currency, date and time formatting.
1243 This solves the problem of currency values being represented without a
1244 space between the currency code and the number (e.g. "EUR5.89" is now
1245 represented as "EUR 5.89"). More work is required when we implement
1246 a locale preference setting.
1248 * TODO: Add note about currency formatting issues with different
1250 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1251 to using the neutral ROOT locale.
1253 2011-03-09 Ben Konrath <ben@bagu.org>
1255 Add support for currency codes that are not ISO 4217 codes.
1257 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1258 the currency code defined in the glom file when it's not 3 characters
1259 long or when Java doesn't recognize the string as an ISO 4217 code.
1261 2011-03-08 Ben Konrath <ben@bagu.org>
1263 Remove test classes, launch configurations and configuration.
1265 The test stuff was getting in the way when creating the war. To make
1266 the war file you can now do 'mvn clean package'. The packaged war file
1267 will be in the target directory.
1269 * .classpath: Remove unused classpathentry for tests and i18n.
1270 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1271 property. Don't run test or i18n goals when packaging the war.
1272 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1277 * OnlineGlomTest-dev.launch:
1278 * OnlineGlomTest-prod.launch:
1279 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1280 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1282 2011-03-07 Ben Konrath <ben@bagu.org>
1284 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1286 These fixes allow me to use 'mvn deploy' to create the war file.
1288 * .classpath: This generated config has been updated by Eclipse. This
1289 change was probably triggered by me updating from Eclipse 3.6.1 to
1291 * .gitignore: Add entry to ignore the directory
1292 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1293 * .project: The generated config has been updated by Eclipse. This
1294 change was probably triggered by me updating from Eclipse 3.6.1 to
1296 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1297 so that Eclipse doesn't complain
1298 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1299 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1300 'tests' directory to 'client' directory. This is the new
1301 gwt-maven-plugin convension.
1302 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1303 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1305 2011-03-07 Ben Konrath <ben@bagu.org>
1307 Add support for horizontal alignment in the LayoutList columns.
1309 * TODO: Remove item about horizontal alignment. Add item about
1310 improvements to ColumnInfo.
1311 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1312 alignment on the columns. Use ColumnInfo RPC object get the column
1313 title and horizontal alignment.
1314 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1315 LayoutListView creation with ColumnInfo RPC object.
1316 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1317 a ColumnInfo object for every LayoutList columnn. Convert the
1318 FieldFormatting.HorizontalAlignment to the correct
1319 ColumnnInfo.HorizontatlAlignment with the new
1320 getColumnInfoHorizontalAlignment helper method.
1321 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1322 to encapsulate column information like alignment and title. This
1323 could be used to set the colour instead of on a per cell field basis.
1324 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1325 column title storage and retrieval with ColumnInfo.
1327 2011-03-04 Ben Konrath <ben@bagu.org>
1329 Add support for column sorting.
1331 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1332 AsynDataProvider to be an anonymous inner class. Use new
1333 getSortedTableData RPC method when column sort is requested. Set all
1334 columns sortable and add an AsyncHandler to activate sorting in the
1336 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1337 method getSortedTableData(). Cleanup other method signatures.
1338 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1339 new method getSortedTableData(). Cleanup other method signatures.
1340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1341 Implement getSortedTableData() and getTableData() methods by using a
1342 private helper method with the appropriate parameters filled in. Use
1343 user supplied sort clause when supplied, otherwise fall back to
1344 sorting by the primary key. Move destroy() method to be underneath
1345 constructor for readability. Cleanup comments.
1347 2011-03-03 Ben Konrath <ben@bagu.org>
1349 Add support for colour text and colour backgrounds to the layout list cells.
1351 Only the cell backgrounds are coloured which leaves a gap between the
1352 cells that isn't coloured. I need to figure out a way to set
1353 'style=background-colour:' on the whole column rather than just the
1356 * TODO: Add a note about colouring the background of the whole column.
1357 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1358 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1359 render the coloured text and backgrounds. Use GlomField[] for the row type.
1360 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1362 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1363 GlomField[] for the row type.
1364 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1365 GlomField[] for the row type. Set the text, text colour and background
1366 colour in the GlomField objects as specified in the glom document. Add
1367 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1368 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1369 the glom field text, foreground colour and background colour.
1371 2011-03-02 Ben Konrath <ben@bagu.org>
1373 Don't display hidden tables in the combo box.
1375 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1377 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1378 code to ignore hidden tables using ArrayLists for the table names and
1380 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1381 tableNames to use ArrayLists instead of String[]. Update getter and setter
1384 2011-03-01 Ben Konrath <ben@bagu.org>
1386 Add support for Date and Time number types.
1388 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1389 Implement formatting for Date and Time values. Change the default glom
1390 file to small business example.
1392 2011-03-01 Ben Konrath <ben@bagu.org>
1394 Add support for formatting glom types as specified in the glom file.
1396 Formatting isn't finished yet - I still need to add support for Date
1399 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1400 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1401 checks for null values in JDBC cleanup code and catch all exceptions
1402 instead of just SQLExceptions.
1403 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1406 2011-03-01 Ben Konrath <ben@bagu.org>
1408 Use GWT 2.2.0 instead of 2.1.1.
1410 * pom.xml: Change GWT version numbers.
1412 2011-03-01 Ben Konrath <ben@bagu.org>
1414 A few small code cleanups.
1416 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1418 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1419 unnecessary object creation in constructor.
1420 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1421 unnecessary object creation in constructor.
1423 2011-02-28 Ben Konrath <ben@bagu.org>
1425 Add file for TODO list.
1429 2011-02-18 Ben Konrath <ben@bagu.org>
1431 Enable the CellTable Pager when more than 20 rows need to be viewed.
1433 The Pager will automatically become active when the results are larger
1434 than the CellTable size which is currently set to 20 lines.
1436 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1437 name on debug statment in RPC call in LayoutListDataProvider, add
1438 numRows parameter to LayoutListView constructor, propperly set rowCount
1440 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1441 name on debug statment in RPC call, use LayoutListTable object in RPC
1442 calls, pass rowCount to LayoutListView.
1443 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1444 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1446 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1447 interface for changes in OnlineGlomService.
1448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1449 getLayoutListHeaders() to getLayoutListTable() and return
1450 LayoutListTable. Using this object allows me to pass other information
1451 about the LayoutList like the expected number of rows in the result set.
1452 The Connection object from the connection pool is now propperly closed.
1453 Only the requested number of lines are returned to the client in
1455 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1456 GlomTable and add columnTitles and numRows.
1458 2011-02-18 Ben Konrath <ben@bagu.org>
1460 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1462 This is a small performance boost. I'll use GlomTable to get the required
1463 layoutlist information.
1465 * src/main/java/org/glom/web/client/OnlineGlom.java:
1466 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1467 * src/main/java/org/glom/web/shared/GlomDocument.java:
1469 2011-02-18 Ben Konrath <ben@bagu.org>
1471 Add option to turn off formatting in JDT formatter preferences.
1473 * .settings/org.eclipse.jdt.core.prefs:
1475 2011-02-18 Ben Konrath <ben@bagu.org>
1477 Rename LayoutList to LayoutListView.
1479 I'm working towards setting things up to easily use MVP when the time
1482 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1484 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1487 2011-02-17 Ben Konrath <ben@bagu.org>
1489 Move LayoutListDataProvider class into LayoutList.java.
1491 * src/main/java/org/glom/web/client/LayoutList.java:
1493 2011-02-17 Ben Konrath <ben@bagu.org>
1495 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1497 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1499 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1500 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1501 from LibGlomServer.java.
1502 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1503 Rename from LibGlomServiceAsync.java.
1504 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1505 Rename from LibGlomServiceImpl.java.
1506 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1508 2011-02-17 Ben Konrath <ben@bagu.org>
1510 Update JDT settings.
1512 * .settings/org.eclipse.jdt.core.prefs:
1514 2011-02-17 Ben Konrath <ben@bagu.org>
1516 Move GWT-RPC objects to shared package (where they should be).
1518 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1519 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1520 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1521 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1522 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1523 org.glom.web.shared package.
1524 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1525 org.glom.web.shared package.
1526 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1527 directory in compilation to javascript.
1529 2011-02-16 Ben Konrath <ben@bagu.org>
1531 Add sort clause to the sql query that grabs table information.
1533 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1534 if one of the columns is a primary key.
1536 2011-02-16 Ben Konrath <ben@bagu.org>
1538 Disable generateAsync feature of gwt-maven.
1540 The generated interface does not correctly match the methods in LibGlomService
1541 and the generated singleton Util inner-class doesn't respect the servlet
1544 * pom.xml: Turn off generateAsync feature.
1545 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1546 with singleton Util inner-class.
1548 2011-02-14 Ben Konrath <ben@bagu.org>
1550 Add LGPL v3 licence notices.
1552 Followed directions listed here:
1553 http://www.gnu.org/licenses/gpl-howto.html
1555 * COPYING: This file is a copy of the GPL v3.
1556 * COPYING.LESSER: This file is a copy of the LGPL v3.
1557 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1559 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1561 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1563 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1565 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1567 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1569 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1572 2011-02-14 Ben Konrath <ben@bagu.org>
1574 Use ArrayList instead of Array in GWT-RPC calls.
1576 Apparently this gives a slight performance boost to the compiled
1579 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1581 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1584 2011-02-14 Ben Konrath <ben@bagu.org>
1586 Access data from a postgres db rather than the example glom file.
1588 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1589 compile down to obfuscated javascript.
1590 * pom.xml: Add c3p0 and postgres JDBC libraries.
1591 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1592 using a postgres db accessed through the c3p0 connection pooling library.
1594 2011-02-14 Ben Konrath <ben@bagu.org>
1596 Update Java formatter settings.
1598 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1600 2011-02-02 Ben Konrath <ben@bagu.org>
1602 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1604 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1606 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1607 the compiled webapp directory that Eclipse uses as we're using Maven now.
1608 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1609 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1611 * pom.xml: Format file, change target Java version to 1.6.
1613 2011-02-02 Ben Konrath <ben@bagu.org>
1615 Add information about a deployment related issue.
1617 * README: Add Notes section with the problem outlined.
1619 2011-02-02 Ben Konrath <ben@bagu.org>
1621 Call Glom.libglom_deinit() when the servlet is shutdown.
1623 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1624 Glom.libglom_deinit() to destroy() method.
1626 2011-01-28 Ben Konrath <ben@bagu.org>
1628 Use generated Util class to get the RPC Async interface.
1630 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1632 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1633 getInstance() method to get a reference to the RPC Async interface.
1634 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1635 getInstance() method to get a reference to the RPC Async interface, remove
1636 the now unused getLibGlomServiceProxy() method.
1638 2011-01-27 Ben Konrath <ben@bagu.org>
1640 Cleanup ChangeLog entry from previous commit.
1642 * ChangeLog: Group logical changes together and add comments.
1644 2011-01-25 Ben Konrath <ben@bagu.org>
1646 Convert to gwt-maven project.
1648 * .gitignore: Update for new project structure.
1649 * README: New file with a link to the online documentation.
1650 * pom.xml: The generated maven configuration file with some tweaks.
1652 Add / update Eclipse settings. These files are a merge of the files that
1653 were generated with the gwt-maven plugin and the files we were previously
1657 * .settings/.jsdtscope:
1658 * .settings/com.google.gdt.eclipse.core.prefs:
1659 * .settings/com.google.gwt.eclipse.core.prefs:
1660 * .settings/org.eclipse.jdt.core.prefs:
1661 * .settings/org.eclipse.wst.common.component:
1662 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1663 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1664 * .settings/org.maven.ide.eclipse.prefs:
1665 * OnlineGlomTest-dev.launch:
1666 * OnlineGlomTest-prod.launch:
1668 Java source files moved from the 'src' directory to the directory structure
1670 * src/main/java/org/glom/web/client/GlomDocument.java:
1671 * src/main/java/org/glom/web/client/GlomTable.java:
1672 * src/main/java/org/glom/web/client/LayoutList.java:
1673 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1674 * src/main/java/org/glom/web/client/LibGlomService.java:
1675 * src/main/java/org/glom/web/client/OnlineGlom.java:
1676 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1678 Non-functional property file used for translations. I included this as
1679 reminder that it's something I need to sort out.
1680 * src/main/resources/org/glom/web/client/Messages.properties:
1682 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1683 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1685 The servlet configuration files moved from the 'war' directory.
1686 * src/main/webapp/OnlineGlom.css:
1687 * src/main/webapp/OnlineGlom.html:
1688 * src/main/webapp/WEB-INF/web.xml:
1690 Generated test files with most of the code commented out. I included these
1691 so that it's easy to add tests when we're ready for them.
1692 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1693 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1695 2011-01-25 Ben Konrath <ben@bagu.org>
1697 Remove unused println.
1699 * src/org/glom/web/server/LibGlomServiceImpl.java:
1701 2011-01-25 Ben Konrath <ben@bagu.org>
1703 Add project specific JDT settings.
1705 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1706 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1708 2011-01-25 Ben Konrath <ben@bagu.org>
1710 Populate celltable with example data.
1712 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1713 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1714 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1715 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1716 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1717 asynchronously gets the example data.
1718 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1719 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1720 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1721 curently selected table to be retrieved by other widgets.
1722 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1723 implement getTableData() in a hacky way. This method needs to be updated
1724 to grab information from the database when database creating is
1727 2011-01-20 Ben Konrath <ben@bagu.org>
1729 Set table headers when table dropBox changes.
1731 * src/org/glom/web/client/GlomDocument.java: Correct some method
1733 * src/org/glom/web/client/LibGlomService.java: Add method
1734 to get list layout field names.
1735 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1736 to get list layout field names.
1737 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1738 widget for list layout table.
1739 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1740 the table drop box and add new updateTable() method to asynchronously
1741 get the layout list field names for the currently selected table.
1742 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1743 implementation of getLayoutListHeaders() method.
1744 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1746 2011-01-18 Ben Konrath <ben@bagu.org>
1748 Make a listBox with table titles instead of the flexTable demo.
1750 This is the start of something more useful.
1752 * .classpath: Exclude a bunch of packages from the JVM that are
1753 getting in the way of the Eclipse content assist.
1754 * src/org/glom/web/client/GlomDocument.java:
1755 * src/org/glom/web/client/GlomTable.java:
1756 * src/org/glom/web/client/LibGlomService.java:
1757 * src/org/glom/web/client/LibGlomServiceAsync.java:
1758 * src/org/glom/web/client/OnlineGlom.java:
1759 * src/org/glom/web/server/LibGlomServiceImpl.java:
1760 * war/OnlineGlom.html:
1761 * war/WEB-INF/web.xml:
1763 211-01-13 Ben Konrath <ben@bagu.org>
1765 Update to new java-libglom API.
1767 * .gitignore: Ignore OnlineGlom.war.
1768 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1770 2010-12-20 Ben Konrath <ben@bagu.org>
1772 Add some basic style to the table listing.
1774 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1775 header, print useful error message on async callback failure.
1776 * war/OnlineGlom.css: Add style for table header, remove defaults
1777 provided by the Eclipse project wizard.
1779 2010-12-20 Ben Konrath <ben@bagu.org>
1781 Load example file from installed glom dir.
1783 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1784 provided by java-libglom to find the example file.
1786 2010-12-20 Ben Konrath <ben@bagu.org>
1788 Update Eclipse settings.
1791 * .settings/com.google.gdt.eclipse.core.prefs:
1792 * .settings/com.google.gwt.eclipse.core.prefs:
1794 2010-12-17 Ben Konrath <ben@bagu.org>
1798 * .classpath: New file.
1799 * .gitignore: New file.
1800 * .project: New file.
1801 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1802 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1803 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1804 * src/org/glom/web/client/GlomTable.java: New file.
1805 * src/org/glom/web/client/OnlineGlom.java: New file.
1806 * src/org/glom/web/client/TableNameService.java: New file.
1807 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1808 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1809 * war/OnlineGlom.css: New file.
1810 * war/OnlineGlom.html: New file.
1811 * war/WEB-INF/web.xml: New file.
1812 * war/images/glom.png: New file.