]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Small refactoring of DocBook stuff
[lyx.git] / src / ChangeLog
1 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * sgml.[Ch]:
4         * buffer.C: small refactoring of docbook stuff
5
6 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7
8         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
9         meaning.
10
11 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12
13         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
14         operator dispatch_result_t, and operators for == != and >=
15
16         * cursor.C (dispatch): adjust for operator dispatch_result_t
17         removal. comment out call to update
18
19         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
20         
21 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
22
23         * text3.C:
24         * text2.C:
25         * text.C:
26         * lyxtext.h:
27         * lyxfunc.C:
28         * cursor.C:
29         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
30         (dispatch): 
31
32         * dispatchresult.h: new file, DispatchResult broken out of
33         insets/insetbase.h
34
35         * Makefile.am (lyx_SOURCES): add dispatchresult.h
36
37 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
38
39         * text.C (rowBreakPoint): put a hack inside #if 0
40
41 2003-10-28  André Pönitz  <poenitz@gmx.net>
42
43         * lyxtext.h:
44         * metricsinfo.C:
45         * paragraph_funcs.C:
46         * rowpainter.C:
47         * text.C:
48         * text2.C: general cleanup (lots of small stuff)
49
50 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
51
52         * text2.C (cursorEnd): simple fix to the "end key goes to one
53         before the end on last row" bug
54
55 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
56
57         * text.C (backspace): fix the "zombie characters"
58
59 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
60
61         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
62
63 2003-10-27  André Pönitz  <poenitz@gmx.net>
64
65         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
66
67         * factory.C: handle new InsetPagebreak, InsetLine
68
69         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
70         and move handling into new InsetPagebreak, InsetLine
71
72         * BufferView_pimpl.C:
73         * LyXAction.C:
74         * ParagraphParameters.C:
75         * ParameterStruct.h:
76         * lyxfunc.C:
77         * lyxtext.h:
78         * paragraph.C:
79         * paragraph.h:
80         * paragraph_funcs.C:
81         * paragraph_pimpl.C:
82         * rowpainter.C:
83         * text.C:
84         * text2.C:
85         * text3.C: adjust
86
87 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
88
89         * text.C:
90         * lyxrow_funcs.[Ch]:
91         * Bidi.C:
92         * paragraph.C:
93         * lyxtext.h:
94         * rowpainter.C:
95         * text2.C:
96         * text3.C: remove lastPos uses in favour of Row::endpos
97
98 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
99
100         * undo.C (performUndoOrRedo): fix two crashes by setting a
101         cursor by hand and reordering some calls. Use bv->lockInset instead
102         of inset->edit because the latter loses cursor information
103
104 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
105
106         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
107         by Martin
108         (rowBreakPoint): fix width. change point to point + 1.
109         Add a missing check.
110
111 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
112
113         * MenuBackend.C:
114         * lyxfunc.C: fix (at least partly) the problems
115         with the Nav menu and headers inside branch insets
116         reported by Kayvan
117
118 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
119
120         * paragraph.C (getChar): add strong asserts
121
122         * lyxrow_funcs.C (lastPos): remove hideous hack
123
124         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
125         (fill): adjust to that (avoid an infinite loop)
126
127 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
128
129         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
130
131 2003-10-23  André Pönitz  <poenitz@gmx.net>
132
133         * RowList_fwd.h: change list<> to vector<> to gain speed
134         after suggestion from Alfredo
135
136 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
137
138         * lyxtext.h: move the bidi stuff from here...
139         * text.C: and here
140         * text2.C: and here
141         * Bidi.[Ch]: ... to here
142
143 2003-10-23  André Pönitz  <poenitz@gmx.net>
144
145         * lyxtext.h:
146         * text.C (isLastRow, isFirstRow): new functions
147
148         * paragraph.h: new width cache member
149
150         * rowpainter.C: replace RowList::iterator with Row & where possible
151
152         * lyxfunc.C: replace several view()->text with a single call
153
154         * toc.C: fix 'unused' warning
155
156 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
157
158         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
159         when woring with stream::pos_type
160         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
161
162 2003-10-22  André Pönitz  <poenitz@gmx.net>
163
164         * lyxtext.h:
165         * text.C: use Row & instead of RowList::iterator
166
167         * lyxrow.h: rename end() to endpos()
168
169         * rowpainter.C:
170         * text.C:
171         * text2.C: adjust
172
173 2003-10-22  Angus Leeming  <leeming@lyx.org>
174
175         * buffer.[Ch] (fully_loaded): new member function, returning true
176         only when the file has been loaded fully.
177         Used to prevent the premature generation of previews and by the
178         citation inset to prevent computation of the natbib-style label.
179
180         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
181         templates are all set up.
182
183         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
184
185 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
186
187         * text.C: fixed an "oops" in the "is a bit silly"
188         bug fix
189
190 2003-10-21  André Pönitz  <poenitz@gmx.net>
191
192         * FuncStatus.[Ch]: small stuff, whitespace
193
194         * lyxfont.[Ch]: operator<<() for debug reasons
195
196         * lyxfunc.C:
197         * lyxrow_funcs.C:
198         * lyxtext.h: whitespace, spelling
199
200         * paragraph.C: naming of variables
201
202         * text.C:
203         * text2.C: small stuff
204
205
206 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * text.C: (1) finish off the inset display() work;
209         (2) fix the "is a bit silly" bug (accessing char
210         past end of par).
211
212 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * text.C: re-introduce display() for insets, fixing the
215         various bugs (stretch of line above, math inset
216         positioning, ...)
217
218 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * text.C (rightMargin): remove spurious semicolon
221
222         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
223         1415)
224
225 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
226
227         * text3.C: fix one crash due to wrong cursor def
228
229 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
230
231         * vc-backend.C (scanMaster): make the regex static
232
233         * LaTeX.C (scanAuxFile): make the regexs static
234
235         * text3.C (doInsertInset, dispatch, dispatch):
236         * text2.C (cursorUp, cursorDown):
237         * text.C (selectNextWordToSpellcheck):
238         * BufferView_pimpl.C (dispatch):
239         * lyxfunc.C (dispatch):  localDispatch -> dispatch
240
241 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * lyxsocket.C: include <cerrno>
244
245 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
246
247         * lyxfunc.C (dispatch): remove textcache stuff
248
249         * bufferlist.C (release): remove textcache stuff
250         (closeAll): ditto
251
252         * TextCache.C: delete file
253         * TextCache.h: delete file
254
255         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
256
257         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
258         delete of the bv_->text.
259         (resizeCurrentBuffer): remove texcache stuff
260         (workAreaResize): ditto
261
262 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
263
264         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
265         action.
266
267 2003-10-16  André Pönitz  <poenitz@gmx.net>
268
269         * lyxrow.[Ch]:
270         * paragraph.h:
271         * rowpainter.C:
272         * text.C:
273         * text2.C:
274         * text3.C: speed up by storing y positions per paragraph plus per-row
275         offset instead of having a 'full' y position in the row.
276
277 2003-10-15  André Pönitz  <poenitz@gmx.net>
278
279         * iterators.[Ch]:
280         * iterators.[Ch]:
281         * undo.[Ch]: make undo aware of inner insets
282
283 2003-10-14  Angus Leeming  <leeming@lyx.org>
284
285         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
286         static member functions LyX::ref() and LyX::cref.
287         (lastfiles): new accessor functions for the new lastfiles_ member var.
288         (addLyXView, views_): add a new LyXView to the list of views_.
289         (updateInset): loop over all LyXViews to call their own updateInset
290         member function, returning a pointer to the Buffer owning the inset.
291
292         * BufferView_pimpl.C (loadLyXFile):
293         * MenuBackend.C (expandLastfiles):
294         * bufferlist.C (MenuWrite, QuitLyX):
295         lastfiles is no longer a global variable.
296         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
297
298         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
299         static function. Access through LyX::cref().emergencyCleanup().
300
301 2003-10-14  André Pönitz  <poenitz@gmx.net>
302
303         * iterators.[Ch]: new direct access to innermost LyXText and Inset
304
305         * undo.[Ch]: restoring part of 'undo in insets'
306
307         * Makefile.am:
308         * undo_funcs.[Ch]: merge with undo.[Ch]
309
310         * tabular.C: small cleansing stuff
311
312 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
313
314         * paragraph_funcs.C (readParToken): report unknown insets as error
315         boxes. Use the outer paragraph as location (also for unknown
316         tokens).
317
318         * factory.C (readInset): do not abort on reading an unknown inset.
319         Eat it and return 0.
320
321 2003-10-13  Angus Leeming  <leeming@lyx.org>
322
323         * lyx_main.C (LyX): remove call to setDisplayTranslator().
324
325         * lyxrc.C: displayTranslator is now a function,
326         declared in GraphicsTypes.h.
327
328 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
329
330         * format.C: new placeholder $$a to pass the socket address.
331
332         * bufferlist.[Ch]: new function getBufferFromTmp.
333
334         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
335           files in the temporary dir.
336
337 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
338
339         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
340
341         * Makefile.am: add lyxsocket.[Ch].
342
343         * lyx_main.C (error_handler): handle SIGPIPE.
344
345 2003-10-13  André Pönitz  <poenitz@gmx.net>
346
347         * BufferView_pimpl.C:
348         * lyxtext.h:
349         * text.C:
350         * text2.C:
351         * text3.C:
352         * undo_funcs.[Ch]: use paroffset_type instead of
353           ParagraphList::iterators to prevent multiple conversion
354           (and get a more robust interface)
355
356 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
357
358         * lyxfunc.C (dispatch): RESULT -> dispatch_result
359         * lyxtext.h: ditto
360         * text3.C (dispatch): ditto
361
362 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
363
364         * LaTeX.C (handleFoundFile): move the static to smaller scope,
365         move the onlyfile, use onlyfile instead of foundfile in a couple
366         of places.
367
368         * DepTable.C (update): flush the error stream a bit more
369
370 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
371
372         * lyxserver.C (callback): adjust
373
374         * lyxfunc.C (getStatus): add a missing brace in commented code
375         (ensureBufferClean): reindent
376         (dispatch): delete version taking a string
377
378 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
379
380         * LaTeX.C (deplog): move found file handlig from here...
381         (handleFoundFile): .. to new function here.
382         (deplog): make sure to discover several files mentioned on the
383         same log line.
384
385 2003-10-10  André Pönitz  <poenitz@gmx.net>
386
387         * lyxfunc.C:
388         * lyxtext.h:
389         * tabular.C:
390         * text.C:
391         * text2.C:
392         * text3.C: fix some of the tabular crashes
393
394 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
395
396         * MenuBackend.C (binding): put debug message into Debug::KBMAP
397
398         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
399
400 2003-10-09  André Pönitz  <poenitz@gmx.net>
401
402         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
403
404         * BufferView.C:
405         * BufferView_pimpl.C:
406         * bufferview_funcs.C:
407         * lyx_cb.C:
408         * lyxcursor.C:
409         * lyxfind.C:
410         * lyxfunc.C:
411         * lyxtext.h:
412         * text.C:
413         * text2.C:
414         * text3.C:
415         * text_funcs.[Ch]:
416         * textcursor.[Ch]:
417         * undo_funcs.C: adjust
418
419 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
420
421         * text2.C (incrementItemDepth): new function, use a backtracking
422         algorithm to discover the correct item depth.
423         (resetEnumCounterIfNeeded): new function, use a backtracking
424         algorithm to discover if counter reset is needed.
425         (setCounter): use them. Simplify a bit. Add different labels for
426         different item depths for itemize.
427
428         * paragraph.C (Paragraph): remove initialization of enumdepth
429         (operator=): ditto
430
431         * paragraph.h: get rid of enumdepth, and use itemdepth both for
432         enumerate and itemize. Change the type of itemdepth to signed char.
433
434 2003-10-08  André Pönitz  <poenitz@gmx.net>
435
436         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
437           thing assignable.
438         * text.C:
439         * text2.C: adjust
440
441         * tabular.[Ch]: fix crash after 'row-insert'
442
443 2003-10-08  Angus Leeming  <leeming@lyx.org>
444
445         Fix doxygen warnings.
446
447         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
448         Remove CutAndPaste:: prefix from header file declaration.
449
450         * LColor.h (fill): remove LColor:: prefix from declaration.
451
452         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
453         use lyx::depth_type rather than Paragraph::depth_type so that
454         header file and .C file match.
455
456         * converter.h (intToFormat): remove Converters:: prefix from declaration.
457
458         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
459         * aspell.C: \file aspell_local.C -> \file aspell.C
460         * gettext.C: \file gettext.C -> \file src/gettext.C
461         * gettext.h: \file gettext.h -> \file src/gettext.h
462         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
463         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
464         * text.C: \file text.C -> \file src/text.C
465
466         * toc.C: move comment so that doxygen is not confused.
467
468 2003-10-07  Angus Leeming  <leeming@lyx.org>
469
470         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
471
472 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473
474         * aspell.C:
475         * aspell_local.h: add forgotten std::string's.
476
477 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
478
479         * LaTeXFeatures.C:
480         * LyXAction.C:
481         * factory.C:
482         * lfuns.h:
483         * lyxfunc.C:
484         * text3.C: The Box patch. Fancybox support, minipage, parbox
485
486 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
487
488         * CutAndPaste.h:
489         * DepTable.h:
490         * FloatList.h:
491         * LaTeXFeatures.h:
492         * ParagraphParameters.h:
493         * TextCache.h:
494         * Thesaurus.h:
495         * bufferlist.h:
496         * exporter.h:
497         * importer.h:
498         * lastfiles.h:
499         * lyxfind.h:
500         * lyxfont.h:
501         * lyxlex.h:
502         * lyxtextclasslist.h:
503         * messages.h:
504         * paragraph.h:
505         * paragraph_pimpl.C:
506         * textcursor.h: add <string> and other small fixes to make Lars'
507         std::string patch compile with STLport.
508
509 2003-10-06  Angus Leeming  <leeming@lyx.org>
510
511         * LColor.h: Add missing #include <string>.
512
513 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
514
515         * All most all file in all subdirs: Make <string> be the prefered
516         way of getting to std::string, add using declarations.
517
518 2003-10-06  André Pönitz  <poenitz@gmx.net>
519
520         * metricsinfo.C: initialize LyXFont before changing attribute.
521         (fixes the 'math in \emph is upright' bug)
522
523 2003-10-06  André Pönitz  <poenitz@gmx.net>
524
525         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
526
527 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
528
529         * graph.C:
530         * paragraph_pimpl.C: Small fixes to build using STLport
531
532 2003-10-02  André Pönitz  <poenitz@gmx.net>
533
534         * lyxfunc.C:
535         * text3.C: move handling of LFUN_DEPTH *; fix #1360
536
537 2003-10-01  André Pönitz  <poenitz@gmx.net>
538
539         * factory.C: assert early
540
541 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
542
543         * lyx_main.C: remove the global debug object
544
545         * debug.h: adjust for new debugstream
546
547         * debug.C: adjust for new debugstream and keep the global debug
548         object here.
549
550 2003-09-22  Angus Leeming  <leeming@lyx.org>
551
552         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
553         of g++ which otherwise complain that the scoped_ptr destructor can't delete
554         an incomplete class LyXFont.
555
556 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
557
558         * factory.C: bug fix in branches
559
560 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
561
562         * lyxfunc.C (processKeySym): adjust
563         (dispatch): adjust
564         (dispatch): change arg name from ev to func, adjust
565         (sendDispatchMessage): ditto
566
567         * lyx_main.C (defaultKeyBindings): adjust keybindings
568         (deadKeyBindings): ditto
569
570         * kbsequence.C (addkey): return a FuncRequest
571
572         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
573
574         * kbmap.C (bind): take a FuncRequest as arg, adjust
575         (read): adjust
576         (lookup): adjust
577         (defkey): change to take a FuncRequest as arg, adjust
578         (findbinding): take a FuncRequest as arg, adjust.
579
580         * funcrequest.h (operator=): added
581
582         * funcrequest.C (FuncRequest): default kb_action changed from
583         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
584
585         * buffer.C (dispatch): simplify
586         (dispatch): adjust to take a FuncRequest as arg, adjust
587
588         * boost.C (assertion_failed): change assertion message slightly
589
590         * ToolbarBackend.C (read): simplify
591
592         * MenuBackend.C (binding): adjust call to findbinding, add a
593         message if no binding is found.
594         (read): simplify
595         (expandToc): correct by adding a empty FuncRequest
596
597         * LyXAction.C: include <boost/assert.hpp>
598         (isPseudoAction): delete function
599         (LookupFunc): change name to...
600         (lookupFunc): this. change return type to FuncRequest.
601         (getActionName): take kb_action as arg, simplify
602         (funcHasFlag): add an assert, simplify.
603
604 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
605
606         * toc.C (action): return a FuncRequest, simplify
607
608         * lyxfunc.C (processKeySym): adjust
609         (getStatus): delete version that takes an int.
610         (getStatus): adjust
611         (dispatch): delete version that takes action as int
612         (dispatch): adjust
613         (sendDispatchMessage): simplify and adjust
614
615         * funcrequest.C (getArg): take unsigned int as arg
616
617         * ToolbarBackend.C (read): adjust
618         (add): delete version that takes func as a string.
619         (getIton): take a FuncRequest as arg
620
621         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
622         action.
623
624         * MenuBackend.C (MenuItem): add a new construct that only takes a
625         Kind, simplify the constructor use for submenus.
626         (add): adjust
627         (expandLastfiles): adjust
628         (expandDocuments): adjust
629         (expandFormats): adjust
630         (expandFloatListInsert): adjust
631         (expandFloatInsert): adjust
632         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
633
634         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
635         Remove class variables lyx_pseudo_map and lyx_arg_map
636
637         * LyXAction.C (searchActionArg): delete function
638         (getPseudoAction): delete function
639         (retrieveActionArg): delete function
640         (LookupFunc): make it return kb_action, simplify.
641         (getActionName): simplify
642
643         * factory.C (createInset): fix new bug
644
645 2003-09-19  Angus Leeming  <leeming@lyx.org>
646
647         * CutAndPaste.C (pasteSelection): remove fudge used to set the
648         masterFilename_ parameter in the include inset.
649
650         * factory.C (createInset): changes due to the changes to InsetInclude.
651
652 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
653
654         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
655
656 2003-09-18  Angus Leeming  <leeming@lyx.org>
657
658         * buffer.C:
659         * BufferView.C: pass the buffer when calling Inset::getLabelList,
660         Inset::fillWithBibKeys.
661         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
662
663 2003-09-18  Angus Leeming  <leeming@lyx.org>
664
665         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
666         variables.
667         (ctor): pass and store a 'Buffer const &'
668         (buffer): new member function.
669
670         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
671         '*this' to the LaTeXFeatures ctor.
672
673 2003-09-18  Angus Leeming  <leeming@lyx.org>
674
675         * LColor.h:
676         * lyxfont.C:
677         * lyxfont.h:
678         * lyxtext.h:
679         * text.C: rename EnumLColor as LColor_color.
680
681 2003-09-18  Angus Leeming  <leeming@lyx.org>
682
683         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
684         remove #include "insets/insetbase.h" from cursor.h.
685
686 2003-09-18  Angus Leeming  <leeming@lyx.org>
687
688         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
689         InsetOld_code to remove #include "inset.h".
690
691         * iterators.C: add #include "insets/inset.h"
692
693 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
694
695         * BufferView.C: remove more locking stuff that apparently doesn't
696         do anything sensible.
697
698 2003-09-16  André Pönitz  <poenitz@gmx.net>
699
700         * paragraph.[Ch]:
701         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
702           performance boost.
703
704 2003-09-16  Angus Leeming  <leeming@lyx.org>
705
706         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
707
708         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
709         arg/return type.
710
711         * paragraph.h: remove #include "lyxfont.h". Forward declare
712         LyXFont_size.
713
714 2003-09-16  Angus Leeming  <leeming@lyx.org>
715
716         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
717         of support/textutils.h.
718         (isWord): move the contents of support/textutils.h's IsWordChar here.
719
720         * buffer.C:
721         * lyxfind.C:
722         * rowpainter.C:
723         * text.C:
724         * text2.C: add #include "paragraph.h".
725
726         * rowpainter.C:
727         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
728
729 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
730
731         * main.C:
732         * lyx_main.C:
733         * lyx_cb.C:
734         * buffer.C:
735         * LaTeX.C: use namespace alias for lyx::support::os
736
737 2003-09-16  Angus Leeming  <leeming@lyx.org>
738
739         * bufferparams.C:
740         * bufferview_funcs.C:
741         * factory.C:
742         * lyxfunc.C:
743         * paragraph_pimpl.C:
744         * rowpainter.C:
745         * text.C: add #include "LColor.h".
746
747 2003-09-16  Angus Leeming  <leeming@lyx.org>
748
749         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
750         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
751         return LyXFont &.
752         Store the FontBits::color variable as an int rather than as an
753         LColor::colorso that we can move LColor.h out of the lyxfont.h header
754         file.
755
756         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
757         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
758         string calls together.
759
760         * lyxrc.C: add #include "LColor.h".
761
762 2003-09-15  Angus Leeming  <leeming@lyx.org>
763
764         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
765         a cow_ptr.
766
767 2003-09-15  Angus Leeming  <leeming@lyx.org>
768
769         * LColor.h: add an EnumLColor wrapper for LColor::color.
770
771         * lyxfont.[Ch] (color, setColor, realColor):
772         * lyxtext.h, text.C (backgroundColor):
773         pass EnumLColor args to/from the functions, rather than LColor::color
774         ones.
775
776         * lyxfont.h:
777         * lyxtext.h: forward declare EnumLColor.
778
779         * lyx_main.C: add #include "LColor.h".
780
781 2003-09-15  Angus Leeming  <leeming@lyx.org>
782
783         * .cvsignore: add lyx-gtk.
784
785 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
786
787         * Chktex.C
788         * LaTeX.C
789         * LaTeXFeatures.C
790         * ParagraphParameters.C
791         * Spacing.C
792         * buffer.C
793         * bufferparams.C
794         * bufferview_funcs.C
795         * chset.C
796         * counters.C
797         * funcrequest.C
798         * lyxfont.C
799         * lyxgluelength.C
800         * lyxlength.C
801         * paragraph.C
802         * paragraph_funcs.C
803         * text3.C
804         * vc-backend.C: remove usage of STRCONV
805
806 2003-09-15  Angus Leeming  <leeming@lyx.org>
807
808         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
809         explicitly define the color passed to the painter.
810
811 2003-09-15  Angus Leeming  <leeming@lyx.org>
812
813         * bufferparams.C (BufferParams): reorder member initializers to avoid
814         compiler warning.
815
816 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
817
818         * CutAndPaste.C (pasteSelection): remove an outdated #warning
819         * text.C (updateRowPositions): remove an unusual nop
820
821 2003-09-12  André Pönitz  <poenitz@gmx.net>
822
823         * BufferView_pimpl.C:
824         * Bullet.C:
825         * layout.h:
826         * lyxfunc.C:
827         * lyxlayout.[Ch]:
828         * lyxtextclass.C:
829         * rowpainter.C:
830         * text.C:
831         * text2.C:
832         * Counters.[Ch]: finish the 'automatic counters' job
833
834 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
835
836         * aspell.C: include <boost/assert.cpp> (compile fix)
837
838 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
839
840         * boost.C (assertion_failed): use lyx::support::abort instead of
841         assert.
842
843 2003-09-10  Angus Leeming  <leeming@lyx.org>
844
845         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
846         with their _fwd progeny.
847
848 2003-09-09  Angus Leeming  <leeming@lyx.org>
849
850         134 files throughtout the source tree: replace 'using namespace abc;'
851         directives with the appropriate 'using abc::xyz;' declarations.
852
853 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
854
855         * boost.C (emergencyCleanup): moved here from LAssert.c
856         (assertion_failed): new function, called by BOOST_ASSERT
857
858         * several files: change Assert to BOOST_ASSERT
859
860 2003-09-09  Angus Leeming  <leeming@lyx.org>
861
862         * buffer.[Ch]: Add an Impl class and move Buffer's member
863         variables into it. As a result move several header files out of
864         buffer.h.
865
866         Add header files to lots of .C files all over the tree as a result.
867
868 2003-09-09  Angus Leeming  <leeming@lyx.org>
869
870         * buffer.[Ch]: make Buffer's member variables private. Add
871         accessor functions.
872
873         Lots of changes all over the tree as a result.
874
875 2003-09-08  Angus Leeming  <leeming@lyx.org>
876
877         * graph.C: #include <config.h>.
878
879 2003-09-08  Angus Leeming  <leeming@lyx.org>
880
881         * BranchList.C:
882         * BufferView.C:
883         * BufferView_pimpl.C:
884         * CutAndPaste.C:
885         * DepTable.C:
886         * LaTeX.C:
887         * LaTeXFeatures.C:
888         * LyXAction.C:
889         * MenuBackend.C:
890         * TextCache.C:
891         * aspell.C:
892         * buffer.C:
893         * bufferlist.C:
894         * changes.C:
895         * chset.C:
896         * converter.C:
897         * counters.C:
898         * debug.C:
899         * graph.C:
900         * ispell.C:
901         * lyx_cb.C:
902         * lyxfind.C:
903         * lyxfunc.C:
904         * lyxlex_pimpl.C:
905         * lyxrc.C:
906         * lyxrow.C:
907         * paragraph.C:
908         * rowpainter.C:
909         * texrow.C:
910         * text.C:
911         * text2.C:
912         * toc.C: remove redundant using directives.
913
914 2003-09-07  Angus Leeming  <leeming@lyx.org>
915
916         * LaTeXFeatures.h: remove #include "support/types.h".
917         * ToolbarBackend.h: remove #include <algorithm>.
918         * changes.h: remove #include <ctime>.
919         * debug.h: remove #include <iosfwd>.
920         * graph.h: remove #include "support/std_string.h".
921         * lyx_main.h: remove #include <csignal>.
922         * lyxlex_pimpl.h: remove #include <fstream>.
923         * sgml.h: remove #include <algorithm>, <utility>.
924         * toc.h: remove #include "support/std_ostream.h".
925         Add #include <iosfwd>.
926
927 2003-09-07  Angus Leeming  <leeming@lyx.org>
928
929         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
930
931         * converter.h: forward declare LatexRunParams.
932         * encoding.h: remove #include "lyxrc.h".
933         * lyxtext.h: remove #include "LColor.h".
934         * lyxtextclass.h: remove #include "support/types.h".
935         * trans.h: remove #include "tex-accent.h".
936         * trans_mgr.h: remove #include "tex-accent.h".
937         * insets/inset.h: remove #include "support/types.h", <vector>.
938         * insets/insetcollapsable.h: remove #include "LColor.h".
939         * insets/insetinclude.h: remove #include "dimension.h".
940         * insets/insetlatexaccent.h: remove #include "dimension.h".
941         * insets/insetoptarg.h:: remove #include "insettext.h".
942         * insets/insettext.h: remove #include "dimension.h",
943         <boost/shared_ptr.hpp>
944
945         * insets/renderers.h: add #include "dimension.h".
946         * insets/updatableinset.h: add #include "support/types.h".
947
948         * many .C files: Associated changes.
949
950 2003-09-06  Angus Leeming  <leeming@lyx.org>
951
952         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
953         one, inside testInvariant.
954
955         * PrinterParams.C: new file.
956         * PrinterParams.[Ch]: move the function bodies out of line.
957
958 2003-09-06  Angus Leeming  <leeming@lyx.org>
959
960         * ParagraphParameters.h: forward declare ParameterStruct rather than
961         including its header file.
962         (depth): moved out-of-line.
963
964 2003-09-06  Angus Leeming  <leeming@lyx.org>
965
966         * BufferView_pimpl.h:
967         * kbmap.h:
968         * kbsequence.h:
969         * lyxfunc.h: forward declare LyXKeySym rather than
970         #include "frontends/LyXKeySym.h".
971
972         * BufferView_pimpl.C:
973         * kbmap.C:
974         * kbsequence.C:
975         * lyxfunc.C: associated changes.
976
977 2003-09-06  Angus Leeming  <leeming@lyx.org>
978
979         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
980         As a result, can remove the #include "insets/inset.h" from BufferView.h
981
982 2003-09-06  Angus Leeming  <leeming@lyx.org>
983
984         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
985         As a result, can remove the #include "insets/inset.h" from BufferView.h
986
987 2003-09-06  Angus Leeming  <leeming@lyx.org>
988
989         * buffer_funcs.C:
990         * buffer.h:
991         * bufferlist.C:
992         * BufferView.C:
993         * bufferview_funcs.C:
994         * BufferView_pimpl.C:
995         * CutAndPaste.C:
996         * lyx_cb.C:
997         * lyxfunc.C:
998         * paragraph.h:
999         * ParagraphParameters.C:
1000         * tabular.C:
1001         * text3.C:
1002         * toc.C:
1003         * undo_funcs.C:
1004         * frontends/controllers/ControlDocument.C:
1005         * insets/insetcaption.C: rearrange the #includes into some sort of
1006         coherent order.
1007
1008         * buffer.h: remove #includes ErrorList.h, undo.h
1009
1010 2003-09-06  Angus Leeming  <leeming@lyx.org>
1011
1012         * support/types.h: add a 'depth_type' typedef, used to store the
1013         nesting depth of a paragraph.
1014
1015         * paragraph.h:
1016         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1017         defining explicitly.
1018
1019         * buffer.h:
1020         * paragraph_funcs.h:
1021         * ParagraphParameters.h:
1022         * sgml.h: use lyx::depth_type rather than Paragraph or
1023         ParameterStruct's depth_type.
1024
1025         * buffer.h
1026         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1027
1028         * BufferView.C:
1029         * BufferView_pimpl.C:
1030         * CutAndPaste.C:
1031         * ParagraphParameters.C:
1032         * buffer_funcs.C:
1033         * bufferlist.C:
1034         * bufferview_funcs.C:
1035         * lyx_cb.C:
1036         * lyxfunc.C:
1037         * tabular.C:
1038         * text3.C:
1039         * toc.C:
1040         * undo_funcs.C:
1041         * frontends/LyXView.C:
1042         * frontends/controllers/ControlDocument.C:
1043         * frontends/controllers/ControlErrorList.C:
1044         * insets/insetbibitem.C:
1045         * insets/insetbranch.C:
1046         * insets/insetcaption.C:
1047         * insets/insetcollapsable.C:
1048         * insets/insetenv.C:
1049         * insets/insetert.C:
1050         * insets/insetfloat.C:
1051         * insets/insetfoot.C:
1052         * insets/insetfootlike.C:
1053         * insets/insetnewline.C:
1054         * insets/insetquotes.C:
1055         * insets/insettabular.C:
1056         * insets/insettext.C:
1057         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1058
1059         * frontends/controllers/ControlChanges.C: #include "changes.h".
1060
1061 2003-09-06  Angus Leeming  <leeming@lyx.org>
1062
1063         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1064         than #including paragraph.h.
1065
1066         * ParagraphList.h:
1067         * RowList.h: deleted. Superfluous.
1068
1069         * CutAndPaste.h:
1070         * iterators.h:
1071         * lyxcursor.h:
1072         * lyxtext.h:
1073         * text_funcs.h:
1074         * undo.h:
1075         * undo_funcs.h:
1076         * insets/inset.h:
1077         * insets/insettext.h: use ParagraphList_fwd.h rather than
1078         ParagraphList.h.
1079
1080         * paragraph.h: don't forward declare ParagraphList.
1081
1082         * buffer.h:
1083         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1084         rather than ParagraphList.h. paragraph.h is still needed for the
1085         Paragraph::depth_type parameters.
1086
1087         * textcursor.h: enable it to compile stand-alone in light of the
1088         above changes.
1089
1090         * bufferview_funcs.C:
1091         * iterators.C:
1092         * lyxfunc.C:
1093         * lyxrow_funcs.C:
1094         * paragraph.C:
1095         * rowpainter.C:
1096         * text.C:
1097         * text2.C:
1098         * text3.C:
1099         * text_funcs.C:
1100         * textcursor.C:
1101         * undo.C:
1102         * frontends/controllers/ControlParagraph.C:
1103         * frontends/controllers/ControlTabular.C:
1104         * insets/insetmarginal.C:
1105         * insets/insetminipage.C:
1106         * insets/insetnote.C:
1107         * insets/insetoptarg.C: add header files needed to compile again.
1108
1109 2003-09-06  Angus Leeming  <leeming@lyx.org>
1110
1111         * RowList_fwd.h: new file, forward-declaring Row rather than
1112         #including lyxrow.h.
1113
1114         * lyxrow_funcs.h:
1115         * lyxtext.h:
1116         * paragraph.h:
1117         * insets/insettext.h: use it instead of RowList.h
1118
1119         * bufferview_funcs.C:
1120         * lyxfunc.C:
1121         * lyxrow_funcs.C:
1122         * paragraph.C:
1123         * rowpainter.C:
1124         * text.C:
1125         * text2.C:
1126         * text3.C: #include "RowList.h".
1127
1128 2003-09-05  Angus Leeming  <leeming@lyx.org>
1129
1130         * factory.C (createInset):
1131         * vspace.C (c-tor): replace sscanf call with an istringstream.
1132         * ispell.C: re-add missing HP/UX headers.
1133         * lyxserver.C: re-add missing  os2 headers.
1134
1135 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * BranchList.C:
1138         * graph.C:
1139         * ispell.C:
1140         * lastfiles.C:
1141         * lyx_cb.C:
1142         * lyxserver.C:
1143         * texrow.C:
1144         * text3.C: re-add missing system headers, needed for 2.95.2.
1145
1146 2003-09-05  Angus Leeming  <leeming@lyx.org>
1147
1148         Changes most place everywhere due to the removal of using directives
1149         from support/std_sstream.h.
1150
1151 2003-09-05  Angus Leeming  <leeming@lyx.org>
1152
1153         Replace LString.h with support/std_string.h,
1154         Lsstream.h with support/std_sstream.h,
1155         support/LIstream.h with support/std_istream.h,
1156         support/LOstream.h with support/std_ostream.h.
1157
1158         Changes resulting throughout the tree.
1159
1160 2003-09-05  Angus Leeming  <leeming@lyx.org>
1161
1162         * sgml.h: ensure that the header file can be compiled stand-alone.
1163         * *.C: strip out redundant #includes. (320 in total.)
1164
1165 2003-09-04  Angus Leeming  <leeming@lyx.org>
1166
1167         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1168         here (from getPackages).
1169
1170         * debug.[Ch]: add a new EXTERNAL tag.
1171
1172 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1173
1174         * text2.C (cursorEnd): simplify
1175         (setCursor): adjust
1176         (getColumnNearX): adjust
1177
1178         * text.C (computeBidiTables): adjust
1179         (fill): adjust
1180
1181         * rowpainter.C (paintChars): adjust
1182         (paintSelection): adjust
1183         (paintChangeBar): adjust
1184         (paintText): adjust
1185
1186         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1187         lastPos instead.
1188         (numberOfSeparators): adjust
1189
1190 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1191
1192         * LyXAction.C:
1193         * box.[Ch]:
1194         * lfuns.h:
1195         * lyxfunc.C:
1196         * text3.C: Restricts the mouse click functionality
1197         of insets like bibtex, include, toc and floatlist to the visible
1198         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1199         up the dialogs. Cursor has to be in front of the inset (i.e.
1200         start of row) for this to function.
1201
1202 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1203
1204         * bufferview_funcs.C (currentState): output row information
1205
1206 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1207
1208         * bufferview_funcs.C (currentState): output paragraph position
1209
1210 2003-09-04  Angus Leeming  <leeming@lyx.org>
1211
1212         * FloatList.h: move out #include "Floating.h".
1213         * LaTeX.h: move out #include "DepTable.h".
1214         * LyXAction.h: move out #include "funcrequest.h".
1215         * buffer.h: move out #include "author.h", "iterators.h".
1216         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1217         * lyx_main.h: move out #include "errorlist.h".
1218         * lyxfunc.h: move out #include "FuncStatus.h".
1219         * lyxtext: move out #include "lyxcursor.h".
1220         * paragraph_pimpl.h: move out #include "counters.h".
1221
1222 2003-09-03  Angus Leeming  <leeming@lyx.org>
1223
1224         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1225         preamble_snippets list, enabling us to add snippets to the preamble
1226         only if the snippet was not there already.
1227
1228 2003-09-04  Angus Leeming  <leeming@lyx.org>
1229
1230         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1231
1232 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1235         update
1236
1237 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1238
1239         * BranchList.C: point fix, earlier forgotten
1240
1241 2003-09-02  Angus Leeming  <leeming@lyx.org>
1242
1243         * box.C (contains): renamed from 'contained' after a fantastic
1244         amount of hot air.
1245
1246 2003-09-02  John Levon  <levon@movementarian.org>
1247
1248         * BufferView.C:
1249         * lyxcursor.h:
1250         * lyxcursor.C:
1251         * lyxfunc.C:
1252         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1253
1254 2003-09-02  John Levon  <levon@movementarian.org>
1255
1256         * text2.C: simplification of cursorEnd(), including partial
1257         fix for bug 1376
1258
1259 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1260
1261         * buffer.C (readFile): add a space
1262
1263 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1264
1265         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1266
1267 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1268
1269         * buffer.C (readFile): new function, take a filename and a
1270         ParagraphList::iterator
1271         (readFile): adjust
1272         (readFile): adjust, make it private. don't use setStream, make
1273         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1274         always contain the filename.
1275
1276         * BufferView.C (insertLyXFile): simplify and make it work for
1277         gzipped files.
1278
1279 2003-08-30  John Levon  <levon@movementarian.org>
1280
1281         * Makefile.am: fix dist (from Kayvan)
1282
1283 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1284
1285         * most files: change to use const Buffer refs
1286
1287 2003-08-27  André Pönitz  <poenitz@gmx.net>
1288
1289         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1290         on top of ownerPar().
1291
1292 2003-08-27  John Levon  <levon@movementarian.org>
1293
1294         * funcrequest.C: properly initialise POD members
1295
1296 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1297
1298         * lyxtext.h (top_y): move top_y from here
1299         * text.C:
1300         * text2.C:
1301         * text3.C:
1302         * BufferView.[Ch]:
1303         * BufferView_pimpl.[Ch]: to here
1304         * frontends/screen.C:
1305         * insets/insettabular.C:
1306         * insets/insettext.C: adjust
1307         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1308
1309 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1310
1311         * BufferView.[Ch]:
1312         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1313
1314 2003-08-26  André Pönitz  <poenitz@gmx.net>
1315
1316         * paragraph_func.[Ch] (outerPar): new function
1317
1318         * paragraph.C:
1319         * paragraph_funcs.C:
1320         * paragraph_funcs.h:
1321         * paragraph_pimpl.C:
1322         * text2.C: remove Inset::par_owner
1323
1324 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * lyxrow_funcs.C:
1327         * lyxtext.h:
1328         * text.C:
1329         * text2.C: eliminates the needFullRow/display() stuff
1330         altogether, putting the logic in metrics/draw in the insets.
1331
1332 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1333
1334         * text2.C (redoParagraphInternal, redoParagraphs):
1335         * text.C (redoParagraph): add a call to updateRowPositions at the
1336         end of each 'metrics-like' call. Remove all others.
1337         (getRow): remove the 'y-computing' version.
1338         (getRowNearY): do not compute nor return the real y. Solve the
1339         'y < 0' problem and simplify.
1340
1341 2003-08-22  Angus Leeming  <leeming@lyx.org>
1342
1343         * *.[Ch]: clean-up of licence and author blurbs.
1344         Also move config.h out of a few .h files and into a few .C files.
1345
1346 2003-08-22  André Pönitz  <poenitz@gmx.net>
1347
1348         * lyxrow.[Ch]: add x_ and *fill_ members
1349
1350         * lyxtext.h:
1351         * text.C:
1352         * rowpainter.C:
1353         * text2.C: adjust/remove prepareToPrint() calls
1354
1355 2003-08-22  André Pönitz  <poenitz@gmx.net>
1356
1357         * lyxrow.[Ch]: add  end_ member
1358
1359         * lyxrow_funcs.C: use LyXRow::end_
1360
1361         * lyxtext.h (singleWidth): add LyXFont parameter
1362
1363         * rowpainter.C:
1364         * text2.C: adjust LyXText::singleWidth() calls
1365
1366         * text.C (redoParagraph): simplify row breaking logic
1367
1368
1369 2003-08-19  André Pönitz  <poenitz@gmx.net>
1370
1371         * funcrequest.C: initialize button_ member
1372
1373         * text3.C:
1374         * rowpainter.[Ch]: interface consolidation
1375
1376 2003-08-18  André Pönitz  <poenitz@gmx.net>
1377
1378         * BufferView.C:
1379         * BufferView_pimpl.C:
1380         * lyxfind.C:
1381         * paragraph_funcs.C:
1382         * rowpainter.C:
1383         * text3.C: remove LyXScreen::draw() and fitCursor calls
1384
1385         * BranchList.h: remove spurious semicolons
1386
1387         * MenuBackend.C: fix branchlist related crash
1388
1389 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1390
1391         * BranchList.[Ch]:
1392         * InsetList.[Ch]:
1393         * LColor.[Ch]:
1394         * LyXAction.C:
1395         * Makefile.am:
1396         * MenuBackend.[Ch]:
1397         * bufferparams.[Ch]:
1398         * factory.C:
1399         * lfuns.h:
1400         * lyxfunc.C:
1401         * text3.C: implements the 'branch inset'
1402         idea. This allows the output of various versions of a document
1403         from a single source version, selectively outputing or suppressing
1404         output of parts of the text.
1405         This implementation contains a 'branch list editor' in a separate
1406         tab of the document settings dialog. Branches are user definable
1407         and have a "display colour" to distinguish them on-screen.
1408
1409         ColorHandler was somewhat cleaned up.
1410         (1) make possible a dynamically growing LColor list by allowing
1411         the graphic context cache to grow along (vector);
1412         (2) eliminate an IMHO unnecessary step in colour allocation.
1413
1414 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1415
1416         * BufferView_pimpl.C: compile fix
1417
1418 2003-08-15  André Pönitz  <poenitz@gmx.net>
1419
1420         * rowpainter.C: remove extra metrics calls
1421
1422         * lyxtext.h: merge the two constructors into a single one,
1423           pass reference to owner's par list
1424
1425         * BufferView_pimpl.C:
1426         * text.C:
1427         * text2.C: adjust
1428
1429 2003-08-15  André Pönitz  <poenitz@gmx.net>
1430
1431         * lyxrow_funcs.[Ch]:
1432         * lyxtext.h:
1433         * paragraph.h:
1434         * paragraph_funcs.C:
1435         * rowpainter.C:
1436         * text.C:
1437         * text2.C:
1438         * text3.C:
1439         * text_funcs.C: split LyXText::rowlist_ into individual
1440         Paragraph::rows_ chunks
1441
1442         * BufferView.[Ch]:
1443         * BufferView_pimpl.[Ch]:
1444         * lyxfind.C:
1445         * lyxtext.h:
1446         * text3.C: remove toggleSelection()
1447
1448 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1449
1450         * bufferlist.C: beautify two alerts (shorter text of buttons)
1451         * buffer.C: Remove redundant ' ' from message
1452         * tabular.h:
1453         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1454         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1455         rename VALIGN_CENTER to VALIGN_MIDDLE
1456
1457 2003-08-11  André Pönitz  <poenitz@gmx.net>
1458
1459         * lyxtext.h (getPar):
1460         * text.C: new function
1461
1462 2003-08-11  André Pönitz  <poenitz@gmx.net>
1463
1464         * Makefile.am:
1465         * tracer.[Ch]: remove unneeded files
1466
1467         * InsetList.[Ch]: remove resizeInsetsLyXText()
1468
1469         * lyxtext.h:
1470         * text.C:
1471         * text2.C:
1472         * text3.C: merge insertParagraphs() and appendParagraph()
1473         remove breakAgain(), update()
1474
1475         * BufferView_pimpl.[Ch]:
1476         * bufferview_funcs.[Ch]:
1477         * lyxfunc.C:
1478         * paragraph.[Ch]:
1479         * rowpainter.C:
1480         * tabular.C: adjust after text & InsetList changes.
1481
1482 2003-08-08  André Pönitz  <poenitz@gmx.net>
1483
1484         * text.C (insertChar, backspace): replace rowlist fiddling
1485         with rebreak of full par
1486
1487         * lyxtext.h:
1488         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1489         checkParagraph, updateInset): removed
1490
1491 2003-08-07  André Pönitz  <poenitz@gmx.net>
1492
1493         * paragraph.C:
1494         * text3.C: merge some LFUN handlers, remove dead code
1495
1496 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1499
1500 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * text2.C (DEPM): fix part of bug 1255 and 1256
1503
1504 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1505
1506         * BufferView_pimpl.C (workAreaDispatch): change to use
1507         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1508         that are no mouse related.
1509
1510 2003-08-05  André Pönitz  <poenitz@gmx.net>
1511
1512         * BufferView.[Ch]:
1513         * BufferView_pimpl.[Ch]:
1514         * bufferview_funcs.C:
1515         * text2.C:
1516         * text3.C: rip out "deep update"
1517
1518         * textcursor.[Ch] (last_sel_cursor): remove unused member
1519
1520 2003-08-04  André Pönitz  <poenitz@gmx.net>
1521
1522         * BufferView.[Ch]:
1523         * BufferView_pimpl.[Ch]:
1524         * ParagraphParameters.C:
1525         * bufferview_funcs.C:
1526         * lyx_cb.C:
1527         * lyxfind.C:
1528         * lyxfunc.C:
1529         * text.C:
1530         * text2.C:
1531         * text3.C: replace "complicated" BufferView::update(...) calls with
1532         simpler ones.
1533
1534         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1535
1536 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1537
1538         * Makefile.am (lyx_SOURCES): add paper.h
1539
1540 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1541
1542         * Makefile.am: move things around so that both lyx-qt and
1543         lyx-xforms can be built (according to --with-frontend). Then lyx
1544         is a symbolic link to lyx-[firstfrontend]
1545
1546 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1547
1548         * Always use std::endl with lyxerr
1549
1550 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1551
1552         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1553
1554 2003-08-01  André Pönitz  <poenitz@gmx.net>
1555
1556         * BufferView.[Ch]:
1557         * BufferView_pimpl.[Ch]:
1558         * lyxfunc.C:
1559         * text3.C: merge BufferView::repaint() and BufferView::update()
1560
1561 2003-08-01  José Matos  <jamatos@lyx.org>
1562
1563         * buffer.[Ch]: file_format is no longer a buffer data element.
1564
1565 2003-08-01  André Pönitz  <poenitz@gmx.net>
1566
1567         * BufferView.C:
1568         * lyxtext.h:
1569         * text.C:
1570         * text2.C: make redoParagraph more independent of current cursor
1571
1572         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1573         * text.C:
1574         * text2.C: remove unneeded members
1575
1576 2003-07-30  André Pönitz  <poenitz@gmx.net>
1577
1578         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1579
1580         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1581           create a single function...
1582
1583         * paragraph_funcs.C (moveItem): ... here.
1584
1585         * text.C:
1586           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1587
1588 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * LColor.[Ch]: Add comment and greyedout logical colors.
1591
1592 2003-07-30  André Pönitz  <poenitz@gmx.net>
1593
1594         * tabular.C: don't use Assert too heavily. This crashes where it
1595           shouldn't
1596
1597 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1598
1599         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1600         is disabled (bug 1232)
1601
1602 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1603
1604         * factory.C: limited 'arg' scope
1605
1606 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1607
1608         * factory.C: fixed Note submenu issues
1609
1610 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1611
1612         * factory.C: submenu for Note/Comment/Greyedout
1613
1614 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1615
1616         * lyx_main.C (LyX):
1617         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1618
1619 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1620
1621         * LaTeXFeatures.C:
1622         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1623         greyedout. Patch provided by Jürgen Spitzmüller.
1624
1625 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * kbmap.C (read): fix error message when reading bind files
1628
1629 2003-07-29  Angus Leeming  <leeming@lyx.org>
1630
1631         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1632         certainly does not do what it purports to do. I am doing it, and
1633         us, a favour by killing it.
1634
1635 2003-07-28  José Matos  <jamatos@lyx.org>
1636
1637         * buffer.C (readBody, do_writeFile):
1638         * paragraph.C(readParagraph): \end_document replaces \the_end.
1639
1640 2003-07-29  André Pönitz  <poenitz@gmx.net>
1641
1642         * BufferView.[Ch]:
1643         * BufferView_pimpl.[Ch]:
1644         * lyxfunc.C:
1645         * text2.C:
1646         * text3.C:
1647         * textcursor.[Ch]: remove toggleToggle & Co
1648
1649 2003-07-28  José Matos  <jamatos@fep.up.pt>
1650
1651         * buffer.C (readParagraph):
1652         * params_func (readParToken, readParagraph):
1653         * paragraph.C (write): \layout -> \begin_layout.
1654
1655 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1656
1657         * lyxlex_pimpl.C (setFile): clean up slightly.
1658
1659         * bufferparams.h: add compressed var
1660
1661         * buffer_funcs.C (readFile): adjust for LyXLex change
1662         (newFile): ditto + simplify
1663
1664         * buffer.C (writeFile): handle writing of compressed files
1665
1666         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1667         Check if the file is compressed and set a bufferparm if so.
1668
1669         * Makefile.am (lyx_LDADD): remove explicit -lz
1670
1671 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1674         makeDocBookFile): put the real LyX version in the first line of
1675         the file
1676
1677         * version.h:
1678         * version.C.in: remove lyx_docversion
1679
1680         * tabular.C (write_attribute): add a template-based version to
1681         write enums properly
1682
1683 2003-07-28  André Pönitz  <poenitz@gmx.net>
1684
1685         * lyxtext.h:
1686         * text.C:
1687         * text2.C:
1688         * text3.C: use doubles again for x-coordinates. They are needed.
1689
1690 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1691
1692         * messages.C (getLocaleDir): use lyx_localedir()
1693
1694         * lyxlex_pimpl.C (setFile): compress stuff
1695
1696         * buffer.C (writeFile): add some compression stuff
1697         (do_writeFile): new func, dont call expliti close... will this
1698         breake anything?
1699
1700         * Makefile.am (lyx_LDADD): add -lz
1701
1702 2003-07-28  José Matos  <jamatos@fep.up.pt>
1703
1704         * buffer.C: increment file format.
1705         * paragraph_funcs (readParagraph, readParToken):
1706         * paragraph.C (readParagraph): add \end_layout.
1707
1708 2003-07-27  Angus Leeming  <leeming@lyx.org>
1709
1710         * Makefile.am: remove special casing for configure-time setting of
1711         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1712
1713         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1714         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1715
1716 2003-07-26  André Pönitz  <poenitz@gmx.net>
1717
1718         * paragraph_func.[Ch]:
1719         * paragraph.C (realizeFont): inline it whereever it is used
1720
1721         * rowpainter.C:
1722         * text.C:
1723         * text2.C:
1724         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1725
1726
1727 2003-07-26  André Pönitz  <poenitz@gmx.net>
1728
1729         *       lyxtext.h:
1730         * text.C:
1731         * text2.C: get rid of LyXText::need_break_row
1732
1733 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1734
1735         * toc.[Ch]: put namespace toc inside namespace lyx
1736
1737         * MenuBackend.C (expandToc2): adjust for lyx::toc
1738         (expandToc): ditto
1739
1740         * lyxfunc.C (dispatch): adjust for lyx::find
1741
1742         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1743         lyx::find instead. Reorganize a bit.
1744         (LyXReplace): rename to replace
1745         (LyXFind): rename to find
1746
1747         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1748         (dispatch): ditto
1749
1750 2003-07-26  André Pönitz  <poenitz@gmx.net>
1751
1752         * text.C (setHeightOfRow): restrict scope of temporary variable
1753
1754         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1755           code (never has been used?)
1756
1757 2003-07-27  Asger Alstrup  <alstrup@local>
1758
1759         * text.C (fill): Optimise algorithm to exploit that we can reuse
1760         the LyXFont for many characters.
1761         (setHeightOfRow): Same thing.
1762         (rowBreakPoint): Same thing.
1763
1764 2003-07-26  Asger Alstrup  <alstrup@local>
1765
1766         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1767
1768         * text.C (singleWidth): Spurious font copying in hot-spot
1769         singleWidth avoided. Reorder tests for arabic for efficiency.
1770
1771         * text.C (fill): handle empty paragraphs better.
1772
1773 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * ispell.C:
1776         * encoding.h: add includes
1777
1778         * lyxrc.C: remove reading of bind files
1779
1780         * lyx_main.C (init): setup bindings and menus only if we have a
1781         gui.
1782
1783         * kbmap.C (read): new method. Do the actual reading of bind
1784         files.
1785
1786         * converter.C (dvipdfm_options):
1787         * bufferparams.C:
1788         * lyxrc.C (read):
1789         (output): adapt PAPER_* enums.
1790
1791         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1792
1793         * bufferparams.h: remove paper-related enums from there
1794
1795         * paper.h: New file. A trivial header file to hold paper-related
1796         enums. It should later expand to contain many paper-related
1797         horrors access.
1798
1799         * lyxrc.C: declare extern displayTranslator
1800
1801 2003-07-27  José Matos  <jamatos@fep.up.pt>
1802
1803         * tabular.[Ch] (linuxdoc): add support for tables and figures
1804         (linuxdoc).
1805
1806 2003-07-27  José Matos  <jamatos@fep.up.pt>
1807
1808         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1809         consistency in both functions.
1810         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1811
1812 2003-07-26  Asger Alstrup  <alstrup@local>
1813
1814         * rowpainter.C (paintRows): Change algorithm to work directly on
1815         the insets rather than asking every character in the document
1816         whether its an inset.
1817
1818 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1819
1820         * buffer.C (openFileWrite): factorize some code
1821
1822 2003-07-26  Angus Leeming  <leeming@lyx.org>
1823
1824         * lyx_cb.C:
1825         * lyx_main.[Ch]: replace occurances of system_tempdir with
1826         os::getTmpDir().
1827
1828 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1829
1830         * rename Inset to InsetOld
1831
1832 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1833
1834         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1835         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1836         which I think is a bit clearer. EDIT is gone, since it was
1837         premature optimisation, and broken for mathed anyway.
1838         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1839         with cursor positioning in insets as well (math insets still do not
1840         work, but that's a different story anyway.) It mysteriously
1841         crashes sometimes with undo in the first paragraph, but I'm fairly
1842         confident that this is a compiler bug.
1843
1844 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * paragraph.C (Paragraph): adjust for new clone return type
1847         (operator==): ditto
1848         (copyIntoMinibuffer): ditto
1849
1850 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1851
1852         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1853         by not having a special case, and always doing a full rebreak of
1854         the document after undo.
1855
1856 2003-07-23  Angus Leeming  <leeming@lyx.org>
1857
1858         * factory.C (createInset): InsetExternal::setParams now takes a
1859         Buffer const * arg.
1860
1861 2003-07-23  Angus Leeming  <leeming@lyx.org>
1862
1863         * factory.C (createInset): changed interface to the external and
1864         graphics mailers' string2params functions.
1865
1866 2003-07-23  Angus Leeming  <leeming@lyx.org>
1867
1868         * factory.C (createInset): pass a
1869         Buffer const * parameter to InsetExternalMailer's string2params.
1870
1871 2003-07-22  John Levon  <levon@movementarian.org>
1872
1873         * Thesaurus.h: include the right aiksaurus header
1874
1875 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1876
1877         * MenuBackend.C (expand): check menu shortcuts unconditionally
1878
1879 2003-07-21  Angus Leeming  <leeming@lyx.org>
1880
1881         * factory.C (createInset): pass a
1882         buffer_path parameter to InsetGraphicsMailer's string2params.
1883
1884 2003-07-21  Angus Leeming  <leeming@lyx.org>
1885
1886         * BufferView_pimpl.C (buffer):
1887         * buffer.C (d-tor):
1888         * lyx_main.C (LyX):
1889         * lyxfunc.C (dispatch):
1890         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1891         rather than the grfx shortcut.
1892
1893 2003-07-21  André Pönitz  <poenitz@gmx.net>
1894
1895         * rowpainter.C: remove unused variables
1896
1897         * tabular_funcs.C:
1898         * tabular_funcs.h: move to tabular.C
1899         * Makefile.am: adjust
1900
1901         * tabular.[Ch]: basic optical cleaning
1902
1903         * author.h: pass references, not values
1904
1905 2003-07-18  André Pönitz  <poenitz@gmx.net>
1906
1907         * lyxtext.h:
1908         * metricsinfo.C:
1909         * metricsinfo.h:
1910         * rowpainter.C:
1911         * text.C:
1912         * text2.C:
1913         * text3.C: two-phase drawing for InsetText and InsetTabular
1914         some float -> int changes.
1915
1916 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1917
1918         * lyx_main.C: fix the fix
1919
1920 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1921
1922         * lyx_main.C: fix a crash in batch mode if no files specified
1923         * converter.C: ws
1924
1925 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * format.[Ch] (papersize): moved to BufferParams
1928         * converter.[Ch] (dvips_options): moved to BufferParams
1929         (dvipdfm_options): moved to anon namespace
1930         * bufferparams.[Ch]: added above functions.
1931
1932 2003-07-17  André Pönitz  <poenitz@gmx.net>
1933
1934         * lyxtext.h:
1935         * rowpainter.C:
1936         * text2.C: don't call inset->update() anymore
1937
1938         * metricsinfo.[Ch]: add convenience constructor
1939
1940 2003-07-16  André Pönitz  <poenitz@gmx.net>
1941
1942         * lyxcursor.[Ch]:
1943         * lyxfunc.[Ch]:
1944         * text.C:
1945         * text2.C: replace the LyXCursor::irow_ member with
1946          on-demand computation of the value
1947
1948 2003-07-16  John Levon  <levon@movementarian.org>
1949
1950         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1951
1952 2003-07-15  André Pönitz  <poenitz@gmx.net>
1953
1954         * text.C:
1955         * text2.C: remove no more needed refresh_row
1956
1957 2003-07-15  André Pönitz  <poenitz@gmx.net>
1958
1959         * lyxtext.h:
1960         * rowpainter.C:
1961         * text2.C:
1962         * text3.C: refresh_status tristate -> need_update bool
1963
1964 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1965
1966         * lyxtext.h (init): remove reinit argument (act as if always true)
1967         * text2.C: adjust to that
1968
1969 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1970
1971         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1972         * text3.C: use it to delete selections in some cases
1973         (bugs 441, 673, 702, 954).
1974
1975 2003-07-14  André Pönitz  <poenitz@gmx.net>
1976
1977         * rowpainter.[Ch]: reduce interface
1978
1979 2003-07-14  André Pönitz  <poenitz@gmx.net>
1980
1981         * BufferView_pimpl.C:
1982         * text2.C: adjust after removing unused BufferView * argument
1983
1984 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * text2.C (init): fix a crash fired on resize
1987
1988 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1989
1990         * buffer.[Ch]: added new closing signal
1991         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1992         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1993         BufferView::Pimpl via the closing the signal
1994
1995 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1996
1997         * buffer.[Ch]: take out all bv-related from buffer
1998         * BufferView.C:
1999         * BufferView_pimpl.[Ch]: connect to new signals
2000         * CutAndPaste.C: removed useless asserts
2001         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2002         * lyxvc.[Ch]:
2003         * vc-backend.[Ch]:
2004         * lyxfunc.C: moved view-related funciontality from vc here
2005         * paragraph.C: removed outdated comments
2006         * text.C: ws
2007
2008 2003-07-10  André Pönitz  <poenitz@gmx.net>
2009
2010         * BufferView_pimpl.C:
2011         * tabular.h:
2012         * tabular_funcs.C:
2013         * text.C:
2014         * text2.C: remove InsetText::InnerCache, clean up consequences
2015
2016 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2017
2018         * ispell.C: fix two typos in error messages
2019
2020 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2021
2022         * Extend Note inset to other forms of annotation like Comment
2023         and Greyedout. Right button click gives dialog.
2024
2025         Files modified or added (+):
2026
2027         * insetnote.[Ch]
2028         * FormNote.[Ch]      +
2029         * ControlNote.[Ch]   +
2030         * form_note.fd       +
2031         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2032         frontends/controllers
2033         * xforms/Dialogs.C
2034         * factory.C
2035
2036 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2037
2038         * aspell.C: add missing namespace lyx::support
2039
2040 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2041
2042         * BufferView.[Ch] (newFile): Add
2043         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2044         * LaTeX.[Ch] (message): added this signal and use it
2045         * buffer.[Ch] (busy, message): added these signals and use them
2046         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2047         * converter.C:
2048         * exporter.C:
2049         * format.C:
2050         * importer.C: use buffer signals instead of direct bv calling
2051         * lyx_cb.[Ch] (ShowMessage): removed
2052         * lyx_main.C:
2053         * lyxfunc.C:
2054         * paragraph_funcs.C:
2055         * text2.C: use buffer signals
2056
2057 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * introduce namespace lyx::graphics
2060
2061 2003-07-02  André Pönitz  <poenitz@gmx.net>
2062
2063         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2064
2065 2003-07-01  André Pönitz  <poenitz@gmx.net>
2066
2067         * text.C:
2068         * text2.C:
2069         * text3.C:
2070         * text_funcs.[Ch]:
2071         * textcursor.h:
2072         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2073           text*.C to text_func.C
2074
2075 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * introduce namespace lyx::support
2078
2079 2003-06-30  André Pönitz  <poenitz@gmx.net>
2080
2081         * Chktex.C:
2082         * funcrequest.C:
2083         * lyxtext.h:
2084         * text.C: re-enable --with-included-string
2085
2086 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * textcursor.C: add <config.h>
2089
2090         * text.C (getWord): remove const from word_location arg
2091
2092         * lyxvc.C (getLogFile): fix const type order
2093
2094         * lyxtext.h: remove const from word_location arg, add arg name
2095
2096         * lyxlayout.h: currect type on labeltype.
2097
2098         * importer.C: correct \file
2099
2100         * converter.C (intToFormat): use std:: on ret val, ws changes
2101
2102         * bufferlist.h: correct \file
2103
2104         * buffer.C (makeLinuxDocFile): fix const type order
2105         (makeDocBookFile): ditto
2106         (fillWithBibKeys): use std:: on stdlib args.
2107
2108         * CutAndPaste.C: fix authors.
2109         (availableSelections): use std:: on return vector
2110
2111 2003-06-27  André Pönitz  <poenitz@gmx.net>
2112
2113         * BufferView_pimpl.C:
2114         * bufferview_funcs.C:
2115         * lyxcursor.C:
2116         * lyxcursor.h:
2117         * lyxfunc.C:
2118         * lyxtext.h:
2119         * rowpainter.C:
2120         * text.C:
2121         * text2.C:
2122         * text3.C: remove LyXCursor::row_ member
2123
2124         * lyxtext.h:
2125         * text.C: rename fullRebreak() to partialRebreak() and implement
2126           a fullRebreak() that really bereks fully
2127
2128         * textcursor.h: new struct for cursor-related data
2129
2130 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2131
2132         * lyx_main.C (LyX): get full path of document loaded on the
2133         command line
2134
2135 2003-06-26  André Pönitz  <poenitz@gmx.net>
2136
2137         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2138           remove unused/broken operator>,<,>=.
2139
2140         *       text.C: remove only use of broken operator<= in an Assert().
2141
2142 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2145         moved errorlist_.clear to showErrorList
2146
2147 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * converter.C (scanLog, runLaTeX):
2150         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2151         move the bv->showErrorList call to the callers
2152         * lyxfunc.C: i.e. here...
2153         * text2.C: and here
2154         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2155         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2156         namespace, the second to...
2157         * buffer_funcs (BufferFormat, parseErrors): added
2158         * errorlist.C (ErrorList(TeXErrors const &)): removed
2159
2160 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2161
2162         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2163
2164 2003-06-24  "Garst R. Reese" <reese@isn.net>
2165
2166         * debug.C: fix typo
2167
2168 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2169
2170         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2171
2172         * version.C.in: change docversion to 1.4
2173
2174 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2175
2176         * buffer.C: fix a bug just introduced
2177
2178 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * buffer.[Ch]: added the parseError signal and use it, removed
2181         sgmlError
2182         * BufferView.[Ch] (addError): moved to ...
2183         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2184         to the Buffer::parseError signal to catch (guess what) parse errors
2185         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2186
2187 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2188
2189         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2190         ability to create a buffer and to return an existing one from
2191         the list. Moved these functions to...
2192         * buffer_funcs.[Ch]: added
2193         * BufferView.[Ch] (loadLyXFile): added
2194         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2195         job removed from bufferlist::loadLyXFile.
2196         * buffer.C (setReadOnly): make it work without view
2197         (i.e added an if (users))
2198
2199 2003-06-19  Angus Leeming  <leeming@lyx.org>
2200
2201         * lfuns.h:
2202         * LyXAction.C (init):
2203         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2204         with LFUN_DIALOG_SHOW <name> <data>.
2205
2206 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * CutAndPaste.C (availableSelections): small compilation fix for
2209         ancient (gcc 2.9x) compilers
2210
2211 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2212
2213         * text3.C (cursorNext): add tmp var
2214
2215         * text2.C (updateCounters): for function calling out of for clause
2216         (replaceSelectionWithString): ditto
2217         (insertStringAsParagraphs): ditto
2218         (getColumnNearX): add tmp var
2219         (setCursorFromCoordinates): add tmp var
2220         (cursorDownParagraph): add tmp var
2221         (deleteEmptyParagraphMechanism): add tmp var
2222
2223         * text.C (insertChar): add tmp var
2224
2225         * rowpainter.C (paintDepthBar): add tmp var
2226
2227         * CutAndPaste.C (availableSelections): potentially check all
2228         paragraphs in a cut to fill the shown strings.
2229
2230 2003-06-18  André Pönitz  <poenitz@gmx.net>
2231
2232         * kbmap.[Ch]: use vector<> instead of list<>
2233
2234 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2235
2236         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2237         pasteSelection with index
2238
2239         * text2.C (pasteSelection): modify, call pasteSelection with index
2240
2241         * paragraph.C (asString): reimplement version with no interval to
2242         call the one with interval.
2243
2244         * lyxtext.h: add index arg to pasteSelection
2245
2246         * MenuBackend.C (MenuItem): handle PasteRecent
2247         (Menu::read::Menutags): add md_pasterecent
2248         (read): handle it
2249         (expandPasteRecent): new function
2250         (expand): use it
2251
2252         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2253
2254         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2255         the limited stack
2256         (availableSelections): new function
2257
2258 2003-06-17  Angus Leeming  <leeming@lyx.org>
2259
2260         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2261
2262 2003-06-17  Angus Leeming  <leeming@lyx.org>
2263
2264         * lfuns.h:
2265         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2266
2267         * lyxfunc.C (dispatch): invoke it.
2268
2269 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * iterators.C (operator++, ParPosition): reintroduce some
2272         const_cast for the benefit of older compilers.
2273
2274 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * text3.C (dispatch): do not modify clipboard when doing
2277         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2278         LFUN_DELETE_SKIP on a selection selection
2279
2280 2003-06-16  André Pönitz  <poenitz@gmx.net>
2281
2282         * BufferView.C:
2283         * buffer.C:
2284         * buffer.h:
2285         * paragraph.C:
2286         * tabular.[Ch]: IU of clone() and getLabelList();
2287
2288 2003-06-13  André Pönitz  <poenitz@gmx.net>
2289
2290         * tabular.h: compactification
2291
2292 2003-06-12  André Pönitz  <poenitz@gmx.net>
2293
2294         * tabular.C:
2295         * tabular.h:
2296         * tabular_funcs.h: some renaming plus whitespace
2297
2298 2003-06-12  André Pönitz  <poenitz@gmx.net>
2299
2300         * BufferView.C:
2301         * BufferView_pimpl.C:
2302         * CutAndPaste.C:
2303         * buffer.C:
2304         * iterators.[Ch]:
2305         * lyxfunc.C:
2306         * text.C:
2307         * toc.C: Return a Paragraph & for ParIterator::operator*()
2308
2309 2003-06-11  John Levon  <levon@movementarian.org>
2310
2311         * lyx_main.C:
2312         * ToolbarBackend.h:
2313         * ToolbarBackend.C: add "Toolbars" section and
2314         put the flags there
2315
2316 2003-06-10  Angus Leeming  <leeming@lyx.org>
2317
2318         * lfuns.h:
2319         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2320
2321         * lyxfunc.C (dispatch): invoke it.
2322
2323 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2324
2325         * main.C: protect <ios> with HAVE_IOS
2326         (main): protect sync_with_stdio with HAVE_IOS
2327
2328 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2329
2330         * text2.C (cutSelection): adjust
2331         (pasteSelection): adjust
2332
2333         * messages.C: handle get of empty string
2334
2335         * main.C (main): use sync_with_stdio(false)
2336
2337         * lyxfunc.C (dispatch): adjust
2338
2339         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2340         (WriteAs): remove unneeded BufferView arg.
2341
2342         * bufferparams.h: use correct types on papersize, papersize2 and
2343         paperpackage.
2344
2345         * bufferparams.C (readToken): adjust for type
2346         (writeLaTeX): add missing cases to switch.
2347
2348         * bufferlist.C (quitWriteBuffer): adjust
2349         (close): adjust
2350
2351         * buffer.C (asciiParagraph): remove some commented code.
2352
2353         * CutAndPaste.C: remove current_view extern variable.
2354         (cutSelection): add BufferParams arg.
2355         (eraseSelection): add BufferParams arg.
2356         (pasteSelection): add Buffer const & arg
2357
2358 2003-06-07  John Levon  <levon@movementarian.org>
2359
2360         * buffer.C:
2361         * paragraph_funcs.C:
2362         * paragraph_pimpl.C:
2363         * text.C:
2364         * text2.C:
2365         * paragraph.h:
2366         * paragraph.C: allow InsetERT to freely space lines,
2367         and some consolidation of code
2368
2369 2003-06-06  José Matos  <jamatos@fep.up.pt>
2370
2371         * buffer.C (makeDocBookFile): fix bug #821
2372
2373 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2376
2377 2003-06-04  Angus Leeming  <leeming@lyx.org>
2378
2379         * buffer.C: bump format to 224.
2380
2381 2003-06-05  André Pönitz  <poenitz@gmx.net>
2382
2383         * text2.C (redoParagraphs): remove two const_cast<>
2384
2385 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2386
2387         * ParagraphList.h: remove last remnants of NO_STD_LIST
2388
2389 2003-06-03  Angus Leeming  <leeming@lyx.org>
2390
2391         * factory.C (createInset): small change to the way InsetExternal's params
2392         are set.
2393
2394 2003-06-04  André Pönitz  <poenitz@gmx.net>
2395
2396         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2397
2398         * paragraph_pimpl.h:
2399         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2400
2401         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2402
2403         * undo_funcs.C: make some simple cases of undo work again
2404
2405 2003-06-03  John Levon  <levon@movementarian.org>
2406
2407         * ispell.C: HPUX doesn't have sys/select.h
2408         (from Albert Chin)
2409
2410 2003-06-03  John Levon  <levon@movementarian.org>
2411
2412         * CutAndPaste.C: update tabular and include inset
2413         buffer references
2414
2415         * buffer.h:
2416         * paragraph.h:
2417         * paragraph.C: remove owningBuffer(), don't pass Buffer
2418         to clone()
2419
2420         * factory.C: insetGraphicsParams changed
2421
2422 2003-06-02  John Levon  <levon@movementarian.org>
2423
2424         * LyXAction.C:
2425         * factory.C:
2426         * lfuns.h:
2427         * lyxfunc.C:
2428         * text3.C: remove insetparent
2429
2430 2003-06-02  John Levon  <levon@movementarian.org>
2431
2432         * buffer.h:
2433         * buffer.C: fix inset_iterator.end(), move out of line
2434         (bug 1149)
2435
2436 2003-06-01  John Levon  <levon@movementarian.org>
2437
2438         * text3.C: use a proper cut/paste when doing inset
2439         insert (from Jürgen Spitzmüller)
2440
2441 2003-06-01  John Levon  <levon@movementarian.org>
2442
2443         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2444
2445 2003-05-30  André Pönitz  <poenitz@gmx.net>
2446
2447         * rowpainter.C: unify second drawing phase
2448
2449 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * trans_mgr.C: remove one case of current_view
2452
2453         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2454
2455         * paragraph_funcs.h: remove paragraph.h include
2456
2457         * paragraph.h: delete NO_STD_LIST stuff
2458
2459         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2460
2461         * buffer.h: remove paragraph.h include
2462
2463         * ParagraphList.C: delete file
2464
2465         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2466
2467         * toc.C (getTocList): adjust
2468
2469         * paragraph_pimpl.C (validate): adjust
2470
2471         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2472
2473         * paragraph.C (Paragraph): adjust
2474         (getPositionOfInset): use const_iterator, adjust
2475         (bibitem): use const_iterator, adjust
2476         (setInsetOwner): adjust
2477
2478         * iterators.C (operator++): adjust
2479
2480         * InsetList.[Ch]: Replace selfmade iterator with standard
2481         vector::iterator also introduce const_iterator. Remove getPos,
2482         getInset and setInset from InsetTable. Adjust accordingly.
2483
2484         * BufferView.C (lockInset): adjust
2485         (ChangeInsets): adjust
2486
2487         * tabular.[Ch]: delete commented same_id functions
2488
2489 2003-05-28  John Levon  <levon@movementarian.org>
2490
2491         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2492
2493 2003-05-28  André Pönitz  <poenitz@gmx.net>
2494
2495         * metricsinfo.[Ch]: remove 'fullredraw' member
2496
2497 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2498
2499         * lyxtextclass.C (operator): remove caching.
2500
2501 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * text3.C: adjust
2504
2505         * text2.C (cursorBottom): adjust
2506         (setCounter): use ParagraphList::find, adjust
2507
2508         * text.C (workWidth): use ParagraphList::find, adjust
2509
2510         * lyxcursor.C (LyXCursor): adjust
2511
2512         * buffer.C (inset_iterator): adjust
2513
2514         * ParagraphList.h: make iterator(value_type) private, make
2515         ParagraphList a friend of iterator.
2516
2517         * ParagraphList.C (find): new function
2518
2519         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2520
2521 2003-05-27  André Pönitz  <poenitz@gmx.net>
2522
2523         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2524
2525 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2528
2529 2003-05-26  John Levon  <levon@movementarian.org>
2530
2531         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2532
2533 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * remove same_id from function signatures, adjust.
2536
2537 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2540
2541         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2542
2543         * paragraph.C (Paragraph): get rid of same_ids parameter
2544
2545         * ParagraphList.C (insert): adjust
2546         (push_back): adjust
2547
2548 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * paragraph_funcs.C (breakParagraph): adjust
2551         (breakParagraphConservative): adjust
2552
2553         * buffer.C (readParagraph): adjust
2554
2555         * ParagraphList.C (insert): take a reference instead of a pointer
2556         (insert): adjust
2557
2558         * paragraph.[Ch] (id): new function
2559
2560         * bufferlist.C (newFile): adjust
2561
2562         * ParagraphList.C (ParagraphList): adjust
2563         (assign): adjust
2564         (push_back): take a reference instead of a pointer.
2565
2566         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2567
2568         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2569         instead.
2570
2571         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2572         set else use old code.
2573
2574         * ParagraphList.C: remove all NO_NEXT code and only compile this
2575         code of NO_STD_LIST is set.
2576
2577 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * BufferView_pimpl.C:
2580         * TextCache.C:
2581         * TextCache.h:
2582         * bufferlist.C:
2583         * errorlist.h:
2584         * format.C:
2585         * format.h:
2586         * graph.C:
2587         * lyxfunc.C:
2588         * lyxrc.C:
2589         * graphics/GraphicsConverter.C:
2590         * graphics/PreviewLoader.C: header adjustment
2591
2592 2003-05-23  Angus Leeming  <leeming@lyx.org>
2593
2594         * LaTeXFeatures.[Ch] (useBabel): new method.
2595         * bufferparams.C (writeLaTeX): use it.
2596
2597 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * ParagraphList.h (set): remove unused function.
2600
2601 2003-05-23  André Pönitz  <poenitz@gmx.net>
2602
2603         * BufferView.C:
2604         * BufferView_pimpl.C:
2605         * buffer.C:
2606         * buffer.h:
2607         * lyxfunc.C:
2608         * undo_funcs.C: setUndo reworked
2609
2610         * iterators.[Ch]: add access to topmost ParagraphList
2611
2612         * lyxtext.[Ch] (workWidth): add a const
2613
2614 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2615
2616         * texrow.[Ch] (increasePos): remove function
2617         * exporter.C (export): removed unused var and outdated comment
2618
2619 2003-05-23  Angus Leeming  <leeming@lyx.org>
2620
2621         * latexrunparams.h: rename fragile as moving_arg.
2622         * paragraph.C (simpleTeXOnePar): ditto.
2623         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2624
2625 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2628         (createUndo): ditto
2629         (textUndoOrRedo): comment out a currently unused var.
2630
2631         * paragraph.h (NO_NEXT): enable NO_NEXT
2632
2633         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2634
2635         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2636
2637         * exporter.C (Export): adjust for removeAutoInsets removal.
2638
2639         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2640
2641         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2642
2643         * BufferView.[Ch] (removeAutoInsets): delete function
2644
2645 2003-05-22  Angus Leeming  <leeming@lyx.org>
2646
2647         * latexrunparams.h: add a free_spacing variable.
2648
2649         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2650         to pass moving_arg, as the data is stored in runparams.fragile.
2651
2652         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2653         to Inset::latexOptional or to simpleTeXOnePar.
2654
2655         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2656         free_spacing arg to Inset::latexOptional.
2657
2658         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2659         free_spacing arg.
2660
2661 2003-05-22  Angus Leeming  <leeming@lyx.org>
2662
2663         * latexrunparams.h: add fragile and use_babel variables.
2664
2665         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2666         * buffer.C (makeLaTeXFile): store this returned value in
2667         runparams.use_babel, thus passing it to the inset::latex methods.
2668
2669         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2670         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2671
2672         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2673         longer has a fragile arg, as it is stored in runparams.fragile.
2674
2675         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2676         moving_arg parameter as the data is stored in runparams.fragile.
2677
2678         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2679         a fragile parameter as the data is stored in runparams.fragile.
2680
2681 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2682
2683         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2684
2685 2003-05-22  Angus Leeming  <leeming@lyx.org>
2686
2687         * latexrunparams.h: add a 'bool nice' which defaults to false.
2688
2689         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2690         now encapsulated within runparams.
2691
2692         * bufferlist.C (updateIncludedTeXfiles):
2693         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2694
2695 2003-05-22  Angus Leeming  <leeming@lyx.org>
2696
2697         * latexrunparams.h: new file containing struct LatexRunParams.
2698         * Makefile.am: add new file.
2699
2700         * LaTeX.[Ch] (c-tor, run):
2701         * buffer.[Ch] (makeLaTeXFile):
2702         * bufferlist.[Ch] (updateIncludedTeXfiles):
2703         * converter.C (convert, scanLog):
2704         * converter.[Ch] (runLaTeX):
2705         * exporter.C (Export):
2706         * paragraph.[Ch] (simpleTeXOnePar):
2707         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2708         * paragraph_funcs.[Ch] (latexParagraphs):
2709         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2710         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2711         pass around a LatexRunParams parameter.
2712
2713 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2714
2715         * paragraph.[Ch]: remove unused constructor
2716
2717         * ParagraphList.C (erase): new function, taking two iterators
2718
2719 2003-05-22  André Pönitz  <poenitz@gmx.net>
2720
2721         * undo_funcs.C: remove duplicated code
2722
2723         * iterator.[Ch]: operator=
2724
2725 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * tabular.C (SetMultiColumn): ws changes
2728
2729         * rowpainter.C (paintFirst): get rid of a ->previous
2730
2731         * lyx_cb.C (getPossibleLabel): parlist simplification
2732
2733         * BufferView.C (ChangeInsets): simplify slightly.
2734
2735 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2736
2737         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2738         * lfuns.h: new LFUN_SPACE
2739         * lyxfunc.C: protected space has a new lfun
2740         * paragraph_funcs.C: read new space insets
2741         * text3.C:
2742         * factory.C: handle new space insets
2743
2744 2003-05-22  André Pönitz  <poenitz@gmx.net>
2745
2746         * BufferView.C:
2747         * BufferView_pimpl.C:
2748         * buffer.[Ch]:
2749         * lyxfunc.C:
2750         * undo_funcs.C: return a ParIterator from getParFromID.
2751
2752         * iterators.[Ch]: add two const's
2753
2754 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * toc.C (getTocList): adjust
2757
2758         * iterators.[Ch]: rework for parlist
2759
2760         * buffer.C (par_iterator_begin): adjust
2761         (par_iterator_end): adjust
2762
2763         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2764
2765         * BufferView.C (removeAutoInsets): adjust
2766         (ChangeInsets): adjust
2767
2768 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2769
2770         * text.C (top_y): fix bug 1110
2771
2772 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * errorlist.[Ch]: added
2775         * buffer.C:
2776         * BufferView.[Ch]:
2777         * BufferView_pimpl.C:
2778         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2779         instead
2780
2781 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * Makefile.am: ensure that lyx is relinked upon changes to the
2784         various "convenience" libs.
2785
2786 2003-05-20  Angus Leeming  <leeming@lyx.org>
2787
2788         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2789         files are compiled in alphabetical order again.
2790
2791         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2792
2793 2003-05-19  Angus Leeming  <leeming@lyx.org>
2794
2795         * gettext.[Ch]: remove "char const * _(char const *)".
2796
2797 2003-05-19  André Pönitz  <poenitz@gmx.net>
2798
2799         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2800
2801         * Makefile.am:
2802         * BufferView.C:
2803         * DepTable.h:
2804         * LaTeXFeatures.C:
2805         * buffer.C:
2806         * lyxfont.C:
2807         * lyxlex.h:
2808         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2809
2810 2003-05-19  André Pönitz  <poenitz@gmx.net>
2811
2812         * buffer.C:
2813         * lyxlayout.[Ch]:
2814         * lyxtextclass.[Ch]:
2815         * paragraph.C:
2816         * paragraph_funcs.[Ch]:
2817         * text2.C:
2818         * text3.C: more insetenv work
2819
2820 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * ParagraphParameters.C (params2string): small bug fixed
2823
2824 2003-05-16  André Pönitz  <poenitz@gmx.net>
2825
2826         * debug.C:
2827         * bufferview_funcs.C: patch from Kornel Benko to prevent
2828           crash when _(...) is called twice in a statement
2829
2830 2003-05-16  André Pönitz  <poenitz@gmx.net>
2831
2832         * BufferView.C:
2833         * lyxfunc.C:
2834         * text.C:
2835         * text2.C:
2836         * text3.C:
2837         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2838
2839 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * lyx_main.C (init): remove spurious static_cast
2842
2843 2003-05-14  André Pönitz  <poenitz@gmx.net>
2844
2845         * BufferView.C: fix format string
2846
2847 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * BufferView.[Ch] (insertErrors): removed
2850         * BufferView.[Ch] (showErrorList): added
2851         * buffer.C (runChkTeX):
2852         * converter.C (scanLog): call showErrorList instead of inserterrors
2853
2854 2003-05-13  André Pönitz  <poenitz@gmx.net>
2855
2856         * BufferView_pimpl.C:
2857         * buffer.C:
2858         * bufferview_func.C:
2859         * MenuBackend.C:
2860         * lyxfunc.C:
2861         * lyxrc.C:
2862         * tex-accent.C:
2863         * text3.C:
2864         * toc.C:
2865         * tabular_funcs.h: tostr() from its own header
2866
2867         * ParagraphParameters.C:
2868         * ToolbarBackend.C:
2869         * bufferparams.C:
2870         * format.C:
2871         * lyxlex_pimpl.C:
2872         * text3.C: STRCONV()
2873
2874 2003-05-12  André Pönitz  <poenitz@gmx.net>
2875
2876         * BufferView.C:
2877         * BufferView_pimpl.C:
2878         * CutAndPaste.C:
2879         * LaTeX.C:
2880         * LaTeXFeatures.C:
2881         * ParagraphParameters.C:
2882         * buffer.C:
2883         * bufferlist.C:
2884         * bufferparams.C:
2885         * bufferview_funcs.C:
2886         * converter.C:
2887         * counters.C:
2888         * debug.C:
2889         * exporter.C:
2890         * format.C:
2891         * importer.C:
2892         * lyx_cb.C:
2893         * lyx_main.C:
2894         * lyxfont.C:
2895         * lyxfunc.C:
2896         * lyxvc.C:
2897         * paragraph.C:
2898         * paragraph_funcs.C:
2899         * tabular.C:
2900         * tabular_funcs.C:
2901         * text2.C:
2902         * text3.C:  boost::format -> bformat  all over the place
2903
2904
2905 2003-05-09  André Pönitz  <poenitz@gmx.net>
2906
2907         * LColor.[Ch]: Pimpl the #include <map> away
2908
2909 2003-05-09  John Levon  <levon@movementarian.org>
2910
2911         * bufferlist.C: never remove emergency saves
2912
2913 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * Makefile.am: better lib building
2916
2917 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2920         instead.
2921         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2922         (simpleTeXSpecialChars): adjust
2923         (simpleTeXSpecialChars): adjust
2924         * paragraph.C (simpleTeXOnePar): adjust
2925         * buffer.C (makeLaTeXFile): adjust
2926
2927         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2928
2929         * text2.C (changeDepth): parlist cleanup
2930         (getColumnNearX): ditto
2931
2932         * rowpainter.C (getLabelFont): parlist cleanup
2933
2934         * bufferlist.C (newFile): parlist cleanup
2935
2936         * CutAndPaste.C (eraseSelection): parlist cleanup
2937
2938         * BufferView_pimpl.C (trackChanges): parlist cleanup
2939         (dispatch): ditto
2940
2941         * BufferView.C (lockInset): parlist cleanup.
2942         (ChangeInsets): ditto
2943
2944 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * CutAndPaste.h: Update file header.
2947
2948         * CutAndPaste.C: Update file header.
2949         Store the parts cut out of the Document in a limited_stack.
2950         (copySelection): adjust
2951         (pasteSelection): new function, takes the index in the limited stack.
2952         (nrOfParagraphs): adjust
2953         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2954         simplify error inset insertion.
2955         (checkPastePossible): adjust
2956
2957 2003-05-06  John Levon  <levon@movementarian.org>
2958
2959         * text2.C: don't cast wrap inset to float
2960
2961 2003-05-05  André Pönitz  <poenitz@gmx.net>
2962
2963         * iterator.C:
2964         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2965
2966         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2967           few naked Paragraph *.
2968
2969 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2970
2971         * bufferparams.C: Output warning if a document with missing
2972         TeX document class is loaded
2973         * exporter.C: Disable TeX exports if the document class is missing
2974         * lyxtextclass.C:
2975         * lyxtextclass.h:
2976         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2977         isTeXClassAvailable()
2978
2979 2003-05-03  John Levon  <levon@movementarian.org>
2980
2981         * BufferView.h:
2982         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2983         explicit cursor show/hide
2984
2985         * BufferView_pimpl.h:
2986         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2987         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2988
2989         * lyxfunc.C: hide cursor before dispatching.
2990
2991         * lyx_cb.C:
2992         * lyxfind.C:
2993         * text.C:
2994         * text3.C: remove explicit cursor hides
2995
2996 2003-05-02  André Pönitz  <poenitz@gmx.net>
2997
2998         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2999
3000         * undo_funcs.C:
3001         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3002           linked lists
3003
3004         * text2.C: tiny whitespace
3005
3006 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * undo_funcs.C: almost only ws changes.
3009
3010         * ParagraphList.C (splice): just return if pl is empty.
3011
3012 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * ParagraphList.C (splice): new function.
3015
3016         * CutAndPaste.C (pasteSelection): use it
3017
3018 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * CutAndPaste.C (pasteSelection): remove the last next and
3021         previous from this file.
3022
3023 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * CutAndPaste.C (pasteSelection): more clean up, user proper
3026         ParagraphList functions for pasteing.
3027
3028         * ParagraphList.C (insert): new function, three arg insert
3029
3030 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * ParagraphList.C (insert): new function, three arg insert
3033
3034         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3035         not on paragraphs.
3036
3037 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3040
3041 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3044
3045 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3048         (copySelection): clean up a bit.
3049         (pasteSelection): use make_pair
3050
3051         * ParagraphList.C (ParagraphList): implement copy constructor
3052         (operator=): implement, base on copy constructor.
3053         (assign): new func
3054
3055         * paragraph.C (erase): return a bool
3056
3057         * paragraph_pimpl.C (erasePos): remove function, move contents...
3058         (erase): ... here. Return a bool.
3059         (erase): call erase instead of erasePos.
3060
3061 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * ParagraphList.h: define PitPosPair
3064         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3065         ParagraphList, fix a bug on pasting multiple pars
3066         * text2.C: change interface to C&P
3067
3068 2003-04-30  André Pönitz  <poenitz@gmx.net>
3069
3070         * undo_func.C: revert part of yesterday's patch 2
3071
3072 2003-04-30  John Levon  <levon@movementarian.org>
3073
3074         * LColor.C: s/tabular/table/
3075
3076 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * text3.C (dispatch): do not convert iterator -> pointer
3079         * undo_funcs.C (setCursorParUndo): ditto
3080         * text_funcs.C (transposeChars): ditto
3081
3082         * text2.C (setLayout): ws changes only
3083
3084         * text.C (breakParagraph): do not convert iterator -> pointer
3085         (insertChar): ditto
3086         (acceptChange): ditto
3087         (rejectChange): ditto
3088         (changeCase): ditto
3089         (Delete): ditto
3090         (backspace): ditto
3091
3092         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3093         pointer
3094
3095 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * text3.C (gotoInset): YABG (yet another bad getChar)
3098
3099 2003-04-29  André Pönitz  <poenitz@gmx.net>
3100
3101         * paragraph.h: make operator= private unimplemented as long as
3102           it is unusable
3103
3104         * ParagraphList.C: whitespace
3105
3106         * paragraph.[Ch]:
3107         * paragraph_pimpl.[Ch]:
3108         * paragraph_funcs.C:
3109         * CutAndPaste.C:
3110         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3111
3112         * text2.C:
3113           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3114
3115 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3118         * paragraph.[Ch] (erase):
3119         * paragraph_pimpl.[Ch] (erase): change return type and value
3120         * text2.C (cutSelection): some rework
3121
3122 2003-04-28  John Levon  <levon@movementarian.org>
3123
3124         * bufferlist.C: changes for unsaved changes dialog
3125
3126 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * bufferlist.C (newFile): set language (messages_) for new
3129         documents also.
3130
3131         * buffer.C (readFile): ws changes only.
3132
3133 2003-04-28  André Pönitz  <poenitz@gmx.net>
3134
3135         * undo_funcs.C:
3136         * lyxfunc.C:
3137         * buffer.[Ch]:
3138         * BufferView_pimpl.C:
3139         * BufferView.C: getParFromID related ParagraphList::iterator changes
3140
3141 2003-04-28  André Pönitz  <poenitz@gmx.net>
3142
3143         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3144           Changes
3145
3146 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * messages.C: remove one more localedir class variable.
3149
3150 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * messages.C (getLocaleDir): singleton generation function
3153         (Pimpl): use it.
3154         (Messages): add a default constructor.
3155
3156         * main.C (main): do not setup localedir here, do not call
3157         gettext_init.
3158
3159         * gettext.C (_): use it.
3160         (gettext_init): delete funciton
3161
3162 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * gettext.C (getLyXMessages): new singleton generating function.
3165
3166         * buffer.C (updateDocLang): adjust
3167
3168         * Makefile.am (messages.o): add target
3169         (main.o): remove target
3170
3171 2003-04-27  John Levon  <levon@movementarian.org>
3172
3173         * bufferlist.C:
3174         * lyx_cb.C:
3175         * lyxfunc.C:
3176         * lyxvc.C: specify cancel button in Alert::prompt
3177
3178 2003-04-26  John Levon  <levon@movementarian.org>
3179
3180         * text3.C:
3181         * lyxfunc.C:
3182         * lfuns.h:
3183         * LyXAction.C: add LFUN_INSET_SETTINGS
3184
3185         * lyxfunc.C: don't enable tabular-feature when there's
3186         just any locking inset
3187
3188 2003-04-26  John Levon  <levon@movementarian.org>
3189
3190         * bufferlist.C: re-add Cancel to buffer close question
3191
3192         * lyxfunc.C: fix import UI a bit
3193
3194 2003-04-25  John Levon  <levon@movementarian.org>
3195
3196         * gettext.C: remove the broken asserts for now
3197
3198 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * messages.C: make case where setlocale cannot comply work better.
3201
3202         * buffer.C (updateDocLang): new function
3203         (changeLanguage): use it
3204         (readFile): use it
3205
3206         * text2.C (setCounter): use B_ a bit.
3207
3208         * lyxlayout.C (Read): be sure to trim the label strings.
3209
3210         * messages.C (Messages): fix typo in comment
3211
3212         * buffer.C (readFile): set message_ after file is loaded.
3213         (makeDocBookFile): remove double return
3214         (changeLanguage): reset message_ upon language change.
3215         (B_): new func, use this to get translated buffer strings.
3216
3217         * main.C: add myself and Jean Marc as authors.
3218
3219 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3220
3221         * messages.[hC]: pimplify Messages, and three different pimpls to be
3222         used in different circumstances.
3223
3224         * gettext.[Ch]: change for use with new message code.
3225
3226 2003-04-24 André Pönitz <poenitz@gmx.net>
3227
3228         * factory.C: support for eqref
3229
3230 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * messages.[Ch]: add missing char
3233
3234         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3235
3236         * messages.[Ch]: New files
3237
3238 2003-04-18  John Levon  <levon@movementarian.org>
3239
3240         * BufferView.h:
3241         * BufferView.C:
3242         * BufferView_pimpl.C:
3243         * lfuns.h:
3244         * LyXAction.C:
3245         * lyxtext.h:
3246         * text2.C: remove layout-copy/paste (bug 778)
3247
3248 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3251
3252 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3253
3254         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3255         if they succeed. Act accordingly.
3256
3257 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * text2.C (setCharFont): adjust
3260         (setCounter): adjust
3261         (insertStringAsLines): adjust
3262
3263         * text.C (leftMargin): adjust
3264         (setHeightOfRow): adjust
3265
3266         * rowpainter.C (paintFirst): adjust
3267         (paintLast): adjust
3268
3269         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3270         (outerHook): ditto
3271         (isFirstInSequence): ditto
3272         (getEndLabel): ditto
3273         (outerFont): adjust
3274
3275         * paragraph.C (getParLanguage): comment out some hard stuff.
3276
3277         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3278         (sgmlError): ditto
3279         (simpleDocBookOnePar): ditto
3280         (makeDocBookFile): use ParagraphList::iterator
3281
3282         * CutAndPaste.C (pasteSelection): adjust
3283
3284 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * text2.C (getFont): adjust
3287         (getLayoutFont): adjust
3288         (getLabelFont): adjust
3289
3290         * paragraph_funcs.C (TeXOnePar): adjust
3291
3292         * buffer.C (simpleLinuxDocOnePar): adjust
3293         (simpleDocBookOnePar): adjust
3294
3295         * CutAndPaste.C (pasteSelection): adjust
3296
3297         * BufferView.C (getEncoding): adjust
3298
3299         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3300
3301 2003-04-16  John Levon  <levon@movementarian.org>
3302
3303         * lyxfind.C: use parlist stuff for search/changes
3304
3305 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3308
3309         * text2.C (deleteEmptyParagraphMechanism): adjust
3310
3311         * text2.[Ch] (ownerParagraph): delete func (both of them
3312
3313 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3316
3317 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * ParagraphList.C: prepare for NO_NEXT
3320
3321 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * text2.C (getFont): adjust
3324         (getLayoutFont): adjust
3325         (getLabelFont): adjust
3326
3327         * paragraph.C (getFont): adjust
3328         (getLabelFont): adjust
3329         (getLayoutFont): adjust
3330
3331         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3332
3333 2003-04-15  John Levon  <levon@movementarian.org>
3334
3335         From Angus Leeming
3336
3337         * lyx_main.C: handle Include in .ui files
3338
3339 2003-04-15  John Levon  <levon@movementarian.org>
3340
3341         * MenuBackend.C: make the doc files length shorter
3342
3343         * ToolbarBackend.h:
3344         * ToolbarBackend.C: handle toolbar placement flags,
3345         Minibuffer
3346
3347 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3348
3349         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3350         adjust
3351
3352         * paragraph_funcs.C (TeXOnePar): adjust
3353
3354         * paragraph.C (getLabelFont): add outerfont arg, adjust
3355         (getLayoutFont): ditto
3356         (simpleTeXOnePar): adjust
3357
3358         * paragraph_pimpl.C (realizeFont): delete func
3359
3360 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3363         row argument, constify cur argument.
3364
3365 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * text2.C (getFont): adjust
3368         (getLayoutFont): adjust
3369         (getLabelFont): adjust
3370
3371         * paragraph_funcs.C (TeXOnePar): adjust
3372         (outerFont): new func...
3373         (realizeFont): ...moved out from here, changed this to facilitate
3374         transition
3375
3376         * paragraph.C (getFont): take outerfont as arg, adjust
3377         (simpleTeXOnePar): add outerfont arg, adjust
3378
3379         * buffer.C (simpleLinuxDocOnePar): adjust
3380         (simpleDocBookOnePar): adjust
3381
3382         * CutAndPaste.C (pasteSelection): adjust
3383
3384         * BufferView.C (getEncoding): adjust
3385
3386 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3387
3388         * text2.C (setCharFont): adjust
3389         (setCounter): adjust
3390
3391         * text.C (leftMargin): adjust
3392         (setHeightOfRow): adjust
3393
3394         * rowpainter.C (paintFirst): adjust
3395         (paintLast): adjust
3396
3397         * paragraph_pimpl.C (realizeFont): adjust
3398
3399         * paragraph.C (isFirstInSequence): move from here...
3400         * paragraph_funcs.C (isFirstInSequence): ...to here
3401
3402         * paragraph.C (outerHook): move from here...
3403         * paragraph_funcs.C (outerHook): ...to here
3404
3405         * paragraph.C (depthHook): move from here...
3406         * paragraph_funcs.C (depthHook): ...to here
3407
3408         * paragraph.C (getEndLabel): move from here...
3409         * paragraph_funcs.C (getEndLabel): ...to here
3410
3411         * text2.C (realizeFont): move from here...
3412         * paragraph_funcs.C (realizeFont): ...to here
3413
3414 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3417
3418 2003-04-14  Angus Leeming  <leeming@lyx.org>
3419
3420         * LColor.[Ch]: scrap LColor mathcursor.
3421
3422 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * lyxlex.[Ch] (text): delete function
3425         * trans.C (Load): adjust
3426         * paragraph_funcs.C (readParToken): adjust
3427
3428 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3431         vector<char> instead of a char[].
3432
3433         * lyxlex_pimpl.C (getString): adjust
3434         (next): adjust
3435         (lex): use getString
3436         (eatLine): adjust
3437         (nextToken): adjust
3438
3439         * lyxlex.C (text): use pimpl_->getString()
3440         (getBool): ditto
3441         (findToken): ditto
3442
3443 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3446         (makeFontEntriesLayoutSpecific): temp var for par.size()
3447         (setLayout): temp var for ownerParagraphs().end()
3448         (fullRebreak): temp var for rows().end()
3449         (selectionAsString): temp var for boost::next(startpit), realize
3450         that the while really is a regular for loop.
3451         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3452         setCursor in one place.
3453         (setParagraph): temp vr for ownerParagraphs().end()
3454         (updateCounters): make the while loop a for loop
3455         (cutSelection): temp var for ownerParagraphs().end()
3456         (updateInset): make the do {} while() a regular for loop
3457         (getCursorX): use temp vars
3458         (setCurrentFont): use temp vars
3459         (getColumnNearX): use temp vars
3460
3461 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * text.C (transformChar): use temp var for getChar
3464         (computeBidiTables): use temp var for row->par()
3465         (fill): move temp vars for row->par() and pit->layout() earlier in
3466         the function.
3467         (labelFill): use temp var for row->par()
3468         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3469         asc and desc, realize that pit never changes and that firstpit is
3470         just a duplicate and not needed. Exchange rit->par() with pit in a
3471         lot of places.
3472         (breakAgain): use a temp var for boost::next(rit)
3473         (breakAgainOneRow): ditto
3474         (breakParagraph): use a temp var for rows().begin()
3475         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3476         (cursorRightOneWord): use temp var for cursor.par() and
3477         cursor.pos(), remove usage of tmpcursor.
3478         (cursorLeftOneWord): use temp var for cursor.par() and
3479         cursor.pos() only set cur at end of function.
3480
3481 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * text.C, text2.C: exchange all usage of Paragraph::next with
3484         boost::next(ParagraphList::iterator)
3485
3486         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3487
3488         * text2.C (cursorTop): simplify implementation
3489         (cursorBottom): ditto
3490         (setParagraph): use ParagraphList::iterator
3491         (setCurrentFont): adjust
3492         (getColumnNearX): adjust
3493         (cursorRight): adjust
3494         (cursorLeft): remove usage of Paragraph::previous
3495         (cursorUpParagraph): ditto
3496         (deleteEmptyParagraphMechanism): slight cleanup
3497
3498         * text.C (isBoundary): take a Paragraph const & instead of a
3499         pointer as arg.
3500         (addressBreakPoint): ditto
3501         (leftMargin): remove usage of Paragraph::previous.
3502         (setHeightOfRow): ditto
3503         (cursorLeftOneWord): ditto
3504         (selectNextWordToSpellcheck): ditto
3505         (Delete): ditto
3506         (backspace): ditto
3507         (breakParagraph): remove one usage of Paragraph::next
3508         (redoParagraph): ditto
3509         (acceptChange): ditto
3510         (insertChar): adjust
3511         (rowBreakPoint): adjust
3512
3513         * bufferview_funcs.C (toggleAndShow): adjust
3514
3515 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3518         methods to access it.
3519         * lyxtext.h:
3520         * text.C: Added updateRowPositions to compute all row positions.
3521         Make top_y and getRowNearY() to use the cached y position
3522
3523 2003-04-11  John Levon  <levon@movementarian.org>
3524
3525         * text.C (rowBreakPoint): reintroduce the labelEnd
3526         checks, code copied from the row fill stuff. Deep voodoo.
3527
3528         * text.C (fill): add a comment and debugging for the
3529         next poor soul.
3530
3531 2003-04-11  John Levon  <levon@movementarian.org>
3532
3533         * text.C: make sure fullrow insets get wrapped to the next line,
3534         even when they're in a manual label
3535
3536 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * text2.C (insertParagraph): make it take ParagraphList::iterator
3539         as arg.
3540         (setLayout): make it return ParagraphList::iterator
3541         (redoParagraphs): ditto
3542         (setCounter): ditto
3543         (checkParagraph): ditto
3544
3545         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3546
3547         * text2.C: adjust several funcs.
3548         (realizeFont): take a ParagraphList::iterator as arg.
3549         (getLayoutFont): ditto
3550         (getLabelFont): ditto
3551         (setCharFont): ditto
3552
3553         * text.C: adjust several funcs.
3554
3555 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text.C (selectNextWordToSpellcheck): don't accidentally
3558         skip insets
3559
3560 2003-04-10  John Levon  <levon@movementarian.org>
3561
3562         * ToolbarBackend.C (getIcon): special handling for
3563         LFUN_MATH_DELIM
3564
3565 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * text2.C (cursorRight): a getChar assert fixed
3568
3569 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * text2.C (getFont): change to take a ParagraphList::iterator
3572         instead of Paragraph*
3573         Adjust several functions.
3574
3575         * text.C (transformChar): change to take a ParagraphList::iterator
3576         instead of Paragraph*
3577         (singleWidth): ditto
3578         Adjust several functions.
3579
3580         * rowpainter.C: adjust several functions
3581         * rowpainter.h:store a ParagraphList::iterator and not a
3582         Paragraph&.
3583
3584
3585 2003-04-09  John Levon  <levon@movementarian.org>
3586
3587         * lyxfunc.C:
3588         * lfuns.h:
3589         * LyXAction.h:
3590         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3591         and the "help" bits as well
3592
3593 2003-04-09  John Levon  <levon@movementarian.org>
3594
3595         * ToolbarBackend.h:
3596         * ToolbarBackend.C: allow multiple toolbars
3597
3598 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * undo_funcs.C (setCursorParUndo): adjust
3601
3602         * text_funcs.C (transposeChars): adjust
3603
3604         * text3.C (gotoNextInset): adjust
3605         (dispatch): adjust
3606
3607         * text2.C (setLayout): adjust
3608         (changeDepth): adjust
3609         (setFont): adjust
3610         (redoParagraphs): adjust
3611         (selectionAsString): adjust
3612         (setParagraph): adjust
3613         (insertInset): adjust
3614         (cutSelection): adjust
3615         (copySelection): adjust
3616         (pasteSelection): adjust
3617         (insertStringAsLines): adjust
3618         (updateInset): adjust
3619         (setCursor): change to take a ParagraphList::iterator parameter
3620         (setCursorIntern): change to take a ParagraphList::iterator parameter
3621         (setCurrentFont): adjust
3622         (cursorLeft): adjust
3623         (cursorRight): adjust
3624         (deleteEmptyParagraphMechanism): adjust
3625
3626         * text.C (breakParagraph): adjust
3627         (insertChar): adjust
3628         (acceptChange): adjust
3629         (rejectChange): adjust
3630         (selectNextWordToSpellcheck): adjust
3631         (changeCase): adjust
3632         (Delete): adjust
3633         (backspace): adjust
3634
3635         * lyxfind.C (SearchForward): adjust
3636         (SearchBackward): adjust
3637         (nextChange): adjust
3638
3639         * lyxcursor.C (par): adjust
3640
3641         * lyxcursor.h: store a ParagraphList::iterator instead of a
3642         Paragraph*
3643
3644         * lyx_cb.C (getPossibleLabel): adjust
3645
3646         * bufferview_funcs.C (toggleAndShow): adjust
3647
3648         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3649         (dispatch): adjust
3650
3651         * BufferView.C (removeAutoInsets): adjust
3652         (lockedInsetStoreUndo): adjust
3653
3654 2003-04-09  John Levon  <levon@movementarian.org>
3655
3656         * ToolbarBackend.C: try icon without argument
3657         if with argument fails
3658
3659 2003-04-08  John Levon  <levon@movementarian.org>
3660
3661         * ToolbarBackend.h:
3662         * ToolbarBackend.C: add getIcon(), handle tooltip,
3663         and change from "Icon" to "Item".
3664
3665 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * BufferView.C (lockInset): another bad getchar crunched
3668
3669 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3672         again)
3673
3674 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * lyxfind.C (searchForward, searchBackwards): bug 782
3677
3678 2003-04-07  John Levon  <levon@movementarian.org>
3679
3680         * paragraph.C: remove dead comment
3681
3682         * text.C: remove troublesome depth-fiddling code
3683         in leftMargin() and rightMargin() (bug 1017)
3684
3685         * text.C: fix breaking of rows in nested lists
3686         (bug 1004)
3687
3688         * text2.C (updateCounters): fix up depth values
3689         (bug 1013)
3690
3691 2003-04-07  John Levon  <levon@movementarian.org>
3692
3693         * BufferView_pimpl.C: clear message when doc finishes resizing,
3694         and after a mouse event
3695
3696         * lyxfunc.C: clear message after exiting inset
3697
3698 2003-04-07  John Levon  <levon@movementarian.org>
3699
3700         * bufferview_funcs.C: show math status not outside
3701         status in the statusbar
3702
3703 2003-04-07  John Levon  <levon@movementarian.org>
3704
3705         * lyxfunc.C: note status changed after a depth change
3706
3707 2003-04-04  Angus Leeming  <leeming@lyx.org>
3708
3709         * LaTeX.h: move AuxInfo operator==, != out of line.
3710         Remove LaTeX virtual destructor; nothing derives from it.
3711         Move operator()() out of public area and rename it startscript().
3712         Change protected for private.
3713
3714 2003-04-04  Angus Leeming  <leeming@lyx.org>
3715
3716         * lyxfunc.C:
3717         * text2.C: remove unneeded #includes.
3718
3719 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3720
3721         * text2.C (dEPM): fix the heigth of the next row
3722
3723 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * text.C: squashed an invalid getChar requester + some ws changes
3726
3727 2003-04-03  John Levon  <levon@movementarian.org>
3728
3729         * bufferview_funcs.h:
3730         * bufferview_funcs.C:
3731         * lyxfunc.C:
3732         * lyxtext.h:
3733         * text2.C: make getStatus work for the env depth lfuns
3734
3735 2003-04-03  John Levon  <levon@movementarian.org>
3736
3737         * bufferview_funcs.h:
3738         * bufferview_funcs.C:
3739         * lyxfunc.C:
3740         * lyxtext.h:
3741         * text2.C: parlistize decDepth(), by merging it with incDepth()
3742
3743 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * lyxrow.h: store a ParagraphList::iterator instead of a
3746         Paragraph* and adjust other class functions to suit.
3747
3748         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3749         above.
3750
3751 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * text2.C (setCursor): do not anchor to cursor row for the time being
3754
3755 2003-04-02  John Levon  <levon@movementarian.org>
3756
3757         * LyXAction.C:
3758         * lfuns.h:
3759         * lyx_main.C:
3760         * lyxtext.h:
3761         * text.C:
3762         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3763
3764 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * paragraph.h: make ParagraphList and ParagraphList::iterator
3767         friends of Paragraph.
3768
3769         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3770
3771         * ParagraphList.C: Use the private next_ and previous_ from
3772         Paragraph.
3773
3774 2003-04-01  John Levon  <levon@movementarian.org>
3775
3776         * ToolbarBackend.h:
3777         * ToolbarBackend.C:
3778         * Makefile.am: rename, remove defaults gunk
3779
3780         * MenuBackend.h:
3781         * MenuBackend.C: remove defaults gunk
3782
3783         * Languages.h:
3784         * Languages.C: remove defaults gunk
3785
3786         * lyx_main.h:
3787         * lyx_main.C: error out if files couldn't be found.
3788
3789 2003-04-02  John Levon  <levon@movementarian.org>
3790
3791         * text2.C: make incDepth() use parlist
3792
3793 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * undo_funcs.C (firstUndoParagraph): adjust
3796
3797         * text3.C (gotoInset): adjust
3798         (dispatch): adjust, and rewrite loop.
3799
3800         * text2.C (init): adjust, and rewrite loop.
3801         (redoParagraphs): adjust
3802         (updateInset): adjust, and rewrite loop.
3803         (deleteEmptyParagraphMechanism): adjust
3804
3805         * tabular.C (LyXTabular): adjust
3806         (SetMultiColumn): adjust
3807         (TeXRow): adjust
3808
3809         * lyxtext.[Ch] (ownerParagraph): delete function
3810         (ownerParagraphs): new function returns a ParagraphList.
3811
3812         * BufferView.C (removeAutoInsets): adjust
3813         (insertErrors): adjust
3814         (setCursorFromRow): adjust
3815
3816 2003-04-01  Angus Leeming  <leeming@lyx.org>
3817
3818         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3819         in the frontends.
3820
3821 2003-04-02  John Levon  <levon@movementarian.org>
3822
3823         * lyxtext.h:
3824         * text.C:
3825         * Makefile.am:
3826         * text_funcs.h:
3827         * text_funcs.C: make transposeChars a free function
3828
3829         * lyxrow_funcs.C: remove wrong comment
3830
3831 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * lyxtext.h: adjust
3834         * rowpainter.C: adjust
3835         * text.C: adjust
3836         * text2.C: adjust
3837         * text3.C: adjust
3838
3839         * lyxrow_funcs. [Ch]: new files
3840
3841         * lyxrow.[Ch]: remove next and previous pointers
3842         (next,previous): remove accessor functions
3843         (isParEnd): move to lyxrow_funcs
3844         (lastPos): move to lyxrow_funcs
3845         (nextRowIsAllInset): move to lyxrow_funcs
3846         (lastPrintablePos): move to lyxrow_funcs
3847         (numberOfSeparators): move to lyxrow_funcs
3848         (numberOfHfills): move to lyxrow_funcs
3849         (numberOfLabelHfills): move to lyxrow_funcs
3850         (hfillExpansion): move to lyxrow_funcs
3851
3852         * lyxfunc.C: adjust
3853
3854         * bufferview_funcs.C (toggleAndShow): adjust
3855
3856         * RowList.h: Remove class RowList from file leave just a
3857         std::list<Row>.
3858
3859         * RowList.C: delete file
3860
3861         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3862         and lyxrow_funcs.h
3863
3864 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * text3.C (cursorPrevious): adjust
3867         (cursorNext): adjust
3868         (dispatch): adjust
3869
3870         * text2.C (redoHeightOfParagraph): adjust
3871         (redoDrawingOfParagraph): adjust
3872         (setCursor): adjust
3873
3874         * text.C (breakParagraph): adjust
3875         (insertChar): adjust
3876         (backspace): adjust
3877
3878         * rowpainter.C (RowPainter): adjust
3879         (leftMargin): simplify and adjust
3880         (most rowpainter functions): adjust.
3881
3882         * rowpainter.h: store the row as RowList::iterator not as Row*
3883
3884         * lyxcursor.C (row): taka RowList::iterator as arg
3885         (irow): ditto
3886
3887         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3888         of Row*.
3889
3890 2003-04-01  Angus Leeming  <leeming@lyx.org>
3891
3892         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3893         stuff like bool Bool.
3894
3895 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3896
3897         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3898         rewrite a loop
3899
3900 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3903         RowList::iterator.
3904
3905         * lyxtext.h (rows): drop one version and leve a const variant that
3906         returns a RowList::iterator.
3907
3908 2003-03-31  Angus Leeming  <leeming@lyx.org>
3909
3910         * text.C (fill): ensure that the signature is the same as that in the
3911         header file.
3912
3913 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * text2.C (redoParagraphs): adjust
3916         (updateCounters): adjust
3917         (checkParagraph): adjust
3918         (getColumnNearX): adjust and reformat a bit.
3919
3920         * text.C (top_y): adjust
3921         (workWidth): adjust
3922         (leftMargin): adjust
3923         (prepareToPrint): adjust
3924         (getRow): adjust
3925         (getRowNearY): adjust
3926
3927         * lyxtext.h: make rowlist_ mutable.
3928
3929         * RowList.h: add const_iterator
3930         * RowList.C: adjust for RowList::const_iterator.
3931
3932         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3933         adjust.
3934
3935 2003-03-31  John Levon  <levon@movementarian.org>
3936
3937         * lyxrc.h:
3938         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3939
3940         * lyx_main.C: set default fonts from using lyx_gui funcs
3941
3942         * exporter.C: pdf_mode moved from lyxrc
3943
3944         * lyx_cb.C:
3945         * lyxfunc.C: changes from above
3946
3947 2003-03-31  John Levon  <levon@movementarian.org>
3948
3949         * lyx_main.C: fix to the last fix
3950
3951 2003-03-31  John Levon  <levon@movementarian.org>
3952
3953         * bufferlist.C: "Load original" -> "Load Original"
3954
3955         * converter.C:
3956         * exporter.C:
3957         * importer.C:
3958         * lyx_main.C:
3959         * format.C: more Alert cleanups
3960
3961 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * text2.C (removeParagraph): make it take a RowList::iterator as
3964         arg, adjust.
3965         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3966         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3967
3968         * text.C (anchor_row): make it take a RowList::iterator as arg,
3969         adjust.
3970         (computeBidiTables): make it take a const reference to Row instead
3971         of Row pointer, adjust.
3972         (leftMargin): make it take a RowList::iterator as arg, adjust.
3973         (rowBreakPoint): adjust
3974         (breakAgainOneRow): make it take a RowList::iterator as arg,
3975         adjust.
3976         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3977
3978         * bufferview_funcs.C (toggleAndShow): adjust
3979
3980 2003-03-30  John Levon  <levon@movementarian.org>
3981
3982         * Makefile.am:
3983         * BoostFormat.h:
3984         * boost-inst.C: moved to support
3985
3986         * several files: changes as a result
3987
3988 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * text2.C (LyXText): adjust.
3991         (init): adjust
3992         (removeRow): make it take a RowList::iterator as arg, adjust.
3993         (fullRebreak): adjust
3994         (deleteEmptyParagraphMechanism): adjust
3995         (clearPaint): adjust
3996         (postPaint): adjust
3997
3998         * text.C (top_y): adjust
3999         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4000         (breakAgain): make it take a RowList::iterator as arg, adjust.
4001         (breakParagraph): adjust
4002         (insertChar): adjust
4003         (backspace): adjust
4004
4005         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4006         need_break_row, and refresh_row.
4007
4008         * text3.C (dispatch): adjust
4009
4010         * text2.C (checkParagraph): adjust
4011         (setCursor): adjust
4012         (setCursorFromCoordinates): adjust
4013
4014         * text.C (top_y): adjust
4015         (workWidth): adjust
4016         (getRow): make it return a RowList::iterator, adjust
4017         (getRowNearY): make it return a RowList::iterator, adjust
4018
4019         * text2.C (init): adjust
4020         (insertRow): remove function
4021         (insertParagraph): adjust
4022         (redoParagraphs): adjust
4023         (fullRebreak): adjust
4024         (updateCounters): adjust
4025
4026         * text.C (top_y): rewrite to use RowList iterators.
4027         (top_y): adjust
4028         (setHeightOfRow): rewrite to sue RowList iterators.
4029         (appendParagraph): adjust
4030         (breakAgain): adjust
4031         (breakAgainOneRow): adjust
4032         (breakParagraph): adjust
4033         (getRow): adjust
4034         (getRowNearY): adjust, and remove commented code.
4035
4036         * lyxtext.h (firstRow): delete function
4037         (lastRow): delete function
4038         (rows): new function (const and non-const versions.)
4039         (insertRow): delete function
4040
4041         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4042
4043 2003-03-29  John Levon  <levon@movementarian.org>
4044
4045         * BufferView_pimpl.C: always update scrollbar top
4046         because pasting text when we're anchored could mean we
4047         miss an update altogether
4048
4049 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * text2.C (init): use rowlist_.end() and not 0.
4052         (insertRow): change to take a RowList::iterator as arg, adjust
4053         for this.
4054         (insertParagraph): change to take a RowList::iterator as arg,
4055         adjust for this.
4056         (redoParagraphs): remove some debug msgs.
4057
4058         * text.C (appendParagraph): change to take a RowList::iterator
4059         arg, adjust for this.
4060         (breakAgain): add an assert
4061         (breakAgainOneRow): ditto
4062
4063 2003-03-29  John Levon  <levon@movementarian.org>
4064
4065         * text2.C: do not clear selection after inc/decDepth
4066         (bug 550)
4067
4068 2003-03-29  John Levon  <levon@movementarian.org>
4069
4070         * BufferView.C:
4071         * buffer.C: fix broken strerrors according to Lars
4072
4073 2003-03-29  John Levon  <levon@movementarian.org>
4074
4075         * converters.C: more Alert cleanups
4076
4077 2003-03-29  John Levon  <levon@movementarian.org>
4078
4079         * bufferview_funcs.C: remove pointless Alert
4080
4081         * buffer.C: fix confusing error message when
4082         a template is chmoded 000
4083
4084 2003-03-29  John Levon  <levon@movementarian.org>
4085
4086         * BufferView.C:
4087         * BufferView.h:
4088         * BufferView_pimpl.C: Alert fixes
4089
4090         * Makefile.am:
4091         * tabular.C:
4092         * tabular-old.C: remove unused table compat reading
4093
4094 2003-03-29  John Levon  <levon@movementarian.org>
4095
4096         * BufferView.C:
4097         * buffer.C:
4098         * lyx_cb.h:
4099         * lyx_cb.C: more Alert cleanups
4100
4101         * lyxfunc.C: don't allow chktex if not latex document
4102
4103 2003-03-29  John Levon  <levon@movementarian.org>
4104
4105         * lyx_cb.C:
4106         * BufferView.C:
4107         * buffer.C: warnings pushed down from support/,
4108         kill err_alert
4109
4110 2003-03-29  John Levon  <levon@movementarian.org>
4111
4112         * lyxfunc.C: safety check for C-r (revert)
4113
4114 2003-03-29  John Levon  <levon@movementarian.org>
4115
4116         * bufferlist.h:
4117         * bufferlist.C: several UI fixes using Alert::prompt.
4118         Fix the pointless looping quit code. Fix stupid revert
4119         behaviour (bug 938)
4120
4121         * lyxvc.h:
4122         * lyxvc.C:
4123         * lyx_cb.C: use Alert::prompt
4124
4125         * lyx_main.C: remove a silly question
4126
4127         * lyxfunc.C: remove a couple of silly questions,
4128         use Alert::prompt
4129
4130 2003-03-28  John Levon  <levon@movementarian.org>
4131
4132         * text2.C: fix bug 974 (End on empty par)
4133
4134 2003-03-28  John Levon  <levon@movementarian.org>
4135
4136         * BufferView_pimpl.C:
4137         * LyXAction.C:
4138         * lfuns.h: remove do-nothing math greek lfuns
4139
4140 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * lyxgluelength.h (isValidGlueLength): add default arg on
4143         parameter 2. Remove default arg from friend in class.
4144
4145         * lyxlength.h (isValidLength): add default arg on parameter 2.
4146         Remove default arg from friend in class.
4147
4148         * text2.C (LyXText): adjust, initialize refresh_row.
4149         (init): adjust
4150         (removeRow): adjust
4151         (insertRow): adjust
4152         (insertParagraph): adjst
4153         (redoParagraphs): adjust
4154         (fullRebreak): adjust
4155         (updateCounters): adjust
4156         (deleteEmptyParagraphMechanism): first attempt at fixing a
4157         crashing bug.
4158
4159         * text.C (top_y): adjust
4160         (setHeightOfRow): adjust
4161         (getRow): adjust
4162         (getRowNearY): adjust
4163
4164         * lyxtext.h: include RowList.h
4165         (~LyXText): not needed anymore, deleted.
4166         (firstRow): modify for RowList
4167         (lastRow): new function
4168         Delete firstrow and lastrow class variables, add a Rowlist
4169         rowlist_ class variable.
4170
4171         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4172         paragraph is empty.
4173
4174         * RowList.C (insert): fix case where it == begin().
4175
4176 2003-03-26  Angus Leeming  <leeming@lyx.org>
4177
4178         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4179         the thesaurus dialog.
4180
4181 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4184
4185         * RowList.[Ch]: new files
4186
4187         * ParagraphList.C (erase): handle the case where it == begin
4188         correctly.
4189
4190 2003-03-25  John Levon  <levon@movementarian.org>
4191
4192         * Makefile.am:
4193         * aspell_local.h:
4194         * aspell.C: add new aspell support
4195
4196         * lyxrc.h:
4197         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4198         have it accessible.
4199
4200 2003-03-25  Angus Leeming  <leeming@lyx.org>
4201
4202         * lfuns.h:
4203         * LyXAction.C (init): new LFUN_INSET_INSERT.
4204
4205         * BufferView_pimpl.C (dispatch): split out part of the
4206         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4207
4208         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4209         LFUN_INSET_APPLY.
4210
4211 2003-03-25  Angus Leeming  <leeming@lyx.org>
4212
4213         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4214
4215 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * text2.C:
4218         * text3.C: remove useless row->height(0)
4219
4220 2003-03-25  John Levon  <levon@movementarian.org>
4221
4222         * lyxtext.h:
4223         * text2.C:
4224         * text3.C: rename the refreshing stuff to better names
4225
4226 2003-03-24  John Levon  <levon@movementarian.org>
4227
4228         * BufferView_pimpl.h:
4229         * BufferView_pimpl.C: update layout choice on a mouse
4230         press/release
4231
4232 2003-03-23  John Levon  <levon@movementarian.org>
4233
4234         * Makefile.am: fix commandtags.h reference
4235
4236 2003-03-22  John Levon  <levon@movementarian.org>
4237
4238         * BufferView_pimpl.C:
4239         * lyxtext.h:
4240         * rowpainter.C:
4241         * rowpainter.h:
4242         * text.C:
4243         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4244
4245 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * lyxtext.h:
4248         * text.C: take the rtl methods out of line
4249
4250 2003-03-21 André Pönitz <poenitz@gmx.net>
4251
4252         * metricsinfo.[Ch]: new files containing structures to be passed around
4253         during the two-phase-drawing...
4254
4255 2003-03-21 André Pönitz <poenitz@gmx.net>
4256
4257         * lyxtextclass.C: read 'environment' tag.
4258
4259 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4260
4261         * text2.C (removeRow): fix bug 964
4262
4263 2003-03-20  John Levon  <levon@movementarian.org>
4264
4265         * rowpainter.C:
4266         * text.C:
4267         * text2.C: paint cleanups. Inset::update() dropped font
4268         parameter
4269
4270 2003-03-19  John Levon  <levon@movementarian.org>
4271
4272         * lyxfunc.C: only fitcursor/markDirty if available()
4273
4274 2003-03-19  John Levon  <levon@movementarian.org>
4275
4276         * commandtags.h: rename to ...
4277
4278         * lfuns.h: ... this, and renumber / cleanup
4279
4280 2003-03-19  John Levon  <levon@movementarian.org>
4281
4282         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4283         fit the cursor after an lfun
4284
4285         * BufferView.h:
4286         * BufferView.C:
4287         * BufferView_pimpl.h:
4288         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4289
4290         * LyXAction.C: layout-character should have ReadOnly
4291
4292         * ParagraphParameters.C:
4293         * buffer.C:
4294         * bufferview_funcs.C:
4295         * lyx_cb.C:
4296         * lyxfind.C:
4297         * lyxtext.h:
4298         * text.C:
4299         * text2.C:
4300         * text3.C:
4301         * undo_funcs.C: changes from above
4302
4303 2003-03-18  John Levon  <levon@movementarian.org>
4304
4305         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4306         remove it from update()
4307
4308         * lyxfunc.C: update layout choice after an lfun
4309
4310         * text3.C: remove extra updateLayoutChoice()s
4311
4312 2003-03-18  John Levon  <levon@movementarian.org>
4313
4314         * text.C: top_y change means full repaint, fix
4315         a drawing bug with cursor movement
4316
4317 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * lyxtext.h:
4320         * text.C:
4321         * text2.C: anchor row on setCursor
4322
4323 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * lyxtext.h: remove almost all mutable keywords
4326         * text.C:
4327         * text2.C:
4328         * text3.C: remove const keywords accordingly
4329
4330 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4333         anon namespace
4334         (TeXEnvironment): ditto
4335         (TeXOnePar): ditto
4336
4337 2003-03-17  John Levon  <levon@movementarian.org>
4338
4339         * text.C (rowBreakPoint): remove attempt to fix displayed
4340         math insets inside a manual label
4341
4342 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * lyxtext.h: remove BufferView* as first arg from almost all class
4345         functions.
4346         * other files: adjust.
4347
4348 2003-03-17  John Levon  <levon@movementarian.org>
4349
4350         * lyxtext.h:
4351         * undo_funcs.C:
4352         * text2.C: more paint cleanups
4353
4354         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4355
4356         * rowpainter.h:
4357         * rowpainter.C: remove "smart" background painting code
4358
4359 2003-03-16  John Levon  <levon@movementarian.org>
4360
4361         * lyxtext.h:
4362         * text.C:
4363         * text2.C:
4364         * text3.C: add helper functions for setting refresh_row/y
4365
4366 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4367
4368         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4369         newline inset which *can* get inserted in the pass_thru layouts.
4370         This is primarily for literate documents.
4371
4372 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4373
4374         * buffer.C: increment LYX_FORMAT to 223
4375
4376 2003-03-14 André Pönitz <poenitz@gmx.net>
4377
4378         * textclass.h: prepare for environment handling, ws changes
4379         * lyxlayout.C: read latexheader and latexfooter tags
4380
4381 2003-03-14  John Levon  <levon@movementarian.org>
4382
4383         * text2.C: rewrite ::status() a bit
4384
4385 2003-03-13  John Levon  <levon@movementarian.org>
4386
4387         * lyxtext.h: add some docs
4388
4389 2003-03-13  John Levon  <levon@movementarian.org>
4390
4391         * lyxtext.h:
4392         * text.C:
4393         * text2.C:
4394         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4395
4396 2003-03-13  John Levon  <levon@movementarian.org>
4397
4398         * text3.C: fix appendix redrawing
4399
4400 2003-03-13  John Levon  <levon@movementarian.org>
4401
4402         * text.C (setHeightOfRow):
4403         * rowpainter.h:
4404         * rowpainter.C: make appendix mark have the text
4405           "Appendix" so the user knows what it is
4406
4407         * LColor.h:
4408         * LColor.C: s/appendixline/appendix/ from above
4409
4410 2003-03-13  John Levon  <levon@movementarian.org>
4411
4412         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4413
4414         * text.C: fix a getChar(pos) bug properly
4415
4416 2003-03-13  Angus Leeming  <leeming@lyx.org>
4417
4418         * commandtags.h:
4419         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4420         Probably only temporary. Let's see how things pan out.
4421
4422         * BufferView.C (unlockInset):
4423         * BufferView_pimpl.C (fitCursor):
4424         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4425
4426         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4427         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4428
4429         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4430         new functions that convert ParagraphParameters to and from a string.
4431
4432         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4433         BufferView::Pimpl's dispatch.
4434         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4435
4436 2003-03-13 André Pönitz <poenitz@gmx.net>
4437
4438         * lyxfunc.C:
4439         * text3.C:
4440         * factory.C: make it aware of InsetEnv
4441
4442 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * text2.C (setCursor): never ask for one past last
4445         (setCursor): add some debugging messages.
4446
4447         * text.C (singleWidth): never ask for one past last
4448         (singleWidth): ditto
4449         (leftMargin): ditto
4450         (rightMargin): ditto
4451         (rowBreakPoint): ditto
4452         (setHeightOfRow): ditto
4453         (prepareToPrint): ditto
4454
4455         * rowpainter.C (paintBackground): never ask for one past last
4456         (paintText): never ask for one past last
4457
4458         * paragraph_pimpl.C (getChar): make the assert stricter, never
4459         allow the one past last pos to be taken
4460
4461         * paragraph.C (getChar): ws changes only
4462
4463         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4464         (numberOfSeparators): ditto
4465         (numberOfHfills): ditto
4466
4467 2003-03-12  John Levon  <levon@movementarian.org>
4468
4469         * author.h:
4470         * author.C:
4471         * bufferparams.h:
4472         * bufferparams.C:
4473         * paragraph_funcs.C: fix per-buffer authorlists
4474
4475 2003-03-12  John Levon  <levon@movementarian.org>
4476
4477         * text.C: fix newline in right address
4478
4479 2003-03-12  Angus Leeming  <leeming@lyx.org>
4480
4481         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4482         duplicate those in LyXFunc::dispatch.
4483
4484         * commandtags.h:
4485         * LyXAction.C:
4486         * ToolbarDefaults.C:
4487         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4488         Add LFUN_FONTFREE_UPDATE.
4489
4490         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4491         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4492
4493         * bufferview_func.[Ch]: several new functions to facilliate
4494         transfer of data to and from the character dialog.
4495
4496 2003-03-12  John Levon  <levon@movementarian.org>
4497
4498         * buffer.C:
4499         * paragraph.h:
4500         * paragraph.C:
4501         * paragraph_funcs.C:
4502         * paragraph_pimpl.C:
4503         * sgml.C:
4504         * tabular.C:
4505         * text.C:
4506         * text3.C: remove META_NEWLINE in favour of an inset
4507
4508         * rowpainter.h:
4509         * rowpainter.C: remove paintNewline (done by inset)
4510
4511 2003-03-12  John Levon  <levon@movementarian.org>
4512
4513         * paragraph_pimpl.C: complain about bad getChar()s
4514         for a while at least
4515
4516 2003-03-12  John Levon  <levon@movementarian.org>
4517
4518         * buffer.h:
4519         * buffer.C: move paragraph read into a separate function,
4520         a little renaming to reflect that.
4521
4522         * bufferparams.h:
4523         * bufferparams.C: remove the author_ids map, not necessary now
4524
4525         * factory.h:
4526         * factory.C: moved Buffer::readInset to here
4527
4528         * paragraph_funcs.h:
4529         * paragraph_funcs.C: readParagraph free function moved from
4530         buffer.C
4531
4532         * tabular.C: name change
4533
4534 2003-03-12  John Levon  <levon@movementarian.org>
4535
4536         * buffer.C:
4537         * ParagraphParameters.C: move par params input to
4538         a read() method
4539
4540         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4541         behave like a normal read from the stream wrt reading
4542         a line vs. a \\token
4543
4544 2003-03-12  John Levon  <levon@movementarian.org>
4545
4546         * paragraph.C:
4547         * ParagraphParameters.h:
4548         * ParagraphParameters.C: move output code to a
4549         ::write() method
4550
4551 2003-03-12  John Levon  <levon@movementarian.org>
4552
4553         * BufferView.C (insertLyXFile):
4554         * buffer.h:
4555         * buffer.C:
4556         * tabular.C: use a parlist iterator for creating the
4557           document.
4558
4559 2003-03-12  John Levon  <levon@movementarian.org>
4560
4561         * buffer.C: make current_change static local not
4562           static file-scope
4563
4564 2003-03-12  John Levon  <levon@movementarian.org>
4565
4566         * buffer.C: fix insertStringAsLines for change tracking
4567
4568 2003-03-12  John Levon  <levon@movementarian.org>
4569
4570         * BufferView.C:
4571         * tabular.C:
4572         * buffer.h:
4573         * buffer.C:
4574         * bufferparams.h:
4575         * bufferparams.C: move author list into params. Rename some
4576           functions. Move the header reading into a separate token
4577           loop. Move the header token reading into BufferParams.
4578
4579 2003-03-12  John Levon  <levon@movementarian.org>
4580
4581         * changes.C: put debug inside lyxerr.debugging() checks
4582
4583 2003-03-11 André Pönitz <poenitz@gmx.net>
4584
4585         * factory.C: make it aware of InsetHFill
4586
4587 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4588
4589         * buffer.C (latexParagraphs): move function from here...
4590         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4591         args.
4592
4593 2003-03-10  Angus Leeming  <leeming@lyx.org>
4594
4595         * LyXAction.C (init): fix bug in poplating array with multiple entries
4596         with the same LFUN (spotted by JMarc).
4597
4598 2003-03-10  John Levon  <levon@movementarian.org>
4599
4600         * text.C:
4601         * text2.C: move getColumnNearX() near its
4602         only call site
4603
4604 2003-03-10  John Levon  <levon@movementarian.org>
4605
4606         * text.C: fix break before a minipage
4607
4608 2003-03-10  John Levon  <levon@movementarian.org>
4609
4610         * text.C: fix the last commit
4611
4612 2003-03-09  John Levon  <levon@movementarian.org>
4613
4614         * lyxtext.h:
4615         * text.C:
4616         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4617         bug 365 (don't break before insets unless needed). Don't
4618         return a value > last under any circumstances.
4619
4620 2003-03-09  Angus Leeming  <leeming@lyx.org>
4621
4622         * BufferView_pimpl.C (trackChanges, dispatch): call
4623         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4624
4625 2003-03-09  Angus Leeming  <leeming@lyx.org>
4626
4627         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4628         than Dialogs::showAboutlyx().
4629
4630 2003-03-09  Angus Leeming  <leeming@lyx.org>
4631
4632         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4633         than Dialogs::showTabularCreate().
4634
4635 2003-03-09  John Levon  <levon@movementarian.org>
4636
4637         * lyxtext.h:
4638         * text.C:
4639         * text2.C: 3rd arg to nextBreakPoint was always the same.
4640           Use references.
4641
4642 2003-03-08  John Levon  <levon@movementarian.org>
4643
4644         * lyxrow.C:
4645         * paragraph.C:
4646         * paragraph.h:
4647         * rowpainter.C:
4648         * text.C:
4649         * text2.C: Remove the "main" bit from the "main body"
4650           notion.
4651
4652 2003-03-08  John Levon  <levon@movementarian.org>
4653
4654         * text.C (leftMargin): The left margin of an empty
4655         manual label paragraph should not include the label width
4656         string length.
4657
4658         * text.C (prepareToPrint): don't attempt to measure hfills
4659         for empty manual label paragraphs - the answer should be 0
4660
4661 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * CutAndPaste.C: remove commented code and reindent.
4664
4665 2003-03-08  John Levon  <levon@movementarian.org>
4666
4667         * lyxfunc.h:
4668         * lyxfunc.C: move reloadBuffer()
4669
4670         * BufferView.h:
4671         * BufferView.C: to here
4672
4673         * lyxvc.C: add comment
4674
4675         * vc-backend.h:
4676         * vc-backend.C: call bv->reload() to avoid
4677           getStatus() check on MENURELOAD
4678
4679 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4680
4681         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4682         to an old format .dep file.
4683
4684 2003-03-07  Angus Leeming  <leeming@lyx.org>
4685
4686         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4687         when the LFUN_MOUSE_RELEASE should have been handled by
4688         inset->localDispatch.
4689
4690 2003-03-07  Angus Leeming  <leeming@lyx.org>
4691
4692         * BufferView_pimpl.C (dispatch):
4693         * LyXAction.C (init):
4694         * ToolbarDefaults.C (init):
4695         * commandtags.h:
4696         * lyxfunc.C (getStatus):
4697         remove LFUN_INSET_GRAPHICS.
4698
4699         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4700
4701 2003-03-07  Angus Leeming  <leeming@lyx.org>
4702
4703         * commandtags.h:
4704         * LyXAction.C (init):
4705         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4706
4707         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4708
4709         * commandtags.h:
4710         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4711
4712         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4713         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4714
4715 2003-03-07  Angus Leeming  <leeming@lyx.org>
4716
4717         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4718         remove "ert".
4719
4720 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * ParagraphList.C (front): new function
4723         (back): implement
4724
4725 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4728         and top_row_offset_. removed var first_y.
4729         * text.C (top_y):
4730         * text2.C (LyXText, removeRow):
4731         * text3.C:
4732         * BufferView_pimpl.C:
4733         use these methods instead of using first_y
4734
4735 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * text2.C (pasteSelection): adjust for checkPastePossible
4738
4739         * CutAndPaste.C: remove Paragraph * buf and replace with
4740         ParagraphList paragraphs.
4741         (DeleteBuffer): delete
4742         (cutSelection): change the tc type to textclass_type
4743         (copySelection): change the tc type to textclass_type
4744         (copySelection): adjust for ParagraphList
4745         (pasteSelection): change the tc type to textclass_type
4746         (pasteSelection): adjust for Paragraphlist
4747         (nrOfParagraphs): simplify for ParagraphList
4748         (checkPastePossible): simplify for ParagraphList
4749         (checkPastePossible): remove unused arg
4750
4751         * ParagraphList.C (insert): handle the case where there are no
4752         paragraphs yet.
4753
4754         * CutAndPaste.h: make CutAndPaste a namespace.
4755
4756         * text3.C (dispatch): adjust
4757
4758         * text.C (breakParagraph): add a ParagraphList as arg
4759
4760         * paragraph_funcs.C (breakParagraph): change to take a
4761         BufferParams and a ParagraphList as args.
4762         (breakParagraphConservative): ditto
4763         (mergeParagraph): ditto
4764         (TeXDeeper): add a ParagraphList arg
4765         (TeXEnvironment): ditto
4766         (TeXOnePar): ditto
4767
4768         * buffer.C (readLyXformat2): adjust
4769         (insertStringAsLines): adjust
4770         (latexParagraphs): adjust
4771
4772         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4773         (cutSelection): adjust
4774         (pasteSelection): adjust
4775
4776         * BufferView_pimpl.C (insertInset): adjust
4777
4778 2003-03-05  Angus Leeming  <leeming@lyx.org>
4779
4780         * commandtags.h:
4781         * LyXAction.C (init):
4782         * BufferView_pimpl.C (dispatch):
4783         * lyxfunc.C (getStatus):
4784         remove LFUN_CHILD_INSERT.
4785
4786         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4787
4788 2003-03-05  Angus Leeming  <leeming@lyx.org>
4789
4790         * commandtags.h:
4791         * LyXAction.C (init):
4792         * src/factory.C (createInset):
4793         * lyxfunc.C (getStatus):
4794         * text3.C (dispatch):
4795         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4796
4797         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4798
4799 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * ParagraphList.C (insert): handle insert right before end()
4802         (erase): fix cases where it can be first or last paragraph.
4803
4804 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4807         Paragraph::next and Paragraph::previous
4808         (TeXOnePar): ditto
4809
4810         * text.C (breakParagraph): adjust
4811
4812         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4813         BufferParams& as arg.
4814         (breakParagraph): use ParagraphList::insert
4815         (breakParagraphConservative): take a Buffer* instead of a
4816         BufferParams& as arg.
4817         (breakParagraphConservative): use ParagraphList::insert.
4818
4819         * buffer.C (insertStringAsLines): un-const it
4820         (insertStringAsLines): adjust
4821
4822         * ParagraphList.C (insert): new function
4823
4824         * CutAndPaste.C (pasteSelection): adjust
4825
4826         * text.C (backspace): adjust
4827
4828         * tabular.C (SetMultiColumn): adjust
4829
4830         * CutAndPaste.C (cutSelection): adjust
4831         (pasteSelection): adjust
4832
4833         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4834         Buffer const * as arg
4835
4836         * ParagraphList.C (erase): new function
4837         * paragraph_funcs.C (mergeParagraph): use it
4838         (mergeParagraph): make it take a Buffer* instead of a
4839         BufferParams* as arg
4840
4841         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4842         as arg
4843         (breakParagraphConservative): ditto
4844
4845         * paragraph.h: remove the breakParagraph friend
4846
4847         * paragraph.C (eraseIntern): new function
4848         (setChange): new function
4849
4850         * paragraph_funcs.C (mergeParagraph): make it take a
4851         ParagraphList::iterator instead of a Paragraph *, adjust
4852         accordingly.
4853
4854         * paragraph.h: move an #endif so that the change tracking stuff
4855         also works in the NO_NEXT case.
4856
4857 2003-03-04  Angus Leeming  <leeming@lyx.org>
4858
4859         * commandtags.h:
4860         * LyXAction.C: new LFUN_INSET_MODIFY.
4861
4862         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4863         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4864
4865 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4866
4867         * several files: ws changes only
4868
4869         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4870         (TeXEnvironment): ditto
4871         (TeXDeeper): ditto
4872
4873         * buffer.C (makeLaTeXFile): adjust
4874         (latexParagraphs): make it take ParagraphList::iterator as args
4875
4876 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * buffer.C (latexParagraphs): adjust
4879
4880         * paragraph.C (TeXOnePar): move function...
4881         (optArgInset): move function...
4882         (TeXEnvironment): move function...
4883         * paragraph_pimpl.C (TeXDeeper): move function...
4884         * paragraph_funcs.C: ...here
4885
4886         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4887
4888 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * buffer.C (readInset): remove compability code for old Figure and
4891         InsetInfo insets
4892
4893 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * buffer.C: ws changes
4896         (readInset):
4897
4898         * BufferView_pimpl.C: ditto
4899         * author.C: ditto
4900         * buffer.h: ditto
4901         * bufferlist.h: ditto
4902         * changes.h: ditto
4903         * lyxfunc.C: ditto
4904
4905 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4906
4907         * converter.[Ch]: split into itself +
4908         * graph.[Ch]
4909         * format.[Ch]
4910         * Makefile.am: += graph.[Ch] + format.[Ch]
4911         * MenuBackend.C
4912         * buffer.C
4913         * exporter.C
4914         * importer.C
4915         * lyx_main.C
4916         * lyxfunc.C
4917         * lyxrc.C: added #include "format.h"
4918
4919 2003-02-27  Angus Leeming  <leeming@lyx.org>
4920
4921         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4922           a label.
4923
4924         * factory.C (createInset): add "label" to the factory.
4925
4926         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4927           string and do no more.
4928
4929 2003-02-27  Angus Leeming  <leeming@lyx.org>
4930
4931         * commandtags.h:
4932         * LyXAction.C (init):
4933         * factory.C (createInset):
4934         * BufferView_pimpl.C (dispatch):
4935           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4936
4937         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4938
4939         * lyxfunc.C (dispatch):
4940         * text3.C (dispatch): pass name to params2string.
4941
4942 2003-02-26  Angus Leeming  <leeming@lyx.org>
4943
4944         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4945           blocks together.
4946           Rearrange the ~includes. Strip out the unnecessary ones.
4947
4948         * factory.C (createInset): reformat.
4949           create new insets for the various LFUN_XYZ_APPLY lfuns.
4950
4951 2003-02-26  John Levon  <levon@movementarian.org>
4952
4953         * lyxrow.h:
4954         * lyxrow.C: add isParStart,isParEnd helpers
4955
4956         * paragraph.h: make isInserted/DeletedText take refs
4957
4958         * paragraph_funcs.h:
4959         * paragraph_funcs.C: remove #if 0'd code
4960
4961         * lyxtext.h:
4962         * text3.C:
4963         * text2.C:
4964         * text.C: use lyxrow helpers above.
4965           Move draw and paint routines to RowPainter.
4966           Make several methods use refs not pointers.
4967           Make backgroundColor() const.
4968           Add markChangeInDraw(), isInInset().
4969           Merge changeRegionCase into changeCase.
4970           Make workWidth() shouldn't-happen code into an Assert.
4971
4972         * rowpainter.h:
4973         * rowpainter.C: new class for painting a row.
4974
4975         * vspace.h:
4976         * vspace.C: make inPixels take a ref
4977
4978 2003-02-26  Angus Leeming  <leeming@lyx.org>
4979
4980         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4981         LFUN_REF_APPLY.
4982
4983 2003-02-25  John Levon  <levon@movementarian.org>
4984
4985         * ispell.C: give the forked command a more accurate name
4986
4987 2003-02-22  John Levon  <levon@movementarian.org>
4988
4989         * toc.h:
4990         * toc.C: make TocItem store an id not a Paragraph *
4991           (bug #913)
4992
4993 2003-02-21  Angus Leeming  <leeming@lyx.org>
4994
4995         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4996           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4997           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4998           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4999           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5000           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5001
5002         * BufferView_pimpl.C (dispatch):
5003         * LyXAction.C (init):
5004         * factory.C (createInset):
5005         * lyxfunc.C (getStatus, dispatch):
5006         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5007
5008 2003-02-21  Angus Leeming  <leeming@lyx.org>
5009
5010         * BufferView_pimpl.C (MenuInsertLyXFile):
5011         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5012         * lyxfunc.C (menuNew, open, doImport):
5013           no longer pass a LyXView & to fileDlg.
5014
5015 2003-02-21  Angus Leeming  <leeming@lyx.org>
5016
5017         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5018         * LyXAction.C: change, BIBKEY to BIBITEM.
5019         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5020         Change InsetBibKey to InsetBibitem.
5021         Change BIBKEY_CODE to BIBITEM_CODE.
5022         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5023         * factory.C: replace insetbib.h with insetbibitem.h.
5024         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5025         * paragraph.C: replace insetbib.h with insetbibitem.h.
5026         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5027         Change bibkey() to bibitem().
5028         * text.C: remove insetbib.h.
5029         * text2.C: replace insetbib.h with insetbibitem.h.
5030         change bibkey() to bibitem().
5031         * text3.C: remove insetbib.h.
5032         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5033
5034 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5035
5036         * lyxrc.C (output): enclose user email in quotes (in case there are
5037         several words)
5038
5039 2003-02-18  John Levon  <levon@movementarian.org>
5040
5041         * buffer.h: add std::
5042
5043 2003-02-17  John Levon  <levon@movementarian.org>
5044
5045         * SpellBase.h:
5046         * ispell.h:
5047         * ispell.C:
5048         * pspell.h:
5049         * pspell.C: reworking. Especially in ispell, a large
5050           number of clean ups and bug fixes.
5051
5052         * lyxfunc.C: fix revert to behave sensibly
5053
5054 2003-02-17 André Pönitz <poenitz@gmx.net>
5055
5056         * LyXAction.C:
5057         * commandtags.h: new LFUN_INSERT_BIBKEY
5058
5059         * layout.h:
5060         * lyxlayout.C:
5061         * buffer.C:
5062         * factory.C:
5063         * text.C:
5064         * text2.C:
5065         * text3.C:
5066         * paragraph.[Ch]:
5067         * paragraph_func.C: remove special bibkey handling
5068
5069 2003-02-17  John Levon  <levon@movementarian.org>
5070
5071         * text.C (Delete): fix case where delete at the end of
5072           the very first paragraph would not merge the pars
5073
5074 2003-02-17  John Levon  <levon@movementarian.org>
5075
5076         * lyxrow.C: fix lastPrintablePos()
5077
5078 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5079
5080         * bufferparams.C (writeLaTeX): add a std:here
5081
5082         * buffer.C: and remove a using directive there
5083
5084 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5085
5086         * buffer.C (makeLaTeXFile): move the code that generates the
5087           preamble...
5088
5089         * bufferparams.C (writeLaTeX): ... in this new method
5090
5091         * LaTeXFeatures.C (getEncodingSet): make const
5092           (getLanguages): make const
5093
5094         * MenuBackend.C (binding): returns the binding associated to this
5095           action
5096           (add): sets the status of each item by calling getStatus. Adds
5097           some intelligence.
5098           (read): add support for OptSubMenu
5099           (expand): remove extra separator at the end of expanded menu
5100
5101 2003-02-15  John Levon  <levon@movementarian.org>
5102
5103         * BufferView.C:
5104         * BufferView_pimpl.C:
5105         * bufferlist.h:
5106         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5107           inset code that had no actual effect. Remove unneeded status
5108           code.
5109
5110 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5111
5112         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5113           in preamble
5114
5115 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5116
5117         * text.C (drawLengthMarker): also draw an arrow marker for
5118           symbolic lengths (medskip...)
5119
5120 2003-02-14  John Levon  <levon@movementarian.org>
5121
5122         * tabular.h:
5123         * tabular.C: better method names
5124
5125 2003-02-14  John Levon  <levon@movementarian.org>
5126
5127         * BufferView_pimpl.C:
5128         * bufferlist.C:
5129         * buffer.C:
5130         * converter.C:
5131         * lyx_cb.C:
5132         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5133           it's a more accurate name. Remove some pointless uses.
5134
5135 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5136
5137         * text2.C (LyXText): change order of initilizers to shut off
5138           warnings
5139
5140 2003-02-14  John Levon  <levon@movementarian.org>
5141
5142         * buffer.C: use ParIterator for getParFromID()
5143
5144         * paragraph.h:
5145         * paragraph.C:
5146         * paragraph_pimpl.h:
5147         * paragraph_pimpl.C: remove unused getParFromID()
5148
5149 2003-02-14  John Levon  <levon@movementarian.org>
5150
5151         * buffer.C: remove some very old #if 0'd parse code
5152
5153 2003-02-13  John Levon  <levon@movementarian.org>
5154
5155         * text.h:
5156         * text.C:
5157         * text2.C: move hfillExpansion(), numberOfSeparators(),
5158           rowLast(), rowLastPrintable(), numberofHfills(),
5159           numberOfLabelHfills() ...
5160
5161         * lyxrow.h:
5162         * lyxrow.C: ... to member functions here.
5163
5164         * paragraph.h:
5165         * paragraph.C:
5166         * lyxtext.h:
5167         * text.C: remove LyXText::beginningOfMainBody(), and call
5168           p->beginningOfMainBody() directly. Move the check for
5169           LABEL_MANUAL into the latter.
5170
5171         * text.h:
5172         * text.C:
5173         * text2.C:
5174         * vspace.C:
5175         * BufferView.h:
5176         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5177
5178         * text.h:
5179         * text.C:
5180         * text2.C:
5181         * text3.C:
5182         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5183           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5184
5185 2003-02-13  John Levon  <levon@movementarian.org>
5186
5187         * CutAndPaste.C: remove debug
5188
5189 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5190
5191         * paragraph.C (asString): remove two unused variables
5192
5193         * lyxtextclass.C (readTitleType):
5194           (Read):
5195           (LyXTextClass): handle new members titletype_ and titlename_
5196
5197         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5198
5199 2003-02-09  John Levon  <levon@movementarian.org>
5200
5201         * buffer.h:
5202         * buffer.C: replace hand-coded list with a map for the dep clean
5203
5204 2003-02-08  John Levon  <levon@movementarian.org>
5205
5206         * LaTeX.C: consolidate code into showRunMessage() helper
5207
5208 2003-02-08  John Levon  <levon@movementarian.org>
5209
5210         * lyxfind.C:
5211         * lyxtext.h:
5212         * text2.C:
5213         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5214           and pass the size in explicitly
5215
5216         * BufferView_pimpl.h:
5217         * BufferView_pimpl.C:
5218         * BufferView.h:
5219         * BufferView.C: add getCurrentChange()
5220
5221         * BufferView_pimpl.h:
5222         * BufferView_pimpl.C: handle change lfuns
5223
5224         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5225           for changes. Mark pasted paragraphs as new.
5226
5227         * support/lyxtime.h:
5228         * support/lyxtime.C:
5229         * DepTable.C: abstract time_t as lyx::time_type
5230
5231         * LColor.h:
5232         * LColor.C: add colours for new text, deleted text, changebars
5233
5234         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5235           package use "usenames" option.
5236
5237         * commandtags.h:
5238         * lyxfunc.C:
5239         * LyXAction.C: add change lfuns
5240
5241         * Makefile.am:
5242         * author.h:
5243         * author.C: author handling
5244
5245         * buffer.h:
5246         * buffer.C: add a per-buffer author list, with first entry as
5247           current author. Handle new .lyx tokens for change tracking. Output
5248           author list to .lyx file. Output dvipost stuff to .tex preamble.
5249           Bump lyx format to 222.
5250
5251         * bufferlist.h:
5252         * bufferlist.C: add setCurrentAuthor() to reset current author details
5253           in all buffers.
5254
5255         * bufferparams.h:
5256         * bufferparams.C: add param for tracking
5257
5258         * bufferview_funcs.C: output change info in minibuffer
5259
5260         * Makefile.am:
5261         * changes.h:
5262         * changes.C: add change-tracking structure
5263
5264         * debug.h:
5265         * debug.C: add CHANGES debug flag
5266
5267         * lyxfind.h:
5268         * lyxfind.C: add code for finding the next change piece
5269
5270         * lyxrc.h:
5271         * lyxrc.C: add user_name and user_email
5272
5273         * lyxrow.h:
5274         * lyxrow.C: add a metric for the top of the text line
5275
5276         * lyxtext.h:
5277         * text.C: implement accept/rejectChange()
5278
5279         * lyxtext.h:
5280         * text.C: paint changebars. Paint new/deleted text in the chosen
5281         colours. Strike through deleted text.
5282
5283         * paragraph.h:
5284         * paragraph.C:
5285         * paragraph_pimpl.h:
5286         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5287           in the current change to the insert functions. Rework erase to
5288           mark text as deleted, adding an eraseIntern() and a range-based
5289           erase(). Implement per-paragraph change lookup and
5290           accept/reject.
5291
5292         * paragraph_funcs.C: Fixup paste for change tracking.
5293
5294         * tabular.C: mark added row/columns as new.
5295
5296         * text.C: fix rowLast() to never return -1. Don't allow
5297           spellchecking of deleted text. Track transpose changes. Don't
5298           allow paragraph break or merge where appropriate.
5299
5300         * text2.C: leave cursor at end of selection after a cut.
5301
5302 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5303
5304         * text.C (getLengthMarkerHeight):
5305         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5306         visible on screen too.
5307
5308 2003-02-07  John Levon  <levon@movementarian.org>
5309
5310         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5311
5312 2003-02-05  Angus Leeming  <leeming@lyx.org>
5313
5314         * lyxserver.C (read_ready): revert my patch of 11 September last year
5315         as it sends PC cpu through the roof. Presumably this means that
5316         the lyxserver will no longer run on an Alpha...
5317
5318 2003-01-30  Angus Leeming  <leeming@lyx.org>
5319
5320         * factory.C (createInset): create an InsetCommandParam of type "index"
5321         and use it to 'do the right thing'.
5322
5323         * text2.C (getStringToIndex): ensure that cursor position is always
5324         reset to the reset_cursor position.
5325
5326 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5327
5328         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5329         disabled.
5330
5331 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5332
5333         * bufferview.C:
5334         * lyxcb.C:
5335         * lyxfunc.C: Output messages with identical spelling, punctuation,
5336         and spaces
5337
5338 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5339
5340         * MenuBackend.C (expandFormats): List only viewable export formats
5341         in "View" menu
5342
5343         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5344         message
5345
5346         * lyxfunc.C (getStatus): Make sure that formats other than
5347         "fax" can also be disabled
5348
5349 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5350
5351         * text3.C (dispatch): put the lfuns that insert insets in 3
5352         groups, and call doInsertInset with appropriate arguments.
5353         (doInsertInset): new function, that creates an inset and inserts
5354         it according to some boolean parameters.
5355
5356 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5357
5358         * buffer.C (readFile): remember to pass on 'par' when calling
5359         readFile recursively.
5360
5361 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5362
5363         * MenuBackend.C (expandFormats): add "..." to import formats.
5364
5365 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5366
5367         * paragraph.C (asString): Remove XForms RTL hacks.
5368
5369 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5370         * buffer.C: fix typo
5371
5372 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * Makefile.am (LIBS): delete var
5375         (lyx_LDADD): add @LIBS@ here instead.
5376
5377 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5378
5379         * Clarify the meaning of "wheel mouse jump"
5380
5381 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5382
5383         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5384         tabular in a float
5385
5386 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5387
5388         * importer.C (Loaders): do not preallocate 3 elements in the
5389         vector, since one ends up with 6 elements otherwise
5390
5391 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5392
5393         * DepTable.C (write): write the file name as last element of the
5394         .dep file (because it may contain spaces)
5395         (read): read info in the right order
5396
5397 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5398
5399         * paragraph_pimpl.C (simpleTeXBlanks):
5400         (simpleTeXSpecialChars):
5401         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5402
5403         * tabular.C (latex): add some missing case statements. Reindent.
5404
5405         * MenuBackend.C (expandToc): remove unused variable.
5406
5407 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5408
5409         * LColor.C:
5410         * LaTeX.C:
5411         * LyXAction.C:
5412         * MenuBackend.C:
5413         * buffer.C:
5414         * exporter.C:
5415         * lyxfunc.C:
5416         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5417         and the like.
5418
5419 2003-01-05  John Levon  <levon@movementarian.org>
5420
5421         * BufferView.h:
5422         * BufferView.C: add getEncoding()
5423
5424         * kbsequence.h:
5425         * kbsequence.C: do not store last keypress
5426
5427         * lyxfunc.h:
5428         * lyxfunc.C: store last keypress here instead. Pass encoding
5429           to getISOEncoded()
5430
5431 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5432
5433         * lyx_main.C (init): remove annoying error message when following
5434         symbolic links (bug #780)
5435
5436 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5437
5438         * text.C (insertChar):
5439         * lyxrc.C (getDescription): remove extra spaces
5440
5441 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5442
5443         * lyxrc.C (getDescription): remove extra spaces
5444
5445 2002-12-20  John Levon  <levon@movementarian.org>
5446
5447         * text3.C: hack fix for page up/down across tall rows
5448
5449 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5450
5451         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5452         not been invoked
5453
5454 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5455
5456         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5457         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5458         thesaurus is not compiled in
5459
5460 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5461
5462         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5463
5464 2002-12-16  Angus Leeming  <leeming@lyx.org>
5465
5466         * lyxrc.[Ch]:
5467         * lyx_main.C (init): remove override_x_deadkeys stuff.
5468
5469 2002-12-12  John Levon  <levon@movementarian.org>
5470
5471         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5472           insert. Only remove shift modifier under strict
5473           circumstances.
5474
5475 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * MenuBackend.C (expandToc): fix crash.
5478
5479 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * MenuBackend.C (expandToc): gettext on float names.
5482
5483 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5484
5485         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5486         implement bool empty() [bug 490]
5487
5488 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5491
5492 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * several files: ws changes
5495
5496 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * text2.C (setCounter): clean up a bit, use boost.format.
5499         (updateCounters): initialize par upon declaration.
5500
5501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5502         if the layout exists. We do not just store the layout any more.
5503         (SwitchLayoutsBetweenClasses): use boost.format
5504
5505 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5506
5507         * converter.C (convert): if from and to files are the same, use a
5508         temporary files as intermediary
5509
5510 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5511
5512         * commandtags.h:
5513         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5514
5515 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5516
5517         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5518
5519 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * tabular.C (asciiPrintCell): use string(size, char) instead of
5522         explicit loop.
5523
5524         * sgml.C (openTag): fix order of arguments to string constructor
5525         (closeTag): ditto
5526
5527         * lyxfunc.C (dispatch): use boost.format
5528
5529         * lots of files: change "c" -> 'c'
5530
5531 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5532
5533         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5534
5535 2002-11-25  Angus Leeming  <leeming@lyx.org>
5536
5537         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5538
5539         * lyx_main.C (init): compile fix.
5540
5541 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * lyx_cb.C (start): boost.formatify
5544         do not include <iostream>
5545
5546         * lengthcommon.C: ws only
5547
5548         * boost-inst.C,BoostFormat.h: add more explict instantations
5549
5550 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * lots of files: handle USE_BOOST_FORMAT
5553
5554 2002-11-21  John Levon  <levon@movementarian.org>
5555
5556         * pspell.C: fix compile
5557
5558 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5559
5560         * lyxfunc.C (dispatch): use boost::format
5561         (open): ditto
5562         (doImport): ditto
5563
5564         * lyxfont.C (stateText): use boost::format
5565
5566         * lyx_main.C (LyX): use boost::format
5567         (init): ditto
5568         (queryUserLyXDir): ditto
5569         (readRcFile): ditto
5570         (parse_dbg): ditto
5571         (typedef boost::function): use the recommened syntax.
5572
5573         * importer.C (Import): use boost::format
5574
5575         * debug.C (showLevel): use boost::format
5576
5577         * converter.C (view): use boost::format
5578         (convert): ditto
5579         (move): ditto
5580         (scanLog): ditto
5581
5582         * bufferview_funcs.C (currentState): use boost::format
5583
5584         * bufferlist.C (emergencyWrite): use boost::format
5585
5586         * buffer.C (readLyXformat2): use boost::format
5587         (parseSingleLyXformat2Token): ditto
5588
5589         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5590
5591         * LaTeX.C (run): use boost::format
5592
5593         * Chktex.C (scanLogFile): use boost::format
5594
5595         * BufferView_pimpl.C (savePosition): use boost::format
5596         (restorePosition): ditto
5597         (MenuInsertLyXFile): ditto
5598
5599         * BoostFormat.h: help file for explicit instation.
5600
5601 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5602
5603         * tabular.C (latex): Support for block alignment in fixed width
5604         columns.
5605
5606 2002-11-17  John Levon  <levon@movementarian.org>
5607
5608         * BufferView_pimpl.C:
5609         * lyx_cb.C:
5610         * lyxfunc.C: split filedialog into open/save
5611
5612 2002-11-08  Juergen Vigna  <jug@sad.it>
5613
5614         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5615         by my last patch (hopefully).
5616
5617 2002-11-08  John Levon  <levon@movementarian.org>
5618
5619         * iterators.h:
5620         * iterators.C:
5621         * buffer.h:
5622         * buffer.C:
5623         * paragraph.h:
5624         * paragraph.C:
5625         * toc.h:
5626         * toc.C: ParConstIterator, and use it (from Lars)
5627
5628 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5629
5630         * lyxtextclass.[Ch]: revise and add doxygen comments
5631
5632 2002-11-07  John Levon  <levon@movementarian.org>
5633
5634         * text.C: fix progress value for spellchecker
5635
5636         * toc.C: fix navigate menu for insetwrap inside minipage
5637
5638         * paragraph_funcs.C: added FIXME for suspect code
5639
5640 2002-11-07  John Levon  <levon@movementarian.org>
5641
5642         * BufferView_pimpl.C: fix redrawing of insets
5643           on buffer switch
5644
5645 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5646
5647         * text2.C (updateCounters): fix bug 668
5648
5649 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5650
5651         * text3.C (dispatch): Do not make the buffer dirty when moving the
5652         cursor.
5653
5654 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * vc-backend.C: STRCONV
5657         (scanMaster): ditto
5658
5659         * text2.C (setCounter): STRCONV
5660
5661         * paragraph.C (asString): STRCONV
5662
5663         * lyxlength.C (asString): STRCONV
5664         (asLatexString): ditto
5665
5666         * lyxgluelength.C (asString): STRCONV
5667         (asLatexString): ditto
5668
5669         * lyxfunc.C (dispatch): STRCONV
5670         (open): ditto
5671
5672         * lyxfont.C (stateText): STRCONV
5673
5674         * importer.C (Import): STRCONV
5675
5676         * counters.C (labelItem): STRCONV
5677         (numberLabel): ditto
5678         (numberLabel): remove unused ostringstream o
5679
5680         * chset.C: STRCONV
5681         (loadFile): ditto
5682
5683         * bufferview_funcs.C (currentState): STRCONV
5684
5685         * buffer.C (readFile): STRCONV
5686         (asciiParagraph): ditto
5687         (makeLaTeXFile): ditto
5688
5689         * Spacing.C (writeEnvirBegin): STRCONV
5690
5691         * LaTeXFeatures.C (getLanguages): STRCONV
5692         (getPackages): ditto
5693         (getMacros): ditto
5694         (getBabelOptions): ditto
5695         (getTClassPreamble): ditto
5696         (getLyXSGMLEntities): ditto
5697         (getIncludedFiles): ditto
5698
5699         * LaTeX.C: STRCONV
5700         (run): ditto
5701         (scanAuxFile): ditto
5702         (deplog): ditto
5703
5704         * LString.h: add the STRCONV macros
5705
5706         * BufferView_pimpl.C (savePosition): STRCONV
5707         (restorePosition): ditto
5708         (MenuInsertLyXFile): ditto
5709
5710         * vc-backend.C (scanMaster): change from submatch[...] to
5711         submatch.str(...)
5712
5713         * funcrequest.C: include config.h
5714
5715         * factory.C: include config.h
5716
5717         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5718
5719         * box.C: include config.h
5720
5721         * LaTeX.C (scanAuxFile): change from submatch[...] to
5722         submatch.str(...)
5723         (deplog): ditto
5724
5725 2002-10-25  Angus Leeming  <leeming@lyx.org>
5726
5727         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5728
5729         * ispell.[Ch] (setError): new method.
5730         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5731         Use setError() insetead of goto END.
5732
5733         * lyx_cb.C (AutoSave): move out child process into new class
5734         AutoSaveBuffer.
5735
5736 2002-10-30  John Levon  <levon@movementarian.org>
5737
5738         * text3.C: make start appendix undoable
5739
5740 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5741
5742         * lyxlength.C (inPixels): Fix returned value.
5743
5744         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5745         environment.
5746
5747 2002-10-24  Angus Leeming  <leeming@lyx.org>
5748
5749         * lyxgluelength.h: no need to forward declare BufferParams
5750         or BufferView, so don't.
5751
5752 2002-10-21  John Levon  <levon@movementarian.org>
5753
5754         * BufferView.C: menuUndo ->undo, redo
5755
5756         * BufferView.h: document, remove dead, make some methods private
5757
5758         * paragraph_funcs.h:
5759         * paragraph_funcs.C:
5760         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5761
5762         * buffer.h:
5763         * buffer.C:
5764         * sgml.h:
5765         * sgml.C: move sgml open/close tag into sgml.C
5766
5767         * bufferview_funcs.h: unused prototype
5768
5769         * lyxfunc.h:
5770         * lyxfunc.C: remove unused
5771
5772         * lyxtext.h:
5773         * text.C: remove unused
5774
5775 2002-10-21  John Levon  <levon@movementarian.org>
5776
5777         * BufferView.h:
5778         * BufferView.C:
5779         * BufferView_pimpl.h:
5780         * BufferView_pimpl.C: fix mouse wheel handling based on
5781           patch from Darren Freeman
5782
5783 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5784
5785         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5786
5787 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5788
5789         * lyxlength.C (inPixels): Fix hanfling of negative length.
5790         Fix LyXLength::MU case.
5791
5792 2002-10-16  John Levon  <levon@movementarian.org>
5793
5794         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5795
5796 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5797
5798         * converter.C (view): add support for $$i (file name) and $$p
5799         (file path) for the viewer command. If $$i is not specified, then
5800         it is appended to the command (for compatibility with old syntax)
5801
5802 2002-10-14  Juergen Vigna  <jug@sad.it>
5803
5804         * undo_funcs.C (textHandleUndo): alter the order in which the
5805         new undopar is added to the LyXText, as we have to set first
5806         the right prev/next and then add it as otherwise the rebuild of
5807         LyXText is not correct. Also reset the cursor to the right paragraph,
5808         with this IMO we could remove the hack in "redoParagraphs()".
5809
5810 2002-10-09  Angus Leeming  <leeming@lyx.org>
5811
5812         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5813         to turn off an optimisation if a new inset is to be inserted.
5814
5815 2002-10-11 André Pönitz <poenitz@gmx.net>
5816
5817         * lyxtext.h: make some functions public to allow access
5818         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5819
5820 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5821
5822         * text3.C (dispatch): when changing layout, avoid an infinite loop
5823         [bug #652]
5824
5825 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5826
5827         * lyxrc.C (read): treat a viewer or converter command of "none" as
5828         if it were empty.
5829
5830         * MenuBackend.C (expandFormats): for an update, also allow the
5831         formats that are not viewable
5832
5833         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5834         script if it is newer than the lyxrc.defaults in user directory
5835
5836 2002-10-07 André Pönitz <poenitz@gmx.net>
5837
5838         * text.C: Vitaly Lipatov's small i18n fix
5839
5840 2002-09-25  Angus Leeming  <leeming@lyx.org>
5841
5842         * ispell.h: doxygen fix.
5843
5844 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5845
5846         * buffer.h (readFile): Add a new argument to the method, to allow
5847         reading of old-format templates.
5848
5849 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5850
5851         * toc.C (getTocList): Get TOC from InsetWrap.
5852
5853 2002-09-16  John Levon  <levon@movementarian.org>
5854
5855         * lyxfunc.C: check tabular for cut/copy too
5856
5857 2002-09-12  John Levon  <levon@movementarian.org>
5858
5859         * LyXAction.C: tidy
5860
5861         * factory.h:
5862         * factory.C: add header
5863
5864         * paragraph_funcs.h:
5865         * paragraph_funcs.C: cleanup
5866
5867 2002-09-11  John Levon  <levon@movementarian.org>
5868
5869         * PrinterParams.h: odd/even default to true
5870
5871 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5872
5873         * PrinterParams.h: update printer parameters for new xforms dialog
5874
5875 2002-09-11  Angus Leeming  <leeming@lyx.org>
5876
5877         * lyxserver.C (read_ready): re-write to make it more transparent
5878         and to make it work in coherent fashion under Tru64 Unix.
5879
5880 2002-09-11  André Pönitz <poenitz@gmx.net>
5881
5882         * commandtags.h:
5883         * LyXAction.C:
5884         * text3.C: implement LFUN_WORDSEL
5885
5886 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5889         make floatlist_ a boost::shared_ptr<FloatList>
5890
5891         * lyxtextclass.C: include FloatList.h
5892         (LyXTextClass): initialize floatlist_
5893         (TextClassTags): add TC_NOFLOAT
5894         (Read): match "nofloat" to TC_NOFLOAT and use it.
5895         (readFloat): modify call to floatlist_
5896         (floats): ditto
5897         (floats): ditto
5898
5899         * FloatList.[Ch] (FloatList): remove commented out float
5900         initialization.
5901         (erase): new function
5902
5903 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5904
5905         * MenuBackend.C (expandToc): fix crash when there is no document
5906         open
5907
5908 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5909
5910         * many files: Add insetwrap.
5911
5912 2002-09-09  John Levon  <levon@movementarian.org>
5913
5914         * text2.C: remove confusing and awkward depth wraparound
5915
5916 2002-09-09  John Levon  <levon@movementarian.org>
5917
5918         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5919
5920         * buffer.h:
5921         * buffer.C: remove getIncludeonlyList()
5922
5923         * paragraph.C:
5924         * lyxfunc.C: remove headers
5925
5926 2002-09-09  Juergen Vigna  <jug@sad.it>
5927
5928         * text.C (getColumnNearX): fix form Michael this is most
5929         probably a cut&paste bug.
5930
5931 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5934
5935         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5936         references, ws changes.
5937
5938         * text2.C (init): update counters after init
5939         (insertParagraph): no need to set counter on idividual paragraphs.
5940         (setCounter): access the counters object in the textclass object
5941         on in the buffer object.
5942         (updateCounters): ditto
5943
5944         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5945         shared_ptr<Counters> to avoid loading counters.h in all
5946         compilation units.
5947         (LyXTextClass): initialize ctrs_
5948         (TextClassTags): add TC_COUNTER, and ...
5949         (Read): use it here.
5950         (CounterTags): new tags
5951         (readCounter): new function
5952         (counters): new funtion
5953         (defaultLayoutName): return a const reference
5954
5955         * counters.C (Counters): remove contructor
5956         (newCounter): remove a couple of unneeded statements.
5957         (newCounter): simplify a bit.
5958         (numberLabel): some small formatting changes.
5959
5960         * buffer.[Ch]: remove all traces of counters, move the Counters
5961         object to the LyXTextClass.
5962
5963 2002-09-06  Alain Castera  <castera@in2p3.fr>
5964
5965         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5966         package to set the horizontal alignment on fixed width columns.
5967
5968         * lyx_sty.C:
5969         * lyx_sty.h: added tabularnewline macro def.
5970
5971         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5972
5973 2002-09-06  John Levon  <levon@movementarian.org>
5974
5975         * LyXAction.C: tooltips for sub/superscript
5976
5977         * MenuBackend.C: a bit more verbose
5978
5979         * lyxfunc.C: tiny clean
5980
5981         * undo_funcs.C: document undo_frozen
5982
5983 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * counters.C (Counters): add missing algorithm counter.
5986
5987         * text2.C (setCounter): lookup the counter with layouts latexname
5988         instead of by section number.
5989         (setCounter): use a hackish way to lookup the correct enum
5990         counter.
5991         a float name->type change
5992         reset enum couners with counter name directly instead of depth value.
5993
5994         * counters.C (Counters): remove the push_backs, change to use the
5995         float type not the float name.
5996         (labelItem): remove unused string, float name->type change
5997
5998         * counters.h: don't include vector, loose the enums and sects vectors
5999
6000 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6003         (Read): add float->TC_FLOAT to textclassTags
6004         (Read): and handle it in the switch
6005         (readFloat): new function
6006
6007         * FloatList.C (FloatList): comment out the hardcoded float
6008         definitions.
6009
6010         * lyxlayout.h: ws change.
6011
6012 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6013
6014         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6015
6016 2002-09-03  Angus Leeming  <leeming@lyx.org>
6017
6018         * BufferView_pimpl.h: qualified name is not allowed in member
6019         declaration: WorkArea & Pimpl::workarea() const;
6020
6021         * factory.C: added using std::endl directive.
6022
6023         * text3.C: added using std::find and std::vector directives.
6024
6025 2002-08-29  André Pönitz <poenitz@gmx.net>
6026
6027         * lyxtext.h:
6028         * text2.C: remove unused member number_of_rows
6029
6030         * Makefile.am:
6031         * BufferView2.C: remove file, move contents to...
6032         * BufferView.C: ... here
6033
6034         * BufferView_pimpl.C:
6035         * factory.C: move more inset creation to factory
6036
6037         * vspace.C: avoid direct usage of LyXText, ws changes
6038
6039         * BufferView.[Ch]:
6040                 don't provide direct access to WorkArea, use two simple
6041                 acessors haveSelction() and workHeight() instead
6042
6043
6044 2002-08-29  John Levon  <levon@movementarian.org>
6045
6046         * BufferView_pimpl.C (dispatch): do not continue when
6047           no buffer
6048
6049 2002-08-28  André Pönitz <poenitz@gmx.net>
6050
6051         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6052
6053         * BufferView.h:
6054         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6055
6056 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6057
6058         * buffer.C: increment LYX_FORMAT to 221
6059
6060         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6061         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6062
6063         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6064
6065         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6066
6067 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6068
6069         * factory.C (createInset): use LyXTextClass::floats
6070
6071         * MenuBackend.C (expandFloatListInsert):
6072         (expandFloatInsert):
6073         (expandToc):
6074
6075         * text2.C (setCounter):
6076
6077         * LaTeXFeatures.C (useFloat):
6078         (getFloatDefinitions):
6079
6080         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6081
6082         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6083         floatlist_, with accessor floats().
6084
6085         * FloatList.h: remove global FloatList
6086
6087 2002-08-26  André Pönitz <poenitz@gmx.net>
6088
6089         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6090
6091         * BufferView.h:
6092         * BufferView2.C:
6093         * BufferView_pimpl.C:
6094         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6095
6096 2002-08-25  John Levon  <levon@movementarian.org>
6097
6098         * LyXAction.C: fix margin note description
6099
6100 2002-08-24  John Levon  <levon@movementarian.org>
6101
6102         * buffer.C:
6103         * bufferlist.C:
6104         * bufferview_funcs.C:
6105         * lyxfont.C:
6106         * undo_funcs.C: cleanups
6107
6108         * lyxfunc.C: disable CUT/COPY when no selection
6109
6110 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6111
6112         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6113         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6114
6115         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6116         Add backward compatibility to "mono", "gray" and "no".
6117
6118 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6119
6120         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6121         (and file_format >= 200).
6122
6123 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6124
6125         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6126
6127 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6128
6129         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6130
6131 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6132
6133         * BufferView_pimpl.C:
6134         * LyXAction.C:
6135         * buffer.C:
6136         * commandtags.h:
6137         * lyxfunc.C:
6138         * paragraph.[Ch]:
6139         * text2.C:
6140         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6141         inset and code to make it  work with the paragraph code. The inset
6142         can be anywhere in the paragraph, but will only do the expected
6143         thing in LaTeX if the layout file contains the parameter line
6144                         OptionalArgs    1
6145         (or more generally, a nonzero value) for that layout.
6146
6147 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * paragraph.h: remove the declaration of undefined counters class
6150         function.
6151
6152 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6153
6154         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6155         Dr. Richard Hawkins.
6156
6157 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6158
6159         * paragraph_funcs.h: remove some unneeded includes
6160
6161         * text.C (backspace): pasteParagraph now in global scipe
6162
6163         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6164         (pasteSelection): ditto
6165
6166         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6167         * paragraph_funcs.C (pasteParagraph): ... here
6168
6169 2002-08-20  André Pönitz <poenitz@gmx.net>
6170
6171         * commandtags.h: new LFUNs for swapping/copying table row/colums
6172
6173         * LyXAction.C:
6174         * lyxfunc.C: support for new lfuns
6175
6176 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * tabular.C:
6179         * buffer.[Ch]: remove NO_COMPABILITY stuff
6180
6181 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * boost.C (throw_exception): new file, with helper function for
6184         boost compiled without exceptions.
6185
6186         * paragraph.h:
6187         * lyxlength.C:
6188         * buffer.C:
6189         * ParameterStruct.h:
6190         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6191
6192         * bufferlist.C (emergencyWriteAll): use boost bind
6193
6194         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6195
6196         * text.C: include paragraph_funcs.h
6197         (breakParagraph): breakParagraph is now in global scope
6198
6199         * paragraph_funcs.[Ch]: new files
6200
6201         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6202         global scope
6203
6204         * buffer.C: include paragraph_funcs.h
6205         (insertStringAsLines): breakParagraph is now in global scope
6206
6207         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6208         paragraph_funcs.C
6209
6210         * CutAndPaste.C: include paragraph_funcs.h
6211         (cutSelection): breakParagraphConservative is now in global scope
6212         (pasteSelection): ditto
6213
6214         * buffer.h: declare oprator== and operator!= for
6215         Buffer::inset_iterator
6216
6217         * bufferlist.C (emergencyWrite): don't use fmt(...)
6218
6219         * text3.C: add using std::endl
6220
6221         * BufferView.C (moveCursorUpdate): remove default arg
6222
6223 2002-08-20  André Pönitz <poenitz@gmx.net>
6224
6225         * buffer.[Ch]: move inline functions to .C
6226
6227         * BufferView2.C:
6228         * BufferView_pimpl.C:
6229         * text.C:
6230         * buffer.[Ch]: use improved inset_iterator
6231
6232         * buffer.C:
6233         * paragraph.[Ch]: write one paragraph at a time
6234
6235 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6236
6237         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6238         style if style is not specified.
6239
6240 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6241
6242         * text2.C (setCounter): when searching for right label for a
6243         caption, make sure to recurse to parent insets (so that a caption
6244         in a minipage in a figure float works) (bug #568)
6245
6246 2002-08-20  André Pönitz <poenitz@gmx.net>
6247
6248         * text3.C: new file for LyXText::dispatch() and helpers
6249
6250         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6251
6252         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6253
6254 2002-08-19  André Pönitz <poenitz@gmx.net>
6255
6256         * lyxtext.h:
6257         * text.C: new LyXText::dispatch()
6258
6259         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6260
6261 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6262
6263         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6264
6265         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6266         Hebrew text.
6267
6268 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6269
6270         * Makefile.am: use $(variables) instead of @substitutions@
6271
6272 2002-08-15  André Pönitz <poenitz@gmx.net>
6273
6274         * lyxfunc.C:
6275         * BufferView_pimpl.C: streamlining mathed <-> outer world
6276         interaction
6277
6278         * commandtags.h:
6279         * LyXAction.C: remove unused LFUN_MATH
6280
6281 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6284
6285 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * paragraph.C (Paragraph): reformat a bit
6288         (cutIntoMinibuffer): use builtin InsetList function instad of
6289         doing it manually.
6290         (getInset): ditto
6291
6292         * buffer.C: include boost/bind.hpp, add using std::for_each
6293         (writeFileAscii): use ParagraphList iterators
6294         (validate): use for_each for validate traversal of paragraphs
6295         (getBibkeyList): use ParagraphList iterators
6296         (resizeInsets): use for_each to resizeInsetsLyXText for all
6297         paragraphs.
6298         (getParFromID): use ParagraphList iterators
6299
6300         * BufferView2.C (lockInset): use paragraph list and iterators
6301
6302 2002-08-14  John Levon  <levon@movementarian.org>
6303
6304         * lyxserver.C: remove spurious xforms include
6305
6306 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6307
6308         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6309
6310 2002-08-13  André Pönitz <poenitz@gmx.net>
6311
6312         * LyXAction.[Ch]:
6313         * lyxfunc.C: further cleaning
6314
6315 2002-08-13  André Pönitz <poenitz@gmx.net>
6316
6317         * funcrequest.h: new constructor
6318
6319         * funcrequest.C: move stuff here from .h
6320
6321         * Makefile.am:
6322         * BufferView_pimpl.C:
6323         * LyXAction.C:
6324         * toc.C:
6325         * lyxfunc.C: subsequent changes
6326
6327         * lyxfunc.h: new view() member function
6328
6329         * lyxfunc.C: subsequent changes
6330
6331 2002-08-13  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView2.C:
6334         * BufferView_pimpl.C:
6335         * buffer.C:
6336         * converter.C:
6337         * importer.C:
6338         * lyxfunc.C:
6339         * lyxvc.C:
6340         * toc.C:
6341         * vc-backend.C:
6342         changes due to the changed LyXView interface that now returns references
6343         to member variables not pointers.
6344
6345 2002-08-13  Angus Leeming  <leeming@lyx.org>
6346
6347         * WordLangTuple (word, lang_code): return references to strings,
6348         not strings.
6349
6350         * BufferView.h:
6351         * SpellBase.h:
6352         * lyxtext.h: forward-declare WordLangTuple.
6353
6354         * BufferView2.C:
6355         * ispell.C:
6356         * pspell.C:
6357         * text.C: #include "WordLangTuple.h".
6358
6359         * lyxtext.h:
6360         * text.C: (selectNextWordToSpellcheck): constify return type.
6361
6362 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6363
6364         * buffer.C:
6365         * buffer.h:
6366         * lyxtext.h:
6367         * paragraph.C:
6368         * paragraph_pimpl.h:
6369         * text.C:
6370         * text2.C:
6371         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6372         suggested by Angus.
6373         Made updateCounter always count from start of buffer, and removed
6374         second argument (par).
6375         Reverted floats number display to '#'. Perhaps I'll try again when the
6376         code base is sanitized a bit.
6377
6378 2002-08-12  Angus Leeming  <leeming@lyx.org>
6379
6380         * buffer.[Ch] (getLabelList): constify.
6381
6382 2002-08-07  André Pönitz <poenitz@gmx.net>
6383
6384         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6385
6386         * funcrequest.h: extension to keep mouse (x,y) position
6387
6388 2002-08-12  Juergen Vigna  <jug@sad.it>
6389
6390         * BufferView2.C (insertErrors): forbid undo when inserting error
6391         insets.
6392
6393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6394
6395 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * ParagraphList.[Ch]: new files
6398
6399         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6400
6401         * BufferView2.C (lockInset): ParagraphList changes
6402         * toc.C: ditto
6403         * text2.C: ditto
6404         * bufferlist.C: ditto
6405         * buffer.h: ditto
6406         * buffer.C: ditto
6407
6408 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6411         unused class variable counter_,
6412
6413         * paragraph.[Ch] (getFirstCounter): delete unused function
6414
6415         * counters.C: include LAssert.h
6416         (reset): add a new function with no arg, change other version to
6417         not have def. arg and to not allow empty arg.
6418
6419         * text2.C (setCounter): remove empty arg from call to Counters::reset
6420
6421 2002-08-11  John Levon  <levon@movementarian.org>
6422
6423         * Makefile.am: add WordLangTuple.h
6424
6425 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6428         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6429
6430         * insets/insettext.C: InsetList changes
6431
6432         * graphics/GraphicsSupport.C (operator()): InsetList changes
6433
6434         * toc.C (getTocList): InsetList changes
6435
6436         * paragraph_pimpl.[Ch]: InsetList changes
6437
6438         * paragraph.[Ch]: InsetList changes
6439
6440         * buffer.C (inset_iterator): InsetList changes
6441         (setParagraph): ditto
6442         * buffer.h (inset_iterator): ditto
6443         * iterators.C (operator++): ditto
6444         * iterators.h: ditto
6445
6446         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6447
6448         * InsetList.[Ch]: new files, most InsetList handling moved out of
6449         paragraph.C.
6450
6451         * BufferView2.C (removeAutoInsets): InsetList changes
6452         (lockInset): ditto
6453         (ChangeInsets): ditto
6454
6455 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * paragraph_pimpl.h (empty): new function
6458
6459         * paragraph.[Ch] (empty): new function
6460
6461         * other files: use the new Paragraph::empty function
6462
6463 2002-08-09  John Levon  <levon@movementarian.org>
6464
6465         * lyxtext.h: remove unused refresh_height
6466
6467 2002-08-09  John Levon  <levon@movementarian.org>
6468
6469         * Makefile.am:
6470         * sgml.h:
6471         * sgml.C:
6472         * buffer.C:
6473         * paragraph.h:
6474         * paragraph.C: move sgml char escaping out of paragraph
6475
6476         * paragraph.h:
6477         * paragraph.C: remove id setter
6478
6479         * buffer.C:
6480         * paragraph.C:
6481         * paragraph_pimpl.C: remove dead tex_code_break_column
6482
6483         * bufferview_funcs.C: small cleanup
6484
6485         * lyxfunc.C: remove dead proto
6486
6487         * lyxtext.h: make some stuff private. Remove some dead stuff.
6488
6489         * lyxgluelength.C: make as[LyX]String() readable
6490
6491 2002-08-08  John Levon  <levon@movementarian.org>
6492
6493         * LyXAction.h:
6494         * LyXAction.C:
6495         * MenuBackend.C:
6496         * ToolbarDefaults.C:
6497         * lyxfunc.C:
6498         * lyxrc.C:
6499         * toc.C: lyxaction cleanup
6500
6501 2002-08-08  John Levon  <levon@movementarian.org>
6502
6503         * BufferView2.C: small cleanup
6504
6505         * lyxfind.h:
6506         * lyxfind.C: move unnecessary header into the .C
6507
6508 2002-08-08  John Levon  <levon@movementarian.org>
6509
6510         * funcrequest.h: just tedious nonsense
6511
6512         * lyx_main.h:
6513         * lyx_main.C: cleanups
6514
6515         * buffer.C:
6516         * vspace.C: remove dead header lyx_main.h
6517
6518 2002-08-07  Angus Leeming  <leeming@lyx.org>
6519
6520         * Paragraph.[Ch]:
6521         * paragraph_pimpl.h:
6522         Forward declare class Counters in paragraph.h by moving the ctrs member
6523         variable into Paragraph::Pimpl.
6524         (counters): new method, returning a reference to pimpl_->ctrs.
6525
6526         * text2.C: ensuing changes.
6527
6528 2002-08-07  John Levon  <levon@movementarian.org>
6529
6530         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6531
6532         * BufferView_pimpl.C: announce X selection on double/triple
6533           click
6534
6535         * lyx_main.C: use correct bool in batch dispatch
6536
6537         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6538
6539 2002-08-07  André Pönitz <poenitz@gmx.net>
6540
6541         * funcrequest.h: new class to wrap a kb_action and its argument
6542
6543         * BufferView.[Ch]:
6544         * BufferView_pimpl[Ch]:
6545         * LaTeX.C:
6546         * LyXAction.[Ch]:
6547         * lyxfunc.[Ch]:
6548         * lyxrc.C: subsequent changes
6549
6550
6551 2002-08-07  John Levon  <levon@movementarian.org>
6552
6553         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6554           document options change.
6555
6556 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6557
6558         * counters.[Ch]
6559         * text2.C
6560         * paragraph.[Ch]
6561         * makefile.am: move counters functionality over from
6562         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6563
6564 2002-08-06  John Levon  <levon@movementarian.org>
6565
6566         * WordLangTuple.h: new file for word + language code tuple
6567
6568         * SpellBase.h:
6569         * pspell.h:
6570         * pspell.C:
6571         * ispell.h:
6572         * ispell.C:
6573         * lyxtext.h:
6574         * text.C:
6575         * text2.C:
6576         * BufferView.h:
6577         * BufferView2.C: use WordLangTuple
6578
6579         * layout.h:
6580         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6581
6582 2002-08-06  John Levon  <levon@movementarian.org>
6583
6584         * lyx_main.C: fix cmdline batch handling
6585
6586 2002-08-06  André Pönitz <poenitz@gmx.net>
6587
6588         * lyxrc.C: set default for show_banner to true
6589
6590 2002-08-06  John Levon  <levon@movementarian.org>
6591
6592         * pspell.C: fix a crash, and allow new aspell to work
6593
6594 2002-08-06  John Levon  <levon@movementarian.org>
6595
6596         * lyxfunc.C:
6597         * kbmap.C: small cleanup
6598
6599         * vspace.h:
6600         * vspace.C: add const
6601
6602 2002-08-05  John Levon  <levon@movementarian.org>
6603
6604         * LyXAction.C: back to tabular-insert
6605
6606 2002-08-04  John Levon  <levon@movementarian.org>
6607
6608         * BufferView.h:
6609         * BufferView.C: cosmetic change
6610
6611         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6612
6613         * bufferlist.C:
6614         * buffer.h:
6615         * buffer.C:
6616         * lyxcb.h:
6617         * lyxcb.C:
6618         * lyxserver.C:
6619         * lyxvc.C:
6620         * vc-backend.C:
6621         * BufferView2.C: purge all "Lyx" not "LyX" strings
6622
6623         * lyxcursor.h:
6624         * lyxcursor.C: attempt to add some documentation
6625
6626         * lyxfunc.C:
6627         * commandtags.h:
6628         * LyXAction.C:
6629         * ToolbarDefaults.C:
6630         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6631           merge with LFUN_TABULAR_INSERT
6632
6633         * Makefile.am:
6634         * SpellBase.h:
6635         * ispell.h:
6636         * ispell.C:
6637         * pspell.h:
6638         * pspell.C: split up i/pspell implementations into separate
6639           files, many cleanups
6640
6641         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6642
6643         * text2.C: some cleanup
6644
6645         * lyxfunc.C: don't check for isp_command == "none" any more, it
6646           didn't make any sense
6647
6648 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6649
6650         * counters.[Ch]
6651         * text2.C
6652         * paragraph.[Ch]
6653         * makefile.am: move counters functionality over
6654         from text2.C/paragraph.[Ch] to counters.[Ch], and
6655         make proper C++.
6656 2002-08-02  John Levon  <levon@movementarian.org>
6657
6658         * buffer.C: s/lyxconvert/lyx2lyx/
6659
6660 2002-08-02  Angus Leeming  <leeming@lyx.org>
6661
6662         * lyxlex.C: revert John's change as it breaks reading of the user
6663         preamble.
6664
6665 2002-08-02  Angus Leeming  <leeming@lyx.org>
6666
6667         * importer.C (Import):
6668         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6669         changes due to LyXView::view() now returning a boost::shared_ptr.
6670
6671 2002-08-02  John Levon  <levon@movementarian.org>
6672
6673         * lyxlex.C: small cleanup
6674
6675 2002-08-02  John Levon  <levon@movementarian.org>
6676
6677         * text2.C (status): small cleanup, no logic change
6678
6679 2002-08-01  John Levon  <levon@movementarian.org>
6680
6681         * buffer.h:
6682         * buffer.C (writeFile): don't output alerts, caller
6683           handles this
6684
6685         * bufferlist.C:
6686         * lyx_cb.C: from above
6687
6688         * lyxfunc.C: allow to open non-existent files
6689
6690 2002-07-31  John Levon  <levon@movementarian.org>
6691
6692         * lyxserver.C: don't let incidental errors get
6693           in the way (errno)
6694
6695 2002-07-30  John Levon  <levon@movementarian.org>
6696
6697         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6698
6699 2002-07-30  John Levon  <levon@movementarian.org>
6700
6701         * lyxserver.h:
6702         * lyxserver.C: remove I/O callback too
6703
6704 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6705
6706         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6707         log.
6708
6709 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * many files: strip,frontStrip -> trim,ltrim,rtrim
6712
6713 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * PrinterParams.h: remove extern containsOnly, and include
6716         support/lstrings.h instead.
6717
6718         * LaTeX.C (scanAuxFile): modify because of strip changes
6719         (deplog): ditto
6720         * buffer.C (makeLaTeXFile): ditto
6721         * bufferparams.C (writeFile): ditt
6722         * lyxfont.C (stateText): ditto
6723         * lyxserver.C (read_ready): ditto
6724         * vc-backend.C (scanMaster): ditto
6725
6726         * BufferView_pimpl.h: ws changes
6727
6728         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6729
6730 2002-07-26  André Pönitz <poenitz@gmx.net>
6731
6732         * kb_sequence.C: remove unnedred usings
6733
6734 2002-07-26  Juergen Vigna  <jug@sad.it>
6735
6736         * lyxfind.C (LyXReplace): we have to check better if the returned
6737         text is not of theLockingInset()->getLockingInset().
6738
6739 2002-07-25  Juergen Vigna  <jug@sad.it>
6740
6741         * lyxfind.C (LyXReplace): don't replace if we don't get the
6742         right LyXText.
6743
6744         * undo_funcs.C (createUndo): remove debugging code.
6745
6746 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6747
6748         * buffer.C (parseSingleLyXformat2Token): Use default placement
6749         when reading old floats.
6750
6751         * FloatList.C (FloatList): Change the default placement of figure
6752         and tables to "tbp".
6753
6754 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * MenuBackend.C: using std::max
6757
6758 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * MenuBackend.C (expandToc):
6761         (expandToc2): code moved from xforms menu frontend. It is now
6762         generic and TOCs are transparent to menu frontends.
6763
6764 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6765
6766         * toc.C (getTocList): protect against buf=0
6767
6768         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6769         Menu as first parameter. Now, this calls itself recursively to
6770         expand a whole tree (this will be useful for TOC handling)
6771         (expandFloatInsert): remove 'wide' version of floats
6772
6773         * MenuBackend.h (submenuname): returns the name of the submenu.
6774         (submenu): returns the submenu itself, provided it has been
6775         created by MenuBackend::expand
6776
6777 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6780         insets which have noFontChange == true. (bug #172)
6781
6782 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6783
6784         * BufferView_pimpl.C: add connection objects and use them...
6785         (Pimpl): here.
6786
6787 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6788
6789         * MenuBackend.C (expandLastfiles):
6790         (expandDocuments):
6791         (expandFormats):
6792         (expandFloatListInsert):
6793         (expandFloatInsert):
6794         (expand): split expand in parts
6795
6796 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6797
6798         * lyx_gui.C: use lyx_gui::exit()
6799
6800 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6801
6802         * LyXAction.C: show the failing pseudo action
6803
6804 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6805
6806         * buffer.C (readFile): Run the lyxconvert script in order to read
6807         old files.
6808
6809 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6810
6811         * LyXAction.C:
6812         * commandtags.h:
6813         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6814
6815 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * LyXAction.C:
6818         * commandtags.h:
6819         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6820
6821 2002-07-22  Herbert Voss  <voss@lyx.org>
6822
6823         * lengthcommon.C:
6824         * lyxlength.[Ch]: add support for the vertical lengths
6825
6826 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6827
6828         * toc.[Ch]: std:: fixes
6829
6830 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6831
6832         * lyxrc.C: do not include lyx_main.h
6833
6834         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6835         for layouts
6836
6837         * lyxrc.C:
6838         * encoding.C:
6839         * bufferlist.C:
6840         * BufferView2.C: include "lyxlex.h"
6841
6842         * tabular.h:
6843         * bufferparams.h: do not #include "lyxlex.h"
6844
6845         * lyxtextclasslist.C (Add): remove method
6846         (classlist): renamed to classlist_
6847
6848         * paragraph_pimpl.C:
6849         * paragraph.C:
6850         * text2.C:
6851         * CutAndPaste.C:
6852         * bufferview_funcs.C:
6853         * bufferlist.C:
6854         * text.C:
6855         * LaTeXFeatures.C:
6856         * buffer.C:
6857         * toc.C (getTocList): use BufferParams::getLyXTextClass
6858
6859         * toc.C (getTocList): use InsetFloat::addToToc
6860
6861         * toc.[Ch]: new files, containing helper functions to handle table
6862         of contents
6863
6864         * lyxfunc.C (dispatch): no need to remove spaces around command
6865         given as a string
6866         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6867         first command of the sequence; it is not very clever, but I do not
6868         have a better idea, actually
6869
6870         * LyXAction.C (LookupFunc): make sure to remove space at the
6871         beginning and end of the command
6872
6873 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6874
6875         * MenuBackend.C (getMenubar): new method: return the menubar of
6876         this menu set
6877         (read): treat differently reading of menu and menubar (in
6878         particular, the menubar has no name now)
6879         (Menu::menubar): remove
6880
6881         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6882         saving is finished
6883
6884 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6885
6886         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6887         a bibitem inset in a RTL paragraph.
6888
6889 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6890
6891         * paragraph_pimpl.C: constify
6892
6893         * BufferView_pimpl.C:
6894         * LaTeX.C:
6895         * lyxfunc.C: fix dispatch in a nicer way
6896
6897 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6898
6899         * lyxfunc.C (dispatch):
6900         * BufferView_pimpl.C:
6901         * BufferView_pimpl.h:
6902         * BufferView.C:
6903         * BufferView.h: rename Dispatch() to dispatch()
6904
6905         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6906
6907         * lyxlayout.C (Read): honor DependsOn tag
6908
6909         * lyxlayout.[Ch] (depends_on): new method
6910
6911         * version.C.in: update lyx_docversion
6912
6913         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6914
6915         * paragraph.C (validate): remove from here...
6916         * paragraph_pimpl.C (validate): ... and move here
6917         (isTextAt): make it const
6918
6919         * buffer.C (getLists): ws cleanup
6920
6921 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6922
6923         * language.C (read): Use iso8859-1 encoding in latex_lang
6924         (this prevents LyX from crashing when using iso10646-1 encoding).
6925
6926 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6927
6928         * text2.C (toggleInset): if cursor is inside an inset, close the
6929         inset and leave cursor _after_ it
6930
6931 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6932
6933         * lyxfunc.C: move minibuffer completion handling out of here
6934
6935 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * BufferView_pimpl.C:
6938         * LaTeX.C: fix dispatch calls
6939
6940 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6941
6942         * text.C (drawChars): Fix Arabic text rendering.
6943
6944 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6945
6946         * LyXAction.C:
6947         * commandtags.h:
6948         * lyxfunc.C: remove message-push/pop
6949
6950         * lyxserver.C:
6951         * lyxfunc.h:
6952         * lyxfunc.C: rationalise some code by removing verboseDispatch
6953           in favour of a bool argument to dispatch()
6954
6955 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6956
6957         * lyx_main.C (init): make sure to read symlinks as absolute paths
6958
6959 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6960
6961         * lyxfunc.h:
6962         * lyxfunc.C: no need for commandshortcut to be a member
6963
6964 2002-07-15  André Pönitz <poenitz@gmx.net>
6965
6966         * converter.C: add support for $$s (scripts from lib/scripts dir)
6967         * lyx_main.C: white space
6968
6969 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6970
6971         * bufferlist.C:
6972         * lyxrc.h:
6973         * lyxrc.C: remove second exit confirmation
6974
6975 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6976
6977         * BufferView.h:
6978         * BufferView.C:
6979         * BufferView2.C:
6980         * BufferView_pimpl.h:
6981         * BufferView_pimpl.C:
6982         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6983
6984 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6985
6986         * MenuBackend.C (expand): add numeric shortcuts to document menu
6987
6988         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6989
6990 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6991
6992         * lyxfont.C (setLyXFamily):
6993         (setLyXSeries):
6994         (setLyXShape):
6995         (setLyXSize):
6996         (setLyXMisc):
6997         (lyxRead):
6998         * debug.C (value):
6999         * buffer.C (asciiParagraph): use ascii_lowercase
7000
7001 2002-07-15  Mike Fabian  <mfabian@suse.de>
7002
7003         * lyxlex_pimpl.C (search_kw):
7004         * lyxlex.C (getLongString):
7005         * converter.h (operator<):
7006         * converter.C (operator<):
7007         * buffer.C (parseSingleLyXformat2Token):
7008         (asciiParagraph):
7009         * ToolbarDefaults.C (read):
7010         * MenuBackend.C (checkShortcuts):
7011         (read):
7012         * LColor.C (getFromGUIName):
7013         (getFromLyXName): use the compare_ascii_no_case instead of
7014         compare_no_case, because in turkish, 'i' is not the lowercase
7015         version of 'I', and thus turkish locale breaks parsing of tags.
7016
7017 2002-07-16  Angus Leeming  <leeming@lyx.org>
7018
7019         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7020         now takes a Buffer const & argument.
7021
7022 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7023
7024         * BufferView.C (resize): check there's a buffer to resize
7025
7026 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7027
7028         * lyxfunc.C: remove dead code
7029
7030         * lyxserver.h:
7031         * lyxserver.C: use lyx_guii::set_read_callback
7032
7033 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7034
7035         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7036         an inset in a RTL paragraph.
7037
7038 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7039
7040         * lyxfunc.C: repaint after a font size update
7041
7042 2002-07-15  André Pönitz <poenitz@gmx.net>
7043
7044         * lyxlength.C: inBP should be able to return negative values
7045
7046 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * lyxfunc.C: use lyx_gui::update_fonts()
7049
7050 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7051
7052         * lyxfunc.C: use lyx_gui::update_color()
7053
7054 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7055
7056         * bufferlist.C:
7057         * lyxfunc.h:
7058         * lyxfunc.C:
7059         * lyxrc.h:
7060         * lyxrc.C: remove file->new asks for name option, and let
7061           buffer-new take an argument
7062
7063 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7064
7065         * BufferView_pimpl.C: remove unneeded extra repaint()
7066
7067 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7068
7069         * LyXAction.C: allow command-sequence with NoBuffer
7070
7071         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7072
7073 2002-07-10  Angus Leeming  <leeming@lyx.org>
7074
7075         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7076
7077 2002-07-09  Angus Leeming  <leeming@lyx.org>
7078
7079         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7080
7081 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7082
7083         * lengthcommon.h: whitespace
7084
7085         * lyxfunc.C: update scrollbar after goto paragraph
7086
7087         * lyxtext.h: factor out page break drawing, and fix it so
7088           page break/added space paints as selected nicely
7089
7090 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7091
7092         * BufferView_pimpl.C: add FIXMEs, clean up a little
7093
7094 2002-07-09  André Pönitz <poenitz@gmx.net>
7095
7096         * lyxfont.[Ch]: support for wasy symbols
7097
7098 2002-07-08  André Pönitz <poenitz@gmx.net>
7099
7100         * BufferView_pimpl.C: apply John's patch for #93.
7101
7102 2002-07-05  Angus Leeming  <leeming@lyx.org>
7103
7104         * BufferView_pimpl.C (buffer): generate previews if desired.
7105
7106         * LColor.h: add "preview" to the color enum.
7107
7108         * LColor.C (LColor): add a corresponding entry to the items array.
7109
7110         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7111         with this buffer.
7112
7113 2002-07-05  Angus Leeming  <leeming@lyx.org>
7114
7115         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7116         The body of the code is now in the method that is passed an ostream &
7117         rather than a file name.
7118         Pass an additional only_preamble parameter, useful for the forthcoming
7119         preview stuff.
7120
7121 2002-07-03  André Pönitz <poenitz@gmx.net>
7122
7123         * lyxfunc.C: simplify getStatus() a bit for math stuff
7124
7125 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7126
7127         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7128
7129 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7130
7131         * text.C (changeRegionCase): do not change case of all the
7132         document when region ends at paragraph end (bug #461)
7133
7134 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7135
7136         * paragraph.C (startTeXParParams):
7137         (endTeXParParams): add \protect when necessary
7138
7139 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7140
7141         * BufferView_pimpl.C (workAreaExpose): remove warning
7142
7143 2002-06-27  Angus Leeming  <leeming@lyx.org>
7144
7145         * Makefile.am: add lyxlayout_ptr_fwd.h.
7146
7147 2002-06-26  André Pönitz <poenitz@gmx.net>
7148
7149         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7150
7151 2002-06-25  Angus Leeming  <leeming@lyx.org>
7152
7153         * lyxfunc.C (dispatch): Comment out the call to
7154         grfx::GCache::changeDisplay. The method no longer exists now that the
7155         pixmap generation part of the graphics loader has been moved into
7156         InsetGraphics.
7157
7158 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7159
7160         * text2.C: layout as layout
7161
7162         * text.C: layout as layout
7163
7164         * tabular.C (OldFormatRead): layout as layout
7165
7166         * paragraph_pimpl.C (TeXDeeper): layout as layout
7167         (realizeFont): layout as layout
7168
7169         * paragraph.C (writeFile): layout as layout
7170         (validate): layout as layout
7171         (getFont): layout as layout
7172         (getLabelFont): layout as layout
7173         (getLayoutFont): layout as layout
7174         (breakParagraph): layout as layout
7175         (stripLeadingSpaces): layout as layout
7176         (getEndLabel): layout as layout
7177         (getMaxDepthAfter): layout as layout
7178         (applyLayout): layout as layout
7179         (TeXOnePar): layout as layout
7180         (simpleTeXOnePar): layout as layout
7181         (TeXEnvironment): layout as layout
7182         (layout): layout as layout
7183         (layout): layout as layout
7184
7185         * lyxtextclass.C (compare_name): new functor to work with
7186         shared_ptr, layout as layout
7187         (Read): layout as layout
7188         (hasLayout): layout as layout
7189         (operator): layout as layout
7190         (delete_layout): layout as layout
7191         (defaultLayout): layout as layout
7192
7193         * lyxlayout_ptr_fwd.h: new file
7194
7195         * lyxlayout.C (Read): layout as layout
7196
7197         * lyx_cb.C (MenuInsertLabel): layout as layout
7198
7199         * bufferlist.C (newFile): layout as layout
7200
7201         * buffer.C (readLyXformat2): layout as layout
7202         (parseSingleLyXformat2Token): layout as layout
7203         (insertStringAsLines): layout as layout
7204         (asciiParagraph): layout as layout
7205         (latexParagraphs): layout as layout
7206         (makeLinuxDocFile): layout as layout
7207         (simpleLinuxDocOnePar): layout as layout
7208         (makeDocBookFile): layout as layout
7209         (simpleDocBookOnePar): layout as layout
7210         (getLists): layout as layout
7211
7212         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7213
7214         * CutAndPaste.C (cutSelection): layout as layout
7215         (pasteSelection): layout as layout
7216         (SwitchLayoutsBetweenClasses): layout as layout
7217
7218         * BufferView_pimpl.C (Dispatch): layout as layout
7219         (smartQuote): layout as layout
7220
7221         * BufferView2.C (unlockInset): layout as layout
7222
7223 2002-06-24  André Pönitz <poenitz@gmx.net>
7224
7225         * lyxfunc.C: fix #487
7226
7227 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * lyxrc.h:
7230         * lyxrc.C:
7231         * lyxfunc.C: remove display_shortcuts, show_banner
7232
7233 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7234
7235         * Buffer_pimpl.C: oops, update on resize
7236
7237 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7238
7239         * buffer.C:
7240         * converter.C:
7241         * exporter.C:
7242         * lyxfunc.C:
7243         * BufferView.h:
7244         * BufferView.C: use repaint()
7245
7246         * BufferView_pimpl.h:
7247         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7248           as it's a clearer description. Remove superfluous
7249           redraws.
7250
7251 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7252
7253         * text.C: fix bug 488. Not ideal, but getting
7254           getWord() to work properly for the insets that
7255           matter is more difficult ...
7256
7257 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * BufferView_pimpl.C:
7260         * LyXAction.C:
7261         * commandtags.h:
7262         * lyxfunc.C: remove the six million index lyxfuncs to just
7263           one, and DTRT (bug 458)
7264
7265 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7266
7267         * BufferView.h:
7268         * BufferView.C:
7269         * BufferView_pimpl.h:
7270         * BufferView_pimpl.C: clean up resize() stuff,
7271           and unnecessary updateScreen()s
7272
7273 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7274
7275         * BufferView.h:
7276         * BufferView.C:
7277         * BufferView_pimpl.h:
7278         * BufferView_pimpl.C:
7279         * lyxfind.h:
7280         * lyxfind.C:
7281         * minibuffer.C: remove focus management of workarea,
7282           not needed. Use screen's greyOut()
7283
7284 2002-06-17  Herbert Voss  <voss@lyx.org>
7285
7286         * converter.C: (convert) do not post a message, when converting
7287         fails, let the calling function decide what to do in this case
7288
7289 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7290
7291         * lyxfunc.C: tidy up a little
7292
7293 2002-06-16    <alstrup@diku.dk>
7294
7295         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7296         Got rid of FORMS_H_LOCATION include. Now we are
7297         GUII.
7298
7299 2002-06-15  LyX Development team  <lyx@rilke>
7300
7301         * buffer.[Ch] (sgmlOpenTag):
7302         (sgmlCloseTag): Added support for avoiding pernicious mixed
7303         content. Return number of lines written.
7304
7305         (makeLinuxDocFile):
7306         (makeDocBookFile): Fixed calls to sgml*Tag.
7307         Simple white space clean.
7308
7309         (simpleDocBookOnePar): Simple white space clean.
7310
7311         * tabular.[Ch] (docBook): Renamed to docbook and got another
7312         argument to related with the pernicious mixed content.
7313
7314         (docbookRow): Fixed calls for docbook inset method.
7315
7316 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7317
7318         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7319         so it's X11 independent.
7320
7321         * kb*.[Ch]: ditto.
7322
7323         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7324
7325 2002-06-15  Lyx Development team  <lyx@electronia>
7326
7327         * intl.h: Renamed getTrans to getTransManager.
7328
7329 2002-06-14  Angus Leeming  <leeming@lyx.org>
7330
7331         * Makefile.am: nuke forgotten stl_string_fwd.h.
7332
7333 2002-06-12  Angus Leeming  <leeming@lyx.org>
7334
7335         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7336
7337 2002-06-13  Angus Leeming  <leeming@lyx.org>
7338
7339         * LaTeX.C:
7340         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7341
7342 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7343
7344         * kbmap.C (getiso): add support for cyrillic and greek
7345
7346 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * BufferView.h:
7349         * BufferView.C:
7350         * BufferView_pimpl.h:
7351         * BufferView_pimpl.C: move bogus scrolling logic
7352           to xforms
7353
7354 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7355
7356         * lyxfunc.C:
7357         * BufferView_pimpl.C: view->resize() change
7358
7359 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * BufferView_pimpl.C: topCursorVisible
7362           prototype change
7363
7364 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7365
7366         * Makefile.am:
7367         * lyx_gui.h:
7368         * lyx_gui.C: move to frontends/
7369
7370         * main.C:
7371         * lyx_main.h:
7372         * lyx_main.C: changes from above
7373
7374 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * intl.C:
7377         * intl.h:
7378         * kbmap.C:
7379         * kbsequence.C:
7380         * lyx_cb.C:
7381         * lyx_main.C: minor tidy
7382
7383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * BufferView_pimpl.h:
7386         * BufferView_pimpl.C:
7387         * BufferView.h:
7388         * BufferView.C: make painter() const,
7389           remove dead code
7390
7391         * BufferView2.C: use screen() accessor
7392
7393         * lyx_main.h:
7394         * lyx_main.C: some minor cleanup
7395
7396 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * BufferView_pimpl.h:
7399         * BufferView_pimpl.C: remove enter/leaveView,
7400           use workHeight()
7401
7402 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7403
7404         * BufferView.h:
7405         * BufferView.C:
7406         * BufferView2.C:
7407         * BufferView_pimpl.h:
7408         * BufferView_pimpl.C: only construct screen once,
7409           rename
7410
7411         * lyxrc.C: remove pointless comment
7412
7413 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7414
7415         * BufferView.h:
7416         * BufferView.C: remove active() and belowMouse()
7417
7418         * BufferView_pimpl.h:
7419         * BufferView_pimpl.C: use workarea() not workarea_,
7420           and make it use a scoped_ptr instead
7421
7422 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7423
7424         * lyx_gui.C: add debug message on BadWindow
7425
7426 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7427
7428         * sp_spell.C: fdopen is not part of the C++ standard.
7429
7430         * paragraph.C (InsetIterator): use >= instead of ==
7431
7432 2002-06-07  Angus Leeming  <leeming@lyx.org>
7433
7434         Fixes needed to compile with Compaq cxx 6.5.
7435         * BufferView_pimpl.C:
7436         * DepTable.C:
7437         * buffer.C:
7438         * converter.C:
7439         * encoding.C:
7440         * lyx_gui.C:
7441         * lyx_main.C:
7442         * lyxtextclasslist.C:
7443         * minibuffer.C:
7444         * sp_spell.C:
7445         * tabular_funcs.C:
7446         * vc-backend.C:
7447         all c-library variables have been moved into namespace std. Wrap
7448         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7449
7450         * lyxlength.C:
7451         * tabular-old.C:
7452         * tabular.C:
7453         Add a using std::abs declaration.
7454
7455         * kbmap.h (modifier_pair):
7456         * paragraph.h (InsetTable, InsetList):
7457         * lyxfont.h (FontBits):
7458         type definition made public.
7459
7460         * bufferlist.C (emergencyWriteAll): the compiler complains that
7461         there is more than one possible lyx::class_fun template to choose from.
7462         I re-named the void specialisation as lyx::void_class_fun.
7463
7464         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7465
7466         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7467         the compiler is is unable to find tostr in write_attribute.
7468
7469 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7470
7471         * buffer.C (sgmlError): hide #warning
7472
7473 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7474
7475         * xtl/*: get rid of xtl, which is not in use anyway
7476
7477         * LyXAction.C (init):
7478         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7479         were unimplemented xtl experimentation
7480
7481 2002-06-04  André Pönitz <poenitz@gmx.net>
7482
7483         * lyxfunc.C: disable array operation on simple formulae
7484
7485 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * converter.C: constify a bit
7488
7489 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7490
7491         * lyx_gui.C: check xforms version correctly
7492
7493 2002-04-30  Herbert Voss  <voss@lyx.org>
7494
7495         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7496         "keep" option
7497
7498 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7501           attempt to register it with a VCS)
7502
7503 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7504
7505         * lyx_main.C (init): honor variables LYX_DIR_13x and
7506         LYX_USERDIR_13x
7507
7508 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7509
7510         * buffer.h:
7511         * buffer.C:
7512         * lyx_main.C: fix a crash on bad command line,
7513           and give a useful exit status on error
7514
7515         * lyxfunc.C (doImport): allow -i lyx to work
7516
7517 2002-03-30  André Pönitz <poenitz@gmx.net>
7518
7519         * lyxfunc.C: mathed font changes
7520
7521 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7522
7523         * LaTeX.C:
7524         * importer.h:
7525         * importer.C:
7526         * lyx_sty.h:
7527         * lyx_sty.C:
7528         * lyxlex.C:
7529         * lyxrow.h:
7530         * lyxtext.h:
7531         * paragraph.h:
7532         * paragraph.C:
7533         * texrow.h:
7534         * texrow.C:
7535         * text.C:
7536         * trans_mgr.h: srcdocs, and some minor cleanups
7537
7538 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7539
7540         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7541         call getFont all the time)
7542
7543 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7544
7545         * switch from SigC signals to boost::signals
7546
7547 2002-05-29  André Pönitz <poenitz@gmx.net>
7548
7549         * paragraph_pimpl.C (getChar): don't call size() too often...
7550
7551 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7552
7553         * paragraph_pimpl.C (insertChar): do not try to update tables when
7554         appending (pos == size())
7555
7556         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7557         in order to reduce drastically the number of comparisons needed to
7558         parse a large document
7559
7560 2002-05-29  André Pönitz <poenitz@gmx.net>
7561
7562         * text.C:
7563         * text2.C:
7564         * lyxtextclass.C:
7565         * sp_pspell.h:
7566         * textclasslist.[Ch]:
7567         * sp_ispell.h: whitespace change
7568
7569 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7570
7571         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7572         lyxaction directly now.
7573
7574 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7575
7576         * trans.C:
7577         * lyxfont.C:
7578         * lyxvc.C: remove unused headers
7579
7580 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7581
7582         * Makefile.am:
7583         * buffer.h:
7584         * undostack.h:
7585         * undostack.C:
7586         * undo_funcs.h:
7587         * undo_funcs.C: some cleanups. Use shared_ptr
7588           and a template for the undo stacks.
7589
7590 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7591
7592         * BufferView_pimpl.h:
7593         * BufferView_pimpl.C:
7594         * kbmap.h:
7595         * kbmap.C:
7596         * kbsequence.h:
7597         * kbsequence.C:
7598         * lyxfunc.h:
7599         * lyxfunc.C:
7600         * text2.C: use key_state/mouse_state
7601
7602 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7603
7604         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7605         and LSubstring
7606
7607         * chset.C: change include order
7608         (loadFile): use boost regex and get rid of LRegex and LSubstring
7609
7610         * Makefile.am (BOOST_LIBS): new variable
7611         (lyx_LDADD): use it
7612
7613         * LaTeX.C: change include order.
7614         (scanAuxFile): use boost regex and get rid of LRegex and
7615         LSubstring
7616         (deplog): ditto
7617
7618 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7619
7620         * ColorHandler.h:
7621         * ColorHandler.C:
7622         * FontInfo.h:
7623         * FontInfo.C: moved to frontends/xforms/
7624
7625         * FontLoader.h:
7626         * FontLoader.C: moved into frontends for GUIIzation
7627
7628         * Makefile.am:
7629         * lyx_gui.C:
7630         * lyxfont.C:
7631         * lyxfunc.C: changes from above
7632
7633 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * LColor.C: remove spurious X include
7636
7637         * BufferView_pimpl.C:
7638         * Makefile.am:
7639         * font.h:
7640         * font.C:
7641         * text.C:
7642         * text2.C: move font metrics to frontends/
7643
7644 2002-05-24  Juergen Vigna  <jug@sad.it>
7645
7646         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7647         setting the undo_cursor.
7648
7649         * ParagraphParameters.h: include local includes first.
7650
7651 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * BufferView_pimpl.C:
7654         * BufferView_pimpl.h:
7655         * Makefile.am:
7656         * WorkArea.h:
7657         * WorkArea.C:
7658         * screen.C: move WorkArea into frontends/
7659
7660         * lyxscreen.h:
7661         * screen.C:
7662         * text.C:
7663         * BufferView.C:
7664         * BufferView2.C: move LyXScreen into frontends/
7665
7666         * lyxlookup.h:
7667         * lyxlookup.C:
7668         * lyx_gui.C: move lyxlookup into frontends/xforms/
7669
7670 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7671
7672         * BufferView2.C:
7673         * BufferView_pimpl.C:
7674         * FontLoader.C:
7675         * LyXView.h:
7676         * LyXView.C:
7677         * Makefile.am:
7678         * WorkArea.C:
7679         * XFormsView.h:
7680         * XFormsView.C:
7681         * buffer.C:
7682         * bufferlist.C:
7683         * bufferview_funcs.C:
7684         * converter.C:
7685         * importer.C:
7686         * lyx_cb.C:
7687         * lyx_gui.C:
7688         * lyx_main.C:
7689         * lyx_find.C:
7690         * lyxfunc.C:
7691         * lyxvc.C:
7692         * minibuffer.C:
7693         * text.C:
7694         * text2.C:
7695         * trans.C:
7696         * vc-backend.C: move LyX/XFormsView into frontends/
7697
7698 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7699
7700         * Makefile.am:
7701         * PainterBase.C:
7702         * PainterBase.h:
7703         * Painter.C:
7704         * Painter.h:
7705         * WorkArea.C:
7706         * WorkArea.h:
7707         * screen.C:
7708         * tabular.C:
7709         * text.C:
7710         * text2.C: move Painter to frontends/
7711
7712 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7713
7714         * buffer.C: comment out some some code that depend upon lyx_format
7715         < 220
7716
7717         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7718         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7719
7720         * buffer.h (NO_COMPABILITY): turn off compability
7721
7722         * ColorHandler.C: include scoped_array.hpp
7723
7724         * font.C: Use more specific smart_ptr header.
7725         * Painter.C: ditto
7726         * gettext.C: ditto
7727         * ShareContainer.h: ditto
7728         * lyx_main.h: ditto
7729         * kbmap.h: ditto
7730         * FontInfo.h: ditto
7731         * BufferView_pimpl.h: ditto
7732         * ColorHandler.h: ditto
7733
7734         * kbmap.C (defkey): change call to shared_ptr::reset
7735
7736 2002-05-21  Juergen Vigna  <jug@sad.it>
7737
7738         * buffer.C (insertErtContents): fix to insert ert asis if it is
7739         non empty. Skip it completely if it contains only whitespaces.
7740
7741 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * BufferView_pimpl.C:
7744         * BufferView2.C: clear selection on paste (bug 393)
7745
7746 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7747
7748         * DepTable.C: include ctime
7749
7750 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7751
7752         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7753
7754 2002-05-14  Juergen Vigna  <jug@sad.it>
7755
7756         * text.C (breakParagraph): fixed function to honor the keepempty
7757         layout in the right maner and also to permit the right breaking
7758         algorithm on empty or non empyt keepempty paragraphs.
7759
7760         * paragraph.C (breakParagraph): we have to check also if the par
7761         is really empty (!size()) for isempty otherwise we do the wrong
7762         paragraph break.
7763
7764 2002-05-10  Juergen Vigna  <jug@sad.it>
7765
7766         * buffer.[Ch] : The following are only changes to the ert
7767         compatibility read reading old LaTeX layout and font stuff and
7768         convert it to ERTInsets.
7769
7770         * buffer.h: added isErtInset().
7771
7772         * buffer.C (struct ErtComp): add a fromlayout bool to check
7773         if we're inside a LaTeX layout.
7774         (isErtInset): new helper function.
7775         (insertErtContents): look for other ert insets before this one
7776         and insert the contents there, so that we don't have subsequent
7777         ERT insets with nothing between them. This way we create only one
7778         inset with multiple paragraphs. Also check if we don't insert only
7779         spaces ' ' as they are ignored anyway afterwards in the .tex file
7780         so if we have only spaces we will ignore this latex part in the
7781         new file.
7782         (parseSingleLyXformat2Token \\layout): better compatibility when
7783         reading layout-latex stuff.
7784         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7785         language tag.
7786         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7787         stuff after reading the inset only get the information back from
7788         the stack.
7789
7790 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7791
7792         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7793
7794         * LaTeXFeatures.C (getBabelOptions): New method.
7795
7796 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7797
7798         * BufferView_pimpl.C (Dispatch): work around missing argument for
7799         'layout'
7800
7801 2002-05-08  Juergen Vigna  <jug@sad.it>
7802
7803         * text.C (leftMargin): handle paragraph leftindent.
7804
7805         * paragraph.C (writeFile): write the new \\leftindent tag.
7806         (validate): handle leftindent code.
7807         (TeXEnvironment): handle paragraphleftindent code again.
7808
7809         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7810
7811         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7812         for paragrap_extra indent code and new token \\leftindent.
7813         (latexParagraphs): handle the leftindent as environment.
7814
7815         * ParameterStruct.h: added leftindent support.
7816
7817         * ParagraphParameters.C (leftIndent): added support functions for
7818         the paragraph left indent.
7819
7820         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7821         more appropriate.
7822
7823 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7824
7825         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7826         inside insetERT.
7827
7828         * text.C (computeBidiTables): No bidi in insetERT.
7829
7830         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7831         in RTL documents.
7832
7833 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7834
7835         * version.C.in: pre 5
7836
7837 2002-05-02  José Matos  <jamatos@fep.up.pt>
7838         * buffer.C (makeDocBookFile): white space changes, add newline to
7839         command styles.
7840         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7841
7842         * tabular.C (docBook): fix typo.
7843
7844 2002-05-03  Juergen Vigna  <jug@sad.it>
7845
7846         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7847         change in LyXText as we can not be sure it was not freed.
7848         (drawOneRow): remove unused code.
7849
7850         * text.C (drawInset): redo the calculation of the need_break_row as
7851         it could have a row which was already freed.
7852         (draw): look at the return value of drawInset and return false if
7853         it also returned false.
7854         (paintRowText): look at the return value of draw and return false if
7855         it also returned false.
7856
7857         * lyxtext.h: added bool return type to drawInset() and draw() so that
7858         if we have a change in the row so that the rowbreak has to be redone
7859         we abort drawing as it will be called again.
7860
7861 2002-05-02  Juergen Vigna  <jug@sad.it>
7862
7863         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7864         a change in the maintext also if we're inside an inset.
7865         (Dispatch): set the cursor again after a break line and after the
7866         screen has been updated as it could be we're in a different row.
7867
7868         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7869         to set the cursor behind the pargraph with > size().
7870         (setCursor): check also for the same paragraph when checking where
7871         to put the cursor if we have a NFR inset.
7872
7873         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7874         parts of layout read further up as it still was in the wrong
7875         position.
7876
7877 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7878
7879         * screen.C (drawFromTo): change sine fullRebreak always return
7880         true.
7881
7882         * buffer.C (parseSingleLyXformat2Token): reindent some
7883
7884         * BufferView_pimpl.C (update): change since fullRebreak always
7885         return true.
7886         (Dispatch): git rid of the last hardcoded "Standard"s.
7887
7888 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7889
7890         * text2.[Ch] (fullRebreak): make it return void now that we always
7891         returned true.
7892
7893 2002-04-30  Juergen Vigna  <jug@sad.it>
7894
7895         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7896         ert compatibility check for "latex" layout.
7897
7898 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7899
7900         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7901         minipages: use col% instead of p%, and also use the current font.
7902         (makeLaTeXFile): Fix use babel condition.
7903         (parseSingleLyXformat2Token): Correct font when reading old floats.
7904
7905 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7906
7907         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7908         inserting list of floats.
7909
7910 2002-04-25  Herbert Voss  <voss@lyx.org>
7911
7912         * MenuBackend.C (expand): don't add the graphics extensions to the
7913         export menu
7914
7915 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7918         non-existing layout, do not complain if it was the default layout
7919         of the original class (bug #342)
7920
7921 2002-04-24  Juergen Vigna  <jug@sad.it>
7922
7923         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7924         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7925
7926 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7927
7928         * buffer.C (getBibkeyList): If using \bibliography, return the
7929         option field with the reference itself. Enables us to provide natbib
7930         support when using \bibliography.
7931
7932 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7933
7934         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7935
7936         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7937         natbib is provided by the LaTeX class.
7938
7939 2002-04-23  Juergen Vigna  <jug@sad.it>
7940
7941         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7942         Wakeup functions.
7943
7944         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7945
7946 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7947
7948         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7949
7950         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7951         ensuremath around textordmasculine, textordfeminine and
7952         textdegree.
7953
7954 2002-04-19  Juergen Vigna  <jug@sad.it>
7955
7956         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7957         reinitializing the buffer otherwise row-dimensions may be wrong.
7958         (update): reset also the selection cursors if they do exits otherwise
7959         their x/y positions may be wrong.
7960
7961         * text2.C (cursorDown): don't enter the inset if we came from a row
7962         above and are one row over the inset.
7963
7964         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7965         really leaving an inset.
7966
7967 2002-04-18  Juergen Vigna  <jug@sad.it>
7968
7969         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7970         of the selected paragraph does not have the selected layout also if
7971         the last one had!
7972
7973         * text2.C (setLayout): fixed bug which did not change last selected
7974         paragraph.
7975
7976         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7977         changed the read and substituted \\end_float with \\end_inset!
7978
7979         * BufferView_pimpl.C (cursorPrevious):
7980         (cursorNext): fixed to make it work with rows heigher than the work
7981         area without moving the cursor only the draw of the row.
7982         (workAreaMotionNotify): fix jumping over high rows.
7983
7984 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7985
7986         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7987         Ressler.
7988
7989 2002-04-16  Juergen Vigna  <jug@sad.it>
7990
7991         * text2.C (setCursor): set also the irow().
7992         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7993         (cursorUp):
7994         (cursorDown): support for locking an inset if the x_fix value goes
7995         inside it. That way I can transverse insets too with cursor up/down.
7996
7997         * lyxrow.h: added irow helper function same as other (i) functions.
7998
7999         * BufferView_pimpl.C (cursorPrevious):
8000         (cursorNext): fixed for insets!
8001
8002 2002-04-15  Juergen Vigna  <jug@sad.it>
8003
8004         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8005         position otherwise it is wrong in some cases.
8006
8007         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8008         inside the inset before the call.
8009
8010 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8011
8012         * buffer.[Ch] (getBibkeyList): make it const.
8013
8014 2002-04-12  Juergen Vigna  <jug@sad.it>
8015
8016         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8017
8018         * text2.C (getCursorX): new helper function
8019         (setCursor): compute also ix_
8020         (setCursorFromCoordinates): set also ix.
8021
8022         * lyxcursor.h: added ix_ and helper functions.
8023
8024         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8025
8026         * buffer.C (insertStringAsLines): dont break paragraph if the this
8027         paragraph is inside an inset which does not permit it!
8028
8029         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8030         also with no chars on this paragraph.
8031         (paintRowText): only paint stuff if it's inside the workarea!
8032
8033         * paragraph.C (breakParagraph): honor keepempty flag and break the
8034         paragraph always below not above.
8035
8036         * BufferView2.C (unlockInset): update the paragraph layout on inset
8037         unlock as we changed paragraph in such a case.
8038
8039         * lyxfind.C (LyXFind): clear the former selection if not found!
8040
8041         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8042         again called in insertChar().
8043
8044         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8045         an inset which uses the whole row!
8046         (rightMargin): ditto.
8047         (insertChar): force a rebreak if we inserted an inset!
8048
8049 2002-03-28  Herbert Voss  <voss@lyx.org>
8050
8051         * lyxlength.[Ch]: add inBP() to get the right PS-point
8052         units (BigPoint). With inPixels we have rounding errors
8053
8054 2002-04-11  Juergen Vigna  <jug@sad.it>
8055
8056         * text2.C (setCursorFromCoordinates): set iy to the right value.
8057         (setCursor): add check if row->previous exists!
8058
8059         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8060         an old float_type as this was the case in the old code!
8061
8062         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8063
8064         * BufferView2.C (showLockedInsetCursor): use iy
8065         (fitLockedInsetCursor): ditto
8066
8067         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8068         locked insets as there we have the right value now.
8069
8070         * lyxcursor.C: added iy_ variable and iy functions to set to the
8071         baseline of cursor-y of the locked inset.
8072
8073         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8074         (setCursor): fixed for insets which need a full row.
8075
8076         * text.C (rowLastPrintable): don't ignore the last space when before
8077         an inset which needs a full row.
8078         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8079         as last character of a row when before a inset which needs a full row.
8080
8081 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8082
8083         * version.C.in: update date
8084
8085         * text2.C (fullRebreak): try to always return true and see what
8086         happens...
8087
8088 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8089
8090         * MenuBackend.C (expand): use Floating::listName
8091
8092         * FloatList.C (FloatList): add listName argument to the built-in
8093         floats
8094
8095         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8096         text associated with the float.
8097
8098 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8101
8102 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8103
8104         * ShareContainer.h: add a couple of missing typenames.
8105
8106 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8107
8108         * lyxrc.C (getDescription): use _() correctly rather than N_().
8109
8110 2002-03-28  Herbert Voss  <voss@lyx.org>
8111
8112         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8113         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8114
8115 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8118         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8119
8120 2002-03-29  Juergen Vigna  <jug@sad.it>
8121
8122         * lyxfunc.C (dispatch): add a missing fitCursor call.
8123
8124         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8125         it was scrolled by a cursor move, so return the bool status.
8126
8127         * BufferView.C (fitCursor): return the bool flag also to the outside
8128         world as this is needed.
8129
8130         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8131
8132         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8133         call the edit() as it is not needed (and wrong) IMO.
8134         (workAreaButtonPress): set the screen_first variable before evt.
8135         unlock the inset as this may change screen_first and then we have
8136         a wrong y position for the click!
8137
8138 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * MenuBackend.C (expand): another translation that I missed
8141
8142 2002-03-28  Juergen Vigna  <jug@sad.it>
8143
8144         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8145
8146         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8147
8148 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8149
8150         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8151
8152         * MenuBackend.C (expand): fix export/view/update when there is no
8153         document open.
8154
8155 2002-03-27  Herbert Voss  <voss@lyx.org>
8156
8157         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8158         and text%
8159
8160 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8161
8162         * bufferview_funcs.C (currentState): only show paragraph number
8163         for is DEVEL_VERSION is set.
8164
8165         * lyxfunc.C (dispatch): put warning in INFO channel
8166
8167         * MenuBackend.C (expand): translate the name of floats
8168
8169         * FloatList.C (FloatList): mark the float names for translation
8170
8171         * converter.C (convert): use LibScriptSearch
8172
8173 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * MenuBackend.C (defaults): fix default menu (we might as well get
8176         rid of it...)
8177
8178 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8179
8180         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8181         directory.
8182
8183 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8184
8185         * lyxvc.C: reorder includes.
8186
8187 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8190           properly
8191
8192 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8193
8194         * CutAndPaste.C: change layouts earlier on paste
8195           to avoid crashing when calling getFont()
8196
8197 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8198
8199         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8200         irritating #error.
8201
8202 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8203
8204         * WorkArea.C: remove 'Pending' debug message.
8205
8206         * most files: ws cleanup
8207
8208         * buffer.[Ch]: ws changes
8209
8210         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8211
8212 2002-03-21  Juergen Vigna  <jug@sad.it>
8213
8214         * tabular.C (SetMultiColumn): collapse also the contents of the
8215         cells and set the last border right. Added a Buffer const * param.
8216
8217 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8218
8219         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8220         linking or not.
8221
8222 2002-03-19  Juergen Vigna  <jug@sad.it>
8223
8224         * text2.C (clearSelection): reset also xsel_cache.
8225
8226         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8227         where it needs to be called (John tells us to do so too :)
8228         (selectionLost): reset sel_cache.
8229
8230         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8231
8232 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8233
8234         * text2.C (setCursorIntern): put debuging code in INSETS channel
8235
8236 2002-03-19  André Pönitz <poenitz@gmx.net>
8237
8238         * lyxfunc.C: tiny whitespace change
8239
8240 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * ToolbarDefaults.C (init):
8243         * LyXAction.C (init):
8244         * commandtags.h:
8245         * BufferView_pimpl.C (Dispatch):
8246         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8247
8248 2002-03-19  Allan Rae  <rae@lyx.org>
8249
8250         * exporter.C (Export): removeAutoInsets before doing anything else.
8251         While I've just introduced a dependency on BufferView this really is
8252         the best place to clean the buffer otherwise you need to cleanup in
8253         a dozen places before calling export or cleanup in a dozen functions
8254         that export calls.
8255
8256         * converter.C (runLaTeX):
8257         (scanLog): Better handling of removeAutoInsets and screen updates.
8258
8259         * lyxfunc.C (dispatch): small whitespace changes
8260
8261 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8262
8263         * WorkArea.C (C_WorkAreaEvent): return a value.
8264         (event_cb): return 1 if we handled the event, 0 otherwise.
8265
8266         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8267
8268 2002-03-18  Juergen Vigna  <jug@sad.it>
8269
8270         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8271         (GetAdditionalWidth): ditto.
8272         (RightLine): ditto.
8273         (LeftLine): ditto.
8274
8275         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8276         inset if we're there actually (probably not used right now but this
8277         is the direction to go for unifying code).
8278         (paste): disable code to clear the selection.
8279
8280         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8281         inside an InsetText and move the check further up as it is in the
8282         wrong place.
8283
8284         * text2.C (pasteSelection): set a selection over the pasted text.
8285
8286 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8287
8288         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8289         and libgraphics to build on Cygwin.
8290
8291 2002-03-15  Juergen Vigna  <jug@sad.it>
8292
8293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8294         inserting an Inset into the paragraph. I know this is not the best
8295         fix but we already use current_view in CutAndPaste so we will remove
8296         all of it's using at the same time.
8297
8298         * buffer.C (sgmlError): deactivated function till it is rewritten in
8299         the right mode, now it can create problems.
8300
8301         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8302         before accessing it.
8303
8304 2002-03-14  Juergen Vigna  <jug@sad.it>
8305
8306         * undo_funcs.C (textHandleUndo): do the right thing when updating
8307         the inset after the undo/redo.
8308
8309         * text2.C (setCursor): just some testcode for #44 not ready yet.
8310
8311         * undo_funcs.C (textHandleUndo): set the next() and previous()
8312         pointers of the paragraph to 0 before deleting otherwise we have
8313         problems with the Paragraph::[destructor].
8314
8315         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8316         on a paragraph insertion.
8317
8318 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8319
8320         * buffer.C (asciiParagraph): use += operator for char append to
8321         string.
8322
8323         * paragraph.C (getFontSettings): compare >= not just >
8324         (highestFontInRange): ditto
8325         (setFont): ditto
8326
8327 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8328
8329         * paragraph.C: change several algorithm to be more appripriate for
8330         the problem domain. This is lookip in FontList and in the InsetList.
8331
8332 2002-03-13  André Pönitz <poenitz@gmx.net>
8333
8334         * commandtags.h:
8335         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8336
8337 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8338
8339         * commandtags.h:
8340         * LyXAction.C:
8341         * lyxfunc.C:
8342         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8343
8344 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8345
8346         * Painter.C (display): anon helper function, adjust code for this
8347         change.
8348         (pixmap): remove function.
8349
8350         * Painter.h: remove private display variable.
8351
8352         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8353
8354 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8355
8356         * WorkArea.[Ch]: remove figinset_canvas cruft.
8357
8358 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * lyxtextclass.C (operator): add one item cache optimization.
8361
8362         * bufferlist.h: doxy changes
8363
8364         * bufferlist.C: ws changes
8365
8366         * DepTable.[Ch] (ext_exist): place const in the right spot.
8367
8368         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8369         call resizeInsets.
8370         (workAreaExpose): call resizeInsets when the with BufferView changes.
8371         (Dispatch): adjust for protectedBlank removal
8372         (specialChar): call updateInset if the insert went ok.
8373
8374         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8375         specialChar instead.
8376
8377         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8378
8379         * BufferView.h: doxy change
8380
8381         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8382
8383         * lyxtextclass.C (operator[]): remove non-const version
8384         (defaultLayout): remove non-const version
8385
8386 2002-03-12  Juergen Vigna  <jug@sad.it>
8387
8388         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8389         did resize the LyXText too.
8390
8391         * buffer.C (readLyXformat2): set layout information on newly allocated
8392         paragraphs.
8393
8394         * tabular.C (OldFormatRead): set layout information on the paragraph.
8395
8396 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8397
8398         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8399
8400 2002-03-11  Juergen Vigna  <jug@sad.it>
8401
8402         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8403         plainly wrong.
8404         (resizeCurrentBuffer): force also the insets to resize themselfes.
8405         (moveCursorUpdate): fixed up for InsetText.
8406
8407 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8408
8409         * commandtags.h:
8410         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8411         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8412         value of Dialogs::tooltipsEnabled().
8413         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8414
8415 2002-03-08  Juergen Vigna  <jug@sad.it>
8416
8417         * BufferView_pimpl.C (updateInset): update inset inside inset also
8418         if it isn't inside theLockingInset().
8419
8420 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8421
8422         * buffer.C (asciiParagraph): redo some of the word and line length
8423         handling.
8424         (getLists): look for Caption instead of caption.
8425
8426 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8427
8428         * buffer.C (Buffer): initialize niceFile to true
8429         (makeLaTeXFile):
8430         (makeLinuxDocFile):
8431         (makeDocBookFile): make sure niceFile is true on exit
8432
8433 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8436
8437 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8438
8439         * LyXSendto.C: remove.
8440         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8441         * lyx_gui.C: remove now-redundant comment.
8442         * ColorHandler.h: remove forward declaration of class WorkArea.
8443         * lyxfunc.C: remove #include "WorkArea.h".
8444
8445 2002-03-07  Juergen Vigna  <jug@sad.it>
8446
8447         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8448         got moved away with the DEPM and also set the inset_owner always
8449         right which before could have been omitted.
8450
8451 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8452
8453         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8454         wanted layout is not found.
8455
8456 2002-03-07  Juergen Vigna  <jug@sad.it>
8457
8458         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8459
8460 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8461
8462         * paragraph.C (breakParagraph): use default layout not layout of
8463         prev paragraph.
8464         (Paragraph): clear ParagraphParameters.
8465
8466 2002-03-06  Juergen Vigna  <jug@sad.it>
8467
8468         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8469         otherwise it would not be a valid lenght. Fixed a special case in
8470         the minipage compatibility read where we end the document with a
8471         minipage.
8472
8473         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8474         was set as it could be 0 for InsetTexts first entry.
8475
8476 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8477
8478         * paragraph.C (writeFile): if layout is empty write out
8479         defaultLayoutName().
8480
8481         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8482         file without named layout we set layout to defaultLayoutName().
8483
8484 2002-03-06  Juergen Vigna  <jug@sad.it>
8485
8486         * CutAndPaste.C (copySelection): set layout for new paragraph.
8487
8488         * text.C (prepareToPrint): leave ERT inset left aligned
8489         (leftMargin): don't indent paragraphs inside ERT insets
8490
8491 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8492
8493         * paragraph.C (breakParagraph): dont call clear do the work manually
8494
8495         * paragraph.[Ch] (clear): remove function
8496
8497 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8498
8499         * paragraph.C (Paragraph): dont call clear, the work has already
8500         been done.
8501
8502         * lyxtextclass.C (operator): assert if n is empty
8503
8504         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8505         work manually instead.
8506
8507 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * BufferView_pimpl.C: protect selectionLost against text == 0
8510
8511 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8512
8513         * text.C (breakParagraph): fix a setting layout to '0' problem.
8514
8515 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8516
8517         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8518         final location of file, for the included files, and graphics.
8519
8520 2002-03-05  Juergen Vigna  <jug@sad.it>
8521
8522         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8523
8524 2002-03-04  Juergen Vigna  <jug@sad.it>
8525
8526         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8527
8528         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8529         last column of multicolumn cells.
8530         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8531
8532 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8533
8534         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8535         file if it doesn't go to a temporary file.
8536
8537         * buffer.C (sgmlOpenTag):
8538         (sgmlCloseTag):  remove extra newline insertion.
8539
8540 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8541
8542         * text.C (getRowNearY): comment out debug msg
8543
8544 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8545
8546         * text2.C: first -> first_y
8547
8548         * text.C (getRowNearY): add some attemts at a possible
8549         optimization, not working.
8550
8551         * tabular.[Ch]: add BufferParams to several function so that newly
8552         created paragraph can be initialized to he default layotu for the
8553         buffers textclass.
8554
8555         * tabular-old.C (ReadOld): add buf->params to call of Init
8556
8557         * screen.C: rename text->first to text->first_y
8558
8559         * paragraph.C (breakParagraph): always set layout in the broken
8560         paragraph
8561
8562         * lyxtextclass.C (Read): remove lowercase
8563         (hasLayout): ditto
8564         (operator): ditto
8565         (delete_layout): ditto
8566
8567         * lyxtext.h: rename first -> first_y
8568
8569         * lyxlayout.C (Read): remove lowercase
8570         (name): ditto
8571         (setName): ditto
8572         (obsoleted_by): ditto
8573
8574         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8575
8576         * buffer.C (insertErtContents): add params are to InsetERT
8577         (parseSingleLyXformat2Token): add code to check if a paragraphs
8578         layout really exist.
8579         (parseSingleLyXformat2Token): add params to several inset
8580         constructors
8581         (asciiParagraph): remove lowercase, do the layout comparisons with
8582         no_case
8583
8584         * BufferView_pimpl.C (cursorNext): first -> first_y
8585         (resizeCurrentBuffer): first -> first_y
8586         (updateScrollbar): first -> first_y
8587         (scrollCB): first -> first_y
8588         (workAreaMotionNotify): first -> first_y
8589         (workAreaButtonPress): first -> first_y
8590         (checkInsetHit): first -> first_y
8591         (cursorPrevious): first -> first_y
8592         (cursorNext): first -> first_y
8593         (Dispatch): add buffer_->params to severl inset contructors
8594
8595 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8596
8597         * lyxlayout.C (Read): remove some debug info that I forgot.
8598
8599         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8600         clean up the code slightly.
8601         (makeLinuxDocFile): ditto
8602         (makeDocBookFile): ditto
8603
8604         * text2.C: layout as string
8605
8606         * text.C: layout as string
8607
8608         * paragraph_pimpl.C: layout as string
8609
8610         * paragraph.[Ch]: layout as string
8611
8612         * lyxtextclasslist.[Ch]: layout as string
8613
8614         * lyxtextclass.[Ch]: layout as string
8615
8616         * lyxtext.h: layout as string
8617
8618         * lyxlayout.[Ch]: layout as string
8619
8620         * lyx_cb.C: layout as string
8621
8622         * bufferview_funcs.C: layout as string
8623
8624         * bufferparams.C: layout as string
8625
8626         * buffer.C: layout as string
8627
8628         * LyXView.[Ch]: layout as string
8629
8630         * LaTeXFeatures.[Ch]: layout as string
8631
8632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8633
8634         * BufferView_pimpl.C: change current_layout to string, remove
8635         lyx::layout_type.
8636         (Dispatch):
8637         (smartQuote):
8638         (insertInset):
8639         (workAreaButtonRelease): layout as string
8640
8641         * BufferView2.C (unlockInset): adjust
8642
8643         * vspace.C (asLatexCommand): use an explict temp variable.
8644
8645 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * Makefile.am: use FRONTEND_*
8648
8649 2002-03-01  Juergen Vigna  <jug@sad.it>
8650
8651         * tabular.C (SetWidthOfMulticolCell): changed to something better
8652         I hope but still work in progress.
8653         (recalculateMulticolumnsOfColumn): renamed function from
8654         recalculateMulticolCells as it is more appropriate now.
8655         (SetWidthOfCell): calculate multicols better.
8656
8657 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8660
8661         * lyxfunc.C (processKeySym): print sequence also if it is
8662         `deleted' (complete)
8663
8664         * kbsequence.C (print): print sequence even if it is deleted
8665         (complete would be a better word, actually).
8666
8667         * lyxfunc.C (dispatch): print complete options after a prefix key
8668
8669         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8670
8671 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8672
8673         * text2.C (setCharFont): eliminate setCharFont code duplication.
8674
8675 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8676
8677         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8678         LFUN_TABULAR_FEATURE (bug #177)
8679
8680 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8681
8682         * Makefile.am: remove figure.h
8683
8684 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * Bufferview_pimpl.C:
8687         * CutAndPasteC:
8688         * LaTeX.C:
8689         * LyXSendto.C:
8690         * buffer.C:
8691         * bufferlist.C:
8692         * converter.C:
8693         * language.C:
8694         * lyxfunc.C:
8695         * lyxvc.C:
8696         * paragraph.C:
8697         * text.C:
8698         * text2.C: remove #include "lyx_gui_misc.h".
8699
8700         * LaTeX.C: added #include <cstdio>
8701
8702 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8705         that the paragraph following this one can have.
8706
8707         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8708
8709         * vspace.C (asLatexCommand): fix bogus gcc warning
8710
8711         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8712
8713 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8714
8715         * text2.C (setLayout): get rid of redundant code
8716
8717 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8718
8719         * text2.C (incDepth): make sure depth cannot be increased beyond
8720         reasonable values.
8721
8722 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8723
8724         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8725         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8726
8727         * PainterBase.h (image):
8728         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8729         a LyXImage const *.
8730
8731 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * BufferView.C:
8734         * BufferView.h:
8735         * BufferView_pimpl.C:
8736         * BufferView_pimpl.h:
8737         * LaTeXFeatures.C:
8738         * LyXAction.C:
8739         * LyXView.C:
8740         * Makefile.am:
8741         * UpdateList.h:
8742         * UpdateList.C:
8743         * buffer.C:
8744         * figure.h:
8745         * figureForm.C:
8746         * figureForm.h:
8747         * figure_form.C:
8748         * figure_form.h:
8749         * lyx_cb.C:
8750         * lyx_gui.C:
8751         * lyx_gui_misc.C:
8752         * lyxfunc.C:
8753         * sp_base.h:
8754         * sp_ispell.h:
8755         * sp_pspell.h:
8756         * sp_spell.C: remove fig inset, and the crap house of
8757           cards that follows it
8758
8759 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8760
8761         * Makefile.am:
8762         * lyxserver.C:
8763         * os2_defines.h:
8764         * os2_errortable.h:
8765         * nt_defines.h: move .h into support/
8766
8767         * vms_defines.h: remove
8768
8769         * WorkArea.C: add space in debug output
8770
8771         * text2.C:
8772         * paragraph.C:
8773         * buffer.C: add WITH_WARNINGS
8774
8775         * vc-backend.h:
8776         * vc-backend.C:
8777         * bufferlist.C: s/retrive/retrieve/, add docs
8778
8779         * vspace.h:
8780         * vspace.C:
8781         * kbmap.h:
8782         * lyxlength.h:
8783         * lyxgluelength.h:
8784         * length_common.h:
8785         * chset.h:
8786         * chset.C: add docs
8787
8788         * lyxgui.C: add ID to X error handler
8789
8790         * lyxtestclass.c: fix typo
8791
8792 2002-02-26  Juergen Vigna  <jug@sad.it>
8793
8794         * tabular_funcs.C (write_attribute): changed so that some default
8795         attributes are not written at all.
8796         (getTokenValue): set default values before trying to read the
8797         value so we have the return value always set as default if we don't
8798         find the token we search for.
8799
8800         * tabular.C (Write): write bools as bools not as strings!
8801
8802 2002-02-22  Juergen Vigna  <jug@sad.it>
8803
8804         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8805         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8806
8807         * text.C (leftMargin): don't add an indent for paragraphs inside
8808         tabular cells (fix #208).
8809
8810 2002-02-21  José Matos  <jamatos@fep.up.pt>
8811
8812         * tabular.C (docBook): fixed support for long tables.
8813
8814 2002-02-20  Juergen Vigna  <jug@sad.it>
8815
8816         * text2.C (getFont): get the drawing font of the Inset if this
8817         paragraph is inside an inset (only important for InsetERT for now).
8818
8819         * buffer.C (insertErtContents): use new lanugage params in ERT
8820         constructor.
8821
8822         * CutAndPaste.C: commenting out seemingly uneeded code.
8823
8824 2002-02-19  Allan Rae  <rae@lyx.org>
8825
8826         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8827         Iterators might be simple to use but they also get invalidated.
8828         (removeAutoInsets): renamed saved cursor tracking variables and added
8829         some comments to clarify what everything does.
8830
8831 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8832
8833         * Chktex.C:
8834         * LaTeX.C:
8835         * LyXSendto.C:
8836         * converter.C:
8837         * lyx_cb.C:
8838         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8839         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8840
8841         * lyxfunc.C:
8842         * vc-backend.h: remove #include "support/syscall.h"
8843
8844         * LaTeX.C:
8845         * LyXSendto.C:
8846         * converter.C: rearrange #includes in Lars' approved fashion.
8847
8848         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8849         forward declare class Timeout in the header file.
8850
8851         * XFormsView.C: changes due to the above.
8852
8853         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8854         similar to LyXView.
8855
8856         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8857         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8858
8859 2002-02-18  José Matos  <jamatos@fep.up.pt>
8860
8861         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8862         insets contents.
8863
8864 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8865
8866         * a lot of small ws changes
8867         * add a lot of using std::XXX
8868         * use std construcs some places where approp.
8869         * use some exisint stuff from lyxfunctional where approp.
8870         * Make file changes to use partial linking (lets test this now...)
8871
8872 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8873
8874         * Chktex.C:
8875         * buffer.C:
8876         remove #include "support/syscontr.h" as it's redundant. Always has been.
8877
8878         * Chktex.C:
8879         * LaTeX.C:
8880         * LyXSendto.C:
8881         * converter.C:
8882         * lyx_cb.C:
8883         * vc-backend.C:
8884         change Systemcalls::System to Systemcalls::Wait and
8885         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8886         No change of functionality, just reflects the stripped down Systemcalls
8887         class.
8888
8889 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8890
8891         * debug.[Ch]: add a GRAPHICS type to the enum.
8892
8893 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8896
8897         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8898         there is an inset.
8899
8900 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8901
8902         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8903         match the changes below.
8904
8905         * text2.C (toggleInset): if there is not editable inset at cursor
8906         position, try to see if cursor is _inside_ a collapsable inset
8907         and close it.
8908
8909 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8912         document menu has a nice checkbox
8913
8914 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * lyxlength.C (asLatexString): change PW to output as percent of
8917         \textwidth.
8918
8919         * lengthcommon.C: change '%' to 't%'
8920
8921         * lyxfunc.C (dispatch): a few comments from Martin
8922
8923 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8924
8925         * WorkArea.h:
8926         * WorkArea.C:
8927         * BufferView_pimpl.h:
8928         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8929           the X selection.
8930
8931 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * vspace.C (inPixels): fix compiler warning
8934
8935 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8936
8937         * lyxfunc.C (getStatus): fix status message for disabled commands.
8938
8939 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8940
8941         * BufferView_pimpl.C: fix crash on close buffer
8942         during selection (#227)
8943
8944 2002-01-27  Herbert Voss  <voss@lyx.org>
8945
8946         * buffer.C: link old Figure to new graphic inset
8947
8948 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8949
8950         * FontLoader.C (getFontinfo): Change the latex font names in order
8951         to match the names of type1inst.
8952
8953 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8954
8955         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8956
8957         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8958         (extchanged): ditto
8959         (ext_exist): ditto
8960         (remove_files_with_extension): ditto
8961         (remove_file): ditto
8962         (write): ditto
8963
8964         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8965         document is smaller than the work area height. Do not initialize
8966         static variables to 0.
8967
8968 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8971
8972         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8973         LFUN_LAYOUT_PARAGRAPHS.
8974
8975         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8976         tabular. It is possible to provide a possible cell, which will
8977         typically be the actcell from the corresponding insettabular
8978
8979         * lyxfunc.C (getStatus): small cleanup; disable
8980         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8981         true
8982
8983 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8986
8987         * paragraph.C (startTeXParParams):
8988         (endTeXParParams): new methods. The LaTeX code to
8989         start/end paragraph formatting
8990         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8991         empty (fixes bug #200)
8992
8993         * vspace.C (inPixels): adapt to the change below
8994         (inPixels): [later] more cleanups (remove unused variables)
8995
8996         * lyxlength.C (inPixels): change to use a width and a height as
8997         parameter.
8998
8999 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9002         Replaced with \paperwidth
9003
9004         * DepTable.C (insert): add std:: qualifier
9005
9006 2002-01-18  Allan Rae  <rae@lyx.org>
9007
9008         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9009         updated also?
9010
9011         * text.C (drawInset): Turned out I didn't know enough about how
9012         rebreaking worked.  This fixes most of the redraw problems.  I see
9013         an occasional cursor trail when a line is broken now and the cursor
9014         placement can seem out by a few pixels also after a rebreak.
9015
9016 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9017
9018         * buffer.C (parseSingleLyXformat2Token): update because minipage
9019         width is now a LyXLength
9020
9021         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9022
9023         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9024         math insets
9025
9026 2002-01-17  Juergen Vigna  <jug@sad.it>
9027
9028         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9029
9030         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9031         is set correctly and the inset is updated correctly.
9032
9033 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9036         the beginning of the loop.
9037
9038 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * lyxrc.C: improve help for use_scalable_fonts
9041
9042 2002-01-17  Allan Rae  <rae@lyx.org>
9043
9044         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9045
9046 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9049         make sure to set their inset_owner to the right value (bug #171)
9050
9051 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9052
9053         * DepTable.h
9054         * DepTable.C: Implement mtime checking to reduce time spent doing
9055         CRCs.
9056
9057 2002-01-16  Juergen Vigna  <jug@sad.it>
9058
9059         * tabular.C (GetAdditionalHeight): one of error fixed.
9060
9061         * lyxrc.C (output): small fix in writing use_pspell.
9062
9063 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9064
9065         * sp_base.h: #include LString.h
9066
9067 2002-01-16  Allan Rae  <rae@lyx.org>
9068
9069         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9070         Can someone check this please?
9071
9072         * text.C (drawInset): It was possible that p.row would be removed by
9073         breakAgainOneRow upsetting a few other settings.  There may be another
9074         small tweak possible by setting need_break_row = 0 when p.row has been
9075         removed but I don't know enough about the logic here.
9076
9077 2002-01-15  Allan Rae  <rae@lyx.org>
9078
9079         * text.C (insertChar): removed conditional truism.
9080
9081         * BufferView2.C (removeAutoInsets): More tweaks.
9082         cur_par_prev could be a stray pointer.  Check for trailing empty line
9083         in case last line was cur_par and only had an error inset on it.
9084
9085 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9088         absolute
9089
9090         * vc-backend.C (most methods):
9091         * exporter.C (Export):
9092         * converter.C (convert):
9093         (runLaTeX):
9094         * LyXSendto.C (SendtoApplyCB):
9095         * lyxfunc.C (dispatch):
9096         (menuNew):
9097         (open):
9098         (doImport):
9099         * lyx_cb.C (AutoSave):
9100         (InsertAsciiFile):
9101         * BufferView_pimpl.C (MenuInsertLyXFile):
9102         * buffer.C (runChktex): use Buffer::filePath().
9103
9104         * buffer.h: rename filename to filename_; rename filepath to
9105         filepath_ and make it private
9106         (filePath): new method
9107
9108         * buffer.C (writeFile): use fileName()
9109         (getLatexName):
9110
9111         * lyx_main.C (init): fix starting  of LyX when the binary is a
9112         link from so,ewhere else.
9113
9114         * minibuffer.C: include <cctype> for isprint
9115
9116 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9117
9118         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9119         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9120         name clash with InsetCollapsable's width function.
9121
9122 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * lastfiles.C: include <iterator>
9125
9126 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9127
9128         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9129         std::count.
9130
9131         * buffer.C (makeLaTeXFile): ditto.
9132         Also make loop operation more transparent.
9133
9134 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9135
9136         * ToolbarDefaults.C: remove trailing comma closing namespace.
9137
9138         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9139
9140         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9141         as in WorkArea.
9142
9143         * trans.C (Load): comment out unused variable, allowed.
9144
9145 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9146
9147         * minibuffer.[Ch] (append_char): new method to recieve input from the
9148         drop-down completion browser. If a key was pressed, then recieve this
9149         char and append it to the existing string.
9150         (peek_event): modify the positioning data passed to the completion
9151         browser so that it can be placed above the minibuffer rather than below.
9152 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * LyXAction.C (init): alloe error-next for readonly documents.
9155
9156         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9157         count.
9158
9159 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * bufferlist.C (readFile): create the buffer _after_ checking that
9162         the file exists.
9163
9164         * lyxfunc.C (verboseDispatch): fix handling of arguments
9165
9166         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9167
9168         * lyxrc.C: use string::erase() instead of initializing to "".
9169
9170
9171 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * BufferView_pimpl.h:
9174         * BufferView_pimpl.C:
9175         * WorkArea.h:
9176         * WorkArea.C:
9177         * text2.C: tell X when we have made a selection for copying
9178
9179 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * BufferView_pimpl.C (MenuInsertLyXFile):
9182         * lyxfunc.C (menuNew):
9183         (open):
9184         (doImport): add shortcuts to directory buttons
9185
9186         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9187         open a float)
9188
9189         * lyxfunc.C (setStatusMessage):
9190         (getStatusMessage): new methods
9191         (getStatus):use setStatusMessage instead of setErrorMessage
9192         (dispatch): when function is disabled, set error message here
9193         [instead of in getStatus previously]
9194
9195         * BufferView_pimpl.C (workAreaButtonRelease): update
9196         toolbar/menubar here too.
9197
9198 2002-01-13  Allan Rae  <rae@lyx.org>
9199
9200         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9201         Now seems indestructible.  Remaining task is to audit all other
9202         code affected by deleteEmptyParagraphMechanism.  One small quirk
9203         left is that an empty document with an error in the preamble can
9204         be made to report an error but no error box appears.  I don't know
9205         where it goes.
9206         (removeAutoInsets): Improved comments.
9207
9208 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9209
9210         * Thesaurus.h:
9211         * Thesaurus.C: update for Aiksaurus 0.14
9212
9213 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9214
9215         * text2.C (firstParagraph): removed member function, all uses
9216         replaces with ownerParagraph
9217         (redoParagraphs): here
9218         (updateInset): here
9219         (toggleAppendix): here
9220         * BufferView2.C (insertErrors): here
9221         (setCursorFromRow): here
9222
9223 2002-01-13  Allan Rae  <rae@lyx.org>
9224
9225         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9226         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9227         There is still a way to segfault this although you may have to do this
9228         multiple times: Have an InsetERT with an unknown command in it.
9229         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9230         <down-arrow>, <Enter> again, View->DVI, BANG!
9231
9232         * text2.C (setCursor):
9233         (deleteEmptyParagraphMechanism):
9234         * lyxtext.h (setCursor):
9235         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9236         Making use of the return value may help fix other bugs.
9237
9238 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9241
9242         * LyXView.C (updateMenubar): call MenuBar::update here
9243         (updateToolbar): but not here
9244         (showState): do not update toolbar/menubar
9245
9246         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9247         should need to care about that.
9248
9249         * lyxfunc.C (verboseDispatch): simplify a bit
9250         (getStatus): have a version which takes a pseudoaction, and
9251         another which requires a (kb_action,string).
9252
9253         * LyXAction.C (retrieveActionArg): make it work also when action
9254         is not a pseudo-action.
9255         (getActionName): simplify a bit
9256         (helpText):
9257
9258 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9259
9260         * lyxfunc.C (verboseDispatch): new families of methods with
9261         several ways to specify a command and a bool to indicate whether
9262         the command name and shortcut should be displayed in minibuffer
9263         (eventually, we could extend that to a finer bitmask like
9264         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9265         (dispatch): the pristine dispatch command which just, well,
9266         dispatchs! Note it still sets its result to minibuffer; I'm not
9267         sure we want that.
9268
9269         * lyxfunc.h: remove setHintMessage
9270
9271         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9272
9273 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * BufferView_pimpl.C (specialChar): delete new inset if we have
9276         not been able to insert it.
9277
9278         * kbmap.C: revert to using int instead of kb_action, since all we
9279         are dealing with is pseudo-actions.
9280
9281         * LyXAction.C (searchActionArg): change to return int instead of
9282         kb_action, since the result is a pseudoaction.
9283
9284 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9285
9286         * buffer.C (insertErtContents): Fix (partially) the font bug.
9287
9288 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9289
9290         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9291         as the other one is broken on my machine!
9292
9293 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9294
9295         * commandtags.h:
9296         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9297
9298 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9299
9300         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9301         reflect their actual use. Provide compatibility code for older lyxrc
9302         files.
9303
9304         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9305         FL_NORMAL_STYLE.
9306         change names of popup font variables in line with the changes to lyxrc.C
9307
9308 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * buffer.C (asciiParagraph): avoid outputing a word twice after
9311         an inset.
9312
9313         * lyxrc.C (getDescription): document that document_path and
9314         template_path can be empty.
9315
9316 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9317
9318         * LaTeXFeatures.C (getMacros):
9319         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9320
9321         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9322
9323         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9324         getPackages.
9325         (getPackages): rename feature "floats" to "float". Use an array to
9326         iterate over 'simple' features (i.e. just a \usepackage). Add
9327         handling of "amsmath" (renamed from "amsstyle").
9328
9329 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9330
9331         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9332         features list.
9333
9334 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9335
9336         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9337         FuncStaus::FuncStatus & FuncStaus::some_method().
9338
9339 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9340
9341         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9342         of the func_satus stuff. Edited and massaged in various ways by
9343         JMarc.
9344
9345         * lyxfunc.C (getStatus): use FuncStatus
9346
9347 2002-01-08  Juergen Vigna  <jug@sad.it>
9348
9349         * text.C (nextBreakPoint): use function Inset::isChar().
9350
9351         * paragraph.C (TeXOnePar): use function
9352         Inset::forceDefaultParagraphs.
9353
9354         * buffer.C (latexParagraphs): use function
9355         Inset::forceDefaultParagraphs.
9356
9357 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * lyx_gui.C (init): set the style of the menu popups to
9360         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9361
9362 2002-01-07  Juergen Vigna  <jug@sad.it>
9363
9364         * text.C (setHeightOfRow): small fix
9365         (prepareToPrint): don't look at alignment if we don't have the place
9366         for doing it.
9367
9368 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9369
9370         * box.C: New file. Move the Box methods and functions out of box.h,
9371         following Lars' suggestion.
9372
9373 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9374
9375         * box.h: #include "support/LOstream.h", needed for inlined function.
9376
9377         * lyxtextclass.C:
9378         * lyxtextclasslist.C: added some using std declarations.
9379
9380 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9381
9382         * box.h: make signed dimensions to allow insets wider than
9383           the screen (bug #162)
9384
9385         * BufferView_pimpl.C: add some insetHit debug
9386
9387 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * vc-backend.C: add FIXME
9390
9391 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * lyxfunc.C (getStatus): enable code for showing math font status
9394         in toolbar/menu.
9395
9396 2002-01-07  Juergen Vigna  <jug@sad.it>
9397
9398         * text.C (nextBreakPoint): removed debug output not needed anymore.
9399
9400 2002-01-06  Juergen Vigna  <jug@sad.it>
9401
9402         * text.C (nextBreakPoint): fixed up this function we had this bug
9403         since ever but now hopefully we break row better.
9404         (insertChar): we have to check if an inset is the next char as it
9405         could now happen that a large inset is causing a break.
9406
9407 2002-01-05  Juergen Vigna  <jug@sad.it>
9408
9409         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9410         if it doesn't like to be drawed.
9411
9412 2002-01-04  Juergen Vigna  <jug@sad.it>
9413
9414         * BufferView2.C (lockInset): forgot to set a cursor.
9415
9416         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9417
9418 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9419
9420         * FormMathsPanel.C:
9421         * FormMathsPanel.h
9422         * MathsSymbols.C:
9423         * form_maths_panel.C:
9424         * form_maths_panel.h:
9425         * form_maths_panel.fd: implemented sub- and super- buttons in math
9426         panel.
9427
9428         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9429         (or ^ space) to be used as in TeX (req'd by André).
9430
9431         * lyxfunc.C: Allow ^ and _ again to be used both as
9432         super/subscript (mathed) and as themselves (in text).
9433
9434 2002-01-03  Allan Rae  <rae@lyx.org>
9435
9436         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9437         "LyX" or the filename of the current buffer if it has one.  This is a
9438         modified form of John Levon's patch.
9439
9440         * XFormsView.C (setWindowTitle): also set icon title.
9441
9442         * LyXView.h (setWindowTitle): signature changed.
9443         * XFormsView.h (setWindowTitle): ditto.
9444
9445 2002-01-02  Juergen Vigna  <jug@sad.it>
9446
9447         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9448
9449 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * screen.C (topCursorVisible): introduce a temp var for
9452         text->cursor.row(), handle the case where this row is null. (kindo
9453         hachish)
9454
9455         * text2.C (setCursor): add a couple of asserts.
9456
9457         * paragraph.h (inset_iterator): add -> operator
9458
9459         * paragraph.[Ch] (autoDeleteInsets): remove member function
9460
9461         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9462         cursor pos correctly and handle inset deletion by itself.
9463         (insertErrors): move iterator declaration out of for expression
9464
9465         * lyxtextclass.C: add <algorithm>
9466
9467         * Makefile.am: added the new files to sources, removed layout.C
9468
9469         * layout.C: removed file
9470
9471         * layout.h: remove LYX_DUMMY_LAYOUT
9472
9473         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9474         layout.
9475
9476         * lyxlayout.[Ch]:
9477         * lyxtextclass.[Ch]:
9478         * lyxtextclasslist.[Ch]: new files
9479
9480         * include order changes to a lot of files, also changes because of
9481         the six new files.
9482
9483 2001-12-27  Juergen Vigna  <jug@sad.it>
9484
9485         * buffer.C (asciiParagraph): more fixes.
9486
9487         * tabular.C (ascii): make ascii export support export of only the
9488         data separated by a column-delimiter.
9489         (ascii): better support for ascii export.
9490
9491         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9492
9493 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9494
9495         * tabular_funcs.C: use a "using std::getline" instead of the
9496         previous fix from Angus (necessary for cxx + lyxstring)
9497
9498 2001-12-24  Juergen Vigna  <jug@sad.it>
9499
9500         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9501
9502         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9503         problems. First check a minipage also if we have some ert-contents
9504         (not only on par->size(), second set the right depth of the paragraph
9505         on the relink to the root-paragraph-list!
9506
9507         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9508         which then did not anymore update the main paragraphs on undo/redo!
9509
9510 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9511
9512         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9513         code. Support all font-changing funcs (even those which are not in
9514         menu currently). Support for reporting font settings in
9515         mathed (disabled until Andre provides a function on mathed's side).
9516
9517         * func_status.h (toggle): small helper function to set toggle
9518         state on a flag.
9519
9520 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9521
9522         * tabular_funcs.C: getline -> std::getline
9523
9524 2001-12-21  Juergen Vigna  <jug@sad.it>
9525
9526         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9527         accessed and could be 0 (I couldn't generate this but it seems
9528         Michael could!).
9529
9530 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9533         * tabular_funcs.h: here and include iosfwd
9534
9535 2001-12-20  Juergen Vigna  <jug@sad.it>
9536
9537         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9538         inside inset but undo_par was.
9539
9540 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * Thesaurus.C: always include <config.h> in sources.
9543
9544         * Painter.h:
9545         * lyxlookup.h:
9546         * box.h: do not include <config.h> in header files
9547
9548         * text.C (paintLastRow): remove unused variable
9549
9550         * text.C (transformChar):
9551         (insertChar):
9552         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9553
9554         * Painter.C (text):
9555         * font.C (width): rewrite to use uppercase() instead of
9556         islower/toupper.
9557
9558         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9559
9560 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9561
9562         * lyxfind.C: clean up of find failure position change
9563
9564 2001-12-20  Juergen Vigna  <jug@sad.it>
9565
9566         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9567
9568         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9569         (TeXRow): added to LaTeX a single tabular row.
9570         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9571         (Latex): simplified and finally good LT-h/f support.
9572         (various_functions): just small adaptions for LT-h/f support.
9573
9574         * tabular_funcs.[hC]: added and moved here all not classfunctions
9575         of LyXTabular.
9576
9577 2001-12-19  Juergen Vigna  <jug@sad.it>
9578
9579         * tabular.[Ch]: better support for longtabular options (not finished
9580         yet!)
9581
9582 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9583
9584         * text.C (paintLastRow): use the label font instead of the font of
9585         the last character to compute the size of *_BOX. This makes more
9586         sense and avoids a crash with empty paragraphs.
9587         Use Painter::rectangle to draw EMPTY_BOX.
9588
9589 2001-12-19  Juergen Vigna  <jug@sad.it>
9590
9591         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9592         the paragraphs if the replaced paragraph is not the first one!
9593         Tried to delete not used paragraphs but does not work yet so for
9594         now it's inside #ifdef's and by default off!
9595
9596 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9597
9598         * MenuBackend.C: include "lyx_main.h" instead of declaring
9599         lastfiles (actually was declared as LastFiles* instead of a
9600         scoped_ptr).
9601
9602 2001-12-17  Juergen Vigna  <jug@sad.it>
9603
9604         * tabular.C (AppendColumn): applied John's fix
9605
9606 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * BufferView.h:
9609         * BufferView.C:
9610         * BufferView_pimpl.h:
9611         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9612
9613         * Makefile.am:
9614         * box.h: new start of class for above
9615
9616         * lyxfunc.C: ignore space-only minibuffer dispatches.
9617           Show the command name when it doesn't exist
9618
9619         * minibuffer.C: don't add empty lines to the history
9620
9621         * minibuffer.C: add a space on dropdown completion
9622
9623 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * text.C: fix line above/below drawing in insets
9626
9627 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9628
9629         * lyxlength.C (LyXLength): Initialize private variables.
9630
9631 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9632
9633         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9634         when inserting error insets.
9635
9636 2001-12-13  Juergen Vigna  <jug@sad.it>
9637
9638         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9639         actually sometimes the before-paragraph.
9640         (setUndo): don't clear the redostack if we're not actually undoing!
9641
9642 2001-12-06  Juergen Vigna  <jug@sad.it>
9643
9644         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9645         and fixed redoing of main paragraph, so we can use it now ;)
9646
9647         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9648
9649 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9652         Juergen's request
9653
9654 2001-12-13  André Pönitz <poenitz@gmx.net>
9655
9656         * undostack.[Ch]:
9657         * undo_func.C: minor cleanup
9658
9659 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9662         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9663         font in urw-fonts package which is marked as -urw-fontspecific and
9664         does not work (incidentally, changing the encoding in the
9665         fonts.dir of this package to -adobe-fontspecific fixes the
9666         problem).
9667
9668         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9669         is a crash when undoing first paragraph (Juergen, please take a
9670         look). THis does not mean the undo fix is wrong, just that it
9671         uncovers problems.
9672
9673         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9674         the (Paragraph*) version when needed instead of duplicating the
9675         code.
9676
9677         * text.C (workWidth): use Inset::parOwner to find out where the
9678         inset has been inserted. This is a huge performance gain for large
9679         documents with lots of insets. If Inset::parOwner is not set, fall
9680         back on the brute force method
9681
9682         * paragraph_pimpl.C (insertInset):
9683         * paragraph.C (Paragraph):
9684         (cutIntoMinibuffer): set parOwner of insets when
9685         inserting/removing them
9686
9687         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9688
9689 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9690
9691         * commandtags.h:
9692         * LyXAction.C:
9693         * lyx_main.C:
9694         * lyxfunc.C:
9695         * mathed/formulabase.C:
9696         * mathed/math_cursor.[Ch]:
9697         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9698
9699
9700 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9701
9702         * lyxlength.[Ch] (operator!=): new function
9703
9704 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * text.C (workWidth): use Inset::parOwner to find out where the
9707         inset has been inserted. This is a huge performance gain for large
9708         documents with lots of insets. If Inset::parOwner is not set, fall
9709         back on the brute force method
9710
9711         * paragraph_pimpl.C (insertInset):
9712         * paragraph.C (Paragraph):
9713         (cutIntoMinibuffer): set parOwner of insets when
9714         inserting/removing them
9715
9716         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9717
9718 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * tabular-old.C (getTokenValue):
9721         * tabular.C (getTokenValue):
9722         (write_attribute): new versions for LyXLength
9723         (everywhere): adjust the use of widths
9724
9725         * tabular.h: change the type of widths from string to LyXLength
9726
9727 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9728
9729         * paragraph.C: fixed missing line number count when exporting
9730         Environments to LaTeX file
9731
9732         * buffer.C: added informational message for checking line numbers.
9733
9734 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9737         paragraph, do the 'double space' part, but not the 'empty
9738         paragraph' one.
9739
9740         * text.C (workWidth): small optimization
9741         (getLengthMarkerHeight): use minimal size for negative lengths.
9742
9743 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9744
9745         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9746
9747         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9748
9749 2001-12-11  André Pönitz <poenitz@gmx.net>
9750
9751         * FontLoader.C:
9752         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9753
9754 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * text2.C: keep selection on a setFont()
9757
9758 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * lyx_cb.C: another bv->text misuse, from insert label
9761
9762 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * kbsequence.h:
9765         * kbsequence.C: re-instate nmodifier mask
9766
9767 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9768
9769         * lyx_main.h: make lyxGUI private.
9770
9771 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * lyxfind.C: place the cursor correctly on failed search
9774
9775 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * text.C (getLengthMarkerHeight): for small heights, the arrows
9778         are not always on top/bottom of the text
9779         (drawLengthMarker): smaller arrows; take the left margin in
9780         account; draw also vfills.
9781         (paintFirstRow):
9782         (paintLastRow): remove special code for vfill and standard spaces,
9783         since everything is handled in drawLengthMarker now.
9784
9785 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9786
9787         * buffer.C (insertErtContents): try to handle font and language
9788         interaction a bit better.g
9789
9790         * ColorHandler.C (updateColor): change the hash to cover the whole
9791         LColor enum, ws cleanup
9792         (getGCLinepars): ditto
9793         (getGCLinepars): only lookup in the linecache once.
9794
9795 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * iterators.C (operator++): Make the iterator more robust
9798
9799         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9800         (John's patch)
9801         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9802
9803 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * lyxtext.h:
9806         * text.C: better added space drawing
9807
9808 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * LyXView.C:
9811         * BufferView2.C: fix layout combo update on inset unlock
9812
9813 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * Makefile.am: don't compile unused files
9816
9817 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9818
9819         * lyxfunc.C:
9820         * commandtags.h:
9821         * LyXAction.C: remove old LFUN_LAYOUTNO
9822
9823 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * paragraph_pimpl.h:
9826         * paragraph_pimpl.C: isTextAt() doesn't need font param
9827
9828 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * lyxlex.h:
9831         * lyxlex.C: little cleanup
9832
9833 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * BufferView_pimpl.C: fix insertAscii for insets
9836
9837 2001-12-05  Juergen Vigna  <jug@sad.it>
9838
9839         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9840         set the right font on the "multi" paragraph paste!
9841
9842 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * trans_decl.h:
9845         * trans_mgr.[Ch]:
9846         * trans.[Ch]:
9847         * lyxgluelength.C:
9848         * lyxlength.C: remove out-commented code.
9849
9850         * BufferView_pimpl:
9851         * CutAndPaste.C:
9852         * DepTable.C:
9853         * buffer.C:
9854         * chset.C:
9855         * lastfiles.C:
9856         * lyxlex.C:
9857         * lyxlex_pimpl.C:
9858         * lyxserver.C:
9859         * screen.C:
9860         * tabular-old.C:
9861         * tabular.C:
9862         * text.C:
9863         * trans_mgr.C:
9864         * vc-backend.C: change "while(" to "while ("
9865
9866         * lyxlength.[Ch]: add zero function to check if length is zero or
9867         not
9868         * lyxgluelength.C: use it
9869
9870 2001-12-05  Allan Rae  <rae@lyx.org>
9871
9872         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9873         Works for 2.95.3, from what I understand of Garst's reports this should
9874         work for other g++ versions.  We're screwed if the abs(int) definition
9875         changed between bugfix releases of gcc.
9876
9877 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * text.C: fix chapter label offset !
9880
9881 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * lyxtext.h:
9884         * text.C: fix hfill at end of line, clean up
9885
9886 2001-12-04  Juergen Vigna  <jug@sad.it>
9887
9888         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9889         that we force an update of the inset and it's owners if neccessary.
9890
9891 2001-12-03  Juergen Vigna  <jug@sad.it>
9892
9893         * text.C (rowLast): simplified code
9894
9895 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * lyxfunc.C: fix show options on timeout
9898
9899 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * screen.C (topCursorVisible): scroll half a page when the cursor
9902         reached top of bottom of screen
9903
9904 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * minibuffer.C: deactivate on loss of focus
9907
9908 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * vspace.[Ch] (operator!=): add operator.
9911
9912 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView_pimpl.C: refuse to open an inset when
9915         there's a selection.
9916
9917 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * BufferView_pimpl.C: allow to click on RHS of full row insets
9920
9921 2001-11-30  Juergen Vigna  <jug@sad.it>
9922
9923         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9924         insets for undo reasons.
9925
9926 2001-11-28  André Pönitz <poenitz@gmx.net>
9927
9928         * vspace.[Ch]: cosmetical changes
9929
9930 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * LyXAction.h:
9933         * LyXAction.C:
9934         * lyxfunc.h:
9935         * lyxfunc.C:
9936         * kbmap.h:
9937         * kbmap.C:
9938         * lyxrc.C:
9939         * kbsequence.h:
9940         * kbsequence.C: part re-write of old kb code
9941
9942         * Painter.C:
9943         * WorkArea.C: remove Lgb_bug_find_hack
9944
9945 2001-11-30  José Matos <jamatos@fep.up.pt>
9946
9947         * buffer.C (makeDocBookFile): add a comment to point a hack.
9948         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9949         Fixed a double write of labels.
9950
9951 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9952
9953         * LaTeX.C:
9954         * LaTeX.h Fixed bug in LaTeX class where it would not
9955         re-run latex if no depfiles were changed, but the .dvi was removed.
9956
9957 2001-11-28  André Pönitz <poenitz@gmx.net>
9958
9959         * all the files from the change on 2001/11/26:
9960         use lyx::layout_type instead of LyXTextClass::size_type
9961         use lyx::textclass_type instead of LyXTextClassList::size_type
9962
9963 2001-11-29  Juergen Vigna  <jug@sad.it>
9964
9965         * text.C: added support for paragraph::isFreeSpacing()
9966
9967         * buffer.C: same as above
9968
9969         * paragraph.h: inserted isFreeSpacing() function to enable
9970         FreeSpacing inside InsetERT.
9971
9972         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9973         of the paragraph's in the cut/copy buffer to 0!
9974
9975         * text2.C (removeRow): remove the assert as it can!
9976
9977         * lyxtext.h: added helper function firstRow returning firstrow and
9978         made firstrow private again.
9979
9980         * BufferView2.C (lockInset): don't relock if we're already locked!
9981
9982         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9983         the only paragraph.
9984         (removeRow): added Assert::(firstrow)
9985
9986         * debug.C: forgot to add INSETTEXT here.
9987
9988 2001-11-28  Juergen Vigna  <jug@sad.it>
9989
9990         * sp_spell.C (initialize): changed error text to more general
9991         spellchecker command use (not only ispell!)
9992
9993         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9994
9995         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9996
9997 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * vspace.C: initialise lyxgluelength on failure
10000
10001 2001-11-28  Allan Rae  <rae@lyx.org>
10002
10003         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10004         declaration & definition that looks like a function declaration.
10005
10006 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10007
10008         * BufferView2.C (copy):
10009         (copyEnvironment): do not clear the selection when doing a copy.
10010
10011         * text.C (paintFirstRow): compilation fix
10012
10013 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10014
10015         * tabular.C (Latex): correct line count when writing latex.
10016
10017 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * paragraph_pimpl.h:
10020         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10021           bug a bit
10022
10023 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10024
10025         * text.C:
10026         * LColor.h:
10027         * LColor.C: change vfillline->added_space
10028
10029         * text.C: add markers and text for added space
10030
10031         * vspace.C: fix comment
10032
10033 2001-11-28  André Pönitz <poenitz@gmx.net>
10034
10035         * paragraph.C: whitespace changes
10036         * all the other files from the change on 2001/11/26:
10037         change *::pos_type into lyx::pos_type
10038
10039 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10040
10041         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10042         language of the document when inserting error insets.
10043
10044 2001-11-26  André Pönitz <poenitz@gmx.net>
10045
10046         * BufferView_pimpl.[Ch]:
10047         *       CutAndPaste.C:
10048         * buffer.[Ch]:
10049         * lyxcursor.[Ch]:
10050         * lyxfind.C:
10051         * lyxfunc.C:
10052         * lyxrow.[Ch]:
10053         * paragraph.[Ch]:
10054         * paragraph_pimpl.[Ch]:
10055         * sp_spell.C:
10056         * text.C:
10057         * text2.C: reduce header dependencies, introduce type for positions
10058
10059 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * <various>: change to use Alert.h
10062
10063 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10064
10065         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10066         when encountering an unknown token.
10067         (readLyXformat2): Show an error message if there were unknown tokens.
10068
10069 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10070
10071         * BufferView2.C:
10072         * BufferView_pimpl.C:
10073         * buffer.C:
10074         * paragraph.h:
10075         * text.C:
10076         * text2.C: use par->isInset()
10077
10078 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * paragraph_pimpl.h:
10081         * paragraph_pimpl.C: cleanup
10082
10083 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10084
10085         * text2.C (removeRow):
10086         * text.C (setHeightOfRow): remove useless (and costly) call to
10087         getRow.
10088
10089 2001-11-20  Allan Rae  <rae@lyx.org>
10090
10091         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10092         Now need Inset*::checkInsertChar() to return true for appropriate
10093         cases so that the characters in the minibuffer will actually be
10094         inserted.
10095
10096 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10097
10098         * text.C: change the order of the includes.
10099         (workWidth): initialize it at once.
10100         (workWidth): make maxw unsigned
10101         (setHeightOfRow): remove unused variable (inset)
10102         (selectSelectedWord): remove unused variable (inset)
10103         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10104
10105 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10106
10107         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10108         server is not running.
10109         (openConnection):
10110         (closeConnection): add debug info when server is disabled.
10111
10112         * ColorHandler.C (getGCForeground): send debug message to GUI
10113         channel.
10114
10115         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10116
10117         * kbmap.C (bind): modify because return conventions of
10118         kb_sequence::parse have changed.
10119
10120         * kbsequence.C (parse): only ignore spaces and not any stupid
10121         control character. This avoids tests like s[i] <= ' ', which are
10122         guaranteed to fail with 8bit characters and signed chars.
10123         Change return code to string::npos when there have been no error
10124         (0 was a bad idea when error is at first character)
10125
10126 2001-11-14  José Matos  <jamatos@fep.up.pt>
10127
10128         * buffer.h:
10129         * buffer.C (simpleDocBookOnePar): removed unused argument.
10130
10131 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10132
10133         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10134         insets which are part of a word. Paragraph::isLetter takes care of
10135         that now. Use Paragraph::isInset to identify insets.
10136         (selectSelectedWord): do not test for hyphenation break.
10137
10138         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10139         that protected spaces are considered as spaces.
10140
10141         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10142         Inset::isLetter.
10143
10144 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * lyxserver.h:
10147         * lyxserver.C: fix it. and small cleanup.
10148
10149 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * BufferView_pimpl.C: use inline helpers
10152
10153         * LaTeXFeatures.h:
10154         * LaTeXFeatures.C: fix typos
10155
10156         * Spacing.h:
10157         * Spacing.C: move spacing_string into class
10158
10159         * ToolbarDefaults.C: move stuff into namespace anon
10160
10161         * layout.h: update enum
10162
10163         * lyxfunc.C: use better debug
10164
10165         * minibuffer.h: fix typo
10166
10167         * debug.h:
10168         * debug.C:
10169         * WorkArea.C: add and use Debug::WORKAREA
10170
10171         * lyxtext.h:
10172         * text.C:
10173         * text2.C: code re-organisation, inline helpers
10174
10175 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10176
10177         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10178         std::vector.empty().
10179
10180 2001-11-09  Allan Rae  <rae@lyx.org>
10181
10182         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10183         '\n's after tables.  Tabular and ERT inset work now makes this no
10184         longer necessary.
10185
10186 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * minibuffer.h:
10189         * minibuffer.C: fix crash, improve drop-down completion
10190
10191 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * lyxserver.h:
10194         * lyxserver.C: invalidate fd's when doing endPipe()
10195
10196 2001-11-08  José Matos  <jamatos@fep.up.pt>
10197
10198         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10199         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10200
10201         * paragraph.h:
10202         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10203
10204 2001-11-07  José Matos  <jamatos@fep.up.pt>
10205
10206         * buffer.h:
10207         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10208         const qualifier.
10209
10210         * buffer.C (sgmlOpenTag):
10211         * buffer.C (sgmlCloseTag): removed debug info.
10212
10213         * buffer.h (sgmlOpenTag):
10214         * buffer.h (sgmlCloseTag): made public.
10215
10216 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * buffer.C (saveParamsAsDefaults):
10219         * lyx_cb.C (MenuLayoutSave): remove
10220
10221         * LyXAction.C (init):
10222         * commandtags.h:
10223         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10224
10225 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10226
10227         * buffer.C (setPaperStuff): removed from here...
10228
10229         * bufferparams.C (setPaperStuff): ... and moved there.
10230
10231 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * minibuffer.h:
10234         * minibuffer.C:
10235         * XFormsView.C: add support for drop-down completion
10236
10237 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10238
10239         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10240         commands.
10241
10242 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10243
10244         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10245         disabled.
10246
10247 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * lyx_main.C: change ref to known bugs
10250
10251 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10252
10253         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10254         to work around older babel problems.
10255
10256 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10257
10258         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10259
10260 2001-10-24  Juergen Vigna  <jug@sad.it>
10261
10262         * tabular-old.C (ReadOld): below variable changes reflected.
10263
10264         * tabular.[Ch]: added ltType struct for longtable header/footer
10265         defines and changed all instances where they are used. Added
10266         future support for double top/bottom rows.
10267
10268 2001-10-24  José Matos  <jamatos@fep.up.pt>
10269
10270         * buffer.h (docbookHandleCaption):
10271         * buffer.C (docbookHandleCaption): removed unused function.
10272         (makeDocBookFile): moved docbook supported version to v4.1.
10273
10274 2001-10-24  José Matos  <jamatos@fep.up.pt>
10275
10276         * tabular.h:
10277         * tabular.C (docbookRow): new function to export docbook code of a row.
10278         (DocBook): now honors the longtable flags.
10279
10280 2001-10-23  José Matos  <jamatos@fep.up.pt>
10281
10282         * LaTeXFeatures.h:
10283         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10284         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10285
10286         * buffer.C (makeLinuxDocFile):
10287         (makeDocBookFile): reworked the preamble, more clean, and with
10288         support for lyx defined entities. Changed the document declaration
10289         to be more XML friendly.
10290
10291         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10292         if we need to output XML that should be done with a filter.
10293
10294 2001-10-22  Juergen Vigna  <jug@sad.it>
10295
10296         * sp_pspell.h (class PSpell): add alive function needed in the
10297         controller to see if the spellchecker could be started.
10298
10299 2001-10-22  Juergen Vigna  <jug@sad.it>
10300
10301         * buffer.C (insertStringAsLines): modify the font for inserting
10302         chars in certain conditions by calling checkInsertChar(font).
10303
10304 2001-10-19  Juergen Vigna  <jug@sad.it>
10305
10306         * text.C (workWidth): use getRow instead of wrong algorithm.
10307         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10308
10309 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * lyxserver.h:
10312         * lyxserver.C:
10313         * lyx_main.h:
10314         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10315
10316 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * text.C (workWidth): do not search for the exact row when
10319         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10320         optimization for big documents.
10321
10322 2001-10-18  Juergen Vigna  <jug@sad.it>
10323
10324         * text.C (workWidth): new function with added Inset * parameter.
10325
10326 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10329
10330         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10331         change return type of getColumnNearX.
10332
10333
10334         * text.C (changeRegionCase): use uppercase/lowercase instead of
10335         toupper/tolower.
10336         (leftMargin):
10337         (rightMargin): simplify code by factoring out the uses of
10338         textclasslist.
10339         (labelFill):
10340         (numberOfHfills):
10341         (setHeightOfRow):
10342         (appendParagraph): use Paragraph::size_type
10343
10344 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * vspace.C (asLatexString): add a missing break
10347
10348 2001-10-15  Herbert Voss  <voss@perce.de>
10349
10350         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10351
10352 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10355         is not available.
10356
10357 2001-10-10  André Pönitz <poenitz@gmx.net>
10358
10359         * lyxfunc.C: removed greek_kb_flag.
10360
10361 2001-10-10  Herbert Voss  <voss@perce.de>
10362
10363         * lyx_main.C: delete global string help_lyxdir.
10364
10365 2001-10-09  Herbert Voss  <voss@perce.de>
10366
10367         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10368
10369         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10370
10371         * lyx_main.C: added global string help_lyxdir.
10372
10373         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10374
10375 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10376
10377         * lyxrc.C (set_font_norm_type): support iso8859-4
10378
10379 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10380
10381         * LaTeX.C (deplog): add another regex for MikTeX
10382
10383 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10384
10385         * lyxrc.C (set_font_norm_type): support iso8859-3
10386
10387 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10388
10389         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10390
10391         * LaTeXFeatures.C: remove special case of french and index
10392
10393         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10394         before \begin{document}). This solves several incompatibilities.
10395
10396 2001-10-03  Garst Reese  <reese@isn.net>
10397
10398         * lyx_cb.C: change CheckTex error msg.
10399
10400 2001-10-03  José Matos  <jamatos@fep.up.pt>
10401
10402         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10403
10404 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10405
10406         * .cvsignore: update
10407
10408         * lyx_main.C (commandLineVersionInfo): use new style version info.
10409
10410         * buffer.C (writeFile):
10411         (makeLaTeXFile):
10412         (makeLinuxDocFile):
10413         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10414
10415         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10416
10417         * version.h: update to use stuff in version.C
10418
10419         * version.C.in: new file. Contains version information determined
10420         at compile time. This is a merging of version.h and
10421         version_info.h.in.
10422
10423 2001-10-03  Juergen Vigna  <jug@sad.it>
10424
10425         * BufferView_pimpl.C (update): don't change "dirty" status in
10426         updateInset call.
10427
10428 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * WorkArea.C (c-tor): re-position version string slightly.
10431
10432 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10433
10434         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10435         revert to previous code.
10436
10437         WorkArea.[Ch]: (show, destroySplash): methods removed.
10438
10439         WorkArea.C: rework code so that it's an amalgam of the codes before and
10440         after the splash screen was moved to WorkArea.
10441
10442 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * lyxrc.C (read):
10445         * vspace.C (inPixels):
10446         (lyx_advance):
10447         * kbmap.C (bind):
10448         * buffer.C (insertStringAsLines):
10449         (asciiParagraph): fix types to be large enough
10450
10451         * lyxlex_pimpl.h: change member status from short to int
10452
10453         * layout.h: fix type of endlabeltype
10454
10455         * kbmap.C (bind):
10456         * kbsequence.C (parse): change return type to string::size_type
10457
10458         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10459         variable
10460
10461         * Bullet.C (bulletSize):
10462         (bulletEntry): do not use short ints as parameters
10463
10464         * BufferView2.C (insertLyXFile): change a char to an int.
10465
10466         * WorkArea.C (WorkArea): remove unneeded floats in computation
10467
10468 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10469
10470         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10471
10472         * paragraph.C (asString): Do not ignore newline/hfill chars when
10473         copying to the clipboard.
10474
10475 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10476
10477         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10478         after a multi-line inset.
10479
10480 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10481
10482         * paragraph.C (validate): Set NeedLyXFootnoteCode
10483
10484 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10485
10486         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10487         and decrease-error to decrease.
10488
10489 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10492         it more readable (should be equivalent)
10493
10494 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10495
10496         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10497
10498 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10499
10500         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10501         of a cursor (row, etc.) after a character has been deleted
10502         (deleteEmptyParagraphMechanism): call the method above on _all_
10503         cursors held by the LyXText when a double space has been
10504         detected/deleted.
10505
10506 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10507
10508         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10509         pixmap.
10510         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10511
10512         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10513         background. Use greyOut() and the new show() methods to toggle between
10514         the foreground and background. Add code to remove the splash after
10515         its initial showing.
10516
10517         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10518         (create_forms): no longer call Dialogs::showSplash.
10519
10520 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10521
10522         * .cvsignore: add version_info.h
10523
10524 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10525
10526         * version_info.h.in: new file
10527
10528         * Makefile.am: add version_info.h.in
10529
10530         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10531         version_info.h instead of VERSION_INFO
10532
10533 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10536         The ERT inset now returns string().
10537
10538 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10539
10540         * lyxtext.h, text.C (selectNextWord): renamed as
10541         selectNextWordToSpellcheck.
10542
10543         * text.C (selectNextWordToSpellcheck): Modified to not select
10544         words inside an ERT inset.
10545
10546 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10547
10548         * lyx_cb.C (MenuLayoutSave): change a bit the question
10549
10550         * sp_base.h: include <sys/types.h>
10551
10552 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10553
10554         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10555
10556 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10557
10558         * several files: fix typos in user-visible strings
10559
10560 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10561
10562         * text2.C (pasteSelection): do not set the selection, since it
10563         will be cleared later. Actually, the intent was to fix the way the
10564         selection was set, but I figured rmoving the code was just as good.
10565
10566 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * FontLoader.C (available): Check if font is available without
10569         loading the font.
10570
10571 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10572
10573         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10574
10575 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10576
10577         * lyxrc.[Ch]: added display_graphics variable and associated code.
10578
10579 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10580
10581         * bufferparams.C (hasClassDefaults): new method. Returns true if
10582         the buffer parameters correspond to known class defaults
10583
10584 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10585
10586         * XFormsView.C (show): set minimum size to the main window.
10587
10588 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * text2.C (copySelection):
10591         (cutSelection):
10592         * lyxfind.C (LyXReplace):
10593         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10594         LyXText::selectionAsString.
10595
10596         * paragraph.C (asString): add "label" argument to the second form
10597
10598         * text2.C (selectionAsString): add "label" argument and pass it to
10599         Paragraph::asString.
10600
10601 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10602
10603         * lyx_main.C (commandLineHelp): remove version information
10604
10605 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10606
10607         * lyx_main.C: add -version commandline option
10608
10609 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * paragraph.h: make the optional constructor arg required instead.
10612         some modifications to other files because of this.
10613
10614         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10615
10616         * lyxserver.C (C_LyXComm_callback): make it static
10617
10618         * lyx_main.C (error_handler): make it static
10619
10620         * lyx_gui.C (LyX_XErrHandler): make it static
10621
10622         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10623
10624         * WorkArea.C: make the extern "C" methods static.
10625
10626         * Makefile.am (lyx_LDADD): simplify
10627
10628 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10629
10630         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10631         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10632
10633         * LyXAction.C (init):
10634         * lyxfunc.C (dispatch): associated code removal.
10635
10636 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10637
10638         * lyxfont.h (isSymbolFont): shut off warning
10639
10640         * text.C (setHeightOfRow):
10641         (getVisibleRow): fix crash with empty paragraphs which have a
10642         bottom line
10643
10644 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10645
10646         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10647         code.
10648
10649 2001-09-04  José Matos  <jamatos@fep.up.pt>
10650         * buffer.C
10651         * buffer.h
10652         * tabular.C (docbook): rename docBook method to docbook.
10653
10654 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10655
10656         * Makefile.am: add dependencies to main.o.
10657
10658 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10659
10660         * FontLoader.C (available): Return false if !lyxrc.use_gui
10661
10662 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10663
10664         * FontInfo.C (query):
10665         * converter.C (view):
10666         * importer.C (Import):
10667         * exporter.C (Export): Can not -> cannot.
10668
10669 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView_pimpl.C: allow to create index inset even if
10672           string is empty
10673
10674 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * buffer.C (getLists): replace boost::tie code with an explicit pair
10677         as boost::tie can break some compilers.
10678
10679         * iterators.h: Added a std:: declaration to the return type of
10680         ParIterator::size.
10681
10682 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10685           case.
10686
10687 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * iterators.[Ch]: New files. Provide paragraph iterators.
10690
10691         * buffer.C (changeLanguage): Use paragraph iterators.
10692         (isMultiLingual): ditto
10693
10694         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10695
10696 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10697
10698         * FontLoader.C: Support for cmr font.
10699
10700 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10701
10702         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10703         (available): New method.
10704
10705         * FontInfo.C (getFontname): Use scalable fonts even when
10706         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10707         found.
10708
10709 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10710
10711         * converter.C (Formats::view): reverted! Incorrect fix.
10712
10713 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10714
10715         * converter.C (Formats::view): only output the -paper option
10716         if the dvi viewer is xdvi, thereby fixing bug #233429.
10717
10718 2001-08-23  Herbert Voss  <voss@perce>
10719
10720         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10721
10722 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * Spacing.h (Spacing): Set space to Default on in the default
10725         constructor.
10726
10727 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * vc-backend.h (RCS::versionString): add RCS to version
10730         (CVS::versionString): add CVS to version
10731
10732         * vc-backend.C (scanMaster): do not add CVS to version.
10733         (scanMaster): do not add RCS to version
10734
10735         * lyxvc.C (versionString): new method
10736
10737         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10738
10739 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10740
10741         * Spacing.C (set): initialize fval
10742
10743 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10744
10745         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10746         " or \.
10747
10748 2001-08-16  Juergen Vigna  <jug@sad.it>
10749
10750         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10751
10752 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * BufferView_pimpl.C:
10755         * figureForm.C:
10756         * lyxtext.h:
10757         * text2.C: setParagraph takes linespacing now
10758
10759 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * LyxAction.C: add internal LFUN_CITATION_INSERT
10762
10763         * LyXView.C: actually apply fix
10764
10765         * bufferlist.C: fix open non-existent file
10766
10767         * lyxfind.C: fix indentation
10768
10769         * lyxfunc.C: remove unneeded assert, fix typo
10770
10771 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * MenuBackend.C: use "Floatname List"
10774
10775 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10778         when converting LaTeX layout to insetERT.
10779         Generate a non-collapsed float when reading old float
10780
10781 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10782
10783         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10784         ERT insets.
10785
10786 2001-08-13  Juergen Vigna  <jug@sad.it>
10787
10788         * text.C (fill): return 0 instead of 20 as this seems to be the more
10789         correct value.
10790
10791 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10794         lyxrc.font_norm.
10795
10796 2001-08-13  Juergen Vigna  <jug@sad.it>
10797
10798         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10799         casesensitive off.
10800         (SearchBackward): comment out the unlocking of the inset_owner this
10801         should not be needed!
10802
10803 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10804
10805         * Many files: Remove inherit_language, and add latex_language
10806
10807         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10808         collapsible insets.
10809
10810 2001-08-10  Juergen Vigna  <jug@sad.it>
10811
10812         * text.C (prepareToPrint): fixed hfill-width in draw!
10813
10814         * BufferView2.C (selectLastWord): save the selection cursor as this
10815         now is cleared in the function LyXText::clearSelection!
10816
10817 2001-08-08  Juergen Vigna  <jug@sad.it>
10818
10819         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10820         BACKSPACE type functions.
10821
10822         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10823         is only cutted from the document but not put in the cut-buffer, where
10824         still the old stuff should be.
10825
10826         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10827
10828         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10829
10830         * tabular.C (SetWidthOfCell): fixed special case where the width
10831         was not updated!
10832         (LeftLine): handle '|' in align_special.
10833         (RightLine): ditto
10834         (LeftAlreadyDrawed): ditto
10835         (SetWidthOfCell): ditto
10836
10837 2001-08-07  Juergen Vigna  <jug@sad.it>
10838
10839         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10840
10841 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10844         * lyxlex.[hC]: ditto
10845
10846 2001-08-06  Juergen Vigna  <jug@sad.it>
10847
10848         * text.C (getVisibleRow): fix up row clearing a bit.
10849
10850 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * minibuffer.C: make sure the X server sees the changes in the input.
10853
10854 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10855
10856         * paragraph.C (getFont): split into...
10857         (getLabelFont): this
10858         (getLayoutFont): and this
10859         * paragraph_pimpl.C (realizeFont): calling this
10860
10861         * text2.C (getFont): split into...
10862         (getLayoutFont): this
10863         (getLabelFont): and this
10864         (realizeFont): all three calling this
10865
10866         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10867         files where used.
10868
10869 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10870
10871         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10872
10873 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10874
10875         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10876         layouts from the Quote inset insertion.
10877
10878 2001-08-03  Juergen Vigna  <jug@sad.it>
10879
10880         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10881
10882         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10883         only if status not is already CHANGED_IN_DRAW (second level).
10884
10885         * text.C (draw): don't set the need_break_row when inside an
10886         InsetText LyXText.
10887
10888 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * buffer.C (parseSingleLyXformat2Token): handle more latex
10891         conversion cases.
10892
10893         * bufferview_funcs.[hC]: change function names to
10894         begin with small char, adjust other files.
10895
10896 2001-08-02  André Pönitz <poenitz@gmx.net>
10897
10898         * lyxfunc.C:
10899         BufferView_pimpl.C: remove broken special code for math-greek
10900
10901 2001-08-02  Juergen Vigna  <jug@sad.it>
10902
10903         * BufferView_pimpl.C (update): redone this function so that we
10904         update the text again if there was a CHANGE_IN_DRAW.
10905
10906         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10907         (drawFromTo): added a new internal bool which is used by draw() and
10908         redraw() function.
10909         (general): some cursor drawing problems fixed.
10910
10911 2001-08-01  Juergen Vigna  <jug@sad.it>
10912
10913         * lyxfind.C (LyXFind): fixed
10914         (SearchForward): ditto
10915         (SearchBackward): ditto
10916
10917         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10918         spurius drawing of the cursor in the main area.
10919
10920         * text2.C (status): small fix which could lead to a segfault!
10921         (clearSelection): remove unneeded BufferView param.
10922
10923 2001-08-01  André Pönitz <poenitz@gmx.net>
10924
10925         * lyxfunc.C: small change due to changed mathed interface
10926
10927 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10928
10929         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10930
10931 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * lyxfunc.c: fail gracefully if file doesn't exist
10934
10935         * LyXSendto.C:
10936         * buffer.C:
10937         * lyxfunc.C:
10938         * BufferView_pimpl.C: IsDirWriteable() proto changed
10939
10940         * LyXView.C: fix updateWindowTitle() to store the last title
10941
10942 2001-07-31  Juergen Vigna  <jug@sad.it>
10943
10944         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10945         the font (wrong since using of Paragraph::highestFontInRange).
10946
10947         * paragraph.C (highestFontInRange): added a default_size parameter.
10948
10949         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10950         (setHeightOfRow): reformat
10951
10952 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * converter.[hC] + affected files: move to (inital-char)lowercase
10955         function names.
10956
10957         * ParagraphParameters.C (ParagraphParameters): remove commented code
10958
10959         * PainterBase.[Ch]: remove commented code
10960
10961         * LaTeXFeatures.h: add "bool floats" for float.sty
10962
10963         * LaTeXFeatures.C (LaTeXFeatures): init floats
10964         (require): handle float
10965         (getPackages): do it with floats
10966
10967 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10968
10969         * BufferView_pimpl.C (Dispatch): improve handling of
10970         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10971
10972         * commandtags.h: #include lyxfont.h here temporarily to avoid
10973         keybinding bug.
10974
10975         * bufferlist.h: include LString.h here.
10976
10977 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10978
10979         * text2.C (getStringToIndex): new method.
10980
10981 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10982
10983         * *: Reduced header file dependencies all over.
10984
10985 2001-07-30  Baruch Even  <baruch@lyx.org>
10986
10987         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10988
10989 2001-07-29  Baruch Even  <baruch@lyx.org>
10990
10991         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10992
10993 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * ParameterStruct.h (endif): add a default constructor to make
10996         sure that all variables is initialized.
10997
10998         * ParagraphParameters.C (ParagraphParameters): adjust
10999
11000 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11001
11002         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11003         index; also, check that there is something to index, and that it
11004         does not span over several paragraphs.
11005         (doubleClick): use WHOLE_WORD_STRICT for double click.
11006
11007         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11008
11009         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11010         scheme.
11011
11012 2001-07-26  Baruch Even  <baruch@lyx.org>
11013
11014         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11015         an InsetFig figure, backwards compatible reading of old figure code.
11016
11017 2001-07-27  Juergen Vigna  <jug@sad.it>
11018
11019         * text2.C: font.realize function adaption.
11020
11021         * text.C (draw): add a warnings lyxerr text if needed.
11022
11023         * layout.C: font.realize function adaption.
11024
11025         * language.C: add inherit_language and implement it's handlings
11026
11027         * bufferview_funcs.C (StyleReset): remove language parameter from
11028         font creation (should be language_inherit now).
11029
11030         * bufferparams.C (writeFile): handle ignore_language.
11031
11032         * paragraph.C (getFontSettings): the language has to be resolved
11033         otherwise we have problems in LyXFont!
11034
11035         * lyxfont.C (lyxWriteChanges): added document_language parameter
11036         (update): removed unneeded language parameter
11037
11038         * paragraph.C (validate): fixed wrong output of color-package when
11039         using interface colors for certain fonts in certain environments,
11040         which should not seen as that on the final output.
11041
11042 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * BufferView_pimpl.C:
11045         * Thesaurus.h:
11046         * Thesaurus.C:
11047         * Makefile.am:
11048         * commandtags.h:
11049         * LyXAction.C: add thesaurus support
11050
11051         * lyxfind.h:
11052         * lyxfind.C: add "once" parameter, for thesaurus, to not
11053           move to the next match
11054
11055 2001-07-26  Juergen Vigna  <jug@sad.it>
11056
11057         * lyxfont.C (realize): honor ignore_language too!
11058         (resolved): ditto.
11059
11060         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11061
11062         * text.C (draw): one place more for ignore_language to not draw
11063         itself!
11064
11065 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11066
11067         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11068
11069 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11072         the minipage conversion problem.
11073
11074 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11077         insert an inset.
11078
11079 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * BufferView.h: don't forward declare WorkArea
11082
11083         * BufferView.C: don't include WorkArea.h
11084
11085 2001-07-25  André Pönitz <poenitz@gmx.net>
11086
11087         * commandtags.h:
11088         * LyXAction.C:
11089         * lyxfunc.C:  new LFUN 'math-space'
11090
11091         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11092
11093 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * text2.C (toggleInset): call open/close
11096
11097 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * lyxfunc.C (dispatch): add debug for the disabled case
11100
11101         * font.C (buttonText): make similar to rectText
11102
11103         * buffer.C (readInset): comment out parsing of insetlist and
11104         insttheorem
11105
11106         * PainterBase.C (rectText): small correction
11107
11108         * BufferView_pimpl.C: comment out insettheorem and insetlist
11109         * LyXAction.C: ditto
11110         * commandtags.h: ditto
11111
11112 2001-07-24  Juergen Vigna  <jug@sad.it>
11113
11114         * text.C (draw): honor the ignore_language.
11115
11116         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11117
11118 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11119
11120         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11121         char inset.
11122
11123 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11124
11125         * lyxtext.h: remove unused (and unimplemented) methods
11126
11127 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11128
11129         * text.C (getVisibleRow): honor background color
11130
11131         * PainterBase.h:
11132         * Painter.h: remove default color argument for fillRectangle
11133
11134         * text.C (backgroundColor): new method
11135
11136 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * text.C (getVisibleRow): adjust
11139
11140         * font.[Ch] (rectText): new method, metrics
11141         (buttonText): new method, metrics
11142
11143         * PainterBase.[hC]: make rectText and buttonText always draw and take
11144         fewer paramteres.
11145
11146 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11147
11148         * ToolbarDefaults.C (read):
11149         * MenuBackend.C (read): allow escaping in all strings
11150
11151         * BufferView_pimpl.C (insertAndEditInset): new method.
11152         (Dispatch): use insertAndEditInset whenever appropriate.
11153
11154         * BufferView_pimpl.C (insertNote): removed
11155
11156         * BufferView_pimpl.C (smartQuote): new method, moved from
11157         BufferView; if an insetquote cannot be inserted, insert a '"'
11158         character instead.
11159
11160         * BufferView2.C: remove insertCorrectQuote();
11161
11162         * lyxfunc.C (getStatus): Add support for all remaingin
11163         inset-insert lfuns.
11164
11165         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11166
11167         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11168         command (necessary to pass " as parameter of self-insert.
11169
11170         * text.C (selectWordWhenUnderCursor):
11171         (selectWord): add word_location parameter
11172         (selectWordWhenUnderCursor): same + remove special code for word
11173         boundary.
11174         (selectNextWord): use kind() to guess type of insetspecialchar,
11175         not latex().
11176
11177         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11178         (insertErtContents): create ert insets as collapsed.
11179         (readInset): better compatibility code for Info inset.
11180
11181 2001-07-20  Juergen Vigna  <jug@sad.it>
11182
11183         * lyxfunc.C (dispatch): use always LyXFind now!
11184
11185         * text2.C (init): add a reinit flag so that the LyXText can be
11186         reinited instead of deleted and reallocated (used in InsetText).
11187
11188         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11189
11190         * text.C: ditto
11191
11192         * text2.C: ditto
11193
11194 2001-07-18  Juergen Vigna  <jug@sad.it>
11195
11196         * text.C (selectNextWord): handle insets inside inset by calling
11197         always the bv->text functions so that we can go up the_locking_inset!
11198
11199         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11200         in strange locations when inside an inset!
11201
11202         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11203         handling to include insets.
11204
11205         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11206
11207 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11208
11209         * LyXAction.C (init):
11210         * commandtags.h:
11211         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11212         LIGATURE_BREAK, since the name is so stupid.
11213
11214 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11217         InsetInfos.
11218
11219         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11220
11221         * sp_form.[Ch]: remove.
11222
11223         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11224
11225         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11226         InsetInfo.
11227
11228         * src/buffer.C (readInset): ditto.
11229
11230 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11231
11232         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11233         menuSeparator(), endOfSentenceDot(), ldots() and
11234         hyphenationPoint(), which are therefore removed.
11235         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11236
11237         * LyXAction.C (init):
11238         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11239
11240         * paragraph.C (getWord): removed.
11241
11242         * BufferView_pimpl.C (Dispatch): use last word or selection for
11243         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11244
11245         * lyx_main.C (queryUserLyXDir): do not ask before creating
11246         user_dir, except if it has been named explicitely.
11247
11248 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11249
11250         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11251         a document of zero size.
11252
11253 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11256         approriately in the c-tor and in require().
11257         (getPackages): output the appropriate LaTeX for natbib support.
11258
11259         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11260         variables "use_natbib" and "use_numerical_citations" when reading the
11261         LyX file.
11262         (readInset): read the various natbib cite commands.
11263         (validate): white-space change.
11264
11265         * bufferparams.[Ch]: new variables "bool use_natbib" and
11266         "bool use_numerical_citations".
11267         (writeFile): output them in the LyX file.
11268
11269 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11270
11271         * lyxfunc.C (getStatus): add support for all the inset insertion
11272         commands.
11273
11274         * text2.C (insertInset):
11275         * paragraph.C (insetAllowed):
11276         * BufferView_pimpl.C (insertInset): update to take in account the
11277         renaming of insertInsetAllowed
11278
11279         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11280
11281         * text2.C (getInset): new method. returns inset at cursor position.
11282
11283         * BufferView_pimpl.C (Dispatch): changes because of this.
11284
11285         * LyXAction.C (init): rename open-stuff to inset-toggle.
11286
11287         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11288
11289         * text2.C (toggleInset): renamed from openStuff; use
11290         Inset::open().
11291
11292 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11293
11294         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11295
11296         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11297
11298 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11299
11300         * buffer.C (readLyXformat2): Add filename to the error dialog
11301
11302 2001-07-18  Juergen Vigna  <jug@sad.it>
11303
11304         * tabular.C (GetCellNumber): put an assert here instead of the check!
11305
11306 2001-07-17  Juergen Vigna  <jug@sad.it>
11307
11308         * BufferView_pimpl.C (toggleSelection): adapted too.
11309
11310         * text.C (selectNextWord): adapted for use with insets.
11311         (selectSelectedWord): ditto
11312
11313 2001-07-17  Juergen Vigna  <jug@sad.it>
11314
11315         * sp_spell.C (PSpell): fix initialitation order.
11316
11317 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11318
11319         * paragraph.C: spacing
11320
11321 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11322
11323         * sp_spell.C: repair language selection for pspell
11324
11325 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * lyxfunc.h: change more methods to begin with lower char.
11328
11329 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11332         for unknown layouts.
11333
11334 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * buffer.C (readLyXformat2): Generate an error dialog if there are
11337         unknown layouts.
11338
11339 2001-07-16  Juergen Vigna  <jug@sad.it>
11340
11341         * sp_spell.C: always compile ISpell part.
11342
11343         * lyxrc.C: added use_pspell entry and it's handling.
11344
11345 2001-07-13  Juergen Vigna  <jug@sad.it>
11346
11347         * sp_spell.C: removed double includes.
11348
11349 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         Consistent use of Lsstream.h:
11352         * Lsstream.h: added using std::stringstream for consistencies sake.
11353
11354         * buffer.C: removed using std::stringstream
11355
11356         * lyxfont.C (stateText):
11357         * paragraph.C (asString):
11358         * text.C (selectNextWord, selectSelectedWord):
11359         * text2.C (setCounter):
11360         * vspace.C (asString, asLatexString):
11361         std::ostringstream -> ostringstream.
11362
11363 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11364
11365         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11366         * commandtags.h: add LFUN_HELP_ABOUTLYX
11367         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11368
11369 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11370
11371         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11372         cursorToggle()
11373         * lyx_gui_misc.C: remove spellchecker
11374         * lyxfunc.C: showSpellchecker
11375         * sp_base.h: added
11376         * sp_ispell.h: added
11377         * sp_pspell.h: added
11378         * sp_spell.C: added
11379         * sp_form.[Ch]: removed
11380         * spellchecker.[Ch]: removed
11381
11382 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11383
11384         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11385         is set.
11386         (simpleTeXSpecialChars): Simply print the input character without
11387         any special translation if pass_thru is set.
11388
11389         * layout.h: Added bool pass_thru to layout class for being able to
11390         implement pass through of a paragraph for Literate Programming.
11391
11392         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11393         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11394         * layout.C (Read): add "passthru" to list of layout tags and add
11395         code to set the pass_thru boolean when it is read.
11396
11397 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * trans_decl.h: remove allowed from KmodInfo
11400
11401         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11402         remove allowed code
11403         (Load): adjust
11404
11405         * paragraph_pimpl.C (erase): use boost::prior
11406
11407         * Painter.C (text): use data() instead of c_str() when length is
11408         also provided.
11409         * WorkArea.C (putClipboard): ditto
11410         * font.h (width): ditto
11411
11412         * BufferView2.C: use it-> instead of (*it). for iterators
11413         * texrow.C: ditto
11414         * paragraph_pimpl.C: ditto
11415         * paragraph.C: ditto
11416         * minibuffer.C: ditto
11417         * language.C: ditto
11418         * kbmap.C: ditto
11419         * encoding.C: ditto
11420         * counters.C: ditto
11421         * converter.C: ditto
11422         * chset.C: ditto
11423         * Variables.C: ditto
11424         * TextCache.C: ditto
11425         * MenuBackend.C: ditto
11426         * LyXAction.C: ditto
11427         * LColor.C: ditto
11428         * FloatList.C: ditto
11429         * DepTable.C: ditto
11430         * ColorHandler.C (LyXColorHandler): ditto
11431
11432 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11435
11436         * text2.C (openStuff): reintroduce this method (which had been
11437         nuked in NEW_INSETS frenzy).
11438
11439         * lyxfunc.C (Dispatch): when an action has not been handled, use
11440         its name in the error message, not its number.
11441
11442         * paragraph.C (inInset): change method name to begin with lowercase.
11443
11444         * undo_funcs.C:
11445         * text2.C: updates because of this.
11446
11447 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * ToolbarDefaults.C (add): add spaces in error message
11450
11451 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11454         (readLyXformat2): rename return_par to first_par, use lyxlex's
11455         pushToken and remove the manual push handling.
11456         (parseSingleLyXformat2Token): add another ert comp. variable:
11457         in_tabular, rename return_par to first_par. handle newlines better
11458
11459 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11460
11461         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11462
11463 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * text2.C (getParFromID): removed
11466
11467         * buffer.C (getParFromID): new method moved form lyxtext.
11468         * BufferView2.C (insertErrors): adjust
11469         (setCursorFromRow): adjust
11470         * BufferView_pimpl.C (restorePosition): adjust
11471         * lyxfunc.C (Dispatch): adjust
11472         * undo_funcs.C (textUndo): adjust
11473         (textRedo): adjust
11474         (textHandleUndo): adjust
11475         (textHandleUndo): adjust
11476
11477 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11478
11479         * buffer.C: up' the LYX_FORMAT
11480
11481         * lyxfont.h: turn NO_LATEX on as default
11482
11483         * buffer.C (insertErtContents): new methods of tex style compability.
11484         (parseSingleLyXformat2Token): use it several places.
11485         * tabular.C (OldFormatRead): and here
11486
11487 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * text2.C: remove some commented code.
11490         reindent file.
11491
11492         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11493         * trans.C: changes because of the above.
11494
11495 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11496
11497         * text2.C (setCounter): Fix counters bug with bibliography layout.
11498
11499 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11500
11501         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11502         own member functions
11503         (simpleTeXSpecialChars): ditto
11504
11505 2001-07-06  Juergen Vigna  <jug@sad.it>
11506
11507         * a lot of files: changed the access to LyXText::status and the
11508         call of undo-functions.
11509
11510         * undo.[Ch]: added a inset_id to the undo informations.
11511
11512         * undo_funcs.[Ch]: added and moved here all undo functions.
11513
11514         * lyxtext.h: give the status enum a weight, made status_ a private
11515         variable and made accessor functions for it, removed the whole bunch
11516         of undo-functions as they are now in their own file, make some
11517         functions publically available. Added function ownerParagraph with
11518         int parameter.
11519
11520         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11521         made InInset() a const function, added getParFromID() function.
11522
11523         * buffer.[Ch]: added const version for inset_iterator functions,
11524         added getInsetFromID() function.
11525
11526         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11527         changed undo functions for new version.
11528
11529 2001-07-05  Juergen Vigna  <jug@sad.it>
11530
11531         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11532         unknow mechanism does not call the proper constructor but only this
11533         one also if I request the other!?
11534
11535 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11536
11537         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11538
11539         * text2.C (LyXText): use initialization lists.
11540
11541         * lyxtext.h (Selection): initialize set_ and mark_
11542         (init): remove method
11543
11544 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11547
11548 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * screen.[Ch]: change method names to begin with lowercase
11551
11552         * BufferView_pimpl.C (updateScrollbar): simplify further and
11553         hopefully make it a bit faster.
11554
11555 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11558         calling directly xforms functions.
11559
11560         * Painter.C (Painter):
11561         * lyx_cb.C (MenuWrite):
11562         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11563         fl_display.
11564
11565         * lyx_gui.C: remove bogus guiruntime extern declaration.
11566
11567 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11570         in NEW_INSETS
11571         (redoDrawingOfParagraph): ditto
11572         (redoParagraphs): ditto
11573         (cutSelection): don't create a object for CutAndPaste use the
11574         static method directly
11575         (pasteSelection): ditto
11576
11577         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11578         LyXview (+ rename)
11579
11580 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * modifications to some other files because of this.
11583
11584         * Makefile.am (lyx_SOURCES): add XFormsView
11585
11586         * XFormsView.[Ch]: new files
11587
11588         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11589         the main window. Move the gui dependent stuff to XFormsView
11590
11591 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11592
11593         * tabular.C (GetCellInset): update cur_cell also in the row/col
11594         version of this function.
11595
11596         * lyxfunc.C: no need to include figure_form.h here.
11597
11598         * FontLoader.h:
11599         * lyxfunc.h:
11600         * lyxscreen.h:
11601         * text2.C:
11602         * lyxvc.C: no need to include forms.h here.
11603
11604 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11605
11606         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11607
11608         * lyxfunc.C (Dispatch):
11609         * Spacing.C (set):
11610         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11611         constructor argument.
11612
11613 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * paragraph.C (Paragraph): dont't clear, and just set layout.
11616         (makeSameLayout): use params's copy contructor.
11617
11618         * ParagraphParameters.[Ch] (makeSame): delete method
11619
11620 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * Variables.[Ch]: fix indentation, rename set to isSet
11623
11624 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11625
11626         * lyxfunc.C (Dispatch): fix typo
11627
11628 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11631         upper_bound.
11632
11633         * bufferlist.C: include assert.h for emergencyWrite().
11634
11635 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11638           give up at last (bug #425202) !
11639
11640 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * lyx_gui_misc.C:
11643         * sp_form.h:
11644         * sp_form.C:
11645         * spellchecker.h:
11646         * spellchecker.C: strip spellchecker options and bring up
11647           preferences tab instead
11648
11649 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11652         the istringstream constructor
11653
11654 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11655
11656         * paragraph.C (getLayout): fix return value
11657
11658         * paragraph.h: do not declare getLayout as inline.
11659
11660         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11661
11662 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * lyxcursor.h (operator<): new func
11665         (operator>): new func
11666         (operator>=): new func
11667         (operator<=): new func
11668
11669         * text.C (changeCase): use selection.start and selection.end
11670         (changeRegionCase): require from to be <= to. Require par to be a
11671         valid paragraph.
11672
11673         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11674
11675 2001-06-27  Juergen Vigna  <jug@sad.it>
11676
11677         * text.C (cursorLeftOneWord): changed to return the cursor and added
11678         overlay with BufferView * parameter which calls this one.
11679         (getWord): added
11680         (selectWord): use new getWord function.
11681         (changeCase): renamed from changeWordCase as and extended to work
11682         also on selections.
11683
11684         * lyxtext.h: added enum word_location
11685
11686         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11687         changeCase as this operates now also on selections.
11688
11689 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11690
11691         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11692
11693         * many files: send debug output to Debug::INFO instead of
11694         Debug::ANY.
11695
11696         * converter.C (View):
11697         (Convert):
11698         (Move): send debug output to Debug::FILES instead of console.
11699
11700 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11701
11702         * lyxfunc.C (getStatus): use func_status
11703
11704         * func_status.h: new header, describing the results of
11705         LyXFunc::getStatus;
11706
11707         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11708         LFUN_MATH_HALIGN.
11709
11710 2001-06-25  The LyX Project  <jug@sad.it>
11711
11712         * buffer.C (sgmlOpenTag):
11713         (sgmlCloseTag):
11714         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11715
11716 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11717
11718         * text2.C: remove some dead code
11719
11720         * tabular.C (GetCellInset): store the last cell checked (gotten)
11721
11722         * tabular.h: add the helper for the speedup
11723
11724         * lyxtext.h: remove some dead code
11725
11726 2001-06-26  The LyX Project  <Asger>
11727
11728         * paragraph.C: Change export to LaTeX of alignment to
11729         \begin{center} and family for better roundtrip work with reLyX.
11730
11731         * Tune the math drawing a bit.
11732
11733 2001-06-25  The LyX Project  <Asger>
11734
11735         * LColor.C (LColor): New color for math background. New color
11736         for buttons.
11737
11738 2001-06-25  The LyX Project  <jug@sad.it>
11739
11740         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11741
11742         * lyxfunc.C (Open):
11743         * bufferlist.C (newFile): do not restrict to files ending with
11744         .lyx
11745
11746         * BufferView_pimpl.C (MenuInsertLyXFile):
11747
11748 2001-06-24  The LyX Project  <jug@sad.it>
11749
11750         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11751         of compare_no_case
11752
11753 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * lyxtext.h: rename most methods to begin with a small char.
11756         Lots of changes because of this.
11757
11758         * paragraph.C (Paragraph): do not call fitToSize
11759         (erase): call Pimpl::erase
11760         (insertChar): call Pimpl::insertChar
11761         (insertInset): call Pipl::insertInset
11762         (breakParagraph): do not call fitToSize
11763         (breakParagraphConservative): do not call fitToSize
11764         (fitToSize): remove method
11765
11766         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11767
11768 2001-06-24  The LyX Project  <Asger>
11769
11770         * Fix Qt compilation^2
11771
11772 2001-06-24  The LyX Project  <jug@sad.it>
11773
11774         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11775         depthHook(getDepth()-1).
11776
11777         * paragraph.h:
11778         * ParagraphParameters.h:
11779         * ParameterStruct.h: change type of depth to unsigned int ==
11780         depth_type. Many adaptations to other files before of that.
11781
11782 2001-06-24  The LyX Project  <Asger>
11783
11784         * Fix Qt compilation.
11785
11786 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11787
11788         * paragraph.h: renamed several methods to begin with small letter.
11789         several changes to many parts of the code because of this.
11790
11791 2001-06-23  The LyX Project  <jug@sad.it>
11792
11793         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11794         rewritten to discard all double spaces when KeepEmpty is off
11795         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11796         to only handle newlines but not fiddle with spaces and friends.
11797
11798         * lyxfunc.C (MenuNew): when doing 'new from template', use
11799         template_path as default directory
11800
11801 2001-06-23  The LyX Project  <Asger>
11802
11803         * Clean-up of header file includes all over
11804         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11805
11806 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * paragraph.h: renamed from lyxparagraph.h
11809
11810 2001-06-23  Asger  <lyx@violet.home.sad.it>
11811
11812         * Buffer.h: Removed Buffer::resize
11813         * BufferList.h: Removed BufferList::resize
11814         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11815         the document lazily when we change the width, or the font settings.
11816
11817 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11820
11821 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * buffer.h: remove out of date comment
11824
11825 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * lyxscreen.h:
11828         * screen.C: fix "theoretical" GC leak
11829
11830 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * LaTeX.C (scanAuxFile):
11833         (deplog): remove trailing \r when reading stream (useful under
11834         win32)
11835
11836 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11839         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11840         and BufferView::theLockingInset(Inset*), so should use them and not
11841         access bv_->text->the_locking_inset directly.
11842
11843         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11844
11845 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * Makefile.am:
11848         * tex-defs.h: remove old unused file
11849
11850 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView_pimpl.C: fix typo, remove minibuffer message
11853           when buffer has loaded
11854
11855 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * lyxfunc.C (Dispatch): use stringstream
11858         (MenuNew): use stringstream
11859         (Open): use stringstream
11860
11861         * importer.C (Import): use stringstream
11862
11863         * bufferview_funcs.C (CurrentState): use stringstream
11864
11865         * LaTeX.C (run): use stringstream
11866
11867         * BufferView_pimpl.C (savePosition): use stringstream
11868         (restorePosition): use stringstream
11869         (MenuInsertLyXFile): use stringstream
11870
11871 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * BufferView.C:
11874         * Bullet.C:
11875         * ColorHandler.C:
11876         * FontInfo.C:
11877         * FontLoader.C:
11878         * LColor.C:
11879         * LaTeXFeatures.C:
11880         * Painter.C:
11881         * gettext.C:
11882         * lyx_gui_misc.C:
11883         * lyxserver.C:
11884         * vspace.C: removed // -*- C++ -*- as first line.
11885
11886         * lyxfind.h:
11887         * version.h: added // -*- C++ -*- as first line.
11888
11889 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11892
11893         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11894         of string
11895
11896 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11899         of floats.
11900
11901 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11902
11903         * gettext.C: include LString.h even when --disable-nls is on.
11904
11905 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * converter.h (Get): changed argument type from int to
11908         FormatList::size_type to avoid unnecessary conversion.
11909
11910         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11911         before using it.
11912
11913 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * gettext.h: include LString.h even when --disable-nls is on.
11916
11917 2001-06-07  Juergen Vigna  <jug@sad.it>
11918
11919         * text.C (BreakAgain): subst spaces with tabs.
11920
11921         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11922         (resizeInsetsLyXText): set force on resizeLyXText.
11923
11924 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11925
11926         * gettext.h (gettext_init):
11927         (locale_init): use a real definition instead of a macro
11928
11929 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * Bufferview_pimpl.C:
11932         * LColor.h:
11933         * LColor.C: further lcolor tidies
11934
11935 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * BufferView_pimpl.C (updateScrollbar): simplify.
11938
11939         * BufferView2.C: don't include insets/insetinfo.h, change
11940         prototype for insertInset and call the Pimpl version. let
11941         updateInset call Pimpl version.
11942
11943         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11944         gotoInset to BufferView::Pimpl
11945
11946 2001-06-01  Juergen Vigna  <jug@sad.it>
11947
11948         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11949         inside a LockingInset (is the update needed at all?).
11950
11951 2001-05-31  Juergen Vigna  <jug@sad.it>
11952
11953         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11954         here not the old one otherwise how should we compare it afterwards
11955         if it's the same!
11956
11957 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11958
11959         * lyxfont.C:
11960         * tabular.C:
11961         * tabular-old.C:
11962         * FontInfo.C: bring C functions into global namespace when
11963         necessary
11964
11965 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * LString.h: make sure config.h has been loaded before LString.h.
11968
11969         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11970         (one for each char read by EatLine!).
11971
11972         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11973         variables.
11974
11975 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11978         to the same as the par we break from
11979
11980 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11983
11984         * MenuBackend.C (expand): also create menu entries for wide
11985         versions of the floats.
11986
11987         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11988
11989         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11990
11991         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11992         frontends/Makefile.am
11993
11994         * text2.C: adjust
11995         * text.C: adjust
11996
11997
11998         * tabular.C (getTokenValue): add std::
11999
12000         * tabular-old.C (getTokenValue): add std::
12001         (getTokenValue): ditto
12002         (getTokenValue): ditto
12003
12004         * screen.C (ToggleSelection): adjust
12005
12006         * lyxtext.h: put selection cursors inside a Selection struct.
12007
12008         * lyxfunc.C (moveCursorUpdate): adjust
12009
12010         * lyxfont.C (latexWriteStartChanges): add std::
12011
12012         * lyxfind.C: adjust
12013
12014         * font.h: delete with(char const *, LyXFont const &)
12015
12016         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12017
12018         * FontInfo.C (getFontname): add std::
12019
12020         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12021         (workAreaButtonPress): adjust
12022         (tripleClick): adjust
12023         (update): adjust
12024         (moveCursorUpdate): adjust
12025         (Dispatch): adjust
12026
12027         * BufferView2.C (gotoInset): adjust
12028
12029 2001-05-30  Juergen Vigna  <jug@sad.it>
12030
12031         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12032         to check pspell I add this as default as I now have new pspell
12033         libraries and they seem to use this.
12034
12035 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * text2.C (CutSelection): make the cursor valid before the call to
12038         ClearSelection.
12039
12040 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12041
12042         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12043         relied on 0 terminated strings and other horrors. Bug found due to
12044         the new assert in lyxstring!
12045
12046         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12047         KP_ keys.
12048
12049 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12052         to latinkeys.bind.
12053
12054         * lyxfunc.C (processKeySym): change method of getting to the
12055         self-insert char.
12056
12057         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12058         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12059         * BufferView_pimpl.[Ch]: here as private methods.
12060
12061 2001-05-28  Juergen Vigna  <jug@sad.it>
12062
12063         * text.C (SetHeightOfRow): added the update() call again as it is
12064         needed to initialize inset dimensions!
12065
12066 2001-05-16  Juergen Vigna  <jug@sad.it>
12067
12068         * text2.C (SetCharFont): Add new function with BufferView * and
12069         bool toggleall parameters for setting insets internal fonts.
12070         (SetFont): Freeze the undo as we may change fonts in Insets and
12071         all this change should be inside only one Undo!
12072
12073         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12074         setting font's in insets as for them we have the SetFont function!
12075
12076 2001-05-15  Juergen Vigna  <jug@sad.it>
12077
12078         * text2.C (ClearSelection): to be sure we REALLY don't have any
12079         selection anymore!
12080
12081         * tabular.C (TeXCellPreamble): fixed the left border problem for
12082         multicolumn cells.
12083
12084 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12085
12086         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12087         dependancy file
12088
12089 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12092         LFUN_BREAKPARAGRAPH.
12093
12094         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12095         help test to "internal only", similar for LFUN_INSERT_URL
12096
12097         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12098         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12099         auto_region_delete and deadkeys.
12100
12101 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * LColor.h:
12104         * LColor.C: remove some dead entries, tidy a little
12105
12106 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12109         commented code.
12110         (Dispatch): implement LFUN_ESCAPE
12111
12112         * commandtags.h: add LFUN_ESCAPE
12113
12114         * LyXAction.C (init): add entry for LFUN_ESCAPE
12115
12116         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12117         Remove commented code.
12118         (insertNote): moved here
12119         (open_new_inset): moved here
12120
12121         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12122         BufferView_pimpl
12123
12124 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * kbmap.C (findbinding): clean it up and make it work correctly.
12127
12128         * lyx_main.C (init): do not pass argc and argv as parameters
12129
12130 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12131
12132         * buffer.C: fix path for OS/2 & Win32
12133
12134         * lyx_gui.C:
12135         * lyx_main:
12136         * lyx_main.C: Added os:: class.
12137
12138         * os2_defines.h: update
12139
12140 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12143         better by trying again with reduced state.
12144
12145 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * lyxrc.C (read): print error about invalid key sequence only when
12148         debugging (because not all latinX keysyms are known to some X
12149         servers)
12150
12151         * kbsequence.C (getiso): add a few std:: qualifiers
12152         (getiso): comment out extra return statement.
12153
12154 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12157         handling.
12158         (Dispatch): enhance the accent inset a bit. (not perfect)
12159
12160 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12163
12164 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * bufferlist.C (emergencyWrite): fix assert() call
12167
12168 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12169
12170         * text.C (InsertChar): Added trivial patch to only send the "you
12171         can not do multiple spaces this way" message once during a
12172         session.
12173
12174 2001-05-08  Baruch Even  <baruch@lyx.org>
12175
12176         * Makefile.am: Changed order of libraries to get LyX to link properly
12177         with the gnome frontend.
12178
12179 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12180
12181         * LaTeXFeatures.h: add a std:: qualifier
12182
12183 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * paragraph.C (String): use stringstream
12186
12187 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * paragraph.C (writeFile): remove footflag arg
12190
12191         * buffer.C (makeLaTeXFile): use stringstream
12192         (latexParagraphs): remove footnot gurba
12193
12194         * LaTeXFeatures.C (getPackages): use stringstream
12195         (getMacros): likewise
12196         (getTClassPreamble): likewise
12197         (getFloatDefinitions): new method
12198
12199         * paragraph.C (writeFile): reindent
12200         (Erase): reindent
12201
12202         * WorkArea.h: revert the xpos + etc changes.
12203
12204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12205
12206         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12207
12208         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12209         (pasteSelection): likewise
12210         * text2.C (CreateUndo): likewise
12211
12212 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * minibuffer.C (peek_event): temporarily reduce the functionality
12215         of the minibuffer (to allow args on lfuns)
12216
12217         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12218         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12219
12220         * buffer.C (readInset): add compability reading of old float
12221         lists, add reading of new style float list.
12222         (readInset): avoid reevaluation of inscmd.getCmdName()
12223         (getLists): reindent
12224
12225         * MenuBackend.C (MenuItem): implement parsing of
12226         md_floatlistinsert and md_floatinsert.
12227         (expand::LastFiles): move initalizaton of iterators out of loop,
12228         avoid reevaluation.
12229         (expand::Documents): introduce typdedef vector<string> Strings,
12230         and use it.
12231         (expand::ExportFormats): introduce typedef vector<Format const *>
12232         Formats, and use it.
12233         (expand): implement FloatListInsert and FloatInsert.
12234
12235         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12236         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12237         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12238
12239         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12240         handling.
12241         (Dispatch::LFUN_FLOAT_LIST): implement
12242
12243 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12244
12245         * LaTeX.C (run): Fix problem with --export code.
12246
12247 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12248
12249         * BufferView.[Ch] (workarea): removed.
12250         (getClipboard) new method; wrapper for workarea()->getClipboard()
12251
12252         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12253         bug.
12254
12255         * WorkArea.h (width, height, xpos, ypos): These methods all
12256         returned the dimensions of the work_area sub-area of WorkArea,
12257         resulting in a position error if the WorkArea were resized. Now
12258         return the dimensions of the entire WorkArea.
12259
12260         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12261
12262 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12263
12264         * LaTeX.C (deplog): correct the syntax of regex reg1
12265
12266 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * undo.C: remove !NEW_INSETS cruft
12269
12270 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * text2.C: remove !NEW_INSETS cruft
12273
12274         * text.C: remove !NEW_INSETS cruft
12275
12276         * tabular.C: remove !NEW_INSETS cruft
12277
12278         * spellchecker.C: remove !NEW_INSETS cruft
12279
12280         * lyxtext.h: remove !NEW_INSETS cruft
12281
12282         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12283
12284         * lyxfunc.C: remove !NEW_INSETS cruft
12285
12286         * lyxfind.C: remove !NEW_INSETS cruft
12287
12288         * lyx_cb.C: remove !NEW_INSETS cruft
12289
12290         * figureForm.C: remove  !NEW_INSETS cruft
12291
12292         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12293
12294         * buffer.[Ch]: remove !NEW_INSETS cruft
12295
12296         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12297
12298         * CutAndPaste.C: remove !NEW_INSETS cruft
12299
12300         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12301
12302         * BufferView2.C: remove !NEW_INSETS cruft
12303
12304         * BufferView.h: remove !NEW_INSETS cruft
12305
12306 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * Lsstream.h: include LString.h before the sstream headers to
12309         fix problem with gcc 2.95.3 and lyxstring
12310
12311 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * lyx_main.C: add using directives when needed for C functions
12314         declared in std:: namespace.
12315
12316 2001-04-27  Juergen Vigna  <jug@sad.it>
12317
12318         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12319         (SetHeightOfRow): comment out the update call should not be needed!
12320
12321 2001-04-13  Juergen Vigna  <jug@sad.it>
12322
12323         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12324         (LyXTabular): tried to minimize operator= operations (and realized
12325         hopfully Lars wish).
12326
12327 2001-04-27  Juergen Vigna  <jug@sad.it>
12328
12329         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12330
12331 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12334
12335         * buffer.C (readInset): hack to make listof algorithm work
12336
12337         * BufferView_pimpl.C: hack to make listof algorithm work
12338
12339 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * LyXAction.C: removed all !NEW_INSETS cruft
12342         (init): moved lfun_item in method
12343
12344         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12345
12346 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12347
12348         * BufferView2.C (theLockingInset): white space.
12349
12350 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * minibuffer.C: include <iostream>
12353
12354         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12355
12356         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12357
12358         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12359
12360         * text.[Ch] (TransposeChars): new method
12361
12362 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * call message directly through LyXView instead of through LyXFunc
12365         * BufferView2.C: adjust
12366         * BufferView_pimpl.C: adjust
12367         * FontLoader.C: adjust
12368         * buffer.C: adjust
12369         * bufferview_funcs.C: adjust
12370         * converter.C: adjust
12371         * figureForm.C: adjust
12372         * importer.C: adjust
12373         * lyx_cb.C: adjust
12374         * lyx_gui_misc.C: adjust
12375         * lyxfunc.C: adjust
12376         * lyxvc.C: adjust
12377         * text2.C: adjust
12378         + more files in subdirs
12379
12380         * lyxparagraph.h (size): move up int file
12381         (GetLayout): ditto
12382
12383         * adjust all uses of Assert to lyx::Assert.
12384
12385         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12386         lyxfunctional in namespace lyx
12387         * layout.C (hasLayout): ditto
12388         (GetLayout): ditto
12389         (GetLayout): ditto
12390         (delete_layout): ditto
12391         (NumberOfClass): ditto
12392         * converter.C (GetFormat): ditto
12393         (GetNumber): ditto
12394         (Add): ditto
12395         (Delete): ditto
12396         (SetViewer): ditto
12397         * bufferlist.C (getFileNames): ditto
12398         (emergencyWriteAll): ditto
12399         (exists): ditto
12400         (getBuffer): ditto
12401         * MenuBackend.C (hasSubmenu): ditto
12402         (hasMenu): ditto
12403         (getMenu): ditto
12404         * BufferView_pimpl.C (getInsetByCode): ditto
12405
12406 2001-04-18  Juergen Vigna  <jug@sad.it>
12407
12408         * vspace.C (asLatexString): fixed the 100% problem.
12409
12410 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * lyxfunc.C (Dispatch):
12413         * minibuffer.C:
12414         * minibuffer.h: add a few std:: qualifiers
12415
12416 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * minibuffer.[Ch]: reimplement so that commands is initiated and
12419         run from lyxfunc, simplified som handling, and made the completion
12420         and history code for complete. wip.
12421
12422         * lyxfunc.C (processKeySym): call message
12423         (miniDispatch): new temporary method
12424         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12425         (LFUN_MESSAGE): implement
12426         (LFUN_MESSAGE_PUSH): implement
12427         (LFUN_MESSAGE_POP): implement
12428         (initMiniBuffer): the initial/defualt minibuffer message.
12429
12430         * lyxfont.[Ch]: inline some more getters
12431
12432         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12433
12434         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12435
12436         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12437         (AutoSave): use LFUN_MESSAGE
12438         (Reconfigure): ditto
12439
12440         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12441
12442         * figureForm.C: use LFUN_MESSAGE
12443
12444         * converter.C (runLaTeX): use LFUN_MESSAGE
12445
12446         * bufferview_funcs.C: use LFUN_MESSAGE
12447         (Melt): ditto
12448         (changeDepth): ditto
12449
12450         * bufferparams.h: use boost::
12451
12452         * bufferlist.h: inherit privately from noncopyable
12453
12454         * bufferlist.C (loadLyXFile): remove some commented code.
12455
12456         * buffer.C (runChktex): use LFUN_MESSAGE
12457
12458         * ShareContainer.h: inherit privately from noncopyable
12459
12460         * ParagraphParameters.[hC] (depth): inline it.
12461
12462         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12463         methods.
12464         (message): new method
12465         (messagePush): ditto
12466         (messagePop): ditto
12467         (show): init minibuffer
12468         (showState): direct call
12469
12470         * LaTeX.[Ch]: inherit privately from noncopyable
12471         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12472         instead of WriteStatus.
12473
12474         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12475
12476         * BufferView_pimpl.C (buffer): don't init minibuffer
12477         (workAreaButtonPress): use LFUN_MESSAGE
12478         (workAreaButtonRelease): ditto
12479         (savePosition): ditto
12480         (restorePosition): ditto
12481         (MenuInsertLyXFile): ditto
12482         (workAreaExpose): don't init minibuffer
12483         (update): remove commented code, simplify
12484
12485         * BufferView2.C (openStuff): use LFUN_MESSAGE
12486         (toggleFloat): ditto
12487         (menuUndo): ditto
12488         (menuRedo): ditto
12489         (copyEnvironment): ditto
12490         (pasteEnvironment): ditto
12491         (copy): ditto
12492         (cut): ditto
12493         (paste): ditto
12494         (gotoInset): ditto
12495         (updateInset): remove some commented code
12496
12497         * lastfiles.h: inherit privately from noncopyable
12498         * layout.h: ditto
12499         * lyx_gui.h: ditto
12500         * lyx_main.h: ditto
12501         * lyxlex.h: ditto
12502         * lyxlex_pimpl.h: ditto
12503
12504         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12505         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12506         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12507
12508         * LyXAction.h: inherit privately from noncopyable, add methods
12509         func_begin, func_end, returning iterators to the func map.
12510
12511         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12512         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12513         (func_begin): new method
12514         (func_end): new method
12515
12516         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12517         and not)
12518         (copySelection): ditto
12519         (pasteSelection): ditto
12520
12521         * BufferView.C: whitespace change
12522         * BufferView.h: inherit privately from noncopyable
12523
12524 2001-04-16  Allan Rae  <rae@lyx.org>
12525
12526         * tabular-old.C (l_getline):
12527         * spellchecker.C (sc_check_word):
12528         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12529         an unrecognised preprocessor directive.  So ensure they're wrapped.
12530
12531 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * src/exporter.C (Export): Give an error message when path to file
12534         contains spaces.
12535
12536 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12537
12538         * LaTeX.C (deplog): Always check that foundfile exists.
12539
12540 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12541
12542         * lyx_main.h:
12543         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12544
12545 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * tabular.[Ch] (getLabelList): implement new method
12548
12549         * minibuffer.h: comment ouf setTiimer
12550
12551         * minibuffer.C (ExecutingCB): constify res
12552         (peek_event): constify s
12553         (Set): constify ntext
12554         (Init): constify nicename
12555
12556         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12557
12558         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12559         (savePosition): use two params to Minibuffer::Set
12560         (restorePosition): ditto
12561
12562 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * lyx_main.C: include language.h
12565
12566         * Makefile.am (lyx_main.o): add language.h
12567
12568 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * exporter.C:
12571         * paragraph.C:
12572         * screen.C:
12573         * tabular.C:
12574         * CutAndPaste.C: include gettext.h
12575
12576         * lyxfont.h: remove old hack with ON and OFF.
12577
12578         * lyxparagraph.h:
12579         * lyxfont.h: do not include language.h...
12580
12581         * BufferView2.C:
12582         * LaTeXFeatures.C:
12583         * Painter.C:
12584         * bufferview_funcs.C:
12585         * font.C:
12586         * lyxfont.C:
12587         * text.C:
12588         * text2.C:
12589         * trans_mgr.C:
12590         * paragraph.C: ... but do it here instead
12591
12592 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12595
12596         * tabular.C: small reformat
12597
12598         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12599         NEW_INSETS version
12600         (GetChar): ditto
12601         (BreakParagraph): ditto
12602         (SetOnlyLayout): ditto
12603         (SetLayout): ditto
12604
12605         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12606         with one arg less.
12607
12608         * lastfiles.C: removed most using decl, add std:: where needed
12609
12610         * buffer.C: ws changes
12611
12612         * MenuBackend.C (class compare_format): put into anon namespace
12613         (expand): constify label, names, action, action2
12614         (expand):
12615
12616         * text.C (SingleWidth): constify font
12617         (IsBoundary): constify rtl2
12618         (GetVisibleRow): constify ww
12619
12620         * LaTeX.C (deplog): constify logfile
12621
12622         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12623         start_x, end_x
12624         (workAreaExpose): constify widthChange, heightChange
12625
12626         * lyxrow.C (par): moved
12627         (height): moved
12628         (next): moved
12629         * lyxrow.h: as inlines here
12630
12631         * lyxfont.h (shape): moved from lyxfont.C
12632         (emph): moved from lyxfont.C
12633
12634         * lyxfont.C (LyXFont): use initialization list for all
12635         constructors
12636         (shape): move to lyxfont.h as inline
12637         (emph): move to lyxfont.h as inline
12638
12639
12640 2001-04-04  Juergen Vigna  <jug@sad.it>
12641
12642         * vspace.C: had to include stdio.h for use of sscanf
12643
12644 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * BufferView.h:
12647         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12648         independent of xforms.
12649
12650 2001-04-02  Juergen Vigna  <jug@sad.it>
12651
12652         * spellchecker.C: fixed namespace placing!
12653
12654 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12655
12656         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12657         the LyXParagraph * is 0.
12658
12659 2001-03-29  Juergen Vigna  <jug@sad.it>
12660
12661         * vspace.C: added support for %, c%, p%, l%.
12662         (stringFromUnit): added helper function.
12663         (asLatexString): changed to give right results for the %-values.
12664
12665         * buffer.C: convert the widthp in a width%.
12666
12667 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12668
12669         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12670         figureForm.[Ch].
12671
12672         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12673         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12674
12675         * lyx_cb.[Ch]: see above.
12676
12677         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12678         form1.[Ch].
12679
12680         * form1.[Ch]:
12681         * lyx.[Ch]: replaced by figure_form.[Ch].
12682
12683         * lyx_gui.C:
12684         * lyx_gui_misc.C:
12685         * lyxfunc.C: changed headers associated with above changes.
12686
12687 2001-03-27  Juergen Vigna  <jug@sad.it>
12688
12689         * BufferView_pimpl.C: set the temporary cursor right!
12690
12691 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12694
12695 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12696
12697         * LString.h: removed "using std::getline"!
12698
12699         * BufferView_pimpl.C (Dispatch): changes due to changes in
12700         InsetInclude::Params.
12701
12702         * buffer.C (tag_name): removed redundant break statements as they were
12703         producing lots of warnings with my compiler.
12704
12705 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * LString.h: add "using std::getline" when using the real <string>.
12708
12709 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12710
12711         * buffer.C: removed bitset usage.
12712         PAR_TAG moved to an anonymous name space.
12713         (tag_name): new funtion, also in the anonymous namespace.
12714         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12715         (makeDocBookFile): clean code. Completed transition from string arrays
12716         to string vectors.
12717         (SimpleDocBookOnePar): code clean.
12718
12719 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12720
12721         * tabular.C: add some comments.
12722
12723 2001-03-22  Juergen Vigna  <jug@sad.it>
12724
12725         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12726         compatibility read a bit and fixed bug with minipage in different
12727         depth.
12728
12729 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12730
12731         * buffer.C (pop_tag): removed.
12732         (push_tag): removed.
12733         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12734         array replaced with vector. Added support for CDATA sections.
12735         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12736         at any nest level.
12737         (makeDocBookFile): XML conformant declaration of CDATA section,
12738         fixed bug related to <emphasis> in the first paragraph char.
12739         (sgmlOpenTag): exclude empty tags.
12740         (sgmlCloseTag): ditto.
12741
12742         * buffer.h (pop_tag): removed.
12743         (push_tag): removed.
12744
12745 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * language.h (Languages): added size_type and size().
12748
12749 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12750
12751         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12752         response on compability reading of minipages. One probliem is that
12753         the old usage of minipages was «flertydig»
12754
12755         * several files here and in subdirs: don't use static at file
12756         scope use anon namespaces instead.
12757
12758 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12759
12760         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12761         LaTeX output. This is necessary for Literate document
12762         processing.
12763
12764 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12765
12766         * buffer.C: insert hfill when needed.
12767
12768         * tabular.C (l_getline): use string::erase, small whitespace change.
12769
12770         * BufferView_pimpl.C: try the anon namespace.
12771         * WorkArea.C: ditto
12772
12773 2001-03-16  Juergen Vigna  <jug@sad.it>
12774
12775         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12776         otherwise it won't open options-dialogs.
12777
12778         * buffer.C: honor pextraWidth(p) on converting minipages.
12779
12780         * tabular.C (l_getline): changed the functions to strip trailing \r.
12781
12782 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12783
12784         * BufferView_pimpl.C:
12785         * minibuffer..C: added "using SigC::slot" declaration.
12786
12787 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12788
12789         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12790
12791         * text2.C: ditto
12792
12793         * text.C: ditto
12794
12795         * paragraph.C: ditto
12796
12797         * lyxtext.h: NO_PEXTRA
12798
12799         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12800
12801         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12802         * ParameterStruct.h: ditto
12803         * ParagraphParameters.h: ditto
12804         * lyxparagraph.h: ditto
12805
12806 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12807
12808         * buffer.C: add compability for minipage alignment.
12809         (latexParagraphs): remove unwanted pextra check.
12810
12811         * several files: remove CXX_WORKING_NAMESPACES
12812
12813         * buffer.C (pop_tag): tie is in namespace boost
12814
12815         * BufferView.h: noncopyable is in namespace boost
12816         * lyxlex.h: ditto
12817         * lyx_main.h: ditto
12818         * lyx_gui.h: ditto
12819         * layout.h: ditto
12820         * lastfiles.h: ditto
12821         * bufferlist.h: ditto
12822         * ShareContainer.h: ditto
12823         * LyXView.h: ditto
12824         * LyXAction.h: ditto
12825         * LaTeX.h: ditto
12826
12827 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * Merging changes from BRANCH_MVC back into HEAD.
12830
12831         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12832
12833 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * BufferView_pimpl.C: change from intl.C
12836
12837         * combox.h:
12838         * combox.C:
12839         * Makefile.am: move combox.*
12840
12841         * form1.h:
12842         * form1.C:
12843         * lyx_gui.C:
12844         * intl.h:
12845         * intl.C: remove dialog (covered by prefs)
12846
12847 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12848
12849         * lyxfunc.C (Dispatch): removed redundant break statement.
12850
12851 2001-03-14  Juergen Vigna  <jug@sad.it>
12852
12853         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12854
12855 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12856
12857         * buffer.C: add hack to fix compability reading of minipages.
12858
12859 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12860
12861         * buffer.C (getLists): Cleanup.
12862
12863 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12864
12865         * lyxfont.C (update): don't honor toggleall on font size.
12866
12867 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * bmtable.c:
12870         * bmtable.h:
12871         * Makefile.am: moved to frontends/xforms/
12872
12873         * lyx_gui_misc.C:
12874         * lyxfunc.C:
12875         * BufferView_pimpl.C: changes for moved mathpanel
12876
12877 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * gettext.h: fix gettext_init() in --disable-nls
12880
12881 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12882
12883         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12884
12885 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyx.C:
12888         * lyx.h: strip external form
12889
12890 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * BufferView_pimpl.C: add comment, destroySplash()
12893
12894 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * BufferView_pimpl.C:
12897         * LyXAction.C:
12898         * buffer.C:
12899         * commandtags.h:
12900         * lyxfunc.C: use re-worked insetinclude
12901
12902 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12903
12904         * buffer.C: add using std::stringstream.
12905
12906         * lyx_cb.C: readd using std::ios.
12907
12908         * buffer.C: add using std::map.
12909
12910         * BufferView_pimpl.C: add using std::vector.
12911
12912         * ShareContainer.h: add std:: to swap.
12913
12914         * buffer.h: add some typedefs
12915         * buffer.C (getLists): use them
12916         (getLists): renamed from getTocList.
12917         add a counter for the different float types and use it in the
12918         generated string.
12919         (getLists): use the same counter for the NEW_INSETS and the "non"
12920         NEW_INSETS
12921
12922         * lyx_cb.h: remove unused items, includes, using etc.
12923
12924         * ShareContainer.h: remove some commented code, add more comments
12925         and "documentation".
12926
12927 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12928
12929         * buffer.C (getTocList): make the list also when NEW_INSETS is
12930         defined.
12931
12932         * buffer.h: remove TocType
12933
12934         * buffer.C (getTocList): change to return a map<string,
12935         vector<TocItem> >, implement for dynamic number of list.
12936
12937         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12938         * text2.C (PasteSelection): adjust
12939         * CutAndPaste.C (pasteSelection): adjust
12940
12941         * FloatList.C (FloatList): update from the new_insets branch.
12942         * Floating.[Ch]: ditto
12943         * LaTeXFeatures.C: ditto
12944         * buffer.C: ditto
12945         * lyxlex_pimpl.C: ditto
12946
12947         * paragraph.C (Last): remove when NEW_INSETS is defined.
12948
12949         * other file: changes because of the above.
12950
12951 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12952
12953         * lyxparagraph.h: rename next to next_, previous to previous_,
12954         make them private for NEW_INSETS. Rename Next() to next(),
12955         Previous() to previous().
12956
12957         * other files: changes because of the above.
12958
12959 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * BufferView.h:
12962         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12963         problem.
12964
12965 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * main.C (main): pass lyx_localedir to gettext_init().
12968
12969         * gettext.h: remove locale_init and gettext_init macros
12970
12971         * gettext.C (locale_init): new function
12972         (gettext_init): new function
12973
12974         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12975         setlocale().
12976
12977 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12978
12979         * Moved credits to frontends:
12980         * credits.[Ch]: removed
12981         * credits_form.[Ch]: removed
12982         * lyx_gui_misc.C: remove credits stuff
12983         * Makefile.am:
12984
12985 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12986
12987         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12988
12989         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12990         unneeded destructor.
12991
12992         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12993         a standalone pointer again.
12994
12995         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12996
12997 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * Makefile.am:
13000         * filedlg.h:
13001         * filedlg.C:
13002         * LyXAction.C:
13003         * ToolbarDefaults.C:
13004         * bufferlist.C:
13005         * commandtags.h:
13006         * form1.C:
13007         * form1.h:
13008         * lyx_cb.C:
13009         * lyx_cb.h:
13010         * lyxfunc.h:
13011         * lyxfunc.C:
13012         * BufferView_pimpl.C: use new file dialog in GUII
13013
13014         * lyx_cb.h:
13015         * lyx_cb.C: remove LayoutsCB to Toolbar
13016
13017 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * ShareContainer.h (get): add std:: qualifier
13020
13021 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * ShareContainer.h: define a proper ShareContainer::value_type
13024         type (and use typename to please compaq cxx)
13025
13026 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13027
13028         * lyxparagraph.h: move serveral local vars to
13029         ParameterStruct/ParagraphParameters., use ShareContainer in
13030         FontTable., make vars in FontTable private and add getter and
13031         setter.
13032
13033         * paragraph.C: changes because of the above.
13034
13035         * lyxfont.h: remove copy constructor and copy assignment. (the
13036         default ones is ok), move number inside FontBits. move inlines to
13037         lyxfont.C
13038
13039         * lyxfont.C: add number to initializaton of statics, move several
13040         inlines here. constify several local vars. some whitespace
13041         cleanup. Dont hide outerscope variables.
13042
13043         * Spacing.h: add two new constructors to match the set methods.
13044
13045         * ShareContainer.h: new file, will perhaps be moved to support
13046
13047         * ParameterStruct.h: new file
13048
13049         * ParagraphParameters.h: new file
13050
13051         * ParagraphParameters.C: new file
13052
13053         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13054         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13055
13056         * BufferView_pimpl.C: ParagraphParameter changes.
13057         * buffer.C: Likewise.
13058         * bufferview_funcs.C: Likewise.
13059         * text.C: Likewise.
13060         * text2.C: Likewise.
13061
13062 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * lyxfind.C (LyXReplace): do not redefine default argument in
13065         implementation.
13066         (IsStringInText): ditto
13067         (SearchForward): ditto
13068         (SearchBackward): ditto
13069
13070 2001-03-06  Juergen Vigna  <jug@sad.it>
13071
13072         * lyxfind.C (IsStringInText): put parentes around expressions.
13073
13074 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13075
13076         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13077
13078 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13081
13082         * stl_string_fwd.h: add comment
13083
13084         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13085
13086         * tabular.h:
13087         * tabular.C: remove unused DocBook methods
13088
13089         * intl.C:
13090         * language.C:
13091         * paragraph.C:
13092         * buffer.C:
13093         killed DO_USE_DEFAULT_LANGUAGE
13094
13095 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13096
13097         * lyx_gui.C: do not include language.h.
13098
13099         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13100         arguments in function implementation.
13101
13102 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13103
13104         * BufferView_pimpl.C: add <ctime>
13105
13106 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13107
13108         * BufferView_pimpl.C: add using std::find_if
13109
13110 2001-02-27  José Matos  <jamatos@fep.up.pt>
13111
13112         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13113         by OnlyPath.
13114
13115 2001-02-11  José Matos  <jamatos@fep.up.pt>
13116
13117         * buffer.C (makeDocBookFile): command styles now have a parameter as
13118         "title" by default.
13119
13120 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13121
13122         * layout_forms.[Ch]: removed
13123         * lyx_cb.[Ch]: out character
13124         * lyx_gui.C: out character
13125         * lyx_gui_misc.C: out character
13126         * bufferview_funcs.C: : out character,
13127         added toggleall as parameter in ToggleAndShow
13128
13129 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13130
13131         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13132
13133         * text2.C (SetCurrentFont): Disable number property at boundary.
13134
13135 2001-02-26  Juergen Vigna  <jug@sad.it>
13136
13137         * lyxfunc.C (getStatus): added a string argument override function so
13138         that this is correctly called from LyXFunc::Dispatch if it contains a
13139         do_not_use_argument which is used!
13140         (Dispatch): added check for "custom" export and call appropriate func.
13141
13142 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * lyxrc.C: Add language_command_local, language_use_babel and
13145         language_global_options.
13146
13147         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13148
13149         * buffer.C (makeLaTeXFile): Use language_use_babel and
13150         language_global_options.
13151
13152 2001-02-23  Juergen Vigna  <jug@sad.it>
13153
13154         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13155         which works with LyXText and putted it inside BufferView. Here now we
13156         only call for that part the BufferView::Dispatch() function.
13157
13158         * BufferView.C (Dispatch): added.
13159
13160         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13161         functions which needs to use a LyXText over from LyXFunc.
13162         (MenuInsertLyXFile): added
13163         (getInsetByCode): added
13164         (moveCursorUpdate): added
13165         (static TEXT): added
13166
13167 2001-02-22  Juergen Vigna  <jug@sad.it>
13168
13169         * BufferView_pimpl.C (update): call a status update to see if LyXText
13170         needs it.
13171
13172 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13173
13174         * vc-backend.C (revert): implement for CVS
13175         (getLog): implement for CVS
13176
13177 2001-02-20  Juergen Vigna  <jug@sad.it>
13178
13179         * text2.C (ClearSelection): added BufferView param for inset_owner call
13180
13181         * lyxfunc.C (TEXT): added this function and use it instead of
13182         directly owner->view()-text of getLyXText().
13183
13184 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13185
13186         * src/layout_forms.C: out preamble
13187         * src/layout_forms.h: out preamble
13188         * src/lyx_cb.C: out preamble
13189         * src/lyx_cb.h: out preamble
13190         * src/lyx_gui.C: out preamble
13191         * src/lyx_gui_misc.C: out preamble
13192         * src/lyxfunc.C: connect with guii preamble
13193
13194 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13195
13196         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13197
13198 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13199
13200         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13201         whether to run bibtex.
13202
13203 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13204
13205         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13206
13207 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13208
13209         * Makefile.am (lyx_SOURCES): removed bibforms.h
13210
13211         * vspace.h: doxygen
13212
13213         * text.C (GetVisibleRow): make several local vars const
13214
13215         * tabular.C: small cleanup.
13216
13217         * lyxserver.C (callback): use compare instead of strncmp
13218
13219         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13220         inlines to after class or to paragraph.C
13221
13222         * lyxfont.h: remove friend operator!=
13223
13224         * converter.h: move friend bool operator< to non friend and after
13225         class def.
13226
13227         * combox.h: small cleanup
13228
13229         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13230         to inlines after class def.
13231
13232         * buffer.C (pop_tag): use string operations instead of strcmp
13233
13234         * bmtable.c: doxygen, small cleanup
13235
13236         * LaTeX.h: remove friend operator==
13237
13238 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13239
13240         * screen.C:
13241         * lyxrc.[Ch]:
13242         * lyxfunc.C:
13243         * lyxfont.[Ch]:
13244         * lyx_cb.C:
13245         * intl.[Ch]:
13246         * commandtags.h:
13247         * buffer.C:
13248         * WorkArea.[Ch]:
13249         * LyXAction.C:
13250         * BufferView_pimpl.C:
13251         * BufferView.[Ch]: remove cruft
13252
13253 2001-02-14  Juergen Vigna  <jug@sad.it>
13254
13255         * lyxfunc.C: removed #if 0 unused code
13256
13257         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13258
13259         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13260
13261         * text2.C (SetSelection): added a BufferView * parameter
13262
13263 2001-02-13  Juergen Vigna  <jug@sad.it>
13264
13265         * lyxfunc.C (Dispatch): fixed protected blank problem.
13266         * BufferView2.C (protectedBlank): added LyxText * parameter.
13267
13268         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13269         (AppendColumn): same as above for column_info.
13270
13271         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13272         (moveCursorUpdate): use a LyXText param for support of InsetText.
13273
13274         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13275         (tripleClick): ditto
13276
13277         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13278
13279         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13280
13281         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13282
13283         * text2.C (SetSelection): set correct update status if inset_owner
13284         (ToggleFree): ditto
13285
13286 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13287
13288         * tabular.C: remove some commented code.
13289
13290 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * BufferView_pimpl.C: call hideSplash()
13293
13294         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13295
13296         * include_form.h:
13297         * bibforms.h: remove
13298
13299         * lyxfunc.C:
13300         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13301           add LFUN_CHILD_CREATE
13302
13303         * counters.h: fix tiny typo
13304
13305         * lyx_cb.C:
13306         * lyx.h:
13307         * lyx_gui.C:
13308         * lyx.C: move splash to frontends/xforms/
13309
13310         * lyx_gui_misc.C: move Include and Bibform to frontends
13311
13312         * lyxvc.h: clarify comment
13313
13314         * vspace.C: tiny housekeeping
13315
13316 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13317
13318         * text.C (PrepareToPrint): RTL Fix.
13319
13320         * paragraph.C (GetUChar): New method.
13321         (String):  Use GetUChar.
13322
13323         * buffer.C (asciiParagraph): Use GetUChar.
13324
13325 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13326
13327         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13328
13329 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * buffer.h:
13332         * buffer.C: rename to getLogName(), handle
13333           build log / latex log nicely
13334
13335 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * MenuBackend.C:
13338         * MenuBackend.h: remove support for reference menuitem type.
13339
13340 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * BufferView_pimpl.C: housekeeping
13343         * BufferView_pimpl.h:
13344         * LyXView.h:
13345         * Makefile.am:
13346         * Timeout.C:
13347         * Timeout.h:
13348         * minibuffer.h: move Timeout GUI-I
13349
13350 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13351
13352         * lyxrc.C (read): Update converters data-structures.
13353
13354 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13355
13356         * LaTeX.h (operator!=): add operator != for Aux_Info
13357
13358 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13361
13362         * LaTeXLog.C: deleted, useful code moved to Buffer
13363
13364         * buffer.h:
13365         * buffer.C: new function getLatexLogName()
13366
13367         * lyx_gui_misc.C:
13368         * lyx_gui.C:
13369         * lyxvc.C:
13370         * lyxvc.h:
13371         * lyxfunc.C: use frontends for LaTeX and VC logs
13372
13373 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13374
13375         * LaTeX.h: yet another std:: that Allan forgot.
13376
13377         * Variables.C (set): renamed from isset(), because this clashes
13378         with some HP-UX macros (grr).
13379
13380 2001-02-06  Allan Rae  <rae@lyx.org>
13381
13382         * LaTeX.h: Another bug fix.  Missing std:: this time.
13383
13384 2001-02-04  Allan Rae  <rae@lyx.org>
13385
13386         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13387         floats problem. I've left it commented out because it's not quite
13388         correct.  It should also test that the current object is a table or
13389         figure inset.  But I haven't gotten around to figuring out how to do
13390         that.  I *think* it'll be something like: "table" == inset.type()
13391
13392         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13393         bool.
13394
13395 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13398         all the citation/databases/styles in the auxilary file.
13399         (run): Rerun latex if there was a babel language error.
13400
13401 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13402
13403         * text.C (Backspace): Preserve the font when changing newline char
13404         with a space.
13405         (BreakParagraph): If the cursor is before a space, delete the space.
13406
13407         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13408
13409 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13412         new argument (code).
13413         (ChangeCitationsIfUnique): New method.
13414
13415         * paragraph.C (GetPositionOfInset): Handle bibkey.
13416
13417 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * BufferView_pimpl.h: change type of Position::par_pos to
13420         LyXParagraph::size_type.
13421
13422 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13423
13424         * BufferView_pimpl.C (savePosition, restorePosition): Write
13425         messages to minibuffer.
13426
13427 2001-01-28  José Matos  <jamatos@fep.up.pt>
13428
13429         * buffer.C (makeDocBookFile): adds support for document language.
13430         A silly restriction on the name of LatexCommand types where removed.
13431         Added support for CDATA sections, allows to chars unescaped, used
13432         among others in code, to avoid escape < and >.
13433
13434 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13435
13436         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13437         saved positions instrad of a stack. Furthermore, a position is
13438         stored using paragraph id/paragraph position.
13439
13440         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13441         Remove LFUN_REF_BACK.
13442
13443 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * converter.C (dvipdfm_options): New method.
13446
13447 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13448
13449         * vspace.C (isValidLength): Fix for empty input string.
13450
13451 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * LyXAction.C (init): change description of LFUN_FIGURE to
13454         "Insert Graphics"
13455
13456 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * LaTeX.C: add using directive
13459
13460 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * MenuBackend.C (expand): Fix the sorting of the formats.
13463
13464 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * lyx_main.C: tiny error message fix
13467
13468 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13471         calling fl_initialize(). This fixes the problem with ',' as
13472         decimal separator in text files.
13473
13474 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * trans.C (process): Fix the keymap bug.
13477
13478 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * LaTeX.C (scanAuxFiles): New method. Provides support for
13481         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13482         (scanLogFile) Scan for "run BibTeX" messages.
13483
13484         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13485         OT1 font encoding. Also, load the aecompl package if the ae
13486         package is loaded.
13487
13488         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13489
13490 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * texrow.C (increasePos): turn two error messages into debug
13493         messages.
13494
13495 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13496
13497         * LaTeX.C (scanAux): Handle the \@input macro.
13498         (runBibTeX): Use scanAux().
13499
13500         * language.C (latex_options_): New field.
13501
13502         * LaTeXFeatures.C (getMacros): Add language macros.
13503
13504         * buffer.C (makeLaTeXFile): Small fix.
13505
13506 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13507
13508         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13509
13510         * text2.C: add a using directive.
13511
13512 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * BufferView2.C:
13515         * lyx_gui_misc.h:
13516         * lyxfr1.C:
13517         * lyxfunc.C: kill LyXBell.
13518
13519 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13520
13521         * text.C (IsBoundary): Remove the error message
13522
13523         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13524
13525         * lyxrc.C (setDefaults): Correct initialization value for
13526         font_norm_type.
13527
13528 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13529
13530         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13531         gotoError().
13532
13533         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13534         and GotoNextNote().
13535
13536         * src/LyXAction.C: Added reference-next.
13537
13538         * text.C (InsertChar): Use contains instead of strchr.
13539
13540         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13541
13542 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13543
13544         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13545         alignment commands (when needed).
13546
13547         * text.C (InsertChar): Add ':' to number separator chars.