]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
* text.C: remove big comment on invalid Paragraph pointers as it is
[lyx.git] / src / ChangeLog
1
2 2003-11-11  André Pönitz  <poenitz@gmx.net>
3
4         * text.C: remove big comment on invalid Paragraph pointers as it is
5         not valid anymore
6
7 2003-11-11  André Pönitz  <poenitz@gmx.net>
8
9         * text_funcs.[Ch]: merge with ...
10
11         * text.C: ... this
12
13         * lyxtext.h:
14         * text2.C:
15         * text3.C: adjust
16
17         * Makefile.am: remove text_funcs.[Ch]
18
19 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
20
21         * cursor.C (getPos): return absolute cached y coord
22
23         * BufferView_pimpl.C (fitCursor): new simplistic code
24         (workAreaDispatch): add a fitCursor call
25
26 2003-11-10  André Pönitz  <poenitz@gmx.net>
27
28         * BufferView.[Ch]:
29         * BufferView_pimpl.[Ch]: merge update() and updateInset()
30
31 2003-11-10  André Pönitz  <poenitz@gmx.net>
32
33         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
34         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
35         indicate that the cursor needs to leave an inset
36
37         * lyxtext.h: remove inset locking
38
39         * cursor.[Ch]: re-implement functionality provided by inset locking
40
41         * BufferView.[Ch]:
42         * BufferView_pimpl.[Ch]:
43         * LyXAction.C:
44         * bufferview_funcs.[Ch]:
45         * factory.C:
46         * funcrequest.[Ch]:
47         * iterators.C:
48         * lyx_cb.C:
49         * lyxfind.C:
50         * lyxfunc.C:
51         * text.C:
52         * text2.C:
53         * text3.C:
54         * undo.C: adjust
55
56 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
57
58         * PosIterator.[Ch]: replace the stack with a vector, add inset 
59         accesor
60         * iterators.[C]: adjust
61
62 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
63
64         * lyxfind.C (replaceAll): mark the buffer dirty if something was
65         replaced
66         * paragraph_funcs.C (readParToken): put the correct id in the
67         error item, not the id of the top paragraph
68
69 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
70
71         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
72         * bufferview_funcs.C (put_selection_at): use the above
73
74 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
75
76         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
77
78 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * output_linuxdoc.h: 
81         * output_plaintext.h: 
82         * output.h: 
83         * output_docbook.h: add #include statements
84
85 2003-11-05  José Matos  <jamatos@lyx.org>
86
87         * output_docbook.[Ch]:
88         * output_latex.[Ch]:
89         * output_linuxdoc.[Ch]:
90         * output_plaintext.[Ch]: New files for output formats.
91         * output.[Ch]: New file for helper functions.
92
93         * buffer.[Ch]:
94         * paragraph_funcs.[Ch]: output functions moved to new files.
95
96         * outputparams.h: rename of latexrunparams.h
97
98         * LaTeX.[Ch]:
99         * buffer.[Ch]:
100         * bufferlist.[Ch]:
101         * converter.[Ch]:
102         * exporter.C:
103         * paragraph.[Ch]:
104         * paragraph_funcs.[Ch]:
105         * paragraph_pimpl.[Ch]:
106         * tabular.[Ch]: rename ascii to plaintext
107         and LatexRunParams to OutputParams.
108         
109 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
110
111         * iterators.[Ch] (text): require bv argument
112         * undo.C (recordUndo): 
113         * lyxfunc.C (dispatch): 
114         * bufferview_funcs.C (put_selection_at): adjust
115
116 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
117
118         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
119
120 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
121
122         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
123         nestings
124
125 2003-11-04  André Pönitz  <poenitz@gmx.net>
126
127         * cursor.[Ch]: restructure
128
129         * BufferView.[Ch]:
130         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
131
132         * iterators.[Ch] (asCursor): remove
133
134         * lfuns.h: remove LFUN_INSET_EDIT
135
136         * lyxfunc.C:
137         * tabular.C:
138         * text.C:
139         * text2.C:
140         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
141
142 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
143
144         * lyxfind.[Ch]: complete overhaul
145         * BufferView_pimpl.C:
146         * lyxfunc.C: adjust
147         * paragraph.[Ch] (insert): add
148
149 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
150
151         * BufferView.[Ch]:
152         * lyxtext.h:
153         * text.C: remove dead spellcheck code
154         
155 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
156
157         * dispatchresult.h: add a val setter
158
159         * cursor.C (dispatch): use a tempvar for data_[i]
160
161 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
162
163         * PosIterator.[Ch]: compile fix
164
165 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
166
167         * text.C (cursorPar): deactivate the cursor cache
168
169 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
170
171         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
172
173 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
174
175         * text3.C (dispatch): adjust for new DisptchResult semantics.
176
177         * lyxfunc.C (dispatch): handle update when return from
178         Cursor::dispatch, adjust for new DispatchResult semantics.
179
180         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
181         DispatchResult(true) mean to not update. Add class functions for
182         setting dispatched and update, as well as reading.
183
184         * cursor.C (dispatch): don't handle update here
185
186 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
187
188         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
189         * trans_mgr.C: adjust
190
191         * paragraph_funcs.C (readParToken): exception safety
192
193         * lyxvc.h: store the vcs pointer in a scoped_ptr
194         * lyxvc.C: adjust
195
196         * lyxsocket.C (serverCallback): exception safety
197
198         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
199
200         * ispell.C (clone): make it return a auto_ptr
201
202         * factory.C (createInset): exception safety
203         (readInset): exception safety
204
205         * bufferlist.C (newBuffer): exception safety
206
207         * Thesaurus.C (Thesaurus): use initialization for aik_
208
209         * MenuBackend.C (expandToc): exception safety.
210
211 2003-11-03  André Pönitz  <poenitz@gmx.net>
212
213         * buffer.C:
214         * buffer.h:
215         * bufferview_funcs.C: remove getInsetFromId()
216
217         * lyxcursor.[Ch]:
218         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
219
220         * lyxfunc.C:
221         * text2.C:
222         * text3.C: adjust
223
224 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
225
226         * PosIterator.C (distance, advance): new
227         * bufferview_funcs.[Ch] (put_selection_at): new
228         * iterators.[Ch] (lockPath): new
229
230 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
231
232         * iterators.[Ch] (asPosIterator): added
233         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
234         * PosIterator.[Ch]: added
235
236 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
237
238         * text3.C:
239         * lyxfunc.C:
240         * cursor.C (dispatch):
241         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
242
243         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
244         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
245         contructor, add a class function dispatched. Remove operator>=
246
247 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
248
249         * debug.C: only use the default constructor for debugstream
250         (lyxerr) here.
251
252         * main.C (main): include debug.h and setup the lyxerr streambuf
253         here.
254
255 2003-10-31  José Matos  <jamatos@lyx.org>
256
257         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
258
259         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
260         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
261         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
262         * paragraph_pimpl.C (simpleTeXSpecialC):
263         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
264         add LatexRunParams argument.
265
266         * exporter.C (Export): change call accordingly.
267
268         * latexrunparams.h: add new member to take care of the other backends.
269 2003-10-30  José Matos  <jamatos@lyx.org>
270
271         * buffer.C (makeLinuxDocFile, makeDocBookFile):
272         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
273         factorise code for paragraph output.
274         * buffer.[Ch]:
275         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
276         move functions.
277
278 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
279
280         * text3.C (dispatch):
281         * lyxfunc.C (dispatch):
282         * cursor.C (dispatch):
283         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
284
285         * dispatchresult.h: make the dispatch_result_t ctor explicit
286
287 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * sgml.[Ch]:
290         * buffer.C: small refactoring of docbook stuff
291
292 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
293
294         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
295         meaning.
296
297 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
298
299         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
300         operator dispatch_result_t, and operators for == != and >=
301
302         * cursor.C (dispatch): adjust for operator dispatch_result_t
303         removal. comment out call to update
304
305         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
306
307 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
308
309         * text3.C:
310         * text2.C:
311         * text.C:
312         * lyxtext.h:
313         * lyxfunc.C:
314         * cursor.C:
315         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
316         (dispatch):
317
318         * dispatchresult.h: new file, DispatchResult broken out of
319         insets/insetbase.h
320
321         * Makefile.am (lyx_SOURCES): add dispatchresult.h
322
323 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
324
325         * text.C (rowBreakPoint): put a hack inside #if 0
326
327 2003-10-28  André Pönitz  <poenitz@gmx.net>
328
329         * lyxtext.h:
330         * metricsinfo.C:
331         * paragraph_funcs.C:
332         * rowpainter.C:
333         * text.C:
334         * text2.C: general cleanup (lots of small stuff)
335
336 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
337
338         * text2.C (cursorEnd): simple fix to the "end key goes to one
339         before the end on last row" bug
340
341 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
342
343         * text.C (backspace): fix the "zombie characters"
344
345 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
346
347         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
348
349 2003-10-27  André Pönitz  <poenitz@gmx.net>
350
351         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
352
353         * factory.C: handle new InsetPagebreak, InsetLine
354
355         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
356         and move handling into new InsetPagebreak, InsetLine
357
358         * BufferView_pimpl.C:
359         * LyXAction.C:
360         * ParagraphParameters.C:
361         * ParameterStruct.h:
362         * lyxfunc.C:
363         * lyxtext.h:
364         * paragraph.C:
365         * paragraph.h:
366         * paragraph_funcs.C:
367         * paragraph_pimpl.C:
368         * rowpainter.C:
369         * text.C:
370         * text2.C:
371         * text3.C: adjust
372
373 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
374
375         * text.C:
376         * lyxrow_funcs.[Ch]:
377         * Bidi.C:
378         * paragraph.C:
379         * lyxtext.h:
380         * rowpainter.C:
381         * text2.C:
382         * text3.C: remove lastPos uses in favour of Row::endpos
383
384 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
385
386         * undo.C (performUndoOrRedo): fix two crashes by setting a
387         cursor by hand and reordering some calls. Use bv->lockInset instead
388         of inset->edit because the latter loses cursor information
389
390 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
391
392         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
393         by Martin
394         (rowBreakPoint): fix width. change point to point + 1.
395         Add a missing check.
396
397 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * MenuBackend.C:
400         * lyxfunc.C: fix (at least partly) the problems
401         with the Nav menu and headers inside branch insets
402         reported by Kayvan
403
404 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
405
406         * paragraph.C (getChar): add strong asserts
407
408         * lyxrow_funcs.C (lastPos): remove hideous hack
409
410         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
411         (fill): adjust to that (avoid an infinite loop)
412
413 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
414
415         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
416
417 2003-10-23  André Pönitz  <poenitz@gmx.net>
418
419         * RowList_fwd.h: change list<> to vector<> to gain speed
420         after suggestion from Alfredo
421
422 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
423
424         * lyxtext.h: move the bidi stuff from here...
425         * text.C: and here
426         * text2.C: and here
427         * Bidi.[Ch]: ... to here
428
429 2003-10-23  André Pönitz  <poenitz@gmx.net>
430
431         * lyxtext.h:
432         * text.C (isLastRow, isFirstRow): new functions
433
434         * paragraph.h: new width cache member
435
436         * rowpainter.C: replace RowList::iterator with Row & where possible
437
438         * lyxfunc.C: replace several view()->text with a single call
439
440         * toc.C: fix 'unused' warning
441
442 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
443
444         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
445         when woring with stream::pos_type
446         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
447
448 2003-10-22  André Pönitz  <poenitz@gmx.net>
449
450         * lyxtext.h:
451         * text.C: use Row & instead of RowList::iterator
452
453         * lyxrow.h: rename end() to endpos()
454
455         * rowpainter.C:
456         * text.C:
457         * text2.C: adjust
458
459 2003-10-22  Angus Leeming  <leeming@lyx.org>
460
461         * buffer.[Ch] (fully_loaded): new member function, returning true
462         only when the file has been loaded fully.
463         Used to prevent the premature generation of previews and by the
464         citation inset to prevent computation of the natbib-style label.
465
466         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
467         templates are all set up.
468
469         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
470
471 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * text.C: fixed an "oops" in the "is a bit silly"
474         bug fix
475
476 2003-10-21  André Pönitz  <poenitz@gmx.net>
477
478         * FuncStatus.[Ch]: small stuff, whitespace
479
480         * lyxfont.[Ch]: operator<<() for debug reasons
481
482         * lyxfunc.C:
483         * lyxrow_funcs.C:
484         * lyxtext.h: whitespace, spelling
485
486         * paragraph.C: naming of variables
487
488         * text.C:
489         * text2.C: small stuff
490
491
492 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
493
494         * text.C: (1) finish off the inset display() work;
495         (2) fix the "is a bit silly" bug (accessing char
496         past end of par).
497
498 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * text.C: re-introduce display() for insets, fixing the
501         various bugs (stretch of line above, math inset
502         positioning, ...)
503
504 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * text.C (rightMargin): remove spurious semicolon
507
508         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
509         1415)
510
511 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * text3.C: fix one crash due to wrong cursor def
514
515 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
516
517         * vc-backend.C (scanMaster): make the regex static
518
519         * LaTeX.C (scanAuxFile): make the regexs static
520
521         * text3.C (doInsertInset, dispatch, dispatch):
522         * text2.C (cursorUp, cursorDown):
523         * text.C (selectNextWordToSpellcheck):
524         * BufferView_pimpl.C (dispatch):
525         * lyxfunc.C (dispatch):  localDispatch -> dispatch
526
527 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * lyxsocket.C: include <cerrno>
530
531 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
532
533         * lyxfunc.C (dispatch): remove textcache stuff
534
535         * bufferlist.C (release): remove textcache stuff
536         (closeAll): ditto
537
538         * TextCache.C: delete file
539         * TextCache.h: delete file
540
541         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
542
543         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
544         delete of the bv_->text.
545         (resizeCurrentBuffer): remove texcache stuff
546         (workAreaResize): ditto
547
548 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
549
550         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
551         action.
552
553 2003-10-16  André Pönitz  <poenitz@gmx.net>
554
555         * lyxrow.[Ch]:
556         * paragraph.h:
557         * rowpainter.C:
558         * text.C:
559         * text2.C:
560         * text3.C: speed up by storing y positions per paragraph plus per-row
561         offset instead of having a 'full' y position in the row.
562
563 2003-10-15  André Pönitz  <poenitz@gmx.net>
564
565         * iterators.[Ch]:
566         * iterators.[Ch]:
567         * undo.[Ch]: make undo aware of inner insets
568
569 2003-10-14  Angus Leeming  <leeming@lyx.org>
570
571         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
572         static member functions LyX::ref() and LyX::cref.
573         (lastfiles): new accessor functions for the new lastfiles_ member var.
574         (addLyXView, views_): add a new LyXView to the list of views_.
575         (updateInset): loop over all LyXViews to call their own updateInset
576         member function, returning a pointer to the Buffer owning the inset.
577
578         * BufferView_pimpl.C (loadLyXFile):
579         * MenuBackend.C (expandLastfiles):
580         * bufferlist.C (MenuWrite, QuitLyX):
581         lastfiles is no longer a global variable.
582         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
583
584         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
585         static function. Access through LyX::cref().emergencyCleanup().
586
587 2003-10-14  André Pönitz  <poenitz@gmx.net>
588
589         * iterators.[Ch]: new direct access to innermost LyXText and Inset
590
591         * undo.[Ch]: restoring part of 'undo in insets'
592
593         * Makefile.am:
594         * undo_funcs.[Ch]: merge with undo.[Ch]
595
596         * tabular.C: small cleansing stuff
597
598 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
599
600         * paragraph_funcs.C (readParToken): report unknown insets as error
601         boxes. Use the outer paragraph as location (also for unknown
602         tokens).
603
604         * factory.C (readInset): do not abort on reading an unknown inset.
605         Eat it and return 0.
606
607 2003-10-13  Angus Leeming  <leeming@lyx.org>
608
609         * lyx_main.C (LyX): remove call to setDisplayTranslator().
610
611         * lyxrc.C: displayTranslator is now a function,
612         declared in GraphicsTypes.h.
613
614 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
615
616         * format.C: new placeholder $$a to pass the socket address.
617
618         * bufferlist.[Ch]: new function getBufferFromTmp.
619
620         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
621           files in the temporary dir.
622
623 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
624
625         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
626
627         * Makefile.am: add lyxsocket.[Ch].
628
629         * lyx_main.C (error_handler): handle SIGPIPE.
630
631 2003-10-13  André Pönitz  <poenitz@gmx.net>
632
633         * BufferView_pimpl.C:
634         * lyxtext.h:
635         * text.C:
636         * text2.C:
637         * text3.C:
638         * undo_funcs.[Ch]: use paroffset_type instead of
639           ParagraphList::iterators to prevent multiple conversion
640           (and get a more robust interface)
641
642 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
643
644         * lyxfunc.C (dispatch): RESULT -> dispatch_result
645         * lyxtext.h: ditto
646         * text3.C (dispatch): ditto
647
648 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
649
650         * LaTeX.C (handleFoundFile): move the static to smaller scope,
651         move the onlyfile, use onlyfile instead of foundfile in a couple
652         of places.
653
654         * DepTable.C (update): flush the error stream a bit more
655
656 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
657
658         * lyxserver.C (callback): adjust
659
660         * lyxfunc.C (getStatus): add a missing brace in commented code
661         (ensureBufferClean): reindent
662         (dispatch): delete version taking a string
663
664 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
665
666         * LaTeX.C (deplog): move found file handlig from here...
667         (handleFoundFile): .. to new function here.
668         (deplog): make sure to discover several files mentioned on the
669         same log line.
670
671 2003-10-10  André Pönitz  <poenitz@gmx.net>
672
673         * lyxfunc.C:
674         * lyxtext.h:
675         * tabular.C:
676         * text.C:
677         * text2.C:
678         * text3.C: fix some of the tabular crashes
679
680 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
681
682         * MenuBackend.C (binding): put debug message into Debug::KBMAP
683
684         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
685
686 2003-10-09  André Pönitz  <poenitz@gmx.net>
687
688         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
689
690         * BufferView.C:
691         * BufferView_pimpl.C:
692         * bufferview_funcs.C:
693         * lyx_cb.C:
694         * lyxcursor.C:
695         * lyxfind.C:
696         * lyxfunc.C:
697         * lyxtext.h:
698         * text.C:
699         * text2.C:
700         * text3.C:
701         * text_funcs.[Ch]:
702         * textcursor.[Ch]:
703         * undo_funcs.C: adjust
704
705 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
706
707         * text2.C (incrementItemDepth): new function, use a backtracking
708         algorithm to discover the correct item depth.
709         (resetEnumCounterIfNeeded): new function, use a backtracking
710         algorithm to discover if counter reset is needed.
711         (setCounter): use them. Simplify a bit. Add different labels for
712         different item depths for itemize.
713
714         * paragraph.C (Paragraph): remove initialization of enumdepth
715         (operator=): ditto
716
717         * paragraph.h: get rid of enumdepth, and use itemdepth both for
718         enumerate and itemize. Change the type of itemdepth to signed char.
719
720 2003-10-08  André Pönitz  <poenitz@gmx.net>
721
722         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
723           thing assignable.
724         * text.C:
725         * text2.C: adjust
726
727         * tabular.[Ch]: fix crash after 'row-insert'
728
729 2003-10-08  Angus Leeming  <leeming@lyx.org>
730
731         Fix doxygen warnings.
732
733         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
734         Remove CutAndPaste:: prefix from header file declaration.
735
736         * LColor.h (fill): remove LColor:: prefix from declaration.
737
738         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
739         use lyx::depth_type rather than Paragraph::depth_type so that
740         header file and .C file match.
741
742         * converter.h (intToFormat): remove Converters:: prefix from declaration.
743
744         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
745         * aspell.C: \file aspell_local.C -> \file aspell.C
746         * gettext.C: \file gettext.C -> \file src/gettext.C
747         * gettext.h: \file gettext.h -> \file src/gettext.h
748         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
749         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
750         * text.C: \file text.C -> \file src/text.C
751
752         * toc.C: move comment so that doxygen is not confused.
753
754 2003-10-07  Angus Leeming  <leeming@lyx.org>
755
756         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
757
758 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
759
760         * aspell.C:
761         * aspell_local.h: add forgotten std::string's.
762
763 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
764
765         * LaTeXFeatures.C:
766         * LyXAction.C:
767         * factory.C:
768         * lfuns.h:
769         * lyxfunc.C:
770         * text3.C: The Box patch. Fancybox support, minipage, parbox
771
772 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
773
774         * CutAndPaste.h:
775         * DepTable.h:
776         * FloatList.h:
777         * LaTeXFeatures.h:
778         * ParagraphParameters.h:
779         * TextCache.h:
780         * Thesaurus.h:
781         * bufferlist.h:
782         * exporter.h:
783         * importer.h:
784         * lastfiles.h:
785         * lyxfind.h:
786         * lyxfont.h:
787         * lyxlex.h:
788         * lyxtextclasslist.h:
789         * messages.h:
790         * paragraph.h:
791         * paragraph_pimpl.C:
792         * textcursor.h: add <string> and other small fixes to make Lars'
793         std::string patch compile with STLport.
794
795 2003-10-06  Angus Leeming  <leeming@lyx.org>
796
797         * LColor.h: Add missing #include <string>.
798
799 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
800
801         * All most all file in all subdirs: Make <string> be the prefered
802         way of getting to std::string, add using declarations.
803
804 2003-10-06  André Pönitz  <poenitz@gmx.net>
805
806         * metricsinfo.C: initialize LyXFont before changing attribute.
807         (fixes the 'math in \emph is upright' bug)
808
809 2003-10-06  André Pönitz  <poenitz@gmx.net>
810
811         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
812
813 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * graph.C:
816         * paragraph_pimpl.C: Small fixes to build using STLport
817
818 2003-10-02  André Pönitz  <poenitz@gmx.net>
819
820         * lyxfunc.C:
821         * text3.C: move handling of LFUN_DEPTH *; fix #1360
822
823 2003-10-01  André Pönitz  <poenitz@gmx.net>
824
825         * factory.C: assert early
826
827 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
828
829         * lyx_main.C: remove the global debug object
830
831         * debug.h: adjust for new debugstream
832
833         * debug.C: adjust for new debugstream and keep the global debug
834         object here.
835
836 2003-09-22  Angus Leeming  <leeming@lyx.org>
837
838         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
839         of g++ which otherwise complain that the scoped_ptr destructor can't delete
840         an incomplete class LyXFont.
841
842 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * factory.C: bug fix in branches
845
846 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
847
848         * lyxfunc.C (processKeySym): adjust
849         (dispatch): adjust
850         (dispatch): change arg name from ev to func, adjust
851         (sendDispatchMessage): ditto
852
853         * lyx_main.C (defaultKeyBindings): adjust keybindings
854         (deadKeyBindings): ditto
855
856         * kbsequence.C (addkey): return a FuncRequest
857
858         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
859
860         * kbmap.C (bind): take a FuncRequest as arg, adjust
861         (read): adjust
862         (lookup): adjust
863         (defkey): change to take a FuncRequest as arg, adjust
864         (findbinding): take a FuncRequest as arg, adjust.
865
866         * funcrequest.h (operator=): added
867
868         * funcrequest.C (FuncRequest): default kb_action changed from
869         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
870
871         * buffer.C (dispatch): simplify
872         (dispatch): adjust to take a FuncRequest as arg, adjust
873
874         * boost.C (assertion_failed): change assertion message slightly
875
876         * ToolbarBackend.C (read): simplify
877
878         * MenuBackend.C (binding): adjust call to findbinding, add a
879         message if no binding is found.
880         (read): simplify
881         (expandToc): correct by adding a empty FuncRequest
882
883         * LyXAction.C: include <boost/assert.hpp>
884         (isPseudoAction): delete function
885         (LookupFunc): change name to...
886         (lookupFunc): this. change return type to FuncRequest.
887         (getActionName): take kb_action as arg, simplify
888         (funcHasFlag): add an assert, simplify.
889
890 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
891
892         * toc.C (action): return a FuncRequest, simplify
893
894         * lyxfunc.C (processKeySym): adjust
895         (getStatus): delete version that takes an int.
896         (getStatus): adjust
897         (dispatch): delete version that takes action as int
898         (dispatch): adjust
899         (sendDispatchMessage): simplify and adjust
900
901         * funcrequest.C (getArg): take unsigned int as arg
902
903         * ToolbarBackend.C (read): adjust
904         (add): delete version that takes func as a string.
905         (getIton): take a FuncRequest as arg
906
907         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
908         action.
909
910         * MenuBackend.C (MenuItem): add a new construct that only takes a
911         Kind, simplify the constructor use for submenus.
912         (add): adjust
913         (expandLastfiles): adjust
914         (expandDocuments): adjust
915         (expandFormats): adjust
916         (expandFloatListInsert): adjust
917         (expandFloatInsert): adjust
918         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
919
920         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
921         Remove class variables lyx_pseudo_map and lyx_arg_map
922
923         * LyXAction.C (searchActionArg): delete function
924         (getPseudoAction): delete function
925         (retrieveActionArg): delete function
926         (LookupFunc): make it return kb_action, simplify.
927         (getActionName): simplify
928
929         * factory.C (createInset): fix new bug
930
931 2003-09-19  Angus Leeming  <leeming@lyx.org>
932
933         * CutAndPaste.C (pasteSelection): remove fudge used to set the
934         masterFilename_ parameter in the include inset.
935
936         * factory.C (createInset): changes due to the changes to InsetInclude.
937
938 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
939
940         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
941
942 2003-09-18  Angus Leeming  <leeming@lyx.org>
943
944         * buffer.C:
945         * BufferView.C: pass the buffer when calling Inset::getLabelList,
946         Inset::fillWithBibKeys.
947         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
948
949 2003-09-18  Angus Leeming  <leeming@lyx.org>
950
951         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
952         variables.
953         (ctor): pass and store a 'Buffer const &'
954         (buffer): new member function.
955
956         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
957         '*this' to the LaTeXFeatures ctor.
958
959 2003-09-18  Angus Leeming  <leeming@lyx.org>
960
961         * LColor.h:
962         * lyxfont.C:
963         * lyxfont.h:
964         * lyxtext.h:
965         * text.C: rename EnumLColor as LColor_color.
966
967 2003-09-18  Angus Leeming  <leeming@lyx.org>
968
969         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
970         remove #include "insets/insetbase.h" from cursor.h.
971
972 2003-09-18  Angus Leeming  <leeming@lyx.org>
973
974         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
975         InsetOld_code to remove #include "inset.h".
976
977         * iterators.C: add #include "insets/inset.h"
978
979 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * BufferView.C: remove more locking stuff that apparently doesn't
982         do anything sensible.
983
984 2003-09-16  André Pönitz  <poenitz@gmx.net>
985
986         * paragraph.[Ch]:
987         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
988           performance boost.
989
990 2003-09-16  Angus Leeming  <leeming@lyx.org>
991
992         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
993
994         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
995         arg/return type.
996
997         * paragraph.h: remove #include "lyxfont.h". Forward declare
998         LyXFont_size.
999
1000 2003-09-16  Angus Leeming  <leeming@lyx.org>
1001
1002         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1003         of support/textutils.h.
1004         (isWord): move the contents of support/textutils.h's IsWordChar here.
1005
1006         * buffer.C:
1007         * lyxfind.C:
1008         * rowpainter.C:
1009         * text.C:
1010         * text2.C: add #include "paragraph.h".
1011
1012         * rowpainter.C:
1013         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1014
1015 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1016
1017         * main.C:
1018         * lyx_main.C:
1019         * lyx_cb.C:
1020         * buffer.C:
1021         * LaTeX.C: use namespace alias for lyx::support::os
1022
1023 2003-09-16  Angus Leeming  <leeming@lyx.org>
1024
1025         * bufferparams.C:
1026         * bufferview_funcs.C:
1027         * factory.C:
1028         * lyxfunc.C:
1029         * paragraph_pimpl.C:
1030         * rowpainter.C:
1031         * text.C: add #include "LColor.h".
1032
1033 2003-09-16  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1036         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1037         return LyXFont &.
1038         Store the FontBits::color variable as an int rather than as an
1039         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1040         file.
1041
1042         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1043         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1044         string calls together.
1045
1046         * lyxrc.C: add #include "LColor.h".
1047
1048 2003-09-15  Angus Leeming  <leeming@lyx.org>
1049
1050         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1051         a cow_ptr.
1052
1053 2003-09-15  Angus Leeming  <leeming@lyx.org>
1054
1055         * LColor.h: add an EnumLColor wrapper for LColor::color.
1056
1057         * lyxfont.[Ch] (color, setColor, realColor):
1058         * lyxtext.h, text.C (backgroundColor):
1059         pass EnumLColor args to/from the functions, rather than LColor::color
1060         ones.
1061
1062         * lyxfont.h:
1063         * lyxtext.h: forward declare EnumLColor.
1064
1065         * lyx_main.C: add #include "LColor.h".
1066
1067 2003-09-15  Angus Leeming  <leeming@lyx.org>
1068
1069         * .cvsignore: add lyx-gtk.
1070
1071 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * Chktex.C
1074         * LaTeX.C
1075         * LaTeXFeatures.C
1076         * ParagraphParameters.C
1077         * Spacing.C
1078         * buffer.C
1079         * bufferparams.C
1080         * bufferview_funcs.C
1081         * chset.C
1082         * counters.C
1083         * funcrequest.C
1084         * lyxfont.C
1085         * lyxgluelength.C
1086         * lyxlength.C
1087         * paragraph.C
1088         * paragraph_funcs.C
1089         * text3.C
1090         * vc-backend.C: remove usage of STRCONV
1091
1092 2003-09-15  Angus Leeming  <leeming@lyx.org>
1093
1094         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1095         explicitly define the color passed to the painter.
1096
1097 2003-09-15  Angus Leeming  <leeming@lyx.org>
1098
1099         * bufferparams.C (BufferParams): reorder member initializers to avoid
1100         compiler warning.
1101
1102 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1103
1104         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1105         * text.C (updateRowPositions): remove an unusual nop
1106
1107 2003-09-12  André Pönitz  <poenitz@gmx.net>
1108
1109         * BufferView_pimpl.C:
1110         * Bullet.C:
1111         * layout.h:
1112         * lyxfunc.C:
1113         * lyxlayout.[Ch]:
1114         * lyxtextclass.C:
1115         * rowpainter.C:
1116         * text.C:
1117         * text2.C:
1118         * Counters.[Ch]: finish the 'automatic counters' job
1119
1120 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1121
1122         * aspell.C: include <boost/assert.cpp> (compile fix)
1123
1124 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1125
1126         * boost.C (assertion_failed): use lyx::support::abort instead of
1127         assert.
1128
1129 2003-09-10  Angus Leeming  <leeming@lyx.org>
1130
1131         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1132         with their _fwd progeny.
1133
1134 2003-09-09  Angus Leeming  <leeming@lyx.org>
1135
1136         134 files throughtout the source tree: replace 'using namespace abc;'
1137         directives with the appropriate 'using abc::xyz;' declarations.
1138
1139 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1140
1141         * boost.C (emergencyCleanup): moved here from LAssert.c
1142         (assertion_failed): new function, called by BOOST_ASSERT
1143
1144         * several files: change Assert to BOOST_ASSERT
1145
1146 2003-09-09  Angus Leeming  <leeming@lyx.org>
1147
1148         * buffer.[Ch]: Add an Impl class and move Buffer's member
1149         variables into it. As a result move several header files out of
1150         buffer.h.
1151
1152         Add header files to lots of .C files all over the tree as a result.
1153
1154 2003-09-09  Angus Leeming  <leeming@lyx.org>
1155
1156         * buffer.[Ch]: make Buffer's member variables private. Add
1157         accessor functions.
1158
1159         Lots of changes all over the tree as a result.
1160
1161 2003-09-08  Angus Leeming  <leeming@lyx.org>
1162
1163         * graph.C: #include <config.h>.
1164
1165 2003-09-08  Angus Leeming  <leeming@lyx.org>
1166
1167         * BranchList.C:
1168         * BufferView.C:
1169         * BufferView_pimpl.C:
1170         * CutAndPaste.C:
1171         * DepTable.C:
1172         * LaTeX.C:
1173         * LaTeXFeatures.C:
1174         * LyXAction.C:
1175         * MenuBackend.C:
1176         * TextCache.C:
1177         * aspell.C:
1178         * buffer.C:
1179         * bufferlist.C:
1180         * changes.C:
1181         * chset.C:
1182         * converter.C:
1183         * counters.C:
1184         * debug.C:
1185         * graph.C:
1186         * ispell.C:
1187         * lyx_cb.C:
1188         * lyxfind.C:
1189         * lyxfunc.C:
1190         * lyxlex_pimpl.C:
1191         * lyxrc.C:
1192         * lyxrow.C:
1193         * paragraph.C:
1194         * rowpainter.C:
1195         * texrow.C:
1196         * text.C:
1197         * text2.C:
1198         * toc.C: remove redundant using directives.
1199
1200 2003-09-07  Angus Leeming  <leeming@lyx.org>
1201
1202         * LaTeXFeatures.h: remove #include "support/types.h".
1203         * ToolbarBackend.h: remove #include <algorithm>.
1204         * changes.h: remove #include <ctime>.
1205         * debug.h: remove #include <iosfwd>.
1206         * graph.h: remove #include "support/std_string.h".
1207         * lyx_main.h: remove #include <csignal>.
1208         * lyxlex_pimpl.h: remove #include <fstream>.
1209         * sgml.h: remove #include <algorithm>, <utility>.
1210         * toc.h: remove #include "support/std_ostream.h".
1211         Add #include <iosfwd>.
1212
1213 2003-09-07  Angus Leeming  <leeming@lyx.org>
1214
1215         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1216
1217         * converter.h: forward declare LatexRunParams.
1218         * encoding.h: remove #include "lyxrc.h".
1219         * lyxtext.h: remove #include "LColor.h".
1220         * lyxtextclass.h: remove #include "support/types.h".
1221         * trans.h: remove #include "tex-accent.h".
1222         * trans_mgr.h: remove #include "tex-accent.h".
1223         * insets/inset.h: remove #include "support/types.h", <vector>.
1224         * insets/insetcollapsable.h: remove #include "LColor.h".
1225         * insets/insetinclude.h: remove #include "dimension.h".
1226         * insets/insetlatexaccent.h: remove #include "dimension.h".
1227         * insets/insetoptarg.h:: remove #include "insettext.h".
1228         * insets/insettext.h: remove #include "dimension.h",
1229         <boost/shared_ptr.hpp>
1230
1231         * insets/renderers.h: add #include "dimension.h".
1232         * insets/updatableinset.h: add #include "support/types.h".
1233
1234         * many .C files: Associated changes.
1235
1236 2003-09-06  Angus Leeming  <leeming@lyx.org>
1237
1238         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1239         one, inside testInvariant.
1240
1241         * PrinterParams.C: new file.
1242         * PrinterParams.[Ch]: move the function bodies out of line.
1243
1244 2003-09-06  Angus Leeming  <leeming@lyx.org>
1245
1246         * ParagraphParameters.h: forward declare ParameterStruct rather than
1247         including its header file.
1248         (depth): moved out-of-line.
1249
1250 2003-09-06  Angus Leeming  <leeming@lyx.org>
1251
1252         * BufferView_pimpl.h:
1253         * kbmap.h:
1254         * kbsequence.h:
1255         * lyxfunc.h: forward declare LyXKeySym rather than
1256         #include "frontends/LyXKeySym.h".
1257
1258         * BufferView_pimpl.C:
1259         * kbmap.C:
1260         * kbsequence.C:
1261         * lyxfunc.C: associated changes.
1262
1263 2003-09-06  Angus Leeming  <leeming@lyx.org>
1264
1265         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1266         As a result, can remove the #include "insets/inset.h" from BufferView.h
1267
1268 2003-09-06  Angus Leeming  <leeming@lyx.org>
1269
1270         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1271         As a result, can remove the #include "insets/inset.h" from BufferView.h
1272
1273 2003-09-06  Angus Leeming  <leeming@lyx.org>
1274
1275         * buffer_funcs.C:
1276         * buffer.h:
1277         * bufferlist.C:
1278         * BufferView.C:
1279         * bufferview_funcs.C:
1280         * BufferView_pimpl.C:
1281         * CutAndPaste.C:
1282         * lyx_cb.C:
1283         * lyxfunc.C:
1284         * paragraph.h:
1285         * ParagraphParameters.C:
1286         * tabular.C:
1287         * text3.C:
1288         * toc.C:
1289         * undo_funcs.C:
1290         * frontends/controllers/ControlDocument.C:
1291         * insets/insetcaption.C: rearrange the #includes into some sort of
1292         coherent order.
1293
1294         * buffer.h: remove #includes ErrorList.h, undo.h
1295
1296 2003-09-06  Angus Leeming  <leeming@lyx.org>
1297
1298         * support/types.h: add a 'depth_type' typedef, used to store the
1299         nesting depth of a paragraph.
1300
1301         * paragraph.h:
1302         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1303         defining explicitly.
1304
1305         * buffer.h:
1306         * paragraph_funcs.h:
1307         * ParagraphParameters.h:
1308         * sgml.h: use lyx::depth_type rather than Paragraph or
1309         ParameterStruct's depth_type.
1310
1311         * buffer.h
1312         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1313
1314         * BufferView.C:
1315         * BufferView_pimpl.C:
1316         * CutAndPaste.C:
1317         * ParagraphParameters.C:
1318         * buffer_funcs.C:
1319         * bufferlist.C:
1320         * bufferview_funcs.C:
1321         * lyx_cb.C:
1322         * lyxfunc.C:
1323         * tabular.C:
1324         * text3.C:
1325         * toc.C:
1326         * undo_funcs.C:
1327         * frontends/LyXView.C:
1328         * frontends/controllers/ControlDocument.C:
1329         * frontends/controllers/ControlErrorList.C:
1330         * insets/insetbibitem.C:
1331         * insets/insetbranch.C:
1332         * insets/insetcaption.C:
1333         * insets/insetcollapsable.C:
1334         * insets/insetenv.C:
1335         * insets/insetert.C:
1336         * insets/insetfloat.C:
1337         * insets/insetfoot.C:
1338         * insets/insetfootlike.C:
1339         * insets/insetnewline.C:
1340         * insets/insetquotes.C:
1341         * insets/insettabular.C:
1342         * insets/insettext.C:
1343         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1344
1345         * frontends/controllers/ControlChanges.C: #include "changes.h".
1346
1347 2003-09-06  Angus Leeming  <leeming@lyx.org>
1348
1349         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1350         than #including paragraph.h.
1351
1352         * ParagraphList.h:
1353         * RowList.h: deleted. Superfluous.
1354
1355         * CutAndPaste.h:
1356         * iterators.h:
1357         * lyxcursor.h:
1358         * lyxtext.h:
1359         * text_funcs.h:
1360         * undo.h:
1361         * undo_funcs.h:
1362         * insets/inset.h:
1363         * insets/insettext.h: use ParagraphList_fwd.h rather than
1364         ParagraphList.h.
1365
1366         * paragraph.h: don't forward declare ParagraphList.
1367
1368         * buffer.h:
1369         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1370         rather than ParagraphList.h. paragraph.h is still needed for the
1371         Paragraph::depth_type parameters.
1372
1373         * textcursor.h: enable it to compile stand-alone in light of the
1374         above changes.
1375
1376         * bufferview_funcs.C:
1377         * iterators.C:
1378         * lyxfunc.C:
1379         * lyxrow_funcs.C:
1380         * paragraph.C:
1381         * rowpainter.C:
1382         * text.C:
1383         * text2.C:
1384         * text3.C:
1385         * text_funcs.C:
1386         * textcursor.C:
1387         * undo.C:
1388         * frontends/controllers/ControlParagraph.C:
1389         * frontends/controllers/ControlTabular.C:
1390         * insets/insetmarginal.C:
1391         * insets/insetminipage.C:
1392         * insets/insetnote.C:
1393         * insets/insetoptarg.C: add header files needed to compile again.
1394
1395 2003-09-06  Angus Leeming  <leeming@lyx.org>
1396
1397         * RowList_fwd.h: new file, forward-declaring Row rather than
1398         #including lyxrow.h.
1399
1400         * lyxrow_funcs.h:
1401         * lyxtext.h:
1402         * paragraph.h:
1403         * insets/insettext.h: use it instead of RowList.h
1404
1405         * bufferview_funcs.C:
1406         * lyxfunc.C:
1407         * lyxrow_funcs.C:
1408         * paragraph.C:
1409         * rowpainter.C:
1410         * text.C:
1411         * text2.C:
1412         * text3.C: #include "RowList.h".
1413
1414 2003-09-05  Angus Leeming  <leeming@lyx.org>
1415
1416         * factory.C (createInset):
1417         * vspace.C (c-tor): replace sscanf call with an istringstream.
1418         * ispell.C: re-add missing HP/UX headers.
1419         * lyxserver.C: re-add missing  os2 headers.
1420
1421 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1422
1423         * BranchList.C:
1424         * graph.C:
1425         * ispell.C:
1426         * lastfiles.C:
1427         * lyx_cb.C:
1428         * lyxserver.C:
1429         * texrow.C:
1430         * text3.C: re-add missing system headers, needed for 2.95.2.
1431
1432 2003-09-05  Angus Leeming  <leeming@lyx.org>
1433
1434         Changes most place everywhere due to the removal of using directives
1435         from support/std_sstream.h.
1436
1437 2003-09-05  Angus Leeming  <leeming@lyx.org>
1438
1439         Replace LString.h with support/std_string.h,
1440         Lsstream.h with support/std_sstream.h,
1441         support/LIstream.h with support/std_istream.h,
1442         support/LOstream.h with support/std_ostream.h.
1443
1444         Changes resulting throughout the tree.
1445
1446 2003-09-05  Angus Leeming  <leeming@lyx.org>
1447
1448         * sgml.h: ensure that the header file can be compiled stand-alone.
1449         * *.C: strip out redundant #includes. (320 in total.)
1450
1451 2003-09-04  Angus Leeming  <leeming@lyx.org>
1452
1453         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1454         here (from getPackages).
1455
1456         * debug.[Ch]: add a new EXTERNAL tag.
1457
1458 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1459
1460         * text2.C (cursorEnd): simplify
1461         (setCursor): adjust
1462         (getColumnNearX): adjust
1463
1464         * text.C (computeBidiTables): adjust
1465         (fill): adjust
1466
1467         * rowpainter.C (paintChars): adjust
1468         (paintSelection): adjust
1469         (paintChangeBar): adjust
1470         (paintText): adjust
1471
1472         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1473         lastPos instead.
1474         (numberOfSeparators): adjust
1475
1476 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1477
1478         * LyXAction.C:
1479         * box.[Ch]:
1480         * lfuns.h:
1481         * lyxfunc.C:
1482         * text3.C: Restricts the mouse click functionality
1483         of insets like bibtex, include, toc and floatlist to the visible
1484         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1485         up the dialogs. Cursor has to be in front of the inset (i.e.
1486         start of row) for this to function.
1487
1488 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1489
1490         * bufferview_funcs.C (currentState): output row information
1491
1492 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1493
1494         * bufferview_funcs.C (currentState): output paragraph position
1495
1496 2003-09-04  Angus Leeming  <leeming@lyx.org>
1497
1498         * FloatList.h: move out #include "Floating.h".
1499         * LaTeX.h: move out #include "DepTable.h".
1500         * LyXAction.h: move out #include "funcrequest.h".
1501         * buffer.h: move out #include "author.h", "iterators.h".
1502         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1503         * lyx_main.h: move out #include "errorlist.h".
1504         * lyxfunc.h: move out #include "FuncStatus.h".
1505         * lyxtext: move out #include "lyxcursor.h".
1506         * paragraph_pimpl.h: move out #include "counters.h".
1507
1508 2003-09-03  Angus Leeming  <leeming@lyx.org>
1509
1510         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1511         preamble_snippets list, enabling us to add snippets to the preamble
1512         only if the snippet was not there already.
1513
1514 2003-09-04  Angus Leeming  <leeming@lyx.org>
1515
1516         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1517
1518 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1521         update
1522
1523 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1524
1525         * BranchList.C: point fix, earlier forgotten
1526
1527 2003-09-02  Angus Leeming  <leeming@lyx.org>
1528
1529         * box.C (contains): renamed from 'contained' after a fantastic
1530         amount of hot air.
1531
1532 2003-09-02  John Levon  <levon@movementarian.org>
1533
1534         * BufferView.C:
1535         * lyxcursor.h:
1536         * lyxcursor.C:
1537         * lyxfunc.C:
1538         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1539
1540 2003-09-02  John Levon  <levon@movementarian.org>
1541
1542         * text2.C: simplification of cursorEnd(), including partial
1543         fix for bug 1376
1544
1545 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * buffer.C (readFile): add a space
1548
1549 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1550
1551         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1552
1553 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * buffer.C (readFile): new function, take a filename and a
1556         ParagraphList::iterator
1557         (readFile): adjust
1558         (readFile): adjust, make it private. don't use setStream, make
1559         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1560         always contain the filename.
1561
1562         * BufferView.C (insertLyXFile): simplify and make it work for
1563         gzipped files.
1564
1565 2003-08-30  John Levon  <levon@movementarian.org>
1566
1567         * Makefile.am: fix dist (from Kayvan)
1568
1569 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * most files: change to use const Buffer refs
1572
1573 2003-08-27  André Pönitz  <poenitz@gmx.net>
1574
1575         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1576         on top of ownerPar().
1577
1578 2003-08-27  John Levon  <levon@movementarian.org>
1579
1580         * funcrequest.C: properly initialise POD members
1581
1582 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1583
1584         * lyxtext.h (top_y): move top_y from here
1585         * text.C:
1586         * text2.C:
1587         * text3.C:
1588         * BufferView.[Ch]:
1589         * BufferView_pimpl.[Ch]: to here
1590         * frontends/screen.C:
1591         * insets/insettabular.C:
1592         * insets/insettext.C: adjust
1593         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1594
1595 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1596
1597         * BufferView.[Ch]:
1598         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1599
1600 2003-08-26  André Pönitz  <poenitz@gmx.net>
1601
1602         * paragraph_func.[Ch] (outerPar): new function
1603
1604         * paragraph.C:
1605         * paragraph_funcs.C:
1606         * paragraph_funcs.h:
1607         * paragraph_pimpl.C:
1608         * text2.C: remove Inset::par_owner
1609
1610 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1611
1612         * lyxrow_funcs.C:
1613         * lyxtext.h:
1614         * text.C:
1615         * text2.C: eliminates the needFullRow/display() stuff
1616         altogether, putting the logic in metrics/draw in the insets.
1617
1618 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1619
1620         * text2.C (redoParagraphInternal, redoParagraphs):
1621         * text.C (redoParagraph): add a call to updateRowPositions at the
1622         end of each 'metrics-like' call. Remove all others.
1623         (getRow): remove the 'y-computing' version.
1624         (getRowNearY): do not compute nor return the real y. Solve the
1625         'y < 0' problem and simplify.
1626
1627 2003-08-22  Angus Leeming  <leeming@lyx.org>
1628
1629         * *.[Ch]: clean-up of licence and author blurbs.
1630         Also move config.h out of a few .h files and into a few .C files.
1631
1632 2003-08-22  André Pönitz  <poenitz@gmx.net>
1633
1634         * lyxrow.[Ch]: add x_ and *fill_ members
1635
1636         * lyxtext.h:
1637         * text.C:
1638         * rowpainter.C:
1639         * text2.C: adjust/remove prepareToPrint() calls
1640
1641 2003-08-22  André Pönitz  <poenitz@gmx.net>
1642
1643         * lyxrow.[Ch]: add  end_ member
1644
1645         * lyxrow_funcs.C: use LyXRow::end_
1646
1647         * lyxtext.h (singleWidth): add LyXFont parameter
1648
1649         * rowpainter.C:
1650         * text2.C: adjust LyXText::singleWidth() calls
1651
1652         * text.C (redoParagraph): simplify row breaking logic
1653
1654
1655 2003-08-19  André Pönitz  <poenitz@gmx.net>
1656
1657         * funcrequest.C: initialize button_ member
1658
1659         * text3.C:
1660         * rowpainter.[Ch]: interface consolidation
1661
1662 2003-08-18  André Pönitz  <poenitz@gmx.net>
1663
1664         * BufferView.C:
1665         * BufferView_pimpl.C:
1666         * lyxfind.C:
1667         * paragraph_funcs.C:
1668         * rowpainter.C:
1669         * text3.C: remove LyXScreen::draw() and fitCursor calls
1670
1671         * BranchList.h: remove spurious semicolons
1672
1673         * MenuBackend.C: fix branchlist related crash
1674
1675 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1676
1677         * BranchList.[Ch]:
1678         * InsetList.[Ch]:
1679         * LColor.[Ch]:
1680         * LyXAction.C:
1681         * Makefile.am:
1682         * MenuBackend.[Ch]:
1683         * bufferparams.[Ch]:
1684         * factory.C:
1685         * lfuns.h:
1686         * lyxfunc.C:
1687         * text3.C: implements the 'branch inset'
1688         idea. This allows the output of various versions of a document
1689         from a single source version, selectively outputing or suppressing
1690         output of parts of the text.
1691         This implementation contains a 'branch list editor' in a separate
1692         tab of the document settings dialog. Branches are user definable
1693         and have a "display colour" to distinguish them on-screen.
1694
1695         ColorHandler was somewhat cleaned up.
1696         (1) make possible a dynamically growing LColor list by allowing
1697         the graphic context cache to grow along (vector);
1698         (2) eliminate an IMHO unnecessary step in colour allocation.
1699
1700 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1701
1702         * BufferView_pimpl.C: compile fix
1703
1704 2003-08-15  André Pönitz  <poenitz@gmx.net>
1705
1706         * rowpainter.C: remove extra metrics calls
1707
1708         * lyxtext.h: merge the two constructors into a single one,
1709           pass reference to owner's par list
1710
1711         * BufferView_pimpl.C:
1712         * text.C:
1713         * text2.C: adjust
1714
1715 2003-08-15  André Pönitz  <poenitz@gmx.net>
1716
1717         * lyxrow_funcs.[Ch]:
1718         * lyxtext.h:
1719         * paragraph.h:
1720         * paragraph_funcs.C:
1721         * rowpainter.C:
1722         * text.C:
1723         * text2.C:
1724         * text3.C:
1725         * text_funcs.C: split LyXText::rowlist_ into individual
1726         Paragraph::rows_ chunks
1727
1728         * BufferView.[Ch]:
1729         * BufferView_pimpl.[Ch]:
1730         * lyxfind.C:
1731         * lyxtext.h:
1732         * text3.C: remove toggleSelection()
1733
1734 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1735
1736         * bufferlist.C: beautify two alerts (shorter text of buttons)
1737         * buffer.C: Remove redundant ' ' from message
1738         * tabular.h:
1739         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1740         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1741         rename VALIGN_CENTER to VALIGN_MIDDLE
1742
1743 2003-08-11  André Pönitz  <poenitz@gmx.net>
1744
1745         * lyxtext.h (getPar):
1746         * text.C: new function
1747
1748 2003-08-11  André Pönitz  <poenitz@gmx.net>
1749
1750         * Makefile.am:
1751         * tracer.[Ch]: remove unneeded files
1752
1753         * InsetList.[Ch]: remove resizeInsetsLyXText()
1754
1755         * lyxtext.h:
1756         * text.C:
1757         * text2.C:
1758         * text3.C: merge insertParagraphs() and appendParagraph()
1759         remove breakAgain(), update()
1760
1761         * BufferView_pimpl.[Ch]:
1762         * bufferview_funcs.[Ch]:
1763         * lyxfunc.C:
1764         * paragraph.[Ch]:
1765         * rowpainter.C:
1766         * tabular.C: adjust after text & InsetList changes.
1767
1768 2003-08-08  André Pönitz  <poenitz@gmx.net>
1769
1770         * text.C (insertChar, backspace): replace rowlist fiddling
1771         with rebreak of full par
1772
1773         * lyxtext.h:
1774         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1775         checkParagraph, updateInset): removed
1776
1777 2003-08-07  André Pönitz  <poenitz@gmx.net>
1778
1779         * paragraph.C:
1780         * text3.C: merge some LFUN handlers, remove dead code
1781
1782 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1783
1784         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1785
1786 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1787
1788         * text2.C (DEPM): fix part of bug 1255 and 1256
1789
1790 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * BufferView_pimpl.C (workAreaDispatch): change to use
1793         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1794         that are no mouse related.
1795
1796 2003-08-05  André Pönitz  <poenitz@gmx.net>
1797
1798         * BufferView.[Ch]:
1799         * BufferView_pimpl.[Ch]:
1800         * bufferview_funcs.C:
1801         * text2.C:
1802         * text3.C: rip out "deep update"
1803
1804         * textcursor.[Ch] (last_sel_cursor): remove unused member
1805
1806 2003-08-04  André Pönitz  <poenitz@gmx.net>
1807
1808         * BufferView.[Ch]:
1809         * BufferView_pimpl.[Ch]:
1810         * ParagraphParameters.C:
1811         * bufferview_funcs.C:
1812         * lyx_cb.C:
1813         * lyxfind.C:
1814         * lyxfunc.C:
1815         * text.C:
1816         * text2.C:
1817         * text3.C: replace "complicated" BufferView::update(...) calls with
1818         simpler ones.
1819
1820         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1821
1822 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1823
1824         * Makefile.am (lyx_SOURCES): add paper.h
1825
1826 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1827
1828         * Makefile.am: move things around so that both lyx-qt and
1829         lyx-xforms can be built (according to --with-frontend). Then lyx
1830         is a symbolic link to lyx-[firstfrontend]
1831
1832 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1833
1834         * Always use std::endl with lyxerr
1835
1836 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1837
1838         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1839
1840 2003-08-01  André Pönitz  <poenitz@gmx.net>
1841
1842         * BufferView.[Ch]:
1843         * BufferView_pimpl.[Ch]:
1844         * lyxfunc.C:
1845         * text3.C: merge BufferView::repaint() and BufferView::update()
1846
1847 2003-08-01  José Matos  <jamatos@lyx.org>
1848
1849         * buffer.[Ch]: file_format is no longer a buffer data element.
1850
1851 2003-08-01  André Pönitz  <poenitz@gmx.net>
1852
1853         * BufferView.C:
1854         * lyxtext.h:
1855         * text.C:
1856         * text2.C: make redoParagraph more independent of current cursor
1857
1858         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1859         * text.C:
1860         * text2.C: remove unneeded members
1861
1862 2003-07-30  André Pönitz  <poenitz@gmx.net>
1863
1864         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1865
1866         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1867           create a single function...
1868
1869         * paragraph_funcs.C (moveItem): ... here.
1870
1871         * text.C:
1872           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1873
1874 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1875
1876         * LColor.[Ch]: Add comment and greyedout logical colors.
1877
1878 2003-07-30  André Pönitz  <poenitz@gmx.net>
1879
1880         * tabular.C: don't use Assert too heavily. This crashes where it
1881           shouldn't
1882
1883 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1884
1885         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1886         is disabled (bug 1232)
1887
1888 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1889
1890         * factory.C: limited 'arg' scope
1891
1892 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * factory.C: fixed Note submenu issues
1895
1896 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1897
1898         * factory.C: submenu for Note/Comment/Greyedout
1899
1900 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1901
1902         * lyx_main.C (LyX):
1903         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1904
1905 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * LaTeXFeatures.C:
1908         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1909         greyedout. Patch provided by Jürgen Spitzmüller.
1910
1911 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * kbmap.C (read): fix error message when reading bind files
1914
1915 2003-07-29  Angus Leeming  <leeming@lyx.org>
1916
1917         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1918         certainly does not do what it purports to do. I am doing it, and
1919         us, a favour by killing it.
1920
1921 2003-07-28  José Matos  <jamatos@lyx.org>
1922
1923         * buffer.C (readBody, do_writeFile):
1924         * paragraph.C(readParagraph): \end_document replaces \the_end.
1925
1926 2003-07-29  André Pönitz  <poenitz@gmx.net>
1927
1928         * BufferView.[Ch]:
1929         * BufferView_pimpl.[Ch]:
1930         * lyxfunc.C:
1931         * text2.C:
1932         * text3.C:
1933         * textcursor.[Ch]: remove toggleToggle & Co
1934
1935 2003-07-28  José Matos  <jamatos@fep.up.pt>
1936
1937         * buffer.C (readParagraph):
1938         * params_func (readParToken, readParagraph):
1939         * paragraph.C (write): \layout -> \begin_layout.
1940
1941 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * lyxlex_pimpl.C (setFile): clean up slightly.
1944
1945         * bufferparams.h: add compressed var
1946
1947         * buffer_funcs.C (readFile): adjust for LyXLex change
1948         (newFile): ditto + simplify
1949
1950         * buffer.C (writeFile): handle writing of compressed files
1951
1952         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1953         Check if the file is compressed and set a bufferparm if so.
1954
1955         * Makefile.am (lyx_LDADD): remove explicit -lz
1956
1957 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1958
1959         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1960         makeDocBookFile): put the real LyX version in the first line of
1961         the file
1962
1963         * version.h:
1964         * version.C.in: remove lyx_docversion
1965
1966         * tabular.C (write_attribute): add a template-based version to
1967         write enums properly
1968
1969 2003-07-28  André Pönitz  <poenitz@gmx.net>
1970
1971         * lyxtext.h:
1972         * text.C:
1973         * text2.C:
1974         * text3.C: use doubles again for x-coordinates. They are needed.
1975
1976 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * messages.C (getLocaleDir): use lyx_localedir()
1979
1980         * lyxlex_pimpl.C (setFile): compress stuff
1981
1982         * buffer.C (writeFile): add some compression stuff
1983         (do_writeFile): new func, dont call expliti close... will this
1984         breake anything?
1985
1986         * Makefile.am (lyx_LDADD): add -lz
1987
1988 2003-07-28  José Matos  <jamatos@fep.up.pt>
1989
1990         * buffer.C: increment file format.
1991         * paragraph_funcs (readParagraph, readParToken):
1992         * paragraph.C (readParagraph): add \end_layout.
1993
1994 2003-07-27  Angus Leeming  <leeming@lyx.org>
1995
1996         * Makefile.am: remove special casing for configure-time setting of
1997         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1998
1999         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2000         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2001
2002 2003-07-26  André Pönitz  <poenitz@gmx.net>
2003
2004         * paragraph_func.[Ch]:
2005         * paragraph.C (realizeFont): inline it whereever it is used
2006
2007         * rowpainter.C:
2008         * text.C:
2009         * text2.C:
2010         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2011
2012
2013 2003-07-26  André Pönitz  <poenitz@gmx.net>
2014
2015         *       lyxtext.h:
2016         * text.C:
2017         * text2.C: get rid of LyXText::need_break_row
2018
2019 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * toc.[Ch]: put namespace toc inside namespace lyx
2022
2023         * MenuBackend.C (expandToc2): adjust for lyx::toc
2024         (expandToc): ditto
2025
2026         * lyxfunc.C (dispatch): adjust for lyx::find
2027
2028         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2029         lyx::find instead. Reorganize a bit.
2030         (LyXReplace): rename to replace
2031         (LyXFind): rename to find
2032
2033         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2034         (dispatch): ditto
2035
2036 2003-07-26  André Pönitz  <poenitz@gmx.net>
2037
2038         * text.C (setHeightOfRow): restrict scope of temporary variable
2039
2040         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2041           code (never has been used?)
2042
2043 2003-07-27  Asger Alstrup  <alstrup@local>
2044
2045         * text.C (fill): Optimise algorithm to exploit that we can reuse
2046         the LyXFont for many characters.
2047         (setHeightOfRow): Same thing.
2048         (rowBreakPoint): Same thing.
2049
2050 2003-07-26  Asger Alstrup  <alstrup@local>
2051
2052         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2053
2054         * text.C (singleWidth): Spurious font copying in hot-spot
2055         singleWidth avoided. Reorder tests for arabic for efficiency.
2056
2057         * text.C (fill): handle empty paragraphs better.
2058
2059 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * ispell.C:
2062         * encoding.h: add includes
2063
2064         * lyxrc.C: remove reading of bind files
2065
2066         * lyx_main.C (init): setup bindings and menus only if we have a
2067         gui.
2068
2069         * kbmap.C (read): new method. Do the actual reading of bind
2070         files.
2071
2072         * converter.C (dvipdfm_options):
2073         * bufferparams.C:
2074         * lyxrc.C (read):
2075         (output): adapt PAPER_* enums.
2076
2077         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2078
2079         * bufferparams.h: remove paper-related enums from there
2080
2081         * paper.h: New file. A trivial header file to hold paper-related
2082         enums. It should later expand to contain many paper-related
2083         horrors access.
2084
2085         * lyxrc.C: declare extern displayTranslator
2086
2087 2003-07-27  José Matos  <jamatos@fep.up.pt>
2088
2089         * tabular.[Ch] (linuxdoc): add support for tables and figures
2090         (linuxdoc).
2091
2092 2003-07-27  José Matos  <jamatos@fep.up.pt>
2093
2094         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2095         consistency in both functions.
2096         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2097
2098 2003-07-26  Asger Alstrup  <alstrup@local>
2099
2100         * rowpainter.C (paintRows): Change algorithm to work directly on
2101         the insets rather than asking every character in the document
2102         whether its an inset.
2103
2104 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * buffer.C (openFileWrite): factorize some code
2107
2108 2003-07-26  Angus Leeming  <leeming@lyx.org>
2109
2110         * lyx_cb.C:
2111         * lyx_main.[Ch]: replace occurances of system_tempdir with
2112         os::getTmpDir().
2113
2114 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2115
2116         * rename Inset to InsetOld
2117
2118 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2119
2120         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2121         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2122         which I think is a bit clearer. EDIT is gone, since it was
2123         premature optimisation, and broken for mathed anyway.
2124         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2125         with cursor positioning in insets as well (math insets still do not
2126         work, but that's a different story anyway.) It mysteriously
2127         crashes sometimes with undo in the first paragraph, but I'm fairly
2128         confident that this is a compiler bug.
2129
2130 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2131
2132         * paragraph.C (Paragraph): adjust for new clone return type
2133         (operator==): ditto
2134         (copyIntoMinibuffer): ditto
2135
2136 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2137
2138         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2139         by not having a special case, and always doing a full rebreak of
2140         the document after undo.
2141
2142 2003-07-23  Angus Leeming  <leeming@lyx.org>
2143
2144         * factory.C (createInset): InsetExternal::setParams now takes a
2145         Buffer const * arg.
2146
2147 2003-07-23  Angus Leeming  <leeming@lyx.org>
2148
2149         * factory.C (createInset): changed interface to the external and
2150         graphics mailers' string2params functions.
2151
2152 2003-07-23  Angus Leeming  <leeming@lyx.org>
2153
2154         * factory.C (createInset): pass a
2155         Buffer const * parameter to InsetExternalMailer's string2params.
2156
2157 2003-07-22  John Levon  <levon@movementarian.org>
2158
2159         * Thesaurus.h: include the right aiksaurus header
2160
2161 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * MenuBackend.C (expand): check menu shortcuts unconditionally
2164
2165 2003-07-21  Angus Leeming  <leeming@lyx.org>
2166
2167         * factory.C (createInset): pass a
2168         buffer_path parameter to InsetGraphicsMailer's string2params.
2169
2170 2003-07-21  Angus Leeming  <leeming@lyx.org>
2171
2172         * BufferView_pimpl.C (buffer):
2173         * buffer.C (d-tor):
2174         * lyx_main.C (LyX):
2175         * lyxfunc.C (dispatch):
2176         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2177         rather than the grfx shortcut.
2178
2179 2003-07-21  André Pönitz  <poenitz@gmx.net>
2180
2181         * rowpainter.C: remove unused variables
2182
2183         * tabular_funcs.C:
2184         * tabular_funcs.h: move to tabular.C
2185         * Makefile.am: adjust
2186
2187         * tabular.[Ch]: basic optical cleaning
2188
2189         * author.h: pass references, not values
2190
2191 2003-07-18  André Pönitz  <poenitz@gmx.net>
2192
2193         * lyxtext.h:
2194         * metricsinfo.C:
2195         * metricsinfo.h:
2196         * rowpainter.C:
2197         * text.C:
2198         * text2.C:
2199         * text3.C: two-phase drawing for InsetText and InsetTabular
2200         some float -> int changes.
2201
2202 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2203
2204         * lyx_main.C: fix the fix
2205
2206 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2207
2208         * lyx_main.C: fix a crash in batch mode if no files specified
2209         * converter.C: ws
2210
2211 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2212
2213         * format.[Ch] (papersize): moved to BufferParams
2214         * converter.[Ch] (dvips_options): moved to BufferParams
2215         (dvipdfm_options): moved to anon namespace
2216         * bufferparams.[Ch]: added above functions.
2217
2218 2003-07-17  André Pönitz  <poenitz@gmx.net>
2219
2220         * lyxtext.h:
2221         * rowpainter.C:
2222         * text2.C: don't call inset->update() anymore
2223
2224         * metricsinfo.[Ch]: add convenience constructor
2225
2226 2003-07-16  André Pönitz  <poenitz@gmx.net>
2227
2228         * lyxcursor.[Ch]:
2229         * lyxfunc.[Ch]:
2230         * text.C:
2231         * text2.C: replace the LyXCursor::irow_ member with
2232          on-demand computation of the value
2233
2234 2003-07-16  John Levon  <levon@movementarian.org>
2235
2236         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2237
2238 2003-07-15  André Pönitz  <poenitz@gmx.net>
2239
2240         * text.C:
2241         * text2.C: remove no more needed refresh_row
2242
2243 2003-07-15  André Pönitz  <poenitz@gmx.net>
2244
2245         * lyxtext.h:
2246         * rowpainter.C:
2247         * text2.C:
2248         * text3.C: refresh_status tristate -> need_update bool
2249
2250 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2251
2252         * lyxtext.h (init): remove reinit argument (act as if always true)
2253         * text2.C: adjust to that
2254
2255 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2256
2257         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2258         * text3.C: use it to delete selections in some cases
2259         (bugs 441, 673, 702, 954).
2260
2261 2003-07-14  André Pönitz  <poenitz@gmx.net>
2262
2263         * rowpainter.[Ch]: reduce interface
2264
2265 2003-07-14  André Pönitz  <poenitz@gmx.net>
2266
2267         * BufferView_pimpl.C:
2268         * text2.C: adjust after removing unused BufferView * argument
2269
2270 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2271
2272         * text2.C (init): fix a crash fired on resize
2273
2274 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2275
2276         * buffer.[Ch]: added new closing signal
2277         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2278         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2279         BufferView::Pimpl via the closing the signal
2280
2281 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2282
2283         * buffer.[Ch]: take out all bv-related from buffer
2284         * BufferView.C:
2285         * BufferView_pimpl.[Ch]: connect to new signals
2286         * CutAndPaste.C: removed useless asserts
2287         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2288         * lyxvc.[Ch]:
2289         * vc-backend.[Ch]:
2290         * lyxfunc.C: moved view-related funciontality from vc here
2291         * paragraph.C: removed outdated comments
2292         * text.C: ws
2293
2294 2003-07-10  André Pönitz  <poenitz@gmx.net>
2295
2296         * BufferView_pimpl.C:
2297         * tabular.h:
2298         * tabular_funcs.C:
2299         * text.C:
2300         * text2.C: remove InsetText::InnerCache, clean up consequences
2301
2302 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2303
2304         * ispell.C: fix two typos in error messages
2305
2306 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2307
2308         * Extend Note inset to other forms of annotation like Comment
2309         and Greyedout. Right button click gives dialog.
2310
2311         Files modified or added (+):
2312
2313         * insetnote.[Ch]
2314         * FormNote.[Ch]      +
2315         * ControlNote.[Ch]   +
2316         * form_note.fd       +
2317         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2318         frontends/controllers
2319         * xforms/Dialogs.C
2320         * factory.C
2321
2322 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2323
2324         * aspell.C: add missing namespace lyx::support
2325
2326 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * BufferView.[Ch] (newFile): Add
2329         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2330         * LaTeX.[Ch] (message): added this signal and use it
2331         * buffer.[Ch] (busy, message): added these signals and use them
2332         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2333         * converter.C:
2334         * exporter.C:
2335         * format.C:
2336         * importer.C: use buffer signals instead of direct bv calling
2337         * lyx_cb.[Ch] (ShowMessage): removed
2338         * lyx_main.C:
2339         * lyxfunc.C:
2340         * paragraph_funcs.C:
2341         * text2.C: use buffer signals
2342
2343 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * introduce namespace lyx::graphics
2346
2347 2003-07-02  André Pönitz  <poenitz@gmx.net>
2348
2349         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2350
2351 2003-07-01  André Pönitz  <poenitz@gmx.net>
2352
2353         * text.C:
2354         * text2.C:
2355         * text3.C:
2356         * text_funcs.[Ch]:
2357         * textcursor.h:
2358         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2359           text*.C to text_func.C
2360
2361 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * introduce namespace lyx::support
2364
2365 2003-06-30  André Pönitz  <poenitz@gmx.net>
2366
2367         * Chktex.C:
2368         * funcrequest.C:
2369         * lyxtext.h:
2370         * text.C: re-enable --with-included-string
2371
2372 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * textcursor.C: add <config.h>
2375
2376         * text.C (getWord): remove const from word_location arg
2377
2378         * lyxvc.C (getLogFile): fix const type order
2379
2380         * lyxtext.h: remove const from word_location arg, add arg name
2381
2382         * lyxlayout.h: currect type on labeltype.
2383
2384         * importer.C: correct \file
2385
2386         * converter.C (intToFormat): use std:: on ret val, ws changes
2387
2388         * bufferlist.h: correct \file
2389
2390         * buffer.C (makeLinuxDocFile): fix const type order
2391         (makeDocBookFile): ditto
2392         (fillWithBibKeys): use std:: on stdlib args.
2393
2394         * CutAndPaste.C: fix authors.
2395         (availableSelections): use std:: on return vector
2396
2397 2003-06-27  André Pönitz  <poenitz@gmx.net>
2398
2399         * BufferView_pimpl.C:
2400         * bufferview_funcs.C:
2401         * lyxcursor.C:
2402         * lyxcursor.h:
2403         * lyxfunc.C:
2404         * lyxtext.h:
2405         * rowpainter.C:
2406         * text.C:
2407         * text2.C:
2408         * text3.C: remove LyXCursor::row_ member
2409
2410         * lyxtext.h:
2411         * text.C: rename fullRebreak() to partialRebreak() and implement
2412           a fullRebreak() that really bereks fully
2413
2414         * textcursor.h: new struct for cursor-related data
2415
2416 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2417
2418         * lyx_main.C (LyX): get full path of document loaded on the
2419         command line
2420
2421 2003-06-26  André Pönitz  <poenitz@gmx.net>
2422
2423         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2424           remove unused/broken operator>,<,>=.
2425
2426         *       text.C: remove only use of broken operator<= in an Assert().
2427
2428 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2429
2430         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2431         moved errorlist_.clear to showErrorList
2432
2433 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2434
2435         * converter.C (scanLog, runLaTeX):
2436         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2437         move the bv->showErrorList call to the callers
2438         * lyxfunc.C: i.e. here...
2439         * text2.C: and here
2440         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2441         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2442         namespace, the second to...
2443         * buffer_funcs (BufferFormat, parseErrors): added
2444         * errorlist.C (ErrorList(TeXErrors const &)): removed
2445
2446 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2447
2448         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2449
2450 2003-06-24  "Garst R. Reese" <reese@isn.net>
2451
2452         * debug.C: fix typo
2453
2454 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2457
2458         * version.C.in: change docversion to 1.4
2459
2460 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * buffer.C: fix a bug just introduced
2463
2464 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * buffer.[Ch]: added the parseError signal and use it, removed
2467         sgmlError
2468         * BufferView.[Ch] (addError): moved to ...
2469         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2470         to the Buffer::parseError signal to catch (guess what) parse errors
2471         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2472
2473 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2474
2475         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2476         ability to create a buffer and to return an existing one from
2477         the list. Moved these functions to...
2478         * buffer_funcs.[Ch]: added
2479         * BufferView.[Ch] (loadLyXFile): added
2480         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2481         job removed from bufferlist::loadLyXFile.
2482         * buffer.C (setReadOnly): make it work without view
2483         (i.e added an if (users))
2484
2485 2003-06-19  Angus Leeming  <leeming@lyx.org>
2486
2487         * lfuns.h:
2488         * LyXAction.C (init):
2489         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2490         with LFUN_DIALOG_SHOW <name> <data>.
2491
2492 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * CutAndPaste.C (availableSelections): small compilation fix for
2495         ancient (gcc 2.9x) compilers
2496
2497 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * text3.C (cursorNext): add tmp var
2500
2501         * text2.C (updateCounters): for function calling out of for clause
2502         (replaceSelectionWithString): ditto
2503         (insertStringAsParagraphs): ditto
2504         (getColumnNearX): add tmp var
2505         (setCursorFromCoordinates): add tmp var
2506         (cursorDownParagraph): add tmp var
2507         (deleteEmptyParagraphMechanism): add tmp var
2508
2509         * text.C (insertChar): add tmp var
2510
2511         * rowpainter.C (paintDepthBar): add tmp var
2512
2513         * CutAndPaste.C (availableSelections): potentially check all
2514         paragraphs in a cut to fill the shown strings.
2515
2516 2003-06-18  André Pönitz  <poenitz@gmx.net>
2517
2518         * kbmap.[Ch]: use vector<> instead of list<>
2519
2520 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2521
2522         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2523         pasteSelection with index
2524
2525         * text2.C (pasteSelection): modify, call pasteSelection with index
2526
2527         * paragraph.C (asString): reimplement version with no interval to
2528         call the one with interval.
2529
2530         * lyxtext.h: add index arg to pasteSelection
2531
2532         * MenuBackend.C (MenuItem): handle PasteRecent
2533         (Menu::read::Menutags): add md_pasterecent
2534         (read): handle it
2535         (expandPasteRecent): new function
2536         (expand): use it
2537
2538         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2539
2540         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2541         the limited stack
2542         (availableSelections): new function
2543
2544 2003-06-17  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2547
2548 2003-06-17  Angus Leeming  <leeming@lyx.org>
2549
2550         * lfuns.h:
2551         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2552
2553         * lyxfunc.C (dispatch): invoke it.
2554
2555 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2556
2557         * iterators.C (operator++, ParPosition): reintroduce some
2558         const_cast for the benefit of older compilers.
2559
2560 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2561
2562         * text3.C (dispatch): do not modify clipboard when doing
2563         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2564         LFUN_DELETE_SKIP on a selection selection
2565
2566 2003-06-16  André Pönitz  <poenitz@gmx.net>
2567
2568         * BufferView.C:
2569         * buffer.C:
2570         * buffer.h:
2571         * paragraph.C:
2572         * tabular.[Ch]: IU of clone() and getLabelList();
2573
2574 2003-06-13  André Pönitz  <poenitz@gmx.net>
2575
2576         * tabular.h: compactification
2577
2578 2003-06-12  André Pönitz  <poenitz@gmx.net>
2579
2580         * tabular.C:
2581         * tabular.h:
2582         * tabular_funcs.h: some renaming plus whitespace
2583
2584 2003-06-12  André Pönitz  <poenitz@gmx.net>
2585
2586         * BufferView.C:
2587         * BufferView_pimpl.C:
2588         * CutAndPaste.C:
2589         * buffer.C:
2590         * iterators.[Ch]:
2591         * lyxfunc.C:
2592         * text.C:
2593         * toc.C: Return a Paragraph & for ParIterator::operator*()
2594
2595 2003-06-11  John Levon  <levon@movementarian.org>
2596
2597         * lyx_main.C:
2598         * ToolbarBackend.h:
2599         * ToolbarBackend.C: add "Toolbars" section and
2600         put the flags there
2601
2602 2003-06-10  Angus Leeming  <leeming@lyx.org>
2603
2604         * lfuns.h:
2605         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2606
2607         * lyxfunc.C (dispatch): invoke it.
2608
2609 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * main.C: protect <ios> with HAVE_IOS
2612         (main): protect sync_with_stdio with HAVE_IOS
2613
2614 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2615
2616         * text2.C (cutSelection): adjust
2617         (pasteSelection): adjust
2618
2619         * messages.C: handle get of empty string
2620
2621         * main.C (main): use sync_with_stdio(false)
2622
2623         * lyxfunc.C (dispatch): adjust
2624
2625         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2626         (WriteAs): remove unneeded BufferView arg.
2627
2628         * bufferparams.h: use correct types on papersize, papersize2 and
2629         paperpackage.
2630
2631         * bufferparams.C (readToken): adjust for type
2632         (writeLaTeX): add missing cases to switch.
2633
2634         * bufferlist.C (quitWriteBuffer): adjust
2635         (close): adjust
2636
2637         * buffer.C (asciiParagraph): remove some commented code.
2638
2639         * CutAndPaste.C: remove current_view extern variable.
2640         (cutSelection): add BufferParams arg.
2641         (eraseSelection): add BufferParams arg.
2642         (pasteSelection): add Buffer const & arg
2643
2644 2003-06-07  John Levon  <levon@movementarian.org>
2645
2646         * buffer.C:
2647         * paragraph_funcs.C:
2648         * paragraph_pimpl.C:
2649         * text.C:
2650         * text2.C:
2651         * paragraph.h:
2652         * paragraph.C: allow InsetERT to freely space lines,
2653         and some consolidation of code
2654
2655 2003-06-06  José Matos  <jamatos@fep.up.pt>
2656
2657         * buffer.C (makeDocBookFile): fix bug #821
2658
2659 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2662
2663 2003-06-04  Angus Leeming  <leeming@lyx.org>
2664
2665         * buffer.C: bump format to 224.
2666
2667 2003-06-05  André Pönitz  <poenitz@gmx.net>
2668
2669         * text2.C (redoParagraphs): remove two const_cast<>
2670
2671 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2672
2673         * ParagraphList.h: remove last remnants of NO_STD_LIST
2674
2675 2003-06-03  Angus Leeming  <leeming@lyx.org>
2676
2677         * factory.C (createInset): small change to the way InsetExternal's params
2678         are set.
2679
2680 2003-06-04  André Pönitz  <poenitz@gmx.net>
2681
2682         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2683
2684         * paragraph_pimpl.h:
2685         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2686
2687         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2688
2689         * undo_funcs.C: make some simple cases of undo work again
2690
2691 2003-06-03  John Levon  <levon@movementarian.org>
2692
2693         * ispell.C: HPUX doesn't have sys/select.h
2694         (from Albert Chin)
2695
2696 2003-06-03  John Levon  <levon@movementarian.org>
2697
2698         * CutAndPaste.C: update tabular and include inset
2699         buffer references
2700
2701         * buffer.h:
2702         * paragraph.h:
2703         * paragraph.C: remove owningBuffer(), don't pass Buffer
2704         to clone()
2705
2706         * factory.C: insetGraphicsParams changed
2707
2708 2003-06-02  John Levon  <levon@movementarian.org>
2709
2710         * LyXAction.C:
2711         * factory.C:
2712         * lfuns.h:
2713         * lyxfunc.C:
2714         * text3.C: remove insetparent
2715
2716 2003-06-02  John Levon  <levon@movementarian.org>
2717
2718         * buffer.h:
2719         * buffer.C: fix inset_iterator.end(), move out of line
2720         (bug 1149)
2721
2722 2003-06-01  John Levon  <levon@movementarian.org>
2723
2724         * text3.C: use a proper cut/paste when doing inset
2725         insert (from Jürgen Spitzmüller)
2726
2727 2003-06-01  John Levon  <levon@movementarian.org>
2728
2729         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2730
2731 2003-05-30  André Pönitz  <poenitz@gmx.net>
2732
2733         * rowpainter.C: unify second drawing phase
2734
2735 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * trans_mgr.C: remove one case of current_view
2738
2739         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2740
2741         * paragraph_funcs.h: remove paragraph.h include
2742
2743         * paragraph.h: delete NO_STD_LIST stuff
2744
2745         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2746
2747         * buffer.h: remove paragraph.h include
2748
2749         * ParagraphList.C: delete file
2750
2751         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2752
2753         * toc.C (getTocList): adjust
2754
2755         * paragraph_pimpl.C (validate): adjust
2756
2757         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2758
2759         * paragraph.C (Paragraph): adjust
2760         (getPositionOfInset): use const_iterator, adjust
2761         (bibitem): use const_iterator, adjust
2762         (setInsetOwner): adjust
2763
2764         * iterators.C (operator++): adjust
2765
2766         * InsetList.[Ch]: Replace selfmade iterator with standard
2767         vector::iterator also introduce const_iterator. Remove getPos,
2768         getInset and setInset from InsetTable. Adjust accordingly.
2769
2770         * BufferView.C (lockInset): adjust
2771         (ChangeInsets): adjust
2772
2773         * tabular.[Ch]: delete commented same_id functions
2774
2775 2003-05-28  John Levon  <levon@movementarian.org>
2776
2777         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2778
2779 2003-05-28  André Pönitz  <poenitz@gmx.net>
2780
2781         * metricsinfo.[Ch]: remove 'fullredraw' member
2782
2783 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2784
2785         * lyxtextclass.C (operator): remove caching.
2786
2787 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2788
2789         * text3.C: adjust
2790
2791         * text2.C (cursorBottom): adjust
2792         (setCounter): use ParagraphList::find, adjust
2793
2794         * text.C (workWidth): use ParagraphList::find, adjust
2795
2796         * lyxcursor.C (LyXCursor): adjust
2797
2798         * buffer.C (inset_iterator): adjust
2799
2800         * ParagraphList.h: make iterator(value_type) private, make
2801         ParagraphList a friend of iterator.
2802
2803         * ParagraphList.C (find): new function
2804
2805         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2806
2807 2003-05-27  André Pönitz  <poenitz@gmx.net>
2808
2809         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2810
2811 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2814
2815 2003-05-26  John Levon  <levon@movementarian.org>
2816
2817         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2818
2819 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * remove same_id from function signatures, adjust.
2822
2823 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2826
2827         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2828
2829         * paragraph.C (Paragraph): get rid of same_ids parameter
2830
2831         * ParagraphList.C (insert): adjust
2832         (push_back): adjust
2833
2834 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * paragraph_funcs.C (breakParagraph): adjust
2837         (breakParagraphConservative): adjust
2838
2839         * buffer.C (readParagraph): adjust
2840
2841         * ParagraphList.C (insert): take a reference instead of a pointer
2842         (insert): adjust
2843
2844         * paragraph.[Ch] (id): new function
2845
2846         * bufferlist.C (newFile): adjust
2847
2848         * ParagraphList.C (ParagraphList): adjust
2849         (assign): adjust
2850         (push_back): take a reference instead of a pointer.
2851
2852         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2853
2854         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2855         instead.
2856
2857         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2858         set else use old code.
2859
2860         * ParagraphList.C: remove all NO_NEXT code and only compile this
2861         code of NO_STD_LIST is set.
2862
2863 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2864
2865         * BufferView_pimpl.C:
2866         * TextCache.C:
2867         * TextCache.h:
2868         * bufferlist.C:
2869         * errorlist.h:
2870         * format.C:
2871         * format.h:
2872         * graph.C:
2873         * lyxfunc.C:
2874         * lyxrc.C:
2875         * graphics/GraphicsConverter.C:
2876         * graphics/PreviewLoader.C: header adjustment
2877
2878 2003-05-23  Angus Leeming  <leeming@lyx.org>
2879
2880         * LaTeXFeatures.[Ch] (useBabel): new method.
2881         * bufferparams.C (writeLaTeX): use it.
2882
2883 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * ParagraphList.h (set): remove unused function.
2886
2887 2003-05-23  André Pönitz  <poenitz@gmx.net>
2888
2889         * BufferView.C:
2890         * BufferView_pimpl.C:
2891         * buffer.C:
2892         * buffer.h:
2893         * lyxfunc.C:
2894         * undo_funcs.C: setUndo reworked
2895
2896         * iterators.[Ch]: add access to topmost ParagraphList
2897
2898         * lyxtext.[Ch] (workWidth): add a const
2899
2900 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * texrow.[Ch] (increasePos): remove function
2903         * exporter.C (export): removed unused var and outdated comment
2904
2905 2003-05-23  Angus Leeming  <leeming@lyx.org>
2906
2907         * latexrunparams.h: rename fragile as moving_arg.
2908         * paragraph.C (simpleTeXOnePar): ditto.
2909         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2910
2911 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2914         (createUndo): ditto
2915         (textUndoOrRedo): comment out a currently unused var.
2916
2917         * paragraph.h (NO_NEXT): enable NO_NEXT
2918
2919         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2920
2921         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2922
2923         * exporter.C (Export): adjust for removeAutoInsets removal.
2924
2925         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2926
2927         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2928
2929         * BufferView.[Ch] (removeAutoInsets): delete function
2930
2931 2003-05-22  Angus Leeming  <leeming@lyx.org>
2932
2933         * latexrunparams.h: add a free_spacing variable.
2934
2935         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2936         to pass moving_arg, as the data is stored in runparams.fragile.
2937
2938         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2939         to Inset::latexOptional or to simpleTeXOnePar.
2940
2941         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2942         free_spacing arg to Inset::latexOptional.
2943
2944         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2945         free_spacing arg.
2946
2947 2003-05-22  Angus Leeming  <leeming@lyx.org>
2948
2949         * latexrunparams.h: add fragile and use_babel variables.
2950
2951         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2952         * buffer.C (makeLaTeXFile): store this returned value in
2953         runparams.use_babel, thus passing it to the inset::latex methods.
2954
2955         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2956         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2957
2958         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2959         longer has a fragile arg, as it is stored in runparams.fragile.
2960
2961         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2962         moving_arg parameter as the data is stored in runparams.fragile.
2963
2964         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2965         a fragile parameter as the data is stored in runparams.fragile.
2966
2967 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2970
2971 2003-05-22  Angus Leeming  <leeming@lyx.org>
2972
2973         * latexrunparams.h: add a 'bool nice' which defaults to false.
2974
2975         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2976         now encapsulated within runparams.
2977
2978         * bufferlist.C (updateIncludedTeXfiles):
2979         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2980
2981 2003-05-22  Angus Leeming  <leeming@lyx.org>
2982
2983         * latexrunparams.h: new file containing struct LatexRunParams.
2984         * Makefile.am: add new file.
2985
2986         * LaTeX.[Ch] (c-tor, run):
2987         * buffer.[Ch] (makeLaTeXFile):
2988         * bufferlist.[Ch] (updateIncludedTeXfiles):
2989         * converter.C (convert, scanLog):
2990         * converter.[Ch] (runLaTeX):
2991         * exporter.C (Export):
2992         * paragraph.[Ch] (simpleTeXOnePar):
2993         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2994         * paragraph_funcs.[Ch] (latexParagraphs):
2995         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2996         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2997         pass around a LatexRunParams parameter.
2998
2999 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * paragraph.[Ch]: remove unused constructor
3002
3003         * ParagraphList.C (erase): new function, taking two iterators
3004
3005 2003-05-22  André Pönitz  <poenitz@gmx.net>
3006
3007         * undo_funcs.C: remove duplicated code
3008
3009         * iterator.[Ch]: operator=
3010
3011 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * tabular.C (SetMultiColumn): ws changes
3014
3015         * rowpainter.C (paintFirst): get rid of a ->previous
3016
3017         * lyx_cb.C (getPossibleLabel): parlist simplification
3018
3019         * BufferView.C (ChangeInsets): simplify slightly.
3020
3021 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3022
3023         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3024         * lfuns.h: new LFUN_SPACE
3025         * lyxfunc.C: protected space has a new lfun
3026         * paragraph_funcs.C: read new space insets
3027         * text3.C:
3028         * factory.C: handle new space insets
3029
3030 2003-05-22  André Pönitz  <poenitz@gmx.net>
3031
3032         * BufferView.C:
3033         * BufferView_pimpl.C:
3034         * buffer.[Ch]:
3035         * lyxfunc.C:
3036         * undo_funcs.C: return a ParIterator from getParFromID.
3037
3038         * iterators.[Ch]: add two const's
3039
3040 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * toc.C (getTocList): adjust
3043
3044         * iterators.[Ch]: rework for parlist
3045
3046         * buffer.C (par_iterator_begin): adjust
3047         (par_iterator_end): adjust
3048
3049         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3050
3051         * BufferView.C (removeAutoInsets): adjust
3052         (ChangeInsets): adjust
3053
3054 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * text.C (top_y): fix bug 1110
3057
3058 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3059
3060         * errorlist.[Ch]: added
3061         * buffer.C:
3062         * BufferView.[Ch]:
3063         * BufferView_pimpl.C:
3064         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3065         instead
3066
3067 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3068
3069         * Makefile.am: ensure that lyx is relinked upon changes to the
3070         various "convenience" libs.
3071
3072 2003-05-20  Angus Leeming  <leeming@lyx.org>
3073
3074         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3075         files are compiled in alphabetical order again.
3076
3077         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3078
3079 2003-05-19  Angus Leeming  <leeming@lyx.org>
3080
3081         * gettext.[Ch]: remove "char const * _(char const *)".
3082
3083 2003-05-19  André Pönitz  <poenitz@gmx.net>
3084
3085         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3086
3087         * Makefile.am:
3088         * BufferView.C:
3089         * DepTable.h:
3090         * LaTeXFeatures.C:
3091         * buffer.C:
3092         * lyxfont.C:
3093         * lyxlex.h:
3094         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3095
3096 2003-05-19  André Pönitz  <poenitz@gmx.net>
3097
3098         * buffer.C:
3099         * lyxlayout.[Ch]:
3100         * lyxtextclass.[Ch]:
3101         * paragraph.C:
3102         * paragraph_funcs.[Ch]:
3103         * text2.C:
3104         * text3.C: more insetenv work
3105
3106 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * ParagraphParameters.C (params2string): small bug fixed
3109
3110 2003-05-16  André Pönitz  <poenitz@gmx.net>
3111
3112         * debug.C:
3113         * bufferview_funcs.C: patch from Kornel Benko to prevent
3114           crash when _(...) is called twice in a statement
3115
3116 2003-05-16  André Pönitz  <poenitz@gmx.net>
3117
3118         * BufferView.C:
3119         * lyxfunc.C:
3120         * text.C:
3121         * text2.C:
3122         * text3.C:
3123         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3124
3125 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * lyx_main.C (init): remove spurious static_cast
3128
3129 2003-05-14  André Pönitz  <poenitz@gmx.net>
3130
3131         * BufferView.C: fix format string
3132
3133 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3134
3135         * BufferView.[Ch] (insertErrors): removed
3136         * BufferView.[Ch] (showErrorList): added
3137         * buffer.C (runChkTeX):
3138         * converter.C (scanLog): call showErrorList instead of inserterrors
3139
3140 2003-05-13  André Pönitz  <poenitz@gmx.net>
3141
3142         * BufferView_pimpl.C:
3143         * buffer.C:
3144         * bufferview_func.C:
3145         * MenuBackend.C:
3146         * lyxfunc.C:
3147         * lyxrc.C:
3148         * tex-accent.C:
3149         * text3.C:
3150         * toc.C:
3151         * tabular_funcs.h: tostr() from its own header
3152
3153         * ParagraphParameters.C:
3154         * ToolbarBackend.C:
3155         * bufferparams.C:
3156         * format.C:
3157         * lyxlex_pimpl.C:
3158         * text3.C: STRCONV()
3159
3160 2003-05-12  André Pönitz  <poenitz@gmx.net>
3161
3162         * BufferView.C:
3163         * BufferView_pimpl.C:
3164         * CutAndPaste.C:
3165         * LaTeX.C:
3166         * LaTeXFeatures.C:
3167         * ParagraphParameters.C:
3168         * buffer.C:
3169         * bufferlist.C:
3170         * bufferparams.C:
3171         * bufferview_funcs.C:
3172         * converter.C:
3173         * counters.C:
3174         * debug.C:
3175         * exporter.C:
3176         * format.C:
3177         * importer.C:
3178         * lyx_cb.C:
3179         * lyx_main.C:
3180         * lyxfont.C:
3181         * lyxfunc.C:
3182         * lyxvc.C:
3183         * paragraph.C:
3184         * paragraph_funcs.C:
3185         * tabular.C:
3186         * tabular_funcs.C:
3187         * text2.C:
3188         * text3.C:  boost::format -> bformat  all over the place
3189
3190
3191 2003-05-09  André Pönitz  <poenitz@gmx.net>
3192
3193         * LColor.[Ch]: Pimpl the #include <map> away
3194
3195 2003-05-09  John Levon  <levon@movementarian.org>
3196
3197         * bufferlist.C: never remove emergency saves
3198
3199 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * Makefile.am: better lib building
3202
3203 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3206         instead.
3207         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3208         (simpleTeXSpecialChars): adjust
3209         (simpleTeXSpecialChars): adjust
3210         * paragraph.C (simpleTeXOnePar): adjust
3211         * buffer.C (makeLaTeXFile): adjust
3212
3213         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3214
3215         * text2.C (changeDepth): parlist cleanup
3216         (getColumnNearX): ditto
3217
3218         * rowpainter.C (getLabelFont): parlist cleanup
3219
3220         * bufferlist.C (newFile): parlist cleanup
3221
3222         * CutAndPaste.C (eraseSelection): parlist cleanup
3223
3224         * BufferView_pimpl.C (trackChanges): parlist cleanup
3225         (dispatch): ditto
3226
3227         * BufferView.C (lockInset): parlist cleanup.
3228         (ChangeInsets): ditto
3229
3230 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * CutAndPaste.h: Update file header.
3233
3234         * CutAndPaste.C: Update file header.
3235         Store the parts cut out of the Document in a limited_stack.
3236         (copySelection): adjust
3237         (pasteSelection): new function, takes the index in the limited stack.
3238         (nrOfParagraphs): adjust
3239         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3240         simplify error inset insertion.
3241         (checkPastePossible): adjust
3242
3243 2003-05-06  John Levon  <levon@movementarian.org>
3244
3245         * text2.C: don't cast wrap inset to float
3246
3247 2003-05-05  André Pönitz  <poenitz@gmx.net>
3248
3249         * iterator.C:
3250         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3251
3252         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3253           few naked Paragraph *.
3254
3255 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3256
3257         * bufferparams.C: Output warning if a document with missing
3258         TeX document class is loaded
3259         * exporter.C: Disable TeX exports if the document class is missing
3260         * lyxtextclass.C:
3261         * lyxtextclass.h:
3262         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3263         isTeXClassAvailable()
3264
3265 2003-05-03  John Levon  <levon@movementarian.org>
3266
3267         * BufferView.h:
3268         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3269         explicit cursor show/hide
3270
3271         * BufferView_pimpl.h:
3272         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3273         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3274
3275         * lyxfunc.C: hide cursor before dispatching.
3276
3277         * lyx_cb.C:
3278         * lyxfind.C:
3279         * text.C:
3280         * text3.C: remove explicit cursor hides
3281
3282 2003-05-02  André Pönitz  <poenitz@gmx.net>
3283
3284         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3285
3286         * undo_funcs.C:
3287         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3288           linked lists
3289
3290         * text2.C: tiny whitespace
3291
3292 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * undo_funcs.C: almost only ws changes.
3295
3296         * ParagraphList.C (splice): just return if pl is empty.
3297
3298 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3299
3300         * ParagraphList.C (splice): new function.
3301
3302         * CutAndPaste.C (pasteSelection): use it
3303
3304 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * CutAndPaste.C (pasteSelection): remove the last next and
3307         previous from this file.
3308
3309 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3310
3311         * CutAndPaste.C (pasteSelection): more clean up, user proper
3312         ParagraphList functions for pasteing.
3313
3314         * ParagraphList.C (insert): new function, three arg insert
3315
3316 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * ParagraphList.C (insert): new function, three arg insert
3319
3320         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3321         not on paragraphs.
3322
3323 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3326
3327 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3330
3331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3334         (copySelection): clean up a bit.
3335         (pasteSelection): use make_pair
3336
3337         * ParagraphList.C (ParagraphList): implement copy constructor
3338         (operator=): implement, base on copy constructor.
3339         (assign): new func
3340
3341         * paragraph.C (erase): return a bool
3342
3343         * paragraph_pimpl.C (erasePos): remove function, move contents...
3344         (erase): ... here. Return a bool.
3345         (erase): call erase instead of erasePos.
3346
3347 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * ParagraphList.h: define PitPosPair
3350         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3351         ParagraphList, fix a bug on pasting multiple pars
3352         * text2.C: change interface to C&P
3353
3354 2003-04-30  André Pönitz  <poenitz@gmx.net>
3355
3356         * undo_func.C: revert part of yesterday's patch 2
3357
3358 2003-04-30  John Levon  <levon@movementarian.org>
3359
3360         * LColor.C: s/tabular/table/
3361
3362 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3363
3364         * text3.C (dispatch): do not convert iterator -> pointer
3365         * undo_funcs.C (setCursorParUndo): ditto
3366         * text_funcs.C (transposeChars): ditto
3367
3368         * text2.C (setLayout): ws changes only
3369
3370         * text.C (breakParagraph): do not convert iterator -> pointer
3371         (insertChar): ditto
3372         (acceptChange): ditto
3373         (rejectChange): ditto
3374         (changeCase): ditto
3375         (Delete): ditto
3376         (backspace): ditto
3377
3378         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3379         pointer
3380
3381 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * text3.C (gotoInset): YABG (yet another bad getChar)
3384
3385 2003-04-29  André Pönitz  <poenitz@gmx.net>
3386
3387         * paragraph.h: make operator= private unimplemented as long as
3388           it is unusable
3389
3390         * ParagraphList.C: whitespace
3391
3392         * paragraph.[Ch]:
3393         * paragraph_pimpl.[Ch]:
3394         * paragraph_funcs.C:
3395         * CutAndPaste.C:
3396         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3397
3398         * text2.C:
3399           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3400
3401 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3404         * paragraph.[Ch] (erase):
3405         * paragraph_pimpl.[Ch] (erase): change return type and value
3406         * text2.C (cutSelection): some rework
3407
3408 2003-04-28  John Levon  <levon@movementarian.org>
3409
3410         * bufferlist.C: changes for unsaved changes dialog
3411
3412 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * bufferlist.C (newFile): set language (messages_) for new
3415         documents also.
3416
3417         * buffer.C (readFile): ws changes only.
3418
3419 2003-04-28  André Pönitz  <poenitz@gmx.net>
3420
3421         * undo_funcs.C:
3422         * lyxfunc.C:
3423         * buffer.[Ch]:
3424         * BufferView_pimpl.C:
3425         * BufferView.C: getParFromID related ParagraphList::iterator changes
3426
3427 2003-04-28  André Pönitz  <poenitz@gmx.net>
3428
3429         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3430           Changes
3431
3432 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * messages.C: remove one more localedir class variable.
3435
3436 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * messages.C (getLocaleDir): singleton generation function
3439         (Pimpl): use it.
3440         (Messages): add a default constructor.
3441
3442         * main.C (main): do not setup localedir here, do not call
3443         gettext_init.
3444
3445         * gettext.C (_): use it.
3446         (gettext_init): delete funciton
3447
3448 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * gettext.C (getLyXMessages): new singleton generating function.
3451
3452         * buffer.C (updateDocLang): adjust
3453
3454         * Makefile.am (messages.o): add target
3455         (main.o): remove target
3456
3457 2003-04-27  John Levon  <levon@movementarian.org>
3458
3459         * bufferlist.C:
3460         * lyx_cb.C:
3461         * lyxfunc.C:
3462         * lyxvc.C: specify cancel button in Alert::prompt
3463
3464 2003-04-26  John Levon  <levon@movementarian.org>
3465
3466         * text3.C:
3467         * lyxfunc.C:
3468         * lfuns.h:
3469         * LyXAction.C: add LFUN_INSET_SETTINGS
3470
3471         * lyxfunc.C: don't enable tabular-feature when there's
3472         just any locking inset
3473
3474 2003-04-26  John Levon  <levon@movementarian.org>
3475
3476         * bufferlist.C: re-add Cancel to buffer close question
3477
3478         * lyxfunc.C: fix import UI a bit
3479
3480 2003-04-25  John Levon  <levon@movementarian.org>
3481
3482         * gettext.C: remove the broken asserts for now
3483
3484 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * messages.C: make case where setlocale cannot comply work better.
3487
3488         * buffer.C (updateDocLang): new function
3489         (changeLanguage): use it
3490         (readFile): use it
3491
3492         * text2.C (setCounter): use B_ a bit.
3493
3494         * lyxlayout.C (Read): be sure to trim the label strings.
3495
3496         * messages.C (Messages): fix typo in comment
3497
3498         * buffer.C (readFile): set message_ after file is loaded.
3499         (makeDocBookFile): remove double return
3500         (changeLanguage): reset message_ upon language change.
3501         (B_): new func, use this to get translated buffer strings.
3502
3503         * main.C: add myself and Jean Marc as authors.
3504
3505 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * messages.[hC]: pimplify Messages, and three different pimpls to be
3508         used in different circumstances.
3509
3510         * gettext.[Ch]: change for use with new message code.
3511
3512 2003-04-24 André Pönitz <poenitz@gmx.net>
3513
3514         * factory.C: support for eqref
3515
3516 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3517
3518         * messages.[Ch]: add missing char
3519
3520         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3521
3522         * messages.[Ch]: New files
3523
3524 2003-04-18  John Levon  <levon@movementarian.org>
3525
3526         * BufferView.h:
3527         * BufferView.C:
3528         * BufferView_pimpl.C:
3529         * lfuns.h:
3530         * LyXAction.C:
3531         * lyxtext.h:
3532         * text2.C: remove layout-copy/paste (bug 778)
3533
3534 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3537
3538 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3541         if they succeed. Act accordingly.
3542
3543 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3544
3545         * text2.C (setCharFont): adjust
3546         (setCounter): adjust
3547         (insertStringAsLines): adjust
3548
3549         * text.C (leftMargin): adjust
3550         (setHeightOfRow): adjust
3551
3552         * rowpainter.C (paintFirst): adjust
3553         (paintLast): adjust
3554
3555         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3556         (outerHook): ditto
3557         (isFirstInSequence): ditto
3558         (getEndLabel): ditto
3559         (outerFont): adjust
3560
3561         * paragraph.C (getParLanguage): comment out some hard stuff.
3562
3563         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3564         (sgmlError): ditto
3565         (simpleDocBookOnePar): ditto
3566         (makeDocBookFile): use ParagraphList::iterator
3567
3568         * CutAndPaste.C (pasteSelection): adjust
3569
3570 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * text2.C (getFont): adjust
3573         (getLayoutFont): adjust
3574         (getLabelFont): adjust
3575
3576         * paragraph_funcs.C (TeXOnePar): adjust
3577
3578         * buffer.C (simpleLinuxDocOnePar): adjust
3579         (simpleDocBookOnePar): adjust
3580
3581         * CutAndPaste.C (pasteSelection): adjust
3582
3583         * BufferView.C (getEncoding): adjust
3584
3585         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3586
3587 2003-04-16  John Levon  <levon@movementarian.org>
3588
3589         * lyxfind.C: use parlist stuff for search/changes
3590
3591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3594
3595         * text2.C (deleteEmptyParagraphMechanism): adjust
3596
3597         * text2.[Ch] (ownerParagraph): delete func (both of them
3598
3599 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3602
3603 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * ParagraphList.C: prepare for NO_NEXT
3606
3607 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * text2.C (getFont): adjust
3610         (getLayoutFont): adjust
3611         (getLabelFont): adjust
3612
3613         * paragraph.C (getFont): adjust
3614         (getLabelFont): adjust
3615         (getLayoutFont): adjust
3616
3617         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3618
3619 2003-04-15  John Levon  <levon@movementarian.org>
3620
3621         From Angus Leeming
3622
3623         * lyx_main.C: handle Include in .ui files
3624
3625 2003-04-15  John Levon  <levon@movementarian.org>
3626
3627         * MenuBackend.C: make the doc files length shorter
3628
3629         * ToolbarBackend.h:
3630         * ToolbarBackend.C: handle toolbar placement flags,
3631         Minibuffer
3632
3633 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3636         adjust
3637
3638         * paragraph_funcs.C (TeXOnePar): adjust
3639
3640         * paragraph.C (getLabelFont): add outerfont arg, adjust
3641         (getLayoutFont): ditto
3642         (simpleTeXOnePar): adjust
3643
3644         * paragraph_pimpl.C (realizeFont): delete func
3645
3646 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3649         row argument, constify cur argument.
3650
3651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * text2.C (getFont): adjust
3654         (getLayoutFont): adjust
3655         (getLabelFont): adjust
3656
3657         * paragraph_funcs.C (TeXOnePar): adjust
3658         (outerFont): new func...
3659         (realizeFont): ...moved out from here, changed this to facilitate
3660         transition
3661
3662         * paragraph.C (getFont): take outerfont as arg, adjust
3663         (simpleTeXOnePar): add outerfont arg, adjust
3664
3665         * buffer.C (simpleLinuxDocOnePar): adjust
3666         (simpleDocBookOnePar): adjust
3667
3668         * CutAndPaste.C (pasteSelection): adjust
3669
3670         * BufferView.C (getEncoding): adjust
3671
3672 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * text2.C (setCharFont): adjust
3675         (setCounter): adjust
3676
3677         * text.C (leftMargin): adjust
3678         (setHeightOfRow): adjust
3679
3680         * rowpainter.C (paintFirst): adjust
3681         (paintLast): adjust
3682
3683         * paragraph_pimpl.C (realizeFont): adjust
3684
3685         * paragraph.C (isFirstInSequence): move from here...
3686         * paragraph_funcs.C (isFirstInSequence): ...to here
3687
3688         * paragraph.C (outerHook): move from here...
3689         * paragraph_funcs.C (outerHook): ...to here
3690
3691         * paragraph.C (depthHook): move from here...
3692         * paragraph_funcs.C (depthHook): ...to here
3693
3694         * paragraph.C (getEndLabel): move from here...
3695         * paragraph_funcs.C (getEndLabel): ...to here
3696
3697         * text2.C (realizeFont): move from here...
3698         * paragraph_funcs.C (realizeFont): ...to here
3699
3700 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3703
3704 2003-04-14  Angus Leeming  <leeming@lyx.org>
3705
3706         * LColor.[Ch]: scrap LColor mathcursor.
3707
3708 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * lyxlex.[Ch] (text): delete function
3711         * trans.C (Load): adjust
3712         * paragraph_funcs.C (readParToken): adjust
3713
3714 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3717         vector<char> instead of a char[].
3718
3719         * lyxlex_pimpl.C (getString): adjust
3720         (next): adjust
3721         (lex): use getString
3722         (eatLine): adjust
3723         (nextToken): adjust
3724
3725         * lyxlex.C (text): use pimpl_->getString()
3726         (getBool): ditto
3727         (findToken): ditto
3728
3729 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3732         (makeFontEntriesLayoutSpecific): temp var for par.size()
3733         (setLayout): temp var for ownerParagraphs().end()
3734         (fullRebreak): temp var for rows().end()
3735         (selectionAsString): temp var for boost::next(startpit), realize
3736         that the while really is a regular for loop.
3737         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3738         setCursor in one place.
3739         (setParagraph): temp vr for ownerParagraphs().end()
3740         (updateCounters): make the while loop a for loop
3741         (cutSelection): temp var for ownerParagraphs().end()
3742         (updateInset): make the do {} while() a regular for loop
3743         (getCursorX): use temp vars
3744         (setCurrentFont): use temp vars
3745         (getColumnNearX): use temp vars
3746
3747 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * text.C (transformChar): use temp var for getChar
3750         (computeBidiTables): use temp var for row->par()
3751         (fill): move temp vars for row->par() and pit->layout() earlier in
3752         the function.
3753         (labelFill): use temp var for row->par()
3754         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3755         asc and desc, realize that pit never changes and that firstpit is
3756         just a duplicate and not needed. Exchange rit->par() with pit in a
3757         lot of places.
3758         (breakAgain): use a temp var for boost::next(rit)
3759         (breakAgainOneRow): ditto
3760         (breakParagraph): use a temp var for rows().begin()
3761         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3762         (cursorRightOneWord): use temp var for cursor.par() and
3763         cursor.pos(), remove usage of tmpcursor.
3764         (cursorLeftOneWord): use temp var for cursor.par() and
3765         cursor.pos() only set cur at end of function.
3766
3767 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * text.C, text2.C: exchange all usage of Paragraph::next with
3770         boost::next(ParagraphList::iterator)
3771
3772         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3773
3774         * text2.C (cursorTop): simplify implementation
3775         (cursorBottom): ditto
3776         (setParagraph): use ParagraphList::iterator
3777         (setCurrentFont): adjust
3778         (getColumnNearX): adjust
3779         (cursorRight): adjust
3780         (cursorLeft): remove usage of Paragraph::previous
3781         (cursorUpParagraph): ditto
3782         (deleteEmptyParagraphMechanism): slight cleanup
3783
3784         * text.C (isBoundary): take a Paragraph const & instead of a
3785         pointer as arg.
3786         (addressBreakPoint): ditto
3787         (leftMargin): remove usage of Paragraph::previous.
3788         (setHeightOfRow): ditto
3789         (cursorLeftOneWord): ditto
3790         (selectNextWordToSpellcheck): ditto
3791         (Delete): ditto
3792         (backspace): ditto
3793         (breakParagraph): remove one usage of Paragraph::next
3794         (redoParagraph): ditto
3795         (acceptChange): ditto
3796         (insertChar): adjust
3797         (rowBreakPoint): adjust
3798
3799         * bufferview_funcs.C (toggleAndShow): adjust
3800
3801 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3804         methods to access it.
3805         * lyxtext.h:
3806         * text.C: Added updateRowPositions to compute all row positions.
3807         Make top_y and getRowNearY() to use the cached y position
3808
3809 2003-04-11  John Levon  <levon@movementarian.org>
3810
3811         * text.C (rowBreakPoint): reintroduce the labelEnd
3812         checks, code copied from the row fill stuff. Deep voodoo.
3813
3814         * text.C (fill): add a comment and debugging for the
3815         next poor soul.
3816
3817 2003-04-11  John Levon  <levon@movementarian.org>
3818
3819         * text.C: make sure fullrow insets get wrapped to the next line,
3820         even when they're in a manual label
3821
3822 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * text2.C (insertParagraph): make it take ParagraphList::iterator
3825         as arg.
3826         (setLayout): make it return ParagraphList::iterator
3827         (redoParagraphs): ditto
3828         (setCounter): ditto
3829         (checkParagraph): ditto
3830
3831         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3832
3833         * text2.C: adjust several funcs.
3834         (realizeFont): take a ParagraphList::iterator as arg.
3835         (getLayoutFont): ditto
3836         (getLabelFont): ditto
3837         (setCharFont): ditto
3838
3839         * text.C: adjust several funcs.
3840
3841 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * text.C (selectNextWordToSpellcheck): don't accidentally
3844         skip insets
3845
3846 2003-04-10  John Levon  <levon@movementarian.org>
3847
3848         * ToolbarBackend.C (getIcon): special handling for
3849         LFUN_MATH_DELIM
3850
3851 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3852
3853         * text2.C (cursorRight): a getChar assert fixed
3854
3855 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * text2.C (getFont): change to take a ParagraphList::iterator
3858         instead of Paragraph*
3859         Adjust several functions.
3860
3861         * text.C (transformChar): change to take a ParagraphList::iterator
3862         instead of Paragraph*
3863         (singleWidth): ditto
3864         Adjust several functions.
3865
3866         * rowpainter.C: adjust several functions
3867         * rowpainter.h:store a ParagraphList::iterator and not a
3868         Paragraph&.
3869
3870
3871 2003-04-09  John Levon  <levon@movementarian.org>
3872
3873         * lyxfunc.C:
3874         * lfuns.h:
3875         * LyXAction.h:
3876         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3877         and the "help" bits as well
3878
3879 2003-04-09  John Levon  <levon@movementarian.org>
3880
3881         * ToolbarBackend.h:
3882         * ToolbarBackend.C: allow multiple toolbars
3883
3884 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * undo_funcs.C (setCursorParUndo): adjust
3887
3888         * text_funcs.C (transposeChars): adjust
3889
3890         * text3.C (gotoNextInset): adjust
3891         (dispatch): adjust
3892
3893         * text2.C (setLayout): adjust
3894         (changeDepth): adjust
3895         (setFont): adjust
3896         (redoParagraphs): adjust
3897         (selectionAsString): adjust
3898         (setParagraph): adjust
3899         (insertInset): adjust
3900         (cutSelection): adjust
3901         (copySelection): adjust
3902         (pasteSelection): adjust
3903         (insertStringAsLines): adjust
3904         (updateInset): adjust
3905         (setCursor): change to take a ParagraphList::iterator parameter
3906         (setCursorIntern): change to take a ParagraphList::iterator parameter
3907         (setCurrentFont): adjust
3908         (cursorLeft): adjust
3909         (cursorRight): adjust
3910         (deleteEmptyParagraphMechanism): adjust
3911
3912         * text.C (breakParagraph): adjust
3913         (insertChar): adjust
3914         (acceptChange): adjust
3915         (rejectChange): adjust
3916         (selectNextWordToSpellcheck): adjust
3917         (changeCase): adjust
3918         (Delete): adjust
3919         (backspace): adjust
3920
3921         * lyxfind.C (SearchForward): adjust
3922         (SearchBackward): adjust
3923         (nextChange): adjust
3924
3925         * lyxcursor.C (par): adjust
3926
3927         * lyxcursor.h: store a ParagraphList::iterator instead of a
3928         Paragraph*
3929
3930         * lyx_cb.C (getPossibleLabel): adjust
3931
3932         * bufferview_funcs.C (toggleAndShow): adjust
3933
3934         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3935         (dispatch): adjust
3936
3937         * BufferView.C (removeAutoInsets): adjust
3938         (lockedInsetStoreUndo): adjust
3939
3940 2003-04-09  John Levon  <levon@movementarian.org>
3941
3942         * ToolbarBackend.C: try icon without argument
3943         if with argument fails
3944
3945 2003-04-08  John Levon  <levon@movementarian.org>
3946
3947         * ToolbarBackend.h:
3948         * ToolbarBackend.C: add getIcon(), handle tooltip,
3949         and change from "Icon" to "Item".
3950
3951 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3952
3953         * BufferView.C (lockInset): another bad getchar crunched
3954
3955 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3956
3957         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3958         again)
3959
3960 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3961
3962         * lyxfind.C (searchForward, searchBackwards): bug 782
3963
3964 2003-04-07  John Levon  <levon@movementarian.org>
3965
3966         * paragraph.C: remove dead comment
3967
3968         * text.C: remove troublesome depth-fiddling code
3969         in leftMargin() and rightMargin() (bug 1017)
3970
3971         * text.C: fix breaking of rows in nested lists
3972         (bug 1004)
3973
3974         * text2.C (updateCounters): fix up depth values
3975         (bug 1013)
3976
3977 2003-04-07  John Levon  <levon@movementarian.org>
3978
3979         * BufferView_pimpl.C: clear message when doc finishes resizing,
3980         and after a mouse event
3981
3982         * lyxfunc.C: clear message after exiting inset
3983
3984 2003-04-07  John Levon  <levon@movementarian.org>
3985
3986         * bufferview_funcs.C: show math status not outside
3987         status in the statusbar
3988
3989 2003-04-07  John Levon  <levon@movementarian.org>
3990
3991         * lyxfunc.C: note status changed after a depth change
3992
3993 2003-04-04  Angus Leeming  <leeming@lyx.org>
3994
3995         * LaTeX.h: move AuxInfo operator==, != out of line.
3996         Remove LaTeX virtual destructor; nothing derives from it.
3997         Move operator()() out of public area and rename it startscript().
3998         Change protected for private.
3999
4000 2003-04-04  Angus Leeming  <leeming@lyx.org>
4001
4002         * lyxfunc.C:
4003         * text2.C: remove unneeded #includes.
4004
4005 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4006
4007         * text2.C (dEPM): fix the heigth of the next row
4008
4009 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4010
4011         * text.C: squashed an invalid getChar requester + some ws changes
4012
4013 2003-04-03  John Levon  <levon@movementarian.org>
4014
4015         * bufferview_funcs.h:
4016         * bufferview_funcs.C:
4017         * lyxfunc.C:
4018         * lyxtext.h:
4019         * text2.C: make getStatus work for the env depth lfuns
4020
4021 2003-04-03  John Levon  <levon@movementarian.org>
4022
4023         * bufferview_funcs.h:
4024         * bufferview_funcs.C:
4025         * lyxfunc.C:
4026         * lyxtext.h:
4027         * text2.C: parlistize decDepth(), by merging it with incDepth()
4028
4029 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * lyxrow.h: store a ParagraphList::iterator instead of a
4032         Paragraph* and adjust other class functions to suit.
4033
4034         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4035         above.
4036
4037 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * text2.C (setCursor): do not anchor to cursor row for the time being
4040
4041 2003-04-02  John Levon  <levon@movementarian.org>
4042
4043         * LyXAction.C:
4044         * lfuns.h:
4045         * lyx_main.C:
4046         * lyxtext.h:
4047         * text.C:
4048         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4049
4050 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * paragraph.h: make ParagraphList and ParagraphList::iterator
4053         friends of Paragraph.
4054
4055         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4056
4057         * ParagraphList.C: Use the private next_ and previous_ from
4058         Paragraph.
4059
4060 2003-04-01  John Levon  <levon@movementarian.org>
4061
4062         * ToolbarBackend.h:
4063         * ToolbarBackend.C:
4064         * Makefile.am: rename, remove defaults gunk
4065
4066         * MenuBackend.h:
4067         * MenuBackend.C: remove defaults gunk
4068
4069         * Languages.h:
4070         * Languages.C: remove defaults gunk
4071
4072         * lyx_main.h:
4073         * lyx_main.C: error out if files couldn't be found.
4074
4075 2003-04-02  John Levon  <levon@movementarian.org>
4076
4077         * text2.C: make incDepth() use parlist
4078
4079 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * undo_funcs.C (firstUndoParagraph): adjust
4082
4083         * text3.C (gotoInset): adjust
4084         (dispatch): adjust, and rewrite loop.
4085
4086         * text2.C (init): adjust, and rewrite loop.
4087         (redoParagraphs): adjust
4088         (updateInset): adjust, and rewrite loop.
4089         (deleteEmptyParagraphMechanism): adjust
4090
4091         * tabular.C (LyXTabular): adjust
4092         (SetMultiColumn): adjust
4093         (TeXRow): adjust
4094
4095         * lyxtext.[Ch] (ownerParagraph): delete function
4096         (ownerParagraphs): new function returns a ParagraphList.
4097
4098         * BufferView.C (removeAutoInsets): adjust
4099         (insertErrors): adjust
4100         (setCursorFromRow): adjust
4101
4102 2003-04-01  Angus Leeming  <leeming@lyx.org>
4103
4104         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4105         in the frontends.
4106
4107 2003-04-02  John Levon  <levon@movementarian.org>
4108
4109         * lyxtext.h:
4110         * text.C:
4111         * Makefile.am:
4112         * text_funcs.h:
4113         * text_funcs.C: make transposeChars a free function
4114
4115         * lyxrow_funcs.C: remove wrong comment
4116
4117 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * lyxtext.h: adjust
4120         * rowpainter.C: adjust
4121         * text.C: adjust
4122         * text2.C: adjust
4123         * text3.C: adjust
4124
4125         * lyxrow_funcs. [Ch]: new files
4126
4127         * lyxrow.[Ch]: remove next and previous pointers
4128         (next,previous): remove accessor functions
4129         (isParEnd): move to lyxrow_funcs
4130         (lastPos): move to lyxrow_funcs
4131         (nextRowIsAllInset): move to lyxrow_funcs
4132         (lastPrintablePos): move to lyxrow_funcs
4133         (numberOfSeparators): move to lyxrow_funcs
4134         (numberOfHfills): move to lyxrow_funcs
4135         (numberOfLabelHfills): move to lyxrow_funcs
4136         (hfillExpansion): move to lyxrow_funcs
4137
4138         * lyxfunc.C: adjust
4139
4140         * bufferview_funcs.C (toggleAndShow): adjust
4141
4142         * RowList.h: Remove class RowList from file leave just a
4143         std::list<Row>.
4144
4145         * RowList.C: delete file
4146
4147         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4148         and lyxrow_funcs.h
4149
4150 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * text3.C (cursorPrevious): adjust
4153         (cursorNext): adjust
4154         (dispatch): adjust
4155
4156         * text2.C (redoHeightOfParagraph): adjust
4157         (redoDrawingOfParagraph): adjust
4158         (setCursor): adjust
4159
4160         * text.C (breakParagraph): adjust
4161         (insertChar): adjust
4162         (backspace): adjust
4163
4164         * rowpainter.C (RowPainter): adjust
4165         (leftMargin): simplify and adjust
4166         (most rowpainter functions): adjust.
4167
4168         * rowpainter.h: store the row as RowList::iterator not as Row*
4169
4170         * lyxcursor.C (row): taka RowList::iterator as arg
4171         (irow): ditto
4172
4173         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4174         of Row*.
4175
4176 2003-04-01  Angus Leeming  <leeming@lyx.org>
4177
4178         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4179         stuff like bool Bool.
4180
4181 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4184         rewrite a loop
4185
4186 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4189         RowList::iterator.
4190
4191         * lyxtext.h (rows): drop one version and leve a const variant that
4192         returns a RowList::iterator.
4193
4194 2003-03-31  Angus Leeming  <leeming@lyx.org>
4195
4196         * text.C (fill): ensure that the signature is the same as that in the
4197         header file.
4198
4199 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * text2.C (redoParagraphs): adjust
4202         (updateCounters): adjust
4203         (checkParagraph): adjust
4204         (getColumnNearX): adjust and reformat a bit.
4205
4206         * text.C (top_y): adjust
4207         (workWidth): adjust
4208         (leftMargin): adjust
4209         (prepareToPrint): adjust
4210         (getRow): adjust
4211         (getRowNearY): adjust
4212
4213         * lyxtext.h: make rowlist_ mutable.
4214
4215         * RowList.h: add const_iterator
4216         * RowList.C: adjust for RowList::const_iterator.
4217
4218         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4219         adjust.
4220
4221 2003-03-31  John Levon  <levon@movementarian.org>
4222
4223         * lyxrc.h:
4224         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4225
4226         * lyx_main.C: set default fonts from using lyx_gui funcs
4227
4228         * exporter.C: pdf_mode moved from lyxrc
4229
4230         * lyx_cb.C:
4231         * lyxfunc.C: changes from above
4232
4233 2003-03-31  John Levon  <levon@movementarian.org>
4234
4235         * lyx_main.C: fix to the last fix
4236
4237 2003-03-31  John Levon  <levon@movementarian.org>
4238
4239         * bufferlist.C: "Load original" -> "Load Original"
4240
4241         * converter.C:
4242         * exporter.C:
4243         * importer.C:
4244         * lyx_main.C:
4245         * format.C: more Alert cleanups
4246
4247 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * text2.C (removeParagraph): make it take a RowList::iterator as
4250         arg, adjust.
4251         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4252         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4253
4254         * text.C (anchor_row): make it take a RowList::iterator as arg,
4255         adjust.
4256         (computeBidiTables): make it take a const reference to Row instead
4257         of Row pointer, adjust.
4258         (leftMargin): make it take a RowList::iterator as arg, adjust.
4259         (rowBreakPoint): adjust
4260         (breakAgainOneRow): make it take a RowList::iterator as arg,
4261         adjust.
4262         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4263
4264         * bufferview_funcs.C (toggleAndShow): adjust
4265
4266 2003-03-30  John Levon  <levon@movementarian.org>
4267
4268         * Makefile.am:
4269         * BoostFormat.h:
4270         * boost-inst.C: moved to support
4271
4272         * several files: changes as a result
4273
4274 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * text2.C (LyXText): adjust.
4277         (init): adjust
4278         (removeRow): make it take a RowList::iterator as arg, adjust.
4279         (fullRebreak): adjust
4280         (deleteEmptyParagraphMechanism): adjust
4281         (clearPaint): adjust
4282         (postPaint): adjust
4283
4284         * text.C (top_y): adjust
4285         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4286         (breakAgain): make it take a RowList::iterator as arg, adjust.
4287         (breakParagraph): adjust
4288         (insertChar): adjust
4289         (backspace): adjust
4290
4291         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4292         need_break_row, and refresh_row.
4293
4294         * text3.C (dispatch): adjust
4295
4296         * text2.C (checkParagraph): adjust
4297         (setCursor): adjust
4298         (setCursorFromCoordinates): adjust
4299
4300         * text.C (top_y): adjust
4301         (workWidth): adjust
4302         (getRow): make it return a RowList::iterator, adjust
4303         (getRowNearY): make it return a RowList::iterator, adjust
4304
4305         * text2.C (init): adjust
4306         (insertRow): remove function
4307         (insertParagraph): adjust
4308         (redoParagraphs): adjust
4309         (fullRebreak): adjust
4310         (updateCounters): adjust
4311
4312         * text.C (top_y): rewrite to use RowList iterators.
4313         (top_y): adjust
4314         (setHeightOfRow): rewrite to sue RowList iterators.
4315         (appendParagraph): adjust
4316         (breakAgain): adjust
4317         (breakAgainOneRow): adjust
4318         (breakParagraph): adjust
4319         (getRow): adjust
4320         (getRowNearY): adjust, and remove commented code.
4321
4322         * lyxtext.h (firstRow): delete function
4323         (lastRow): delete function
4324         (rows): new function (const and non-const versions.)
4325         (insertRow): delete function
4326
4327         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4328
4329 2003-03-29  John Levon  <levon@movementarian.org>
4330
4331         * BufferView_pimpl.C: always update scrollbar top
4332         because pasting text when we're anchored could mean we
4333         miss an update altogether
4334
4335 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * text2.C (init): use rowlist_.end() and not 0.
4338         (insertRow): change to take a RowList::iterator as arg, adjust
4339         for this.
4340         (insertParagraph): change to take a RowList::iterator as arg,
4341         adjust for this.
4342         (redoParagraphs): remove some debug msgs.
4343
4344         * text.C (appendParagraph): change to take a RowList::iterator
4345         arg, adjust for this.
4346         (breakAgain): add an assert
4347         (breakAgainOneRow): ditto
4348
4349 2003-03-29  John Levon  <levon@movementarian.org>
4350
4351         * text2.C: do not clear selection after inc/decDepth
4352         (bug 550)
4353
4354 2003-03-29  John Levon  <levon@movementarian.org>
4355
4356         * BufferView.C:
4357         * buffer.C: fix broken strerrors according to Lars
4358
4359 2003-03-29  John Levon  <levon@movementarian.org>
4360
4361         * converters.C: more Alert cleanups
4362
4363 2003-03-29  John Levon  <levon@movementarian.org>
4364
4365         * bufferview_funcs.C: remove pointless Alert
4366
4367         * buffer.C: fix confusing error message when
4368         a template is chmoded 000
4369
4370 2003-03-29  John Levon  <levon@movementarian.org>
4371
4372         * BufferView.C:
4373         * BufferView.h:
4374         * BufferView_pimpl.C: Alert fixes
4375
4376         * Makefile.am:
4377         * tabular.C:
4378         * tabular-old.C: remove unused table compat reading
4379
4380 2003-03-29  John Levon  <levon@movementarian.org>
4381
4382         * BufferView.C:
4383         * buffer.C:
4384         * lyx_cb.h:
4385         * lyx_cb.C: more Alert cleanups
4386
4387         * lyxfunc.C: don't allow chktex if not latex document
4388
4389 2003-03-29  John Levon  <levon@movementarian.org>
4390
4391         * lyx_cb.C:
4392         * BufferView.C:
4393         * buffer.C: warnings pushed down from support/,
4394         kill err_alert
4395
4396 2003-03-29  John Levon  <levon@movementarian.org>
4397
4398         * lyxfunc.C: safety check for C-r (revert)
4399
4400 2003-03-29  John Levon  <levon@movementarian.org>
4401
4402         * bufferlist.h:
4403         * bufferlist.C: several UI fixes using Alert::prompt.
4404         Fix the pointless looping quit code. Fix stupid revert
4405         behaviour (bug 938)
4406
4407         * lyxvc.h:
4408         * lyxvc.C:
4409         * lyx_cb.C: use Alert::prompt
4410
4411         * lyx_main.C: remove a silly question
4412
4413         * lyxfunc.C: remove a couple of silly questions,
4414         use Alert::prompt
4415
4416 2003-03-28  John Levon  <levon@movementarian.org>
4417
4418         * text2.C: fix bug 974 (End on empty par)
4419
4420 2003-03-28  John Levon  <levon@movementarian.org>
4421
4422         * BufferView_pimpl.C:
4423         * LyXAction.C:
4424         * lfuns.h: remove do-nothing math greek lfuns
4425
4426 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * lyxgluelength.h (isValidGlueLength): add default arg on
4429         parameter 2. Remove default arg from friend in class.
4430
4431         * lyxlength.h (isValidLength): add default arg on parameter 2.
4432         Remove default arg from friend in class.
4433
4434         * text2.C (LyXText): adjust, initialize refresh_row.
4435         (init): adjust
4436         (removeRow): adjust
4437         (insertRow): adjust
4438         (insertParagraph): adjst
4439         (redoParagraphs): adjust
4440         (fullRebreak): adjust
4441         (updateCounters): adjust
4442         (deleteEmptyParagraphMechanism): first attempt at fixing a
4443         crashing bug.
4444
4445         * text.C (top_y): adjust
4446         (setHeightOfRow): adjust
4447         (getRow): adjust
4448         (getRowNearY): adjust
4449
4450         * lyxtext.h: include RowList.h
4451         (~LyXText): not needed anymore, deleted.
4452         (firstRow): modify for RowList
4453         (lastRow): new function
4454         Delete firstrow and lastrow class variables, add a Rowlist
4455         rowlist_ class variable.
4456
4457         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4458         paragraph is empty.
4459
4460         * RowList.C (insert): fix case where it == begin().
4461
4462 2003-03-26  Angus Leeming  <leeming@lyx.org>
4463
4464         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4465         the thesaurus dialog.
4466
4467 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4470
4471         * RowList.[Ch]: new files
4472
4473         * ParagraphList.C (erase): handle the case where it == begin
4474         correctly.
4475
4476 2003-03-25  John Levon  <levon@movementarian.org>
4477
4478         * Makefile.am:
4479         * aspell_local.h:
4480         * aspell.C: add new aspell support
4481
4482         * lyxrc.h:
4483         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4484         have it accessible.
4485
4486 2003-03-25  Angus Leeming  <leeming@lyx.org>
4487
4488         * lfuns.h:
4489         * LyXAction.C (init): new LFUN_INSET_INSERT.
4490
4491         * BufferView_pimpl.C (dispatch): split out part of the
4492         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4493
4494         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4495         LFUN_INSET_APPLY.
4496
4497 2003-03-25  Angus Leeming  <leeming@lyx.org>
4498
4499         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4500
4501 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * text2.C:
4504         * text3.C: remove useless row->height(0)
4505
4506 2003-03-25  John Levon  <levon@movementarian.org>
4507
4508         * lyxtext.h:
4509         * text2.C:
4510         * text3.C: rename the refreshing stuff to better names
4511
4512 2003-03-24  John Levon  <levon@movementarian.org>
4513
4514         * BufferView_pimpl.h:
4515         * BufferView_pimpl.C: update layout choice on a mouse
4516         press/release
4517
4518 2003-03-23  John Levon  <levon@movementarian.org>
4519
4520         * Makefile.am: fix commandtags.h reference
4521
4522 2003-03-22  John Levon  <levon@movementarian.org>
4523
4524         * BufferView_pimpl.C:
4525         * lyxtext.h:
4526         * rowpainter.C:
4527         * rowpainter.h:
4528         * text.C:
4529         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4530
4531 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * lyxtext.h:
4534         * text.C: take the rtl methods out of line
4535
4536 2003-03-21 André Pönitz <poenitz@gmx.net>
4537
4538         * metricsinfo.[Ch]: new files containing structures to be passed around
4539         during the two-phase-drawing...
4540
4541 2003-03-21 André Pönitz <poenitz@gmx.net>
4542
4543         * lyxtextclass.C: read 'environment' tag.
4544
4545 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * text2.C (removeRow): fix bug 964
4548
4549 2003-03-20  John Levon  <levon@movementarian.org>
4550
4551         * rowpainter.C:
4552         * text.C:
4553         * text2.C: paint cleanups. Inset::update() dropped font
4554         parameter
4555
4556 2003-03-19  John Levon  <levon@movementarian.org>
4557
4558         * lyxfunc.C: only fitcursor/markDirty if available()
4559
4560 2003-03-19  John Levon  <levon@movementarian.org>
4561
4562         * commandtags.h: rename to ...
4563
4564         * lfuns.h: ... this, and renumber / cleanup
4565
4566 2003-03-19  John Levon  <levon@movementarian.org>
4567
4568         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4569         fit the cursor after an lfun
4570
4571         * BufferView.h:
4572         * BufferView.C:
4573         * BufferView_pimpl.h:
4574         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4575
4576         * LyXAction.C: layout-character should have ReadOnly
4577
4578         * ParagraphParameters.C:
4579         * buffer.C:
4580         * bufferview_funcs.C:
4581         * lyx_cb.C:
4582         * lyxfind.C:
4583         * lyxtext.h:
4584         * text.C:
4585         * text2.C:
4586         * text3.C:
4587         * undo_funcs.C: changes from above
4588
4589 2003-03-18  John Levon  <levon@movementarian.org>
4590
4591         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4592         remove it from update()
4593
4594         * lyxfunc.C: update layout choice after an lfun
4595
4596         * text3.C: remove extra updateLayoutChoice()s
4597
4598 2003-03-18  John Levon  <levon@movementarian.org>
4599
4600         * text.C: top_y change means full repaint, fix
4601         a drawing bug with cursor movement
4602
4603 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * lyxtext.h:
4606         * text.C:
4607         * text2.C: anchor row on setCursor
4608
4609 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * lyxtext.h: remove almost all mutable keywords
4612         * text.C:
4613         * text2.C:
4614         * text3.C: remove const keywords accordingly
4615
4616 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4619         anon namespace
4620         (TeXEnvironment): ditto
4621         (TeXOnePar): ditto
4622
4623 2003-03-17  John Levon  <levon@movementarian.org>
4624
4625         * text.C (rowBreakPoint): remove attempt to fix displayed
4626         math insets inside a manual label
4627
4628 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * lyxtext.h: remove BufferView* as first arg from almost all class
4631         functions.
4632         * other files: adjust.
4633
4634 2003-03-17  John Levon  <levon@movementarian.org>
4635
4636         * lyxtext.h:
4637         * undo_funcs.C:
4638         * text2.C: more paint cleanups
4639
4640         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4641
4642         * rowpainter.h:
4643         * rowpainter.C: remove "smart" background painting code
4644
4645 2003-03-16  John Levon  <levon@movementarian.org>
4646
4647         * lyxtext.h:
4648         * text.C:
4649         * text2.C:
4650         * text3.C: add helper functions for setting refresh_row/y
4651
4652 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4653
4654         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4655         newline inset which *can* get inserted in the pass_thru layouts.
4656         This is primarily for literate documents.
4657
4658 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4659
4660         * buffer.C: increment LYX_FORMAT to 223
4661
4662 2003-03-14 André Pönitz <poenitz@gmx.net>
4663
4664         * textclass.h: prepare for environment handling, ws changes
4665         * lyxlayout.C: read latexheader and latexfooter tags
4666
4667 2003-03-14  John Levon  <levon@movementarian.org>
4668
4669         * text2.C: rewrite ::status() a bit
4670
4671 2003-03-13  John Levon  <levon@movementarian.org>
4672
4673         * lyxtext.h: add some docs
4674
4675 2003-03-13  John Levon  <levon@movementarian.org>
4676
4677         * lyxtext.h:
4678         * text.C:
4679         * text2.C:
4680         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4681
4682 2003-03-13  John Levon  <levon@movementarian.org>
4683
4684         * text3.C: fix appendix redrawing
4685
4686 2003-03-13  John Levon  <levon@movementarian.org>
4687
4688         * text.C (setHeightOfRow):
4689         * rowpainter.h:
4690         * rowpainter.C: make appendix mark have the text
4691           "Appendix" so the user knows what it is
4692
4693         * LColor.h:
4694         * LColor.C: s/appendixline/appendix/ from above
4695
4696 2003-03-13  John Levon  <levon@movementarian.org>
4697
4698         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4699
4700         * text.C: fix a getChar(pos) bug properly
4701
4702 2003-03-13  Angus Leeming  <leeming@lyx.org>
4703
4704         * commandtags.h:
4705         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4706         Probably only temporary. Let's see how things pan out.
4707
4708         * BufferView.C (unlockInset):
4709         * BufferView_pimpl.C (fitCursor):
4710         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4711
4712         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4713         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4714
4715         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4716         new functions that convert ParagraphParameters to and from a string.
4717
4718         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4719         BufferView::Pimpl's dispatch.
4720         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4721
4722 2003-03-13 André Pönitz <poenitz@gmx.net>
4723
4724         * lyxfunc.C:
4725         * text3.C:
4726         * factory.C: make it aware of InsetEnv
4727
4728 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * text2.C (setCursor): never ask for one past last
4731         (setCursor): add some debugging messages.
4732
4733         * text.C (singleWidth): never ask for one past last
4734         (singleWidth): ditto
4735         (leftMargin): ditto
4736         (rightMargin): ditto
4737         (rowBreakPoint): ditto
4738         (setHeightOfRow): ditto
4739         (prepareToPrint): ditto
4740
4741         * rowpainter.C (paintBackground): never ask for one past last
4742         (paintText): never ask for one past last
4743
4744         * paragraph_pimpl.C (getChar): make the assert stricter, never
4745         allow the one past last pos to be taken
4746
4747         * paragraph.C (getChar): ws changes only
4748
4749         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4750         (numberOfSeparators): ditto
4751         (numberOfHfills): ditto
4752
4753 2003-03-12  John Levon  <levon@movementarian.org>
4754
4755         * author.h:
4756         * author.C:
4757         * bufferparams.h:
4758         * bufferparams.C:
4759         * paragraph_funcs.C: fix per-buffer authorlists
4760
4761 2003-03-12  John Levon  <levon@movementarian.org>
4762
4763         * text.C: fix newline in right address
4764
4765 2003-03-12  Angus Leeming  <leeming@lyx.org>
4766
4767         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4768         duplicate those in LyXFunc::dispatch.
4769
4770         * commandtags.h:
4771         * LyXAction.C:
4772         * ToolbarDefaults.C:
4773         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4774         Add LFUN_FONTFREE_UPDATE.
4775
4776         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4777         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4778
4779         * bufferview_func.[Ch]: several new functions to facilliate
4780         transfer of data to and from the character dialog.
4781
4782 2003-03-12  John Levon  <levon@movementarian.org>
4783
4784         * buffer.C:
4785         * paragraph.h:
4786         * paragraph.C:
4787         * paragraph_funcs.C:
4788         * paragraph_pimpl.C:
4789         * sgml.C:
4790         * tabular.C:
4791         * text.C:
4792         * text3.C: remove META_NEWLINE in favour of an inset
4793
4794         * rowpainter.h:
4795         * rowpainter.C: remove paintNewline (done by inset)
4796
4797 2003-03-12  John Levon  <levon@movementarian.org>
4798
4799         * paragraph_pimpl.C: complain about bad getChar()s
4800         for a while at least
4801
4802 2003-03-12  John Levon  <levon@movementarian.org>
4803
4804         * buffer.h:
4805         * buffer.C: move paragraph read into a separate function,
4806         a little renaming to reflect that.
4807
4808         * bufferparams.h:
4809         * bufferparams.C: remove the author_ids map, not necessary now
4810
4811         * factory.h:
4812         * factory.C: moved Buffer::readInset to here
4813
4814         * paragraph_funcs.h:
4815         * paragraph_funcs.C: readParagraph free function moved from
4816         buffer.C
4817
4818         * tabular.C: name change
4819
4820 2003-03-12  John Levon  <levon@movementarian.org>
4821
4822         * buffer.C:
4823         * ParagraphParameters.C: move par params input to
4824         a read() method
4825
4826         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4827         behave like a normal read from the stream wrt reading
4828         a line vs. a \\token
4829
4830 2003-03-12  John Levon  <levon@movementarian.org>
4831
4832         * paragraph.C:
4833         * ParagraphParameters.h:
4834         * ParagraphParameters.C: move output code to a
4835         ::write() method
4836
4837 2003-03-12  John Levon  <levon@movementarian.org>
4838
4839         * BufferView.C (insertLyXFile):
4840         * buffer.h:
4841         * buffer.C:
4842         * tabular.C: use a parlist iterator for creating the
4843           document.
4844
4845 2003-03-12  John Levon  <levon@movementarian.org>
4846
4847         * buffer.C: make current_change static local not
4848           static file-scope
4849
4850 2003-03-12  John Levon  <levon@movementarian.org>
4851
4852         * buffer.C: fix insertStringAsLines for change tracking
4853
4854 2003-03-12  John Levon  <levon@movementarian.org>
4855
4856         * BufferView.C:
4857         * tabular.C:
4858         * buffer.h:
4859         * buffer.C:
4860         * bufferparams.h:
4861         * bufferparams.C: move author list into params. Rename some
4862           functions. Move the header reading into a separate token
4863           loop. Move the header token reading into BufferParams.
4864
4865 2003-03-12  John Levon  <levon@movementarian.org>
4866
4867         * changes.C: put debug inside lyxerr.debugging() checks
4868
4869 2003-03-11 André Pönitz <poenitz@gmx.net>
4870
4871         * factory.C: make it aware of InsetHFill
4872
4873 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4874
4875         * buffer.C (latexParagraphs): move function from here...
4876         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4877         args.
4878
4879 2003-03-10  Angus Leeming  <leeming@lyx.org>
4880
4881         * LyXAction.C (init): fix bug in poplating array with multiple entries
4882         with the same LFUN (spotted by JMarc).
4883
4884 2003-03-10  John Levon  <levon@movementarian.org>
4885
4886         * text.C:
4887         * text2.C: move getColumnNearX() near its
4888         only call site
4889
4890 2003-03-10  John Levon  <levon@movementarian.org>
4891
4892         * text.C: fix break before a minipage
4893
4894 2003-03-10  John Levon  <levon@movementarian.org>
4895
4896         * text.C: fix the last commit
4897
4898 2003-03-09  John Levon  <levon@movementarian.org>
4899
4900         * lyxtext.h:
4901         * text.C:
4902         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4903         bug 365 (don't break before insets unless needed). Don't
4904         return a value > last under any circumstances.
4905
4906 2003-03-09  Angus Leeming  <leeming@lyx.org>
4907
4908         * BufferView_pimpl.C (trackChanges, dispatch): call
4909         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4910
4911 2003-03-09  Angus Leeming  <leeming@lyx.org>
4912
4913         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4914         than Dialogs::showAboutlyx().
4915
4916 2003-03-09  Angus Leeming  <leeming@lyx.org>
4917
4918         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4919         than Dialogs::showTabularCreate().
4920
4921 2003-03-09  John Levon  <levon@movementarian.org>
4922
4923         * lyxtext.h:
4924         * text.C:
4925         * text2.C: 3rd arg to nextBreakPoint was always the same.
4926           Use references.
4927
4928 2003-03-08  John Levon  <levon@movementarian.org>
4929
4930         * lyxrow.C:
4931         * paragraph.C:
4932         * paragraph.h:
4933         * rowpainter.C:
4934         * text.C:
4935         * text2.C: Remove the "main" bit from the "main body"
4936           notion.
4937
4938 2003-03-08  John Levon  <levon@movementarian.org>
4939
4940         * text.C (leftMargin): The left margin of an empty
4941         manual label paragraph should not include the label width
4942         string length.
4943
4944         * text.C (prepareToPrint): don't attempt to measure hfills
4945         for empty manual label paragraphs - the answer should be 0
4946
4947 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * CutAndPaste.C: remove commented code and reindent.
4950
4951 2003-03-08  John Levon  <levon@movementarian.org>
4952
4953         * lyxfunc.h:
4954         * lyxfunc.C: move reloadBuffer()
4955
4956         * BufferView.h:
4957         * BufferView.C: to here
4958
4959         * lyxvc.C: add comment
4960
4961         * vc-backend.h:
4962         * vc-backend.C: call bv->reload() to avoid
4963           getStatus() check on MENURELOAD
4964
4965 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4966
4967         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4968         to an old format .dep file.
4969
4970 2003-03-07  Angus Leeming  <leeming@lyx.org>
4971
4972         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4973         when the LFUN_MOUSE_RELEASE should have been handled by
4974         inset->localDispatch.
4975
4976 2003-03-07  Angus Leeming  <leeming@lyx.org>
4977
4978         * BufferView_pimpl.C (dispatch):
4979         * LyXAction.C (init):
4980         * ToolbarDefaults.C (init):
4981         * commandtags.h:
4982         * lyxfunc.C (getStatus):
4983         remove LFUN_INSET_GRAPHICS.
4984
4985         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4986
4987 2003-03-07  Angus Leeming  <leeming@lyx.org>
4988
4989         * commandtags.h:
4990         * LyXAction.C (init):
4991         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4992
4993         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4994
4995         * commandtags.h:
4996         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4997
4998         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4999         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5000
5001 2003-03-07  Angus Leeming  <leeming@lyx.org>
5002
5003         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5004         remove "ert".
5005
5006 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * ParagraphList.C (front): new function
5009         (back): implement
5010
5011 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5014         and top_row_offset_. removed var first_y.
5015         * text.C (top_y):
5016         * text2.C (LyXText, removeRow):
5017         * text3.C:
5018         * BufferView_pimpl.C:
5019         use these methods instead of using first_y
5020
5021 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * text2.C (pasteSelection): adjust for checkPastePossible
5024
5025         * CutAndPaste.C: remove Paragraph * buf and replace with
5026         ParagraphList paragraphs.
5027         (DeleteBuffer): delete
5028         (cutSelection): change the tc type to textclass_type
5029         (copySelection): change the tc type to textclass_type
5030         (copySelection): adjust for ParagraphList
5031         (pasteSelection): change the tc type to textclass_type
5032         (pasteSelection): adjust for Paragraphlist
5033         (nrOfParagraphs): simplify for ParagraphList
5034         (checkPastePossible): simplify for ParagraphList
5035         (checkPastePossible): remove unused arg
5036
5037         * ParagraphList.C (insert): handle the case where there are no
5038         paragraphs yet.
5039
5040         * CutAndPaste.h: make CutAndPaste a namespace.
5041
5042         * text3.C (dispatch): adjust
5043
5044         * text.C (breakParagraph): add a ParagraphList as arg
5045
5046         * paragraph_funcs.C (breakParagraph): change to take a
5047         BufferParams and a ParagraphList as args.
5048         (breakParagraphConservative): ditto
5049         (mergeParagraph): ditto
5050         (TeXDeeper): add a ParagraphList arg
5051         (TeXEnvironment): ditto
5052         (TeXOnePar): ditto
5053
5054         * buffer.C (readLyXformat2): adjust
5055         (insertStringAsLines): adjust
5056         (latexParagraphs): adjust
5057
5058         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5059         (cutSelection): adjust
5060         (pasteSelection): adjust
5061
5062         * BufferView_pimpl.C (insertInset): adjust
5063
5064 2003-03-05  Angus Leeming  <leeming@lyx.org>
5065
5066         * commandtags.h:
5067         * LyXAction.C (init):
5068         * BufferView_pimpl.C (dispatch):
5069         * lyxfunc.C (getStatus):
5070         remove LFUN_CHILD_INSERT.
5071
5072         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5073
5074 2003-03-05  Angus Leeming  <leeming@lyx.org>
5075
5076         * commandtags.h:
5077         * LyXAction.C (init):
5078         * src/factory.C (createInset):
5079         * lyxfunc.C (getStatus):
5080         * text3.C (dispatch):
5081         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5082
5083         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5084
5085 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * ParagraphList.C (insert): handle insert right before end()
5088         (erase): fix cases where it can be first or last paragraph.
5089
5090 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5093         Paragraph::next and Paragraph::previous
5094         (TeXOnePar): ditto
5095
5096         * text.C (breakParagraph): adjust
5097
5098         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5099         BufferParams& as arg.
5100         (breakParagraph): use ParagraphList::insert
5101         (breakParagraphConservative): take a Buffer* instead of a
5102         BufferParams& as arg.
5103         (breakParagraphConservative): use ParagraphList::insert.
5104
5105         * buffer.C (insertStringAsLines): un-const it
5106         (insertStringAsLines): adjust
5107
5108         * ParagraphList.C (insert): new function
5109
5110         * CutAndPaste.C (pasteSelection): adjust
5111
5112         * text.C (backspace): adjust
5113
5114         * tabular.C (SetMultiColumn): adjust
5115
5116         * CutAndPaste.C (cutSelection): adjust
5117         (pasteSelection): adjust
5118
5119         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5120         Buffer const * as arg
5121
5122         * ParagraphList.C (erase): new function
5123         * paragraph_funcs.C (mergeParagraph): use it
5124         (mergeParagraph): make it take a Buffer* instead of a
5125         BufferParams* as arg
5126
5127         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5128         as arg
5129         (breakParagraphConservative): ditto
5130
5131         * paragraph.h: remove the breakParagraph friend
5132
5133         * paragraph.C (eraseIntern): new function
5134         (setChange): new function
5135
5136         * paragraph_funcs.C (mergeParagraph): make it take a
5137         ParagraphList::iterator instead of a Paragraph *, adjust
5138         accordingly.
5139
5140         * paragraph.h: move an #endif so that the change tracking stuff
5141         also works in the NO_NEXT case.
5142
5143 2003-03-04  Angus Leeming  <leeming@lyx.org>
5144
5145         * commandtags.h:
5146         * LyXAction.C: new LFUN_INSET_MODIFY.
5147
5148         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5149         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5150
5151 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * several files: ws changes only
5154
5155         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5156         (TeXEnvironment): ditto
5157         (TeXDeeper): ditto
5158
5159         * buffer.C (makeLaTeXFile): adjust
5160         (latexParagraphs): make it take ParagraphList::iterator as args
5161
5162 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * buffer.C (latexParagraphs): adjust
5165
5166         * paragraph.C (TeXOnePar): move function...
5167         (optArgInset): move function...
5168         (TeXEnvironment): move function...
5169         * paragraph_pimpl.C (TeXDeeper): move function...
5170         * paragraph_funcs.C: ...here
5171
5172         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5173
5174 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * buffer.C (readInset): remove compability code for old Figure and
5177         InsetInfo insets
5178
5179 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * buffer.C: ws changes
5182         (readInset):
5183
5184         * BufferView_pimpl.C: ditto
5185         * author.C: ditto
5186         * buffer.h: ditto
5187         * bufferlist.h: ditto
5188         * changes.h: ditto
5189         * lyxfunc.C: ditto
5190
5191 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5192
5193         * converter.[Ch]: split into itself +
5194         * graph.[Ch]
5195         * format.[Ch]
5196         * Makefile.am: += graph.[Ch] + format.[Ch]
5197         * MenuBackend.C
5198         * buffer.C
5199         * exporter.C
5200         * importer.C
5201         * lyx_main.C
5202         * lyxfunc.C
5203         * lyxrc.C: added #include "format.h"
5204
5205 2003-02-27  Angus Leeming  <leeming@lyx.org>
5206
5207         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5208           a label.
5209
5210         * factory.C (createInset): add "label" to the factory.
5211
5212         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5213           string and do no more.
5214
5215 2003-02-27  Angus Leeming  <leeming@lyx.org>
5216
5217         * commandtags.h:
5218         * LyXAction.C (init):
5219         * factory.C (createInset):
5220         * BufferView_pimpl.C (dispatch):
5221           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5222
5223         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5224
5225         * lyxfunc.C (dispatch):
5226         * text3.C (dispatch): pass name to params2string.
5227
5228 2003-02-26  Angus Leeming  <leeming@lyx.org>
5229
5230         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5231           blocks together.
5232           Rearrange the ~includes. Strip out the unnecessary ones.
5233
5234         * factory.C (createInset): reformat.
5235           create new insets for the various LFUN_XYZ_APPLY lfuns.
5236
5237 2003-02-26  John Levon  <levon@movementarian.org>
5238
5239         * lyxrow.h:
5240         * lyxrow.C: add isParStart,isParEnd helpers
5241
5242         * paragraph.h: make isInserted/DeletedText take refs
5243
5244         * paragraph_funcs.h:
5245         * paragraph_funcs.C: remove #if 0'd code
5246
5247         * lyxtext.h:
5248         * text3.C:
5249         * text2.C:
5250         * text.C: use lyxrow helpers above.
5251           Move draw and paint routines to RowPainter.
5252           Make several methods use refs not pointers.
5253           Make backgroundColor() const.
5254           Add markChangeInDraw(), isInInset().
5255           Merge changeRegionCase into changeCase.
5256           Make workWidth() shouldn't-happen code into an Assert.
5257
5258         * rowpainter.h:
5259         * rowpainter.C: new class for painting a row.
5260
5261         * vspace.h:
5262         * vspace.C: make inPixels take a ref
5263
5264 2003-02-26  Angus Leeming  <leeming@lyx.org>
5265
5266         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5267         LFUN_REF_APPLY.
5268
5269 2003-02-25  John Levon  <levon@movementarian.org>
5270
5271         * ispell.C: give the forked command a more accurate name
5272
5273 2003-02-22  John Levon  <levon@movementarian.org>
5274
5275         * toc.h:
5276         * toc.C: make TocItem store an id not a Paragraph *
5277           (bug #913)
5278
5279 2003-02-21  Angus Leeming  <leeming@lyx.org>
5280
5281         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5282           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5283           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5284           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5285           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5286           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5287
5288         * BufferView_pimpl.C (dispatch):
5289         * LyXAction.C (init):
5290         * factory.C (createInset):
5291         * lyxfunc.C (getStatus, dispatch):
5292         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5293
5294 2003-02-21  Angus Leeming  <leeming@lyx.org>
5295
5296         * BufferView_pimpl.C (MenuInsertLyXFile):
5297         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5298         * lyxfunc.C (menuNew, open, doImport):
5299           no longer pass a LyXView & to fileDlg.
5300
5301 2003-02-21  Angus Leeming  <leeming@lyx.org>
5302
5303         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5304         * LyXAction.C: change, BIBKEY to BIBITEM.
5305         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5306         Change InsetBibKey to InsetBibitem.
5307         Change BIBKEY_CODE to BIBITEM_CODE.
5308         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5309         * factory.C: replace insetbib.h with insetbibitem.h.
5310         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5311         * paragraph.C: replace insetbib.h with insetbibitem.h.
5312         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5313         Change bibkey() to bibitem().
5314         * text.C: remove insetbib.h.
5315         * text2.C: replace insetbib.h with insetbibitem.h.
5316         change bibkey() to bibitem().
5317         * text3.C: remove insetbib.h.
5318         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5319
5320 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5321
5322         * lyxrc.C (output): enclose user email in quotes (in case there are
5323         several words)
5324
5325 2003-02-18  John Levon  <levon@movementarian.org>
5326
5327         * buffer.h: add std::
5328
5329 2003-02-17  John Levon  <levon@movementarian.org>
5330
5331         * SpellBase.h:
5332         * ispell.h:
5333         * ispell.C:
5334         * pspell.h:
5335         * pspell.C: reworking. Especially in ispell, a large
5336           number of clean ups and bug fixes.
5337
5338         * lyxfunc.C: fix revert to behave sensibly
5339
5340 2003-02-17 André Pönitz <poenitz@gmx.net>
5341
5342         * LyXAction.C:
5343         * commandtags.h: new LFUN_INSERT_BIBKEY
5344
5345         * layout.h:
5346         * lyxlayout.C:
5347         * buffer.C:
5348         * factory.C:
5349         * text.C:
5350         * text2.C:
5351         * text3.C:
5352         * paragraph.[Ch]:
5353         * paragraph_func.C: remove special bibkey handling
5354
5355 2003-02-17  John Levon  <levon@movementarian.org>
5356
5357         * text.C (Delete): fix case where delete at the end of
5358           the very first paragraph would not merge the pars
5359
5360 2003-02-17  John Levon  <levon@movementarian.org>
5361
5362         * lyxrow.C: fix lastPrintablePos()
5363
5364 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5365
5366         * bufferparams.C (writeLaTeX): add a std:here
5367
5368         * buffer.C: and remove a using directive there
5369
5370 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5371
5372         * buffer.C (makeLaTeXFile): move the code that generates the
5373           preamble...
5374
5375         * bufferparams.C (writeLaTeX): ... in this new method
5376
5377         * LaTeXFeatures.C (getEncodingSet): make const
5378           (getLanguages): make const
5379
5380         * MenuBackend.C (binding): returns the binding associated to this
5381           action
5382           (add): sets the status of each item by calling getStatus. Adds
5383           some intelligence.
5384           (read): add support for OptSubMenu
5385           (expand): remove extra separator at the end of expanded menu
5386
5387 2003-02-15  John Levon  <levon@movementarian.org>
5388
5389         * BufferView.C:
5390         * BufferView_pimpl.C:
5391         * bufferlist.h:
5392         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5393           inset code that had no actual effect. Remove unneeded status
5394           code.
5395
5396 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5397
5398         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5399           in preamble
5400
5401 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5402
5403         * text.C (drawLengthMarker): also draw an arrow marker for
5404           symbolic lengths (medskip...)
5405
5406 2003-02-14  John Levon  <levon@movementarian.org>
5407
5408         * tabular.h:
5409         * tabular.C: better method names
5410
5411 2003-02-14  John Levon  <levon@movementarian.org>
5412
5413         * BufferView_pimpl.C:
5414         * bufferlist.C:
5415         * buffer.C:
5416         * converter.C:
5417         * lyx_cb.C:
5418         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5419           it's a more accurate name. Remove some pointless uses.
5420
5421 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5422
5423         * text2.C (LyXText): change order of initilizers to shut off
5424           warnings
5425
5426 2003-02-14  John Levon  <levon@movementarian.org>
5427
5428         * buffer.C: use ParIterator for getParFromID()
5429
5430         * paragraph.h:
5431         * paragraph.C:
5432         * paragraph_pimpl.h:
5433         * paragraph_pimpl.C: remove unused getParFromID()
5434
5435 2003-02-14  John Levon  <levon@movementarian.org>
5436
5437         * buffer.C: remove some very old #if 0'd parse code
5438
5439 2003-02-13  John Levon  <levon@movementarian.org>
5440
5441         * text.h:
5442         * text.C:
5443         * text2.C: move hfillExpansion(), numberOfSeparators(),
5444           rowLast(), rowLastPrintable(), numberofHfills(),
5445           numberOfLabelHfills() ...
5446
5447         * lyxrow.h:
5448         * lyxrow.C: ... to member functions here.
5449
5450         * paragraph.h:
5451         * paragraph.C:
5452         * lyxtext.h:
5453         * text.C: remove LyXText::beginningOfMainBody(), and call
5454           p->beginningOfMainBody() directly. Move the check for
5455           LABEL_MANUAL into the latter.
5456
5457         * text.h:
5458         * text.C:
5459         * text2.C:
5460         * vspace.C:
5461         * BufferView.h:
5462         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5463
5464         * text.h:
5465         * text.C:
5466         * text2.C:
5467         * text3.C:
5468         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5469           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5470
5471 2003-02-13  John Levon  <levon@movementarian.org>
5472
5473         * CutAndPaste.C: remove debug
5474
5475 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5476
5477         * paragraph.C (asString): remove two unused variables
5478
5479         * lyxtextclass.C (readTitleType):
5480           (Read):
5481           (LyXTextClass): handle new members titletype_ and titlename_
5482
5483         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5484
5485 2003-02-09  John Levon  <levon@movementarian.org>
5486
5487         * buffer.h:
5488         * buffer.C: replace hand-coded list with a map for the dep clean
5489
5490 2003-02-08  John Levon  <levon@movementarian.org>
5491
5492         * LaTeX.C: consolidate code into showRunMessage() helper
5493
5494 2003-02-08  John Levon  <levon@movementarian.org>
5495
5496         * lyxfind.C:
5497         * lyxtext.h:
5498         * text2.C:
5499         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5500           and pass the size in explicitly
5501
5502         * BufferView_pimpl.h:
5503         * BufferView_pimpl.C:
5504         * BufferView.h:
5505         * BufferView.C: add getCurrentChange()
5506
5507         * BufferView_pimpl.h:
5508         * BufferView_pimpl.C: handle change lfuns
5509
5510         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5511           for changes. Mark pasted paragraphs as new.
5512
5513         * support/lyxtime.h:
5514         * support/lyxtime.C:
5515         * DepTable.C: abstract time_t as lyx::time_type
5516
5517         * LColor.h:
5518         * LColor.C: add colours for new text, deleted text, changebars
5519
5520         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5521           package use "usenames" option.
5522
5523         * commandtags.h:
5524         * lyxfunc.C:
5525         * LyXAction.C: add change lfuns
5526
5527         * Makefile.am:
5528         * author.h:
5529         * author.C: author handling
5530
5531         * buffer.h:
5532         * buffer.C: add a per-buffer author list, with first entry as
5533           current author. Handle new .lyx tokens for change tracking. Output
5534           author list to .lyx file. Output dvipost stuff to .tex preamble.
5535           Bump lyx format to 222.
5536
5537         * bufferlist.h:
5538         * bufferlist.C: add setCurrentAuthor() to reset current author details
5539           in all buffers.
5540
5541         * bufferparams.h:
5542         * bufferparams.C: add param for tracking
5543
5544         * bufferview_funcs.C: output change info in minibuffer
5545
5546         * Makefile.am:
5547         * changes.h:
5548         * changes.C: add change-tracking structure
5549
5550         * debug.h:
5551         * debug.C: add CHANGES debug flag
5552
5553         * lyxfind.h:
5554         * lyxfind.C: add code for finding the next change piece
5555
5556         * lyxrc.h:
5557         * lyxrc.C: add user_name and user_email
5558
5559         * lyxrow.h:
5560         * lyxrow.C: add a metric for the top of the text line
5561
5562         * lyxtext.h:
5563         * text.C: implement accept/rejectChange()
5564
5565         * lyxtext.h:
5566         * text.C: paint changebars. Paint new/deleted text in the chosen
5567         colours. Strike through deleted text.
5568
5569         * paragraph.h:
5570         * paragraph.C:
5571         * paragraph_pimpl.h:
5572         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5573           in the current change to the insert functions. Rework erase to
5574           mark text as deleted, adding an eraseIntern() and a range-based
5575           erase(). Implement per-paragraph change lookup and
5576           accept/reject.
5577
5578         * paragraph_funcs.C: Fixup paste for change tracking.
5579
5580         * tabular.C: mark added row/columns as new.
5581
5582         * text.C: fix rowLast() to never return -1. Don't allow
5583           spellchecking of deleted text. Track transpose changes. Don't
5584           allow paragraph break or merge where appropriate.
5585
5586         * text2.C: leave cursor at end of selection after a cut.
5587
5588 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5589
5590         * text.C (getLengthMarkerHeight):
5591         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5592         visible on screen too.
5593
5594 2003-02-07  John Levon  <levon@movementarian.org>
5595
5596         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5597
5598 2003-02-05  Angus Leeming  <leeming@lyx.org>
5599
5600         * lyxserver.C (read_ready): revert my patch of 11 September last year
5601         as it sends PC cpu through the roof. Presumably this means that
5602         the lyxserver will no longer run on an Alpha...
5603
5604 2003-01-30  Angus Leeming  <leeming@lyx.org>
5605
5606         * factory.C (createInset): create an InsetCommandParam of type "index"
5607         and use it to 'do the right thing'.
5608
5609         * text2.C (getStringToIndex): ensure that cursor position is always
5610         reset to the reset_cursor position.
5611
5612 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5613
5614         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5615         disabled.
5616
5617 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5618
5619         * bufferview.C:
5620         * lyxcb.C:
5621         * lyxfunc.C: Output messages with identical spelling, punctuation,
5622         and spaces
5623
5624 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5625
5626         * MenuBackend.C (expandFormats): List only viewable export formats
5627         in "View" menu
5628
5629         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5630         message
5631
5632         * lyxfunc.C (getStatus): Make sure that formats other than
5633         "fax" can also be disabled
5634
5635 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5636
5637         * text3.C (dispatch): put the lfuns that insert insets in 3
5638         groups, and call doInsertInset with appropriate arguments.
5639         (doInsertInset): new function, that creates an inset and inserts
5640         it according to some boolean parameters.
5641
5642 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * buffer.C (readFile): remember to pass on 'par' when calling
5645         readFile recursively.
5646
5647 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5648
5649         * MenuBackend.C (expandFormats): add "..." to import formats.
5650
5651 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5652
5653         * paragraph.C (asString): Remove XForms RTL hacks.
5654
5655 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5656         * buffer.C: fix typo
5657
5658 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * Makefile.am (LIBS): delete var
5661         (lyx_LDADD): add @LIBS@ here instead.
5662
5663 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5664
5665         * Clarify the meaning of "wheel mouse jump"
5666
5667 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5668
5669         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5670         tabular in a float
5671
5672 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5673
5674         * importer.C (Loaders): do not preallocate 3 elements in the
5675         vector, since one ends up with 6 elements otherwise
5676
5677 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5678
5679         * DepTable.C (write): write the file name as last element of the
5680         .dep file (because it may contain spaces)
5681         (read): read info in the right order
5682
5683 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5684
5685         * paragraph_pimpl.C (simpleTeXBlanks):
5686         (simpleTeXSpecialChars):
5687         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5688
5689         * tabular.C (latex): add some missing case statements. Reindent.
5690
5691         * MenuBackend.C (expandToc): remove unused variable.
5692
5693 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5694
5695         * LColor.C:
5696         * LaTeX.C:
5697         * LyXAction.C:
5698         * MenuBackend.C:
5699         * buffer.C:
5700         * exporter.C:
5701         * lyxfunc.C:
5702         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5703         and the like.
5704
5705 2003-01-05  John Levon  <levon@movementarian.org>
5706
5707         * BufferView.h:
5708         * BufferView.C: add getEncoding()
5709
5710         * kbsequence.h:
5711         * kbsequence.C: do not store last keypress
5712
5713         * lyxfunc.h:
5714         * lyxfunc.C: store last keypress here instead. Pass encoding
5715           to getISOEncoded()
5716
5717 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5718
5719         * lyx_main.C (init): remove annoying error message when following
5720         symbolic links (bug #780)
5721
5722 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5723
5724         * text.C (insertChar):
5725         * lyxrc.C (getDescription): remove extra spaces
5726
5727 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5728
5729         * lyxrc.C (getDescription): remove extra spaces
5730
5731 2002-12-20  John Levon  <levon@movementarian.org>
5732
5733         * text3.C: hack fix for page up/down across tall rows
5734
5735 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5736
5737         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5738         not been invoked
5739
5740 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5741
5742         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5743         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5744         thesaurus is not compiled in
5745
5746 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5747
5748         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5749
5750 2002-12-16  Angus Leeming  <leeming@lyx.org>
5751
5752         * lyxrc.[Ch]:
5753         * lyx_main.C (init): remove override_x_deadkeys stuff.
5754
5755 2002-12-12  John Levon  <levon@movementarian.org>
5756
5757         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5758           insert. Only remove shift modifier under strict
5759           circumstances.
5760
5761 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * MenuBackend.C (expandToc): fix crash.
5764
5765 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5766
5767         * MenuBackend.C (expandToc): gettext on float names.
5768
5769 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5770
5771         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5772         implement bool empty() [bug 490]
5773
5774 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5777
5778 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * several files: ws changes
5781
5782 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * text2.C (setCounter): clean up a bit, use boost.format.
5785         (updateCounters): initialize par upon declaration.
5786
5787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5788         if the layout exists. We do not just store the layout any more.
5789         (SwitchLayoutsBetweenClasses): use boost.format
5790
5791 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5792
5793         * converter.C (convert): if from and to files are the same, use a
5794         temporary files as intermediary
5795
5796 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5797
5798         * commandtags.h:
5799         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5800
5801 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5802
5803         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5804
5805 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * tabular.C (asciiPrintCell): use string(size, char) instead of
5808         explicit loop.
5809
5810         * sgml.C (openTag): fix order of arguments to string constructor
5811         (closeTag): ditto
5812
5813         * lyxfunc.C (dispatch): use boost.format
5814
5815         * lots of files: change "c" -> 'c'
5816
5817 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5818
5819         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5820
5821 2002-11-25  Angus Leeming  <leeming@lyx.org>
5822
5823         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5824
5825         * lyx_main.C (init): compile fix.
5826
5827 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * lyx_cb.C (start): boost.formatify
5830         do not include <iostream>
5831
5832         * lengthcommon.C: ws only
5833
5834         * boost-inst.C,BoostFormat.h: add more explict instantations
5835
5836 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * lots of files: handle USE_BOOST_FORMAT
5839
5840 2002-11-21  John Levon  <levon@movementarian.org>
5841
5842         * pspell.C: fix compile
5843
5844 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5845
5846         * lyxfunc.C (dispatch): use boost::format
5847         (open): ditto
5848         (doImport): ditto
5849
5850         * lyxfont.C (stateText): use boost::format
5851
5852         * lyx_main.C (LyX): use boost::format
5853         (init): ditto
5854         (queryUserLyXDir): ditto
5855         (readRcFile): ditto
5856         (parse_dbg): ditto
5857         (typedef boost::function): use the recommened syntax.
5858
5859         * importer.C (Import): use boost::format
5860
5861         * debug.C (showLevel): use boost::format
5862
5863         * converter.C (view): use boost::format
5864         (convert): ditto
5865         (move): ditto
5866         (scanLog): ditto
5867
5868         * bufferview_funcs.C (currentState): use boost::format
5869
5870         * bufferlist.C (emergencyWrite): use boost::format
5871
5872         * buffer.C (readLyXformat2): use boost::format
5873         (parseSingleLyXformat2Token): ditto
5874
5875         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5876
5877         * LaTeX.C (run): use boost::format
5878
5879         * Chktex.C (scanLogFile): use boost::format
5880
5881         * BufferView_pimpl.C (savePosition): use boost::format
5882         (restorePosition): ditto
5883         (MenuInsertLyXFile): ditto
5884
5885         * BoostFormat.h: help file for explicit instation.
5886
5887 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5888
5889         * tabular.C (latex): Support for block alignment in fixed width
5890         columns.
5891
5892 2002-11-17  John Levon  <levon@movementarian.org>
5893
5894         * BufferView_pimpl.C:
5895         * lyx_cb.C:
5896         * lyxfunc.C: split filedialog into open/save
5897
5898 2002-11-08  Juergen Vigna  <jug@sad.it>
5899
5900         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5901         by my last patch (hopefully).
5902
5903 2002-11-08  John Levon  <levon@movementarian.org>
5904
5905         * iterators.h:
5906         * iterators.C:
5907         * buffer.h:
5908         * buffer.C:
5909         * paragraph.h:
5910         * paragraph.C:
5911         * toc.h:
5912         * toc.C: ParConstIterator, and use it (from Lars)
5913
5914 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5915
5916         * lyxtextclass.[Ch]: revise and add doxygen comments
5917
5918 2002-11-07  John Levon  <levon@movementarian.org>
5919
5920         * text.C: fix progress value for spellchecker
5921
5922         * toc.C: fix navigate menu for insetwrap inside minipage
5923
5924         * paragraph_funcs.C: added FIXME for suspect code
5925
5926 2002-11-07  John Levon  <levon@movementarian.org>
5927
5928         * BufferView_pimpl.C: fix redrawing of insets
5929           on buffer switch
5930
5931 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5932
5933         * text2.C (updateCounters): fix bug 668
5934
5935 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5936
5937         * text3.C (dispatch): Do not make the buffer dirty when moving the
5938         cursor.
5939
5940 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * vc-backend.C: STRCONV
5943         (scanMaster): ditto
5944
5945         * text2.C (setCounter): STRCONV
5946
5947         * paragraph.C (asString): STRCONV
5948
5949         * lyxlength.C (asString): STRCONV
5950         (asLatexString): ditto
5951
5952         * lyxgluelength.C (asString): STRCONV
5953         (asLatexString): ditto
5954
5955         * lyxfunc.C (dispatch): STRCONV
5956         (open): ditto
5957
5958         * lyxfont.C (stateText): STRCONV
5959
5960         * importer.C (Import): STRCONV
5961
5962         * counters.C (labelItem): STRCONV
5963         (numberLabel): ditto
5964         (numberLabel): remove unused ostringstream o
5965
5966         * chset.C: STRCONV
5967         (loadFile): ditto
5968
5969         * bufferview_funcs.C (currentState): STRCONV
5970
5971         * buffer.C (readFile): STRCONV
5972         (asciiParagraph): ditto
5973         (makeLaTeXFile): ditto
5974
5975         * Spacing.C (writeEnvirBegin): STRCONV
5976
5977         * LaTeXFeatures.C (getLanguages): STRCONV
5978         (getPackages): ditto
5979         (getMacros): ditto
5980         (getBabelOptions): ditto
5981         (getTClassPreamble): ditto
5982         (getLyXSGMLEntities): ditto
5983         (getIncludedFiles): ditto
5984
5985         * LaTeX.C: STRCONV
5986         (run): ditto
5987         (scanAuxFile): ditto
5988         (deplog): ditto
5989
5990         * LString.h: add the STRCONV macros
5991
5992         * BufferView_pimpl.C (savePosition): STRCONV
5993         (restorePosition): ditto
5994         (MenuInsertLyXFile): ditto
5995
5996         * vc-backend.C (scanMaster): change from submatch[...] to
5997         submatch.str(...)
5998
5999         * funcrequest.C: include config.h
6000
6001         * factory.C: include config.h
6002
6003         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6004
6005         * box.C: include config.h
6006
6007         * LaTeX.C (scanAuxFile): change from submatch[...] to
6008         submatch.str(...)
6009         (deplog): ditto
6010
6011 2002-10-25  Angus Leeming  <leeming@lyx.org>
6012
6013         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6014
6015         * ispell.[Ch] (setError): new method.
6016         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6017         Use setError() insetead of goto END.
6018
6019         * lyx_cb.C (AutoSave): move out child process into new class
6020         AutoSaveBuffer.
6021
6022 2002-10-30  John Levon  <levon@movementarian.org>
6023
6024         * text3.C: make start appendix undoable
6025
6026 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6027
6028         * lyxlength.C (inPixels): Fix returned value.
6029
6030         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6031         environment.
6032
6033 2002-10-24  Angus Leeming  <leeming@lyx.org>
6034
6035         * lyxgluelength.h: no need to forward declare BufferParams
6036         or BufferView, so don't.
6037
6038 2002-10-21  John Levon  <levon@movementarian.org>
6039
6040         * BufferView.C: menuUndo ->undo, redo
6041
6042         * BufferView.h: document, remove dead, make some methods private
6043
6044         * paragraph_funcs.h:
6045         * paragraph_funcs.C:
6046         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6047
6048         * buffer.h:
6049         * buffer.C:
6050         * sgml.h:
6051         * sgml.C: move sgml open/close tag into sgml.C
6052
6053         * bufferview_funcs.h: unused prototype
6054
6055         * lyxfunc.h:
6056         * lyxfunc.C: remove unused
6057
6058         * lyxtext.h:
6059         * text.C: remove unused
6060
6061 2002-10-21  John Levon  <levon@movementarian.org>
6062
6063         * BufferView.h:
6064         * BufferView.C:
6065         * BufferView_pimpl.h:
6066         * BufferView_pimpl.C: fix mouse wheel handling based on
6067           patch from Darren Freeman
6068
6069 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6070
6071         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6072
6073 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6074
6075         * lyxlength.C (inPixels): Fix hanfling of negative length.
6076         Fix LyXLength::MU case.
6077
6078 2002-10-16  John Levon  <levon@movementarian.org>
6079
6080         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6081
6082 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6083
6084         * converter.C (view): add support for $$i (file name) and $$p
6085         (file path) for the viewer command. If $$i is not specified, then
6086         it is appended to the command (for compatibility with old syntax)
6087
6088 2002-10-14  Juergen Vigna  <jug@sad.it>
6089
6090         * undo_funcs.C (textHandleUndo): alter the order in which the
6091         new undopar is added to the LyXText, as we have to set first
6092         the right prev/next and then add it as otherwise the rebuild of
6093         LyXText is not correct. Also reset the cursor to the right paragraph,
6094         with this IMO we could remove the hack in "redoParagraphs()".
6095
6096 2002-10-09  Angus Leeming  <leeming@lyx.org>
6097
6098         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6099         to turn off an optimisation if a new inset is to be inserted.
6100
6101 2002-10-11 André Pönitz <poenitz@gmx.net>
6102
6103         * lyxtext.h: make some functions public to allow access
6104         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6105
6106 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6107
6108         * text3.C (dispatch): when changing layout, avoid an infinite loop
6109         [bug #652]
6110
6111 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6112
6113         * lyxrc.C (read): treat a viewer or converter command of "none" as
6114         if it were empty.
6115
6116         * MenuBackend.C (expandFormats): for an update, also allow the
6117         formats that are not viewable
6118
6119         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6120         script if it is newer than the lyxrc.defaults in user directory
6121
6122 2002-10-07 André Pönitz <poenitz@gmx.net>
6123
6124         * text.C: Vitaly Lipatov's small i18n fix
6125
6126 2002-09-25  Angus Leeming  <leeming@lyx.org>
6127
6128         * ispell.h: doxygen fix.
6129
6130 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6131
6132         * buffer.h (readFile): Add a new argument to the method, to allow
6133         reading of old-format templates.
6134
6135 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6136
6137         * toc.C (getTocList): Get TOC from InsetWrap.
6138
6139 2002-09-16  John Levon  <levon@movementarian.org>
6140
6141         * lyxfunc.C: check tabular for cut/copy too
6142
6143 2002-09-12  John Levon  <levon@movementarian.org>
6144
6145         * LyXAction.C: tidy
6146
6147         * factory.h:
6148         * factory.C: add header
6149
6150         * paragraph_funcs.h:
6151         * paragraph_funcs.C: cleanup
6152
6153 2002-09-11  John Levon  <levon@movementarian.org>
6154
6155         * PrinterParams.h: odd/even default to true
6156
6157 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6158
6159         * PrinterParams.h: update printer parameters for new xforms dialog
6160
6161 2002-09-11  Angus Leeming  <leeming@lyx.org>
6162
6163         * lyxserver.C (read_ready): re-write to make it more transparent
6164         and to make it work in coherent fashion under Tru64 Unix.
6165
6166 2002-09-11  André Pönitz <poenitz@gmx.net>
6167
6168         * commandtags.h:
6169         * LyXAction.C:
6170         * text3.C: implement LFUN_WORDSEL
6171
6172 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6175         make floatlist_ a boost::shared_ptr<FloatList>
6176
6177         * lyxtextclass.C: include FloatList.h
6178         (LyXTextClass): initialize floatlist_
6179         (TextClassTags): add TC_NOFLOAT
6180         (Read): match "nofloat" to TC_NOFLOAT and use it.
6181         (readFloat): modify call to floatlist_
6182         (floats): ditto
6183         (floats): ditto
6184
6185         * FloatList.[Ch] (FloatList): remove commented out float
6186         initialization.
6187         (erase): new function
6188
6189 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6190
6191         * MenuBackend.C (expandToc): fix crash when there is no document
6192         open
6193
6194 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6195
6196         * many files: Add insetwrap.
6197
6198 2002-09-09  John Levon  <levon@movementarian.org>
6199
6200         * text2.C: remove confusing and awkward depth wraparound
6201
6202 2002-09-09  John Levon  <levon@movementarian.org>
6203
6204         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6205
6206         * buffer.h:
6207         * buffer.C: remove getIncludeonlyList()
6208
6209         * paragraph.C:
6210         * lyxfunc.C: remove headers
6211
6212 2002-09-09  Juergen Vigna  <jug@sad.it>
6213
6214         * text.C (getColumnNearX): fix form Michael this is most
6215         probably a cut&paste bug.
6216
6217 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6220
6221         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6222         references, ws changes.
6223
6224         * text2.C (init): update counters after init
6225         (insertParagraph): no need to set counter on idividual paragraphs.
6226         (setCounter): access the counters object in the textclass object
6227         on in the buffer object.
6228         (updateCounters): ditto
6229
6230         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6231         shared_ptr<Counters> to avoid loading counters.h in all
6232         compilation units.
6233         (LyXTextClass): initialize ctrs_
6234         (TextClassTags): add TC_COUNTER, and ...
6235         (Read): use it here.
6236         (CounterTags): new tags
6237         (readCounter): new function
6238         (counters): new funtion
6239         (defaultLayoutName): return a const reference
6240
6241         * counters.C (Counters): remove contructor
6242         (newCounter): remove a couple of unneeded statements.
6243         (newCounter): simplify a bit.
6244         (numberLabel): some small formatting changes.
6245
6246         * buffer.[Ch]: remove all traces of counters, move the Counters
6247         object to the LyXTextClass.
6248
6249 2002-09-06  Alain Castera  <castera@in2p3.fr>
6250
6251         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6252         package to set the horizontal alignment on fixed width columns.
6253
6254         * lyx_sty.C:
6255         * lyx_sty.h: added tabularnewline macro def.
6256
6257         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6258
6259 2002-09-06  John Levon  <levon@movementarian.org>
6260
6261         * LyXAction.C: tooltips for sub/superscript
6262
6263         * MenuBackend.C: a bit more verbose
6264
6265         * lyxfunc.C: tiny clean
6266
6267         * undo_funcs.C: document undo_frozen
6268
6269 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * counters.C (Counters): add missing algorithm counter.
6272
6273         * text2.C (setCounter): lookup the counter with layouts latexname
6274         instead of by section number.
6275         (setCounter): use a hackish way to lookup the correct enum
6276         counter.
6277         a float name->type change
6278         reset enum couners with counter name directly instead of depth value.
6279
6280         * counters.C (Counters): remove the push_backs, change to use the
6281         float type not the float name.
6282         (labelItem): remove unused string, float name->type change
6283
6284         * counters.h: don't include vector, loose the enums and sects vectors
6285
6286 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6289         (Read): add float->TC_FLOAT to textclassTags
6290         (Read): and handle it in the switch
6291         (readFloat): new function
6292
6293         * FloatList.C (FloatList): comment out the hardcoded float
6294         definitions.
6295
6296         * lyxlayout.h: ws change.
6297
6298 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6299
6300         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6301
6302 2002-09-03  Angus Leeming  <leeming@lyx.org>
6303
6304         * BufferView_pimpl.h: qualified name is not allowed in member
6305         declaration: WorkArea & Pimpl::workarea() const;
6306
6307         * factory.C: added using std::endl directive.
6308
6309         * text3.C: added using std::find and std::vector directives.
6310
6311 2002-08-29  André Pönitz <poenitz@gmx.net>
6312
6313         * lyxtext.h:
6314         * text2.C: remove unused member number_of_rows
6315
6316         * Makefile.am:
6317         * BufferView2.C: remove file, move contents to...
6318         * BufferView.C: ... here
6319
6320         * BufferView_pimpl.C:
6321         * factory.C: move more inset creation to factory
6322
6323         * vspace.C: avoid direct usage of LyXText, ws changes
6324
6325         * BufferView.[Ch]:
6326                 don't provide direct access to WorkArea, use two simple
6327                 acessors haveSelction() and workHeight() instead
6328
6329
6330 2002-08-29  John Levon  <levon@movementarian.org>
6331
6332         * BufferView_pimpl.C (dispatch): do not continue when
6333           no buffer
6334
6335 2002-08-28  André Pönitz <poenitz@gmx.net>
6336
6337         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6338
6339         * BufferView.h:
6340         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6341
6342 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6343
6344         * buffer.C: increment LYX_FORMAT to 221
6345
6346         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6347         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6348
6349         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6350
6351         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6352
6353 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6354
6355         * factory.C (createInset): use LyXTextClass::floats
6356
6357         * MenuBackend.C (expandFloatListInsert):
6358         (expandFloatInsert):
6359         (expandToc):
6360
6361         * text2.C (setCounter):
6362
6363         * LaTeXFeatures.C (useFloat):
6364         (getFloatDefinitions):
6365
6366         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6367
6368         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6369         floatlist_, with accessor floats().
6370
6371         * FloatList.h: remove global FloatList
6372
6373 2002-08-26  André Pönitz <poenitz@gmx.net>
6374
6375         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6376
6377         * BufferView.h:
6378         * BufferView2.C:
6379         * BufferView_pimpl.C:
6380         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6381
6382 2002-08-25  John Levon  <levon@movementarian.org>
6383
6384         * LyXAction.C: fix margin note description
6385
6386 2002-08-24  John Levon  <levon@movementarian.org>
6387
6388         * buffer.C:
6389         * bufferlist.C:
6390         * bufferview_funcs.C:
6391         * lyxfont.C:
6392         * undo_funcs.C: cleanups
6393
6394         * lyxfunc.C: disable CUT/COPY when no selection
6395
6396 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6397
6398         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6399         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6400
6401         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6402         Add backward compatibility to "mono", "gray" and "no".
6403
6404 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6405
6406         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6407         (and file_format >= 200).
6408
6409 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6410
6411         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6412
6413 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6414
6415         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6416
6417 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6418
6419         * BufferView_pimpl.C:
6420         * LyXAction.C:
6421         * buffer.C:
6422         * commandtags.h:
6423         * lyxfunc.C:
6424         * paragraph.[Ch]:
6425         * text2.C:
6426         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6427         inset and code to make it  work with the paragraph code. The inset
6428         can be anywhere in the paragraph, but will only do the expected
6429         thing in LaTeX if the layout file contains the parameter line
6430                         OptionalArgs    1
6431         (or more generally, a nonzero value) for that layout.
6432
6433 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * paragraph.h: remove the declaration of undefined counters class
6436         function.
6437
6438 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6439
6440         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6441         Dr. Richard Hawkins.
6442
6443 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6444
6445         * paragraph_funcs.h: remove some unneeded includes
6446
6447         * text.C (backspace): pasteParagraph now in global scipe
6448
6449         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6450         (pasteSelection): ditto
6451
6452         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6453         * paragraph_funcs.C (pasteParagraph): ... here
6454
6455 2002-08-20  André Pönitz <poenitz@gmx.net>
6456
6457         * commandtags.h: new LFUNs for swapping/copying table row/colums
6458
6459         * LyXAction.C:
6460         * lyxfunc.C: support for new lfuns
6461
6462 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * tabular.C:
6465         * buffer.[Ch]: remove NO_COMPABILITY stuff
6466
6467 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * boost.C (throw_exception): new file, with helper function for
6470         boost compiled without exceptions.
6471
6472         * paragraph.h:
6473         * lyxlength.C:
6474         * buffer.C:
6475         * ParameterStruct.h:
6476         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6477
6478         * bufferlist.C (emergencyWriteAll): use boost bind
6479
6480         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6481
6482         * text.C: include paragraph_funcs.h
6483         (breakParagraph): breakParagraph is now in global scope
6484
6485         * paragraph_funcs.[Ch]: new files
6486
6487         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6488         global scope
6489
6490         * buffer.C: include paragraph_funcs.h
6491         (insertStringAsLines): breakParagraph is now in global scope
6492
6493         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6494         paragraph_funcs.C
6495
6496         * CutAndPaste.C: include paragraph_funcs.h
6497         (cutSelection): breakParagraphConservative is now in global scope
6498         (pasteSelection): ditto
6499
6500         * buffer.h: declare oprator== and operator!= for
6501         Buffer::inset_iterator
6502
6503         * bufferlist.C (emergencyWrite): don't use fmt(...)
6504
6505         * text3.C: add using std::endl
6506
6507         * BufferView.C (moveCursorUpdate): remove default arg
6508
6509 2002-08-20  André Pönitz <poenitz@gmx.net>
6510
6511         * buffer.[Ch]: move inline functions to .C
6512
6513         * BufferView2.C:
6514         * BufferView_pimpl.C:
6515         * text.C:
6516         * buffer.[Ch]: use improved inset_iterator
6517
6518         * buffer.C:
6519         * paragraph.[Ch]: write one paragraph at a time
6520
6521 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6522
6523         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6524         style if style is not specified.
6525
6526 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6527
6528         * text2.C (setCounter): when searching for right label for a
6529         caption, make sure to recurse to parent insets (so that a caption
6530         in a minipage in a figure float works) (bug #568)
6531
6532 2002-08-20  André Pönitz <poenitz@gmx.net>
6533
6534         * text3.C: new file for LyXText::dispatch() and helpers
6535
6536         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6537
6538         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6539
6540 2002-08-19  André Pönitz <poenitz@gmx.net>
6541
6542         * lyxtext.h:
6543         * text.C: new LyXText::dispatch()
6544
6545         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6546
6547 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6548
6549         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6550
6551         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6552         Hebrew text.
6553
6554 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6555
6556         * Makefile.am: use $(variables) instead of @substitutions@
6557
6558 2002-08-15  André Pönitz <poenitz@gmx.net>
6559
6560         * lyxfunc.C:
6561         * BufferView_pimpl.C: streamlining mathed <-> outer world
6562         interaction
6563
6564         * commandtags.h:
6565         * LyXAction.C: remove unused LFUN_MATH
6566
6567 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6570
6571 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * paragraph.C (Paragraph): reformat a bit
6574         (cutIntoMinibuffer): use builtin InsetList function instad of
6575         doing it manually.
6576         (getInset): ditto
6577
6578         * buffer.C: include boost/bind.hpp, add using std::for_each
6579         (writeFileAscii): use ParagraphList iterators
6580         (validate): use for_each for validate traversal of paragraphs
6581         (getBibkeyList): use ParagraphList iterators
6582         (resizeInsets): use for_each to resizeInsetsLyXText for all
6583         paragraphs.
6584         (getParFromID): use ParagraphList iterators
6585
6586         * BufferView2.C (lockInset): use paragraph list and iterators
6587
6588 2002-08-14  John Levon  <levon@movementarian.org>
6589
6590         * lyxserver.C: remove spurious xforms include
6591
6592 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6593
6594         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6595
6596 2002-08-13  André Pönitz <poenitz@gmx.net>
6597
6598         * LyXAction.[Ch]:
6599         * lyxfunc.C: further cleaning
6600
6601 2002-08-13  André Pönitz <poenitz@gmx.net>
6602
6603         * funcrequest.h: new constructor
6604
6605         * funcrequest.C: move stuff here from .h
6606
6607         * Makefile.am:
6608         * BufferView_pimpl.C:
6609         * LyXAction.C:
6610         * toc.C:
6611         * lyxfunc.C: subsequent changes
6612
6613         * lyxfunc.h: new view() member function
6614
6615         * lyxfunc.C: subsequent changes
6616
6617 2002-08-13  Angus Leeming  <leeming@lyx.org>
6618
6619         * BufferView2.C:
6620         * BufferView_pimpl.C:
6621         * buffer.C:
6622         * converter.C:
6623         * importer.C:
6624         * lyxfunc.C:
6625         * lyxvc.C:
6626         * toc.C:
6627         * vc-backend.C:
6628         changes due to the changed LyXView interface that now returns references
6629         to member variables not pointers.
6630
6631 2002-08-13  Angus Leeming  <leeming@lyx.org>
6632
6633         * WordLangTuple (word, lang_code): return references to strings,
6634         not strings.
6635
6636         * BufferView.h:
6637         * SpellBase.h:
6638         * lyxtext.h: forward-declare WordLangTuple.
6639
6640         * BufferView2.C:
6641         * ispell.C:
6642         * pspell.C:
6643         * text.C: #include "WordLangTuple.h".
6644
6645         * lyxtext.h:
6646         * text.C: (selectNextWordToSpellcheck): constify return type.
6647
6648 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6649
6650         * buffer.C:
6651         * buffer.h:
6652         * lyxtext.h:
6653         * paragraph.C:
6654         * paragraph_pimpl.h:
6655         * text.C:
6656         * text2.C:
6657         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6658         suggested by Angus.
6659         Made updateCounter always count from start of buffer, and removed
6660         second argument (par).
6661         Reverted floats number display to '#'. Perhaps I'll try again when the
6662         code base is sanitized a bit.
6663
6664 2002-08-12  Angus Leeming  <leeming@lyx.org>
6665
6666         * buffer.[Ch] (getLabelList): constify.
6667
6668 2002-08-07  André Pönitz <poenitz@gmx.net>
6669
6670         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6671
6672         * funcrequest.h: extension to keep mouse (x,y) position
6673
6674 2002-08-12  Juergen Vigna  <jug@sad.it>
6675
6676         * BufferView2.C (insertErrors): forbid undo when inserting error
6677         insets.
6678
6679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6680
6681 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * ParagraphList.[Ch]: new files
6684
6685         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6686
6687         * BufferView2.C (lockInset): ParagraphList changes
6688         * toc.C: ditto
6689         * text2.C: ditto
6690         * bufferlist.C: ditto
6691         * buffer.h: ditto
6692         * buffer.C: ditto
6693
6694 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6697         unused class variable counter_,
6698
6699         * paragraph.[Ch] (getFirstCounter): delete unused function
6700
6701         * counters.C: include LAssert.h
6702         (reset): add a new function with no arg, change other version to
6703         not have def. arg and to not allow empty arg.
6704
6705         * text2.C (setCounter): remove empty arg from call to Counters::reset
6706
6707 2002-08-11  John Levon  <levon@movementarian.org>
6708
6709         * Makefile.am: add WordLangTuple.h
6710
6711 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6714         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6715
6716         * insets/insettext.C: InsetList changes
6717
6718         * graphics/GraphicsSupport.C (operator()): InsetList changes
6719
6720         * toc.C (getTocList): InsetList changes
6721
6722         * paragraph_pimpl.[Ch]: InsetList changes
6723
6724         * paragraph.[Ch]: InsetList changes
6725
6726         * buffer.C (inset_iterator): InsetList changes
6727         (setParagraph): ditto
6728         * buffer.h (inset_iterator): ditto
6729         * iterators.C (operator++): ditto
6730         * iterators.h: ditto
6731
6732         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6733
6734         * InsetList.[Ch]: new files, most InsetList handling moved out of
6735         paragraph.C.
6736
6737         * BufferView2.C (removeAutoInsets): InsetList changes
6738         (lockInset): ditto
6739         (ChangeInsets): ditto
6740
6741 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * paragraph_pimpl.h (empty): new function
6744
6745         * paragraph.[Ch] (empty): new function
6746
6747         * other files: use the new Paragraph::empty function
6748
6749 2002-08-09  John Levon  <levon@movementarian.org>
6750
6751         * lyxtext.h: remove unused refresh_height
6752
6753 2002-08-09  John Levon  <levon@movementarian.org>
6754
6755         * Makefile.am:
6756         * sgml.h:
6757         * sgml.C:
6758         * buffer.C:
6759         * paragraph.h:
6760         * paragraph.C: move sgml char escaping out of paragraph
6761
6762         * paragraph.h:
6763         * paragraph.C: remove id setter
6764
6765         * buffer.C:
6766         * paragraph.C:
6767         * paragraph_pimpl.C: remove dead tex_code_break_column
6768
6769         * bufferview_funcs.C: small cleanup
6770
6771         * lyxfunc.C: remove dead proto
6772
6773         * lyxtext.h: make some stuff private. Remove some dead stuff.
6774
6775         * lyxgluelength.C: make as[LyX]String() readable
6776
6777 2002-08-08  John Levon  <levon@movementarian.org>
6778
6779         * LyXAction.h:
6780         * LyXAction.C:
6781         * MenuBackend.C:
6782         * ToolbarDefaults.C:
6783         * lyxfunc.C:
6784         * lyxrc.C:
6785         * toc.C: lyxaction cleanup
6786
6787 2002-08-08  John Levon  <levon@movementarian.org>
6788
6789         * BufferView2.C: small cleanup
6790
6791         * lyxfind.h:
6792         * lyxfind.C: move unnecessary header into the .C
6793
6794 2002-08-08  John Levon  <levon@movementarian.org>
6795
6796         * funcrequest.h: just tedious nonsense
6797
6798         * lyx_main.h:
6799         * lyx_main.C: cleanups
6800
6801         * buffer.C:
6802         * vspace.C: remove dead header lyx_main.h
6803
6804 2002-08-07  Angus Leeming  <leeming@lyx.org>
6805
6806         * Paragraph.[Ch]:
6807         * paragraph_pimpl.h:
6808         Forward declare class Counters in paragraph.h by moving the ctrs member
6809         variable into Paragraph::Pimpl.
6810         (counters): new method, returning a reference to pimpl_->ctrs.
6811
6812         * text2.C: ensuing changes.
6813
6814 2002-08-07  John Levon  <levon@movementarian.org>
6815
6816         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6817
6818         * BufferView_pimpl.C: announce X selection on double/triple
6819           click
6820
6821         * lyx_main.C: use correct bool in batch dispatch
6822
6823         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6824
6825 2002-08-07  André Pönitz <poenitz@gmx.net>
6826
6827         * funcrequest.h: new class to wrap a kb_action and its argument
6828
6829         * BufferView.[Ch]:
6830         * BufferView_pimpl[Ch]:
6831         * LaTeX.C:
6832         * LyXAction.[Ch]:
6833         * lyxfunc.[Ch]:
6834         * lyxrc.C: subsequent changes
6835
6836
6837 2002-08-07  John Levon  <levon@movementarian.org>
6838
6839         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6840           document options change.
6841
6842 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6843
6844         * counters.[Ch]
6845         * text2.C
6846         * paragraph.[Ch]
6847         * makefile.am: move counters functionality over from
6848         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6849
6850 2002-08-06  John Levon  <levon@movementarian.org>
6851
6852         * WordLangTuple.h: new file for word + language code tuple
6853
6854         * SpellBase.h:
6855         * pspell.h:
6856         * pspell.C:
6857         * ispell.h:
6858         * ispell.C:
6859         * lyxtext.h:
6860         * text.C:
6861         * text2.C:
6862         * BufferView.h:
6863         * BufferView2.C: use WordLangTuple
6864
6865         * layout.h:
6866         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6867
6868 2002-08-06  John Levon  <levon@movementarian.org>
6869
6870         * lyx_main.C: fix cmdline batch handling
6871
6872 2002-08-06  André Pönitz <poenitz@gmx.net>
6873
6874         * lyxrc.C: set default for show_banner to true
6875
6876 2002-08-06  John Levon  <levon@movementarian.org>
6877
6878         * pspell.C: fix a crash, and allow new aspell to work
6879
6880 2002-08-06  John Levon  <levon@movementarian.org>
6881
6882         * lyxfunc.C:
6883         * kbmap.C: small cleanup
6884
6885         * vspace.h:
6886         * vspace.C: add const
6887
6888 2002-08-05  John Levon  <levon@movementarian.org>
6889
6890         * LyXAction.C: back to tabular-insert
6891
6892 2002-08-04  John Levon  <levon@movementarian.org>
6893
6894         * BufferView.h:
6895         * BufferView.C: cosmetic change
6896
6897         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6898
6899         * bufferlist.C:
6900         * buffer.h:
6901         * buffer.C:
6902         * lyxcb.h:
6903         * lyxcb.C:
6904         * lyxserver.C:
6905         * lyxvc.C:
6906         * vc-backend.C:
6907         * BufferView2.C: purge all "Lyx" not "LyX" strings
6908
6909         * lyxcursor.h:
6910         * lyxcursor.C: attempt to add some documentation
6911
6912         * lyxfunc.C:
6913         * commandtags.h:
6914         * LyXAction.C:
6915         * ToolbarDefaults.C:
6916         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6917           merge with LFUN_TABULAR_INSERT
6918
6919         * Makefile.am:
6920         * SpellBase.h:
6921         * ispell.h:
6922         * ispell.C:
6923         * pspell.h:
6924         * pspell.C: split up i/pspell implementations into separate
6925           files, many cleanups
6926
6927         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6928
6929         * text2.C: some cleanup
6930
6931         * lyxfunc.C: don't check for isp_command == "none" any more, it
6932           didn't make any sense
6933
6934 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6935
6936         * counters.[Ch]
6937         * text2.C
6938         * paragraph.[Ch]
6939         * makefile.am: move counters functionality over
6940         from text2.C/paragraph.[Ch] to counters.[Ch], and
6941         make proper C++.
6942 2002-08-02  John Levon  <levon@movementarian.org>
6943
6944         * buffer.C: s/lyxconvert/lyx2lyx/
6945
6946 2002-08-02  Angus Leeming  <leeming@lyx.org>
6947
6948         * lyxlex.C: revert John's change as it breaks reading of the user
6949         preamble.
6950
6951 2002-08-02  Angus Leeming  <leeming@lyx.org>
6952
6953         * importer.C (Import):
6954         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6955         changes due to LyXView::view() now returning a boost::shared_ptr.
6956
6957 2002-08-02  John Levon  <levon@movementarian.org>
6958
6959         * lyxlex.C: small cleanup
6960
6961 2002-08-02  John Levon  <levon@movementarian.org>
6962
6963         * text2.C (status): small cleanup, no logic change
6964
6965 2002-08-01  John Levon  <levon@movementarian.org>
6966
6967         * buffer.h:
6968         * buffer.C (writeFile): don't output alerts, caller
6969           handles this
6970
6971         * bufferlist.C:
6972         * lyx_cb.C: from above
6973
6974         * lyxfunc.C: allow to open non-existent files
6975
6976 2002-07-31  John Levon  <levon@movementarian.org>
6977
6978         * lyxserver.C: don't let incidental errors get
6979           in the way (errno)
6980
6981 2002-07-30  John Levon  <levon@movementarian.org>
6982
6983         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6984
6985 2002-07-30  John Levon  <levon@movementarian.org>
6986
6987         * lyxserver.h:
6988         * lyxserver.C: remove I/O callback too
6989
6990 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6991
6992         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6993         log.
6994
6995 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * many files: strip,frontStrip -> trim,ltrim,rtrim
6998
6999 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * PrinterParams.h: remove extern containsOnly, and include
7002         support/lstrings.h instead.
7003
7004         * LaTeX.C (scanAuxFile): modify because of strip changes
7005         (deplog): ditto
7006         * buffer.C (makeLaTeXFile): ditto
7007         * bufferparams.C (writeFile): ditt
7008         * lyxfont.C (stateText): ditto
7009         * lyxserver.C (read_ready): ditto
7010         * vc-backend.C (scanMaster): ditto
7011
7012         * BufferView_pimpl.h: ws changes
7013
7014         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7015
7016 2002-07-26  André Pönitz <poenitz@gmx.net>
7017
7018         * kb_sequence.C: remove unnedred usings
7019
7020 2002-07-26  Juergen Vigna  <jug@sad.it>
7021
7022         * lyxfind.C (LyXReplace): we have to check better if the returned
7023         text is not of theLockingInset()->getLockingInset().
7024
7025 2002-07-25  Juergen Vigna  <jug@sad.it>
7026
7027         * lyxfind.C (LyXReplace): don't replace if we don't get the
7028         right LyXText.
7029
7030         * undo_funcs.C (createUndo): remove debugging code.
7031
7032 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7033
7034         * buffer.C (parseSingleLyXformat2Token): Use default placement
7035         when reading old floats.
7036
7037         * FloatList.C (FloatList): Change the default placement of figure
7038         and tables to "tbp".
7039
7040 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * MenuBackend.C: using std::max
7043
7044 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7045
7046         * MenuBackend.C (expandToc):
7047         (expandToc2): code moved from xforms menu frontend. It is now
7048         generic and TOCs are transparent to menu frontends.
7049
7050 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7051
7052         * toc.C (getTocList): protect against buf=0
7053
7054         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7055         Menu as first parameter. Now, this calls itself recursively to
7056         expand a whole tree (this will be useful for TOC handling)
7057         (expandFloatInsert): remove 'wide' version of floats
7058
7059         * MenuBackend.h (submenuname): returns the name of the submenu.
7060         (submenu): returns the submenu itself, provided it has been
7061         created by MenuBackend::expand
7062
7063 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7064
7065         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7066         insets which have noFontChange == true. (bug #172)
7067
7068 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7069
7070         * BufferView_pimpl.C: add connection objects and use them...
7071         (Pimpl): here.
7072
7073 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7074
7075         * MenuBackend.C (expandLastfiles):
7076         (expandDocuments):
7077         (expandFormats):
7078         (expandFloatListInsert):
7079         (expandFloatInsert):
7080         (expand): split expand in parts
7081
7082 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7083
7084         * lyx_gui.C: use lyx_gui::exit()
7085
7086 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7087
7088         * LyXAction.C: show the failing pseudo action
7089
7090 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7091
7092         * buffer.C (readFile): Run the lyxconvert script in order to read
7093         old files.
7094
7095 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7096
7097         * LyXAction.C:
7098         * commandtags.h:
7099         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7100
7101 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * LyXAction.C:
7104         * commandtags.h:
7105         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7106
7107 2002-07-22  Herbert Voss  <voss@lyx.org>
7108
7109         * lengthcommon.C:
7110         * lyxlength.[Ch]: add support for the vertical lengths
7111
7112 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7113
7114         * toc.[Ch]: std:: fixes
7115
7116 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7117
7118         * lyxrc.C: do not include lyx_main.h
7119
7120         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7121         for layouts
7122
7123         * lyxrc.C:
7124         * encoding.C:
7125         * bufferlist.C:
7126         * BufferView2.C: include "lyxlex.h"
7127
7128         * tabular.h:
7129         * bufferparams.h: do not #include "lyxlex.h"
7130
7131         * lyxtextclasslist.C (Add): remove method
7132         (classlist): renamed to classlist_
7133
7134         * paragraph_pimpl.C:
7135         * paragraph.C:
7136         * text2.C:
7137         * CutAndPaste.C:
7138         * bufferview_funcs.C:
7139         * bufferlist.C:
7140         * text.C:
7141         * LaTeXFeatures.C:
7142         * buffer.C:
7143         * toc.C (getTocList): use BufferParams::getLyXTextClass
7144
7145         * toc.C (getTocList): use InsetFloat::addToToc
7146
7147         * toc.[Ch]: new files, containing helper functions to handle table
7148         of contents
7149
7150         * lyxfunc.C (dispatch): no need to remove spaces around command
7151         given as a string
7152         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7153         first command of the sequence; it is not very clever, but I do not
7154         have a better idea, actually
7155
7156         * LyXAction.C (LookupFunc): make sure to remove space at the
7157         beginning and end of the command
7158
7159 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7160
7161         * MenuBackend.C (getMenubar): new method: return the menubar of
7162         this menu set
7163         (read): treat differently reading of menu and menubar (in
7164         particular, the menubar has no name now)
7165         (Menu::menubar): remove
7166
7167         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7168         saving is finished
7169
7170 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7171
7172         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7173         a bibitem inset in a RTL paragraph.
7174
7175 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7176
7177         * paragraph_pimpl.C: constify
7178
7179         * BufferView_pimpl.C:
7180         * LaTeX.C:
7181         * lyxfunc.C: fix dispatch in a nicer way
7182
7183 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7184
7185         * lyxfunc.C (dispatch):
7186         * BufferView_pimpl.C:
7187         * BufferView_pimpl.h:
7188         * BufferView.C:
7189         * BufferView.h: rename Dispatch() to dispatch()
7190
7191         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7192
7193         * lyxlayout.C (Read): honor DependsOn tag
7194
7195         * lyxlayout.[Ch] (depends_on): new method
7196
7197         * version.C.in: update lyx_docversion
7198
7199         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7200
7201         * paragraph.C (validate): remove from here...
7202         * paragraph_pimpl.C (validate): ... and move here
7203         (isTextAt): make it const
7204
7205         * buffer.C (getLists): ws cleanup
7206
7207 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7208
7209         * language.C (read): Use iso8859-1 encoding in latex_lang
7210         (this prevents LyX from crashing when using iso10646-1 encoding).
7211
7212 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7213
7214         * text2.C (toggleInset): if cursor is inside an inset, close the
7215         inset and leave cursor _after_ it
7216
7217 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7218
7219         * lyxfunc.C: move minibuffer completion handling out of here
7220
7221 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * BufferView_pimpl.C:
7224         * LaTeX.C: fix dispatch calls
7225
7226 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7227
7228         * text.C (drawChars): Fix Arabic text rendering.
7229
7230 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7231
7232         * LyXAction.C:
7233         * commandtags.h:
7234         * lyxfunc.C: remove message-push/pop
7235
7236         * lyxserver.C:
7237         * lyxfunc.h:
7238         * lyxfunc.C: rationalise some code by removing verboseDispatch
7239           in favour of a bool argument to dispatch()
7240
7241 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7242
7243         * lyx_main.C (init): make sure to read symlinks as absolute paths
7244
7245 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7246
7247         * lyxfunc.h:
7248         * lyxfunc.C: no need for commandshortcut to be a member
7249
7250 2002-07-15  André Pönitz <poenitz@gmx.net>
7251
7252         * converter.C: add support for $$s (scripts from lib/scripts dir)
7253         * lyx_main.C: white space
7254
7255 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * bufferlist.C:
7258         * lyxrc.h:
7259         * lyxrc.C: remove second exit confirmation
7260
7261 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7262
7263         * BufferView.h:
7264         * BufferView.C:
7265         * BufferView2.C:
7266         * BufferView_pimpl.h:
7267         * BufferView_pimpl.C:
7268         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7269
7270 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7271
7272         * MenuBackend.C (expand): add numeric shortcuts to document menu
7273
7274         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7275
7276 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * lyxfont.C (setLyXFamily):
7279         (setLyXSeries):
7280         (setLyXShape):
7281         (setLyXSize):
7282         (setLyXMisc):
7283         (lyxRead):
7284         * debug.C (value):
7285         * buffer.C (asciiParagraph): use ascii_lowercase
7286
7287 2002-07-15  Mike Fabian  <mfabian@suse.de>
7288
7289         * lyxlex_pimpl.C (search_kw):
7290         * lyxlex.C (getLongString):
7291         * converter.h (operator<):
7292         * converter.C (operator<):
7293         * buffer.C (parseSingleLyXformat2Token):
7294         (asciiParagraph):
7295         * ToolbarDefaults.C (read):
7296         * MenuBackend.C (checkShortcuts):
7297         (read):
7298         * LColor.C (getFromGUIName):
7299         (getFromLyXName): use the compare_ascii_no_case instead of
7300         compare_no_case, because in turkish, 'i' is not the lowercase
7301         version of 'I', and thus turkish locale breaks parsing of tags.
7302
7303 2002-07-16  Angus Leeming  <leeming@lyx.org>
7304
7305         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7306         now takes a Buffer const & argument.
7307
7308 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7309
7310         * BufferView.C (resize): check there's a buffer to resize
7311
7312 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * lyxfunc.C: remove dead code
7315
7316         * lyxserver.h:
7317         * lyxserver.C: use lyx_guii::set_read_callback
7318
7319 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7320
7321         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7322         an inset in a RTL paragraph.
7323
7324 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7325
7326         * lyxfunc.C: repaint after a font size update
7327
7328 2002-07-15  André Pönitz <poenitz@gmx.net>
7329
7330         * lyxlength.C: inBP should be able to return negative values
7331
7332 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7333
7334         * lyxfunc.C: use lyx_gui::update_fonts()
7335
7336 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * lyxfunc.C: use lyx_gui::update_color()
7339
7340 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7341
7342         * bufferlist.C:
7343         * lyxfunc.h:
7344         * lyxfunc.C:
7345         * lyxrc.h:
7346         * lyxrc.C: remove file->new asks for name option, and let
7347           buffer-new take an argument
7348
7349 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * BufferView_pimpl.C: remove unneeded extra repaint()
7352
7353 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * LyXAction.C: allow command-sequence with NoBuffer
7356
7357         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7358
7359 2002-07-10  Angus Leeming  <leeming@lyx.org>
7360
7361         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7362
7363 2002-07-09  Angus Leeming  <leeming@lyx.org>
7364
7365         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7366
7367 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7368
7369         * lengthcommon.h: whitespace
7370
7371         * lyxfunc.C: update scrollbar after goto paragraph
7372
7373         * lyxtext.h: factor out page break drawing, and fix it so
7374           page break/added space paints as selected nicely
7375
7376 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7377
7378         * BufferView_pimpl.C: add FIXMEs, clean up a little
7379
7380 2002-07-09  André Pönitz <poenitz@gmx.net>
7381
7382         * lyxfont.[Ch]: support for wasy symbols
7383
7384 2002-07-08  André Pönitz <poenitz@gmx.net>
7385
7386         * BufferView_pimpl.C: apply John's patch for #93.
7387
7388 2002-07-05  Angus Leeming  <leeming@lyx.org>
7389
7390         * BufferView_pimpl.C (buffer): generate previews if desired.
7391
7392         * LColor.h: add "preview" to the color enum.
7393
7394         * LColor.C (LColor): add a corresponding entry to the items array.
7395
7396         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7397         with this buffer.
7398
7399 2002-07-05  Angus Leeming  <leeming@lyx.org>
7400
7401         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7402         The body of the code is now in the method that is passed an ostream &
7403         rather than a file name.
7404         Pass an additional only_preamble parameter, useful for the forthcoming
7405         preview stuff.
7406
7407 2002-07-03  André Pönitz <poenitz@gmx.net>
7408
7409         * lyxfunc.C: simplify getStatus() a bit for math stuff
7410
7411 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7412
7413         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7414
7415 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7416
7417         * text.C (changeRegionCase): do not change case of all the
7418         document when region ends at paragraph end (bug #461)
7419
7420 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7421
7422         * paragraph.C (startTeXParParams):
7423         (endTeXParParams): add \protect when necessary
7424
7425 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7426
7427         * BufferView_pimpl.C (workAreaExpose): remove warning
7428
7429 2002-06-27  Angus Leeming  <leeming@lyx.org>
7430
7431         * Makefile.am: add lyxlayout_ptr_fwd.h.
7432
7433 2002-06-26  André Pönitz <poenitz@gmx.net>
7434
7435         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7436
7437 2002-06-25  Angus Leeming  <leeming@lyx.org>
7438
7439         * lyxfunc.C (dispatch): Comment out the call to
7440         grfx::GCache::changeDisplay. The method no longer exists now that the
7441         pixmap generation part of the graphics loader has been moved into
7442         InsetGraphics.
7443
7444 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7445
7446         * text2.C: layout as layout
7447
7448         * text.C: layout as layout
7449
7450         * tabular.C (OldFormatRead): layout as layout
7451
7452         * paragraph_pimpl.C (TeXDeeper): layout as layout
7453         (realizeFont): layout as layout
7454
7455         * paragraph.C (writeFile): layout as layout
7456         (validate): layout as layout
7457         (getFont): layout as layout
7458         (getLabelFont): layout as layout
7459         (getLayoutFont): layout as layout
7460         (breakParagraph): layout as layout
7461         (stripLeadingSpaces): layout as layout
7462         (getEndLabel): layout as layout
7463         (getMaxDepthAfter): layout as layout
7464         (applyLayout): layout as layout
7465         (TeXOnePar): layout as layout
7466         (simpleTeXOnePar): layout as layout
7467         (TeXEnvironment): layout as layout
7468         (layout): layout as layout
7469         (layout): layout as layout
7470
7471         * lyxtextclass.C (compare_name): new functor to work with
7472         shared_ptr, layout as layout
7473         (Read): layout as layout
7474         (hasLayout): layout as layout
7475         (operator): layout as layout
7476         (delete_layout): layout as layout
7477         (defaultLayout): layout as layout
7478
7479         * lyxlayout_ptr_fwd.h: new file
7480
7481         * lyxlayout.C (Read): layout as layout
7482
7483         * lyx_cb.C (MenuInsertLabel): layout as layout
7484
7485         * bufferlist.C (newFile): layout as layout
7486
7487         * buffer.C (readLyXformat2): layout as layout
7488         (parseSingleLyXformat2Token): layout as layout
7489         (insertStringAsLines): layout as layout
7490         (asciiParagraph): layout as layout
7491         (latexParagraphs): layout as layout
7492         (makeLinuxDocFile): layout as layout
7493         (simpleLinuxDocOnePar): layout as layout
7494         (makeDocBookFile): layout as layout
7495         (simpleDocBookOnePar): layout as layout
7496         (getLists): layout as layout
7497
7498         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7499
7500         * CutAndPaste.C (cutSelection): layout as layout
7501         (pasteSelection): layout as layout
7502         (SwitchLayoutsBetweenClasses): layout as layout
7503
7504         * BufferView_pimpl.C (Dispatch): layout as layout
7505         (smartQuote): layout as layout
7506
7507         * BufferView2.C (unlockInset): layout as layout
7508
7509 2002-06-24  André Pönitz <poenitz@gmx.net>
7510
7511         * lyxfunc.C: fix #487
7512
7513 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * lyxrc.h:
7516         * lyxrc.C:
7517         * lyxfunc.C: remove display_shortcuts, show_banner
7518
7519 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7520
7521         * Buffer_pimpl.C: oops, update on resize
7522
7523 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * buffer.C:
7526         * converter.C:
7527         * exporter.C:
7528         * lyxfunc.C:
7529         * BufferView.h:
7530         * BufferView.C: use repaint()
7531
7532         * BufferView_pimpl.h:
7533         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7534           as it's a clearer description. Remove superfluous
7535           redraws.
7536
7537 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7538
7539         * text.C: fix bug 488. Not ideal, but getting
7540           getWord() to work properly for the insets that
7541           matter is more difficult ...
7542
7543 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * BufferView_pimpl.C:
7546         * LyXAction.C:
7547         * commandtags.h:
7548         * lyxfunc.C: remove the six million index lyxfuncs to just
7549           one, and DTRT (bug 458)
7550
7551 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * BufferView.h:
7554         * BufferView.C:
7555         * BufferView_pimpl.h:
7556         * BufferView_pimpl.C: clean up resize() stuff,
7557           and unnecessary updateScreen()s
7558
7559 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * BufferView.h:
7562         * BufferView.C:
7563         * BufferView_pimpl.h:
7564         * BufferView_pimpl.C:
7565         * lyxfind.h:
7566         * lyxfind.C:
7567         * minibuffer.C: remove focus management of workarea,
7568           not needed. Use screen's greyOut()
7569
7570 2002-06-17  Herbert Voss  <voss@lyx.org>
7571
7572         * converter.C: (convert) do not post a message, when converting
7573         fails, let the calling function decide what to do in this case
7574
7575 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7576
7577         * lyxfunc.C: tidy up a little
7578
7579 2002-06-16    <alstrup@diku.dk>
7580
7581         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7582         Got rid of FORMS_H_LOCATION include. Now we are
7583         GUII.
7584
7585 2002-06-15  LyX Development team  <lyx@rilke>
7586
7587         * buffer.[Ch] (sgmlOpenTag):
7588         (sgmlCloseTag): Added support for avoiding pernicious mixed
7589         content. Return number of lines written.
7590
7591         (makeLinuxDocFile):
7592         (makeDocBookFile): Fixed calls to sgml*Tag.
7593         Simple white space clean.
7594
7595         (simpleDocBookOnePar): Simple white space clean.
7596
7597         * tabular.[Ch] (docBook): Renamed to docbook and got another
7598         argument to related with the pernicious mixed content.
7599
7600         (docbookRow): Fixed calls for docbook inset method.
7601
7602 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7603
7604         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7605         so it's X11 independent.
7606
7607         * kb*.[Ch]: ditto.
7608
7609         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7610
7611 2002-06-15  Lyx Development team  <lyx@electronia>
7612
7613         * intl.h: Renamed getTrans to getTransManager.
7614
7615 2002-06-14  Angus Leeming  <leeming@lyx.org>
7616
7617         * Makefile.am: nuke forgotten stl_string_fwd.h.
7618
7619 2002-06-12  Angus Leeming  <leeming@lyx.org>
7620
7621         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7622
7623 2002-06-13  Angus Leeming  <leeming@lyx.org>
7624
7625         * LaTeX.C:
7626         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7627
7628 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7629
7630         * kbmap.C (getiso): add support for cyrillic and greek
7631
7632 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * BufferView.h:
7635         * BufferView.C:
7636         * BufferView_pimpl.h:
7637         * BufferView_pimpl.C: move bogus scrolling logic
7638           to xforms
7639
7640 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7641
7642         * lyxfunc.C:
7643         * BufferView_pimpl.C: view->resize() change
7644
7645 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7646
7647         * BufferView_pimpl.C: topCursorVisible
7648           prototype change
7649
7650 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * Makefile.am:
7653         * lyx_gui.h:
7654         * lyx_gui.C: move to frontends/
7655
7656         * main.C:
7657         * lyx_main.h:
7658         * lyx_main.C: changes from above
7659
7660 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * intl.C:
7663         * intl.h:
7664         * kbmap.C:
7665         * kbsequence.C:
7666         * lyx_cb.C:
7667         * lyx_main.C: minor tidy
7668
7669 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7670
7671         * BufferView_pimpl.h:
7672         * BufferView_pimpl.C:
7673         * BufferView.h:
7674         * BufferView.C: make painter() const,
7675           remove dead code
7676
7677         * BufferView2.C: use screen() accessor
7678
7679         * lyx_main.h:
7680         * lyx_main.C: some minor cleanup
7681
7682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * BufferView_pimpl.h:
7685         * BufferView_pimpl.C: remove enter/leaveView,
7686           use workHeight()
7687
7688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * BufferView.h:
7691         * BufferView.C:
7692         * BufferView2.C:
7693         * BufferView_pimpl.h:
7694         * BufferView_pimpl.C: only construct screen once,
7695           rename
7696
7697         * lyxrc.C: remove pointless comment
7698
7699 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7700
7701         * BufferView.h:
7702         * BufferView.C: remove active() and belowMouse()
7703
7704         * BufferView_pimpl.h:
7705         * BufferView_pimpl.C: use workarea() not workarea_,
7706           and make it use a scoped_ptr instead
7707
7708 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7709
7710         * lyx_gui.C: add debug message on BadWindow
7711
7712 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7713
7714         * sp_spell.C: fdopen is not part of the C++ standard.
7715
7716         * paragraph.C (InsetIterator): use >= instead of ==
7717
7718 2002-06-07  Angus Leeming  <leeming@lyx.org>
7719
7720         Fixes needed to compile with Compaq cxx 6.5.
7721         * BufferView_pimpl.C:
7722         * DepTable.C:
7723         * buffer.C:
7724         * converter.C:
7725         * encoding.C:
7726         * lyx_gui.C:
7727         * lyx_main.C:
7728         * lyxtextclasslist.C:
7729         * minibuffer.C:
7730         * sp_spell.C:
7731         * tabular_funcs.C:
7732         * vc-backend.C:
7733         all c-library variables have been moved into namespace std. Wrap
7734         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7735
7736         * lyxlength.C:
7737         * tabular-old.C:
7738         * tabular.C:
7739         Add a using std::abs declaration.
7740
7741         * kbmap.h (modifier_pair):
7742         * paragraph.h (InsetTable, InsetList):
7743         * lyxfont.h (FontBits):
7744         type definition made public.
7745
7746         * bufferlist.C (emergencyWriteAll): the compiler complains that
7747         there is more than one possible lyx::class_fun template to choose from.
7748         I re-named the void specialisation as lyx::void_class_fun.
7749
7750         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7751
7752         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7753         the compiler is is unable to find tostr in write_attribute.
7754
7755 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * buffer.C (sgmlError): hide #warning
7758
7759 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * xtl/*: get rid of xtl, which is not in use anyway
7762
7763         * LyXAction.C (init):
7764         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7765         were unimplemented xtl experimentation
7766
7767 2002-06-04  André Pönitz <poenitz@gmx.net>
7768
7769         * lyxfunc.C: disable array operation on simple formulae
7770
7771 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7772
7773         * converter.C: constify a bit
7774
7775 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7776
7777         * lyx_gui.C: check xforms version correctly
7778
7779 2002-04-30  Herbert Voss  <voss@lyx.org>
7780
7781         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7782         "keep" option
7783
7784 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7785
7786         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7787           attempt to register it with a VCS)
7788
7789 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7790
7791         * lyx_main.C (init): honor variables LYX_DIR_13x and
7792         LYX_USERDIR_13x
7793
7794 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7795
7796         * buffer.h:
7797         * buffer.C:
7798         * lyx_main.C: fix a crash on bad command line,
7799           and give a useful exit status on error
7800
7801         * lyxfunc.C (doImport): allow -i lyx to work
7802
7803 2002-03-30  André Pönitz <poenitz@gmx.net>
7804
7805         * lyxfunc.C: mathed font changes
7806
7807 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7808
7809         * LaTeX.C:
7810         * importer.h:
7811         * importer.C:
7812         * lyx_sty.h:
7813         * lyx_sty.C:
7814         * lyxlex.C:
7815         * lyxrow.h:
7816         * lyxtext.h:
7817         * paragraph.h:
7818         * paragraph.C:
7819         * texrow.h:
7820         * texrow.C:
7821         * text.C:
7822         * trans_mgr.h: srcdocs, and some minor cleanups
7823
7824 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7825
7826         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7827         call getFont all the time)
7828
7829 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7830
7831         * switch from SigC signals to boost::signals
7832
7833 2002-05-29  André Pönitz <poenitz@gmx.net>
7834
7835         * paragraph_pimpl.C (getChar): don't call size() too often...
7836
7837 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * paragraph_pimpl.C (insertChar): do not try to update tables when
7840         appending (pos == size())
7841
7842         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7843         in order to reduce drastically the number of comparisons needed to
7844         parse a large document
7845
7846 2002-05-29  André Pönitz <poenitz@gmx.net>
7847
7848         * text.C:
7849         * text2.C:
7850         * lyxtextclass.C:
7851         * sp_pspell.h:
7852         * textclasslist.[Ch]:
7853         * sp_ispell.h: whitespace change
7854
7855 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7858         lyxaction directly now.
7859
7860 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * trans.C:
7863         * lyxfont.C:
7864         * lyxvc.C: remove unused headers
7865
7866 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7867
7868         * Makefile.am:
7869         * buffer.h:
7870         * undostack.h:
7871         * undostack.C:
7872         * undo_funcs.h:
7873         * undo_funcs.C: some cleanups. Use shared_ptr
7874           and a template for the undo stacks.
7875
7876 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7877
7878         * BufferView_pimpl.h:
7879         * BufferView_pimpl.C:
7880         * kbmap.h:
7881         * kbmap.C:
7882         * kbsequence.h:
7883         * kbsequence.C:
7884         * lyxfunc.h:
7885         * lyxfunc.C:
7886         * text2.C: use key_state/mouse_state
7887
7888 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7889
7890         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7891         and LSubstring
7892
7893         * chset.C: change include order
7894         (loadFile): use boost regex and get rid of LRegex and LSubstring
7895
7896         * Makefile.am (BOOST_LIBS): new variable
7897         (lyx_LDADD): use it
7898
7899         * LaTeX.C: change include order.
7900         (scanAuxFile): use boost regex and get rid of LRegex and
7901         LSubstring
7902         (deplog): ditto
7903
7904 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * ColorHandler.h:
7907         * ColorHandler.C:
7908         * FontInfo.h:
7909         * FontInfo.C: moved to frontends/xforms/
7910
7911         * FontLoader.h:
7912         * FontLoader.C: moved into frontends for GUIIzation
7913
7914         * Makefile.am:
7915         * lyx_gui.C:
7916         * lyxfont.C:
7917         * lyxfunc.C: changes from above
7918
7919 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * LColor.C: remove spurious X include
7922
7923         * BufferView_pimpl.C:
7924         * Makefile.am:
7925         * font.h:
7926         * font.C:
7927         * text.C:
7928         * text2.C: move font metrics to frontends/
7929
7930 2002-05-24  Juergen Vigna  <jug@sad.it>
7931
7932         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7933         setting the undo_cursor.
7934
7935         * ParagraphParameters.h: include local includes first.
7936
7937 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7938
7939         * BufferView_pimpl.C:
7940         * BufferView_pimpl.h:
7941         * Makefile.am:
7942         * WorkArea.h:
7943         * WorkArea.C:
7944         * screen.C: move WorkArea into frontends/
7945
7946         * lyxscreen.h:
7947         * screen.C:
7948         * text.C:
7949         * BufferView.C:
7950         * BufferView2.C: move LyXScreen into frontends/
7951
7952         * lyxlookup.h:
7953         * lyxlookup.C:
7954         * lyx_gui.C: move lyxlookup into frontends/xforms/
7955
7956 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7957
7958         * BufferView2.C:
7959         * BufferView_pimpl.C:
7960         * FontLoader.C:
7961         * LyXView.h:
7962         * LyXView.C:
7963         * Makefile.am:
7964         * WorkArea.C:
7965         * XFormsView.h:
7966         * XFormsView.C:
7967         * buffer.C:
7968         * bufferlist.C:
7969         * bufferview_funcs.C:
7970         * converter.C:
7971         * importer.C:
7972         * lyx_cb.C:
7973         * lyx_gui.C:
7974         * lyx_main.C:
7975         * lyx_find.C:
7976         * lyxfunc.C:
7977         * lyxvc.C:
7978         * minibuffer.C:
7979         * text.C:
7980         * text2.C:
7981         * trans.C:
7982         * vc-backend.C: move LyX/XFormsView into frontends/
7983
7984 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * Makefile.am:
7987         * PainterBase.C:
7988         * PainterBase.h:
7989         * Painter.C:
7990         * Painter.h:
7991         * WorkArea.C:
7992         * WorkArea.h:
7993         * screen.C:
7994         * tabular.C:
7995         * text.C:
7996         * text2.C: move Painter to frontends/
7997
7998 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7999
8000         * buffer.C: comment out some some code that depend upon lyx_format
8001         < 220
8002
8003         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8004         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8005
8006         * buffer.h (NO_COMPABILITY): turn off compability
8007
8008         * ColorHandler.C: include scoped_array.hpp
8009
8010         * font.C: Use more specific smart_ptr header.
8011         * Painter.C: ditto
8012         * gettext.C: ditto
8013         * ShareContainer.h: ditto
8014         * lyx_main.h: ditto
8015         * kbmap.h: ditto
8016         * FontInfo.h: ditto
8017         * BufferView_pimpl.h: ditto
8018         * ColorHandler.h: ditto
8019
8020         * kbmap.C (defkey): change call to shared_ptr::reset
8021
8022 2002-05-21  Juergen Vigna  <jug@sad.it>
8023
8024         * buffer.C (insertErtContents): fix to insert ert asis if it is
8025         non empty. Skip it completely if it contains only whitespaces.
8026
8027 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8028
8029         * BufferView_pimpl.C:
8030         * BufferView2.C: clear selection on paste (bug 393)
8031
8032 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8033
8034         * DepTable.C: include ctime
8035
8036 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8037
8038         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8039
8040 2002-05-14  Juergen Vigna  <jug@sad.it>
8041
8042         * text.C (breakParagraph): fixed function to honor the keepempty
8043         layout in the right maner and also to permit the right breaking
8044         algorithm on empty or non empyt keepempty paragraphs.
8045
8046         * paragraph.C (breakParagraph): we have to check also if the par
8047         is really empty (!size()) for isempty otherwise we do the wrong
8048         paragraph break.
8049
8050 2002-05-10  Juergen Vigna  <jug@sad.it>
8051
8052         * buffer.[Ch] : The following are only changes to the ert
8053         compatibility read reading old LaTeX layout and font stuff and
8054         convert it to ERTInsets.
8055
8056         * buffer.h: added isErtInset().
8057
8058         * buffer.C (struct ErtComp): add a fromlayout bool to check
8059         if we're inside a LaTeX layout.
8060         (isErtInset): new helper function.
8061         (insertErtContents): look for other ert insets before this one
8062         and insert the contents there, so that we don't have subsequent
8063         ERT insets with nothing between them. This way we create only one
8064         inset with multiple paragraphs. Also check if we don't insert only
8065         spaces ' ' as they are ignored anyway afterwards in the .tex file
8066         so if we have only spaces we will ignore this latex part in the
8067         new file.
8068         (parseSingleLyXformat2Token \\layout): better compatibility when
8069         reading layout-latex stuff.
8070         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8071         language tag.
8072         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8073         stuff after reading the inset only get the information back from
8074         the stack.
8075
8076 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8077
8078         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8079
8080         * LaTeXFeatures.C (getBabelOptions): New method.
8081
8082 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * BufferView_pimpl.C (Dispatch): work around missing argument for
8085         'layout'
8086
8087 2002-05-08  Juergen Vigna  <jug@sad.it>
8088
8089         * text.C (leftMargin): handle paragraph leftindent.
8090
8091         * paragraph.C (writeFile): write the new \\leftindent tag.
8092         (validate): handle leftindent code.
8093         (TeXEnvironment): handle paragraphleftindent code again.
8094
8095         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8096
8097         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8098         for paragrap_extra indent code and new token \\leftindent.
8099         (latexParagraphs): handle the leftindent as environment.
8100
8101         * ParameterStruct.h: added leftindent support.
8102
8103         * ParagraphParameters.C (leftIndent): added support functions for
8104         the paragraph left indent.
8105
8106         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8107         more appropriate.
8108
8109 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8110
8111         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8112         inside insetERT.
8113
8114         * text.C (computeBidiTables): No bidi in insetERT.
8115
8116         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8117         in RTL documents.
8118
8119 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8120
8121         * version.C.in: pre 5
8122
8123 2002-05-02  José Matos  <jamatos@fep.up.pt>
8124         * buffer.C (makeDocBookFile): white space changes, add newline to
8125         command styles.
8126         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8127
8128         * tabular.C (docBook): fix typo.
8129
8130 2002-05-03  Juergen Vigna  <jug@sad.it>
8131
8132         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8133         change in LyXText as we can not be sure it was not freed.
8134         (drawOneRow): remove unused code.
8135
8136         * text.C (drawInset): redo the calculation of the need_break_row as
8137         it could have a row which was already freed.
8138         (draw): look at the return value of drawInset and return false if
8139         it also returned false.
8140         (paintRowText): look at the return value of draw and return false if
8141         it also returned false.
8142
8143         * lyxtext.h: added bool return type to drawInset() and draw() so that
8144         if we have a change in the row so that the rowbreak has to be redone
8145         we abort drawing as it will be called again.
8146
8147 2002-05-02  Juergen Vigna  <jug@sad.it>
8148
8149         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8150         a change in the maintext also if we're inside an inset.
8151         (Dispatch): set the cursor again after a break line and after the
8152         screen has been updated as it could be we're in a different row.
8153
8154         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8155         to set the cursor behind the pargraph with > size().
8156         (setCursor): check also for the same paragraph when checking where
8157         to put the cursor if we have a NFR inset.
8158
8159         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8160         parts of layout read further up as it still was in the wrong
8161         position.
8162
8163 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * screen.C (drawFromTo): change sine fullRebreak always return
8166         true.
8167
8168         * buffer.C (parseSingleLyXformat2Token): reindent some
8169
8170         * BufferView_pimpl.C (update): change since fullRebreak always
8171         return true.
8172         (Dispatch): git rid of the last hardcoded "Standard"s.
8173
8174 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8175
8176         * text2.[Ch] (fullRebreak): make it return void now that we always
8177         returned true.
8178
8179 2002-04-30  Juergen Vigna  <jug@sad.it>
8180
8181         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8182         ert compatibility check for "latex" layout.
8183
8184 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8185
8186         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8187         minipages: use col% instead of p%, and also use the current font.
8188         (makeLaTeXFile): Fix use babel condition.
8189         (parseSingleLyXformat2Token): Correct font when reading old floats.
8190
8191 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8192
8193         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8194         inserting list of floats.
8195
8196 2002-04-25  Herbert Voss  <voss@lyx.org>
8197
8198         * MenuBackend.C (expand): don't add the graphics extensions to the
8199         export menu
8200
8201 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8204         non-existing layout, do not complain if it was the default layout
8205         of the original class (bug #342)
8206
8207 2002-04-24  Juergen Vigna  <jug@sad.it>
8208
8209         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8210         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8211
8212 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8213
8214         * buffer.C (getBibkeyList): If using \bibliography, return the
8215         option field with the reference itself. Enables us to provide natbib
8216         support when using \bibliography.
8217
8218 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8219
8220         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8221
8222         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8223         natbib is provided by the LaTeX class.
8224
8225 2002-04-23  Juergen Vigna  <jug@sad.it>
8226
8227         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8228         Wakeup functions.
8229
8230         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8231
8232 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8233
8234         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8235
8236         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8237         ensuremath around textordmasculine, textordfeminine and
8238         textdegree.
8239
8240 2002-04-19  Juergen Vigna  <jug@sad.it>
8241
8242         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8243         reinitializing the buffer otherwise row-dimensions may be wrong.
8244         (update): reset also the selection cursors if they do exits otherwise
8245         their x/y positions may be wrong.
8246
8247         * text2.C (cursorDown): don't enter the inset if we came from a row
8248         above and are one row over the inset.
8249
8250         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8251         really leaving an inset.
8252
8253 2002-04-18  Juergen Vigna  <jug@sad.it>
8254
8255         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8256         of the selected paragraph does not have the selected layout also if
8257         the last one had!
8258
8259         * text2.C (setLayout): fixed bug which did not change last selected
8260         paragraph.
8261
8262         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8263         changed the read and substituted \\end_float with \\end_inset!
8264
8265         * BufferView_pimpl.C (cursorPrevious):
8266         (cursorNext): fixed to make it work with rows heigher than the work
8267         area without moving the cursor only the draw of the row.
8268         (workAreaMotionNotify): fix jumping over high rows.
8269
8270 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8271
8272         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8273         Ressler.
8274
8275 2002-04-16  Juergen Vigna  <jug@sad.it>
8276
8277         * text2.C (setCursor): set also the irow().
8278         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8279         (cursorUp):
8280         (cursorDown): support for locking an inset if the x_fix value goes
8281         inside it. That way I can transverse insets too with cursor up/down.
8282
8283         * lyxrow.h: added irow helper function same as other (i) functions.
8284
8285         * BufferView_pimpl.C (cursorPrevious):
8286         (cursorNext): fixed for insets!
8287
8288 2002-04-15  Juergen Vigna  <jug@sad.it>
8289
8290         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8291         position otherwise it is wrong in some cases.
8292
8293         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8294         inside the inset before the call.
8295
8296 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8297
8298         * buffer.[Ch] (getBibkeyList): make it const.
8299
8300 2002-04-12  Juergen Vigna  <jug@sad.it>
8301
8302         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8303
8304         * text2.C (getCursorX): new helper function
8305         (setCursor): compute also ix_
8306         (setCursorFromCoordinates): set also ix.
8307
8308         * lyxcursor.h: added ix_ and helper functions.
8309
8310         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8311
8312         * buffer.C (insertStringAsLines): dont break paragraph if the this
8313         paragraph is inside an inset which does not permit it!
8314
8315         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8316         also with no chars on this paragraph.
8317         (paintRowText): only paint stuff if it's inside the workarea!
8318
8319         * paragraph.C (breakParagraph): honor keepempty flag and break the
8320         paragraph always below not above.
8321
8322         * BufferView2.C (unlockInset): update the paragraph layout on inset
8323         unlock as we changed paragraph in such a case.
8324
8325         * lyxfind.C (LyXFind): clear the former selection if not found!
8326
8327         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8328         again called in insertChar().
8329
8330         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8331         an inset which uses the whole row!
8332         (rightMargin): ditto.
8333         (insertChar): force a rebreak if we inserted an inset!
8334
8335 2002-03-28  Herbert Voss  <voss@lyx.org>
8336
8337         * lyxlength.[Ch]: add inBP() to get the right PS-point
8338         units (BigPoint). With inPixels we have rounding errors
8339
8340 2002-04-11  Juergen Vigna  <jug@sad.it>
8341
8342         * text2.C (setCursorFromCoordinates): set iy to the right value.
8343         (setCursor): add check if row->previous exists!
8344
8345         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8346         an old float_type as this was the case in the old code!
8347
8348         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8349
8350         * BufferView2.C (showLockedInsetCursor): use iy
8351         (fitLockedInsetCursor): ditto
8352
8353         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8354         locked insets as there we have the right value now.
8355
8356         * lyxcursor.C: added iy_ variable and iy functions to set to the
8357         baseline of cursor-y of the locked inset.
8358
8359         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8360         (setCursor): fixed for insets which need a full row.
8361
8362         * text.C (rowLastPrintable): don't ignore the last space when before
8363         an inset which needs a full row.
8364         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8365         as last character of a row when before a inset which needs a full row.
8366
8367 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8368
8369         * version.C.in: update date
8370
8371         * text2.C (fullRebreak): try to always return true and see what
8372         happens...
8373
8374 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * MenuBackend.C (expand): use Floating::listName
8377
8378         * FloatList.C (FloatList): add listName argument to the built-in
8379         floats
8380
8381         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8382         text associated with the float.
8383
8384 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8385
8386         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8387
8388 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8389
8390         * ShareContainer.h: add a couple of missing typenames.
8391
8392 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8393
8394         * lyxrc.C (getDescription): use _() correctly rather than N_().
8395
8396 2002-03-28  Herbert Voss  <voss@lyx.org>
8397
8398         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8399         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8400
8401 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8404         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8405
8406 2002-03-29  Juergen Vigna  <jug@sad.it>
8407
8408         * lyxfunc.C (dispatch): add a missing fitCursor call.
8409
8410         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8411         it was scrolled by a cursor move, so return the bool status.
8412
8413         * BufferView.C (fitCursor): return the bool flag also to the outside
8414         world as this is needed.
8415
8416         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8417
8418         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8419         call the edit() as it is not needed (and wrong) IMO.
8420         (workAreaButtonPress): set the screen_first variable before evt.
8421         unlock the inset as this may change screen_first and then we have
8422         a wrong y position for the click!
8423
8424 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8425
8426         * MenuBackend.C (expand): another translation that I missed
8427
8428 2002-03-28  Juergen Vigna  <jug@sad.it>
8429
8430         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8431
8432         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8433
8434 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8437
8438         * MenuBackend.C (expand): fix export/view/update when there is no
8439         document open.
8440
8441 2002-03-27  Herbert Voss  <voss@lyx.org>
8442
8443         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8444         and text%
8445
8446 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8447
8448         * bufferview_funcs.C (currentState): only show paragraph number
8449         for is DEVEL_VERSION is set.
8450
8451         * lyxfunc.C (dispatch): put warning in INFO channel
8452
8453         * MenuBackend.C (expand): translate the name of floats
8454
8455         * FloatList.C (FloatList): mark the float names for translation
8456
8457         * converter.C (convert): use LibScriptSearch
8458
8459 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * MenuBackend.C (defaults): fix default menu (we might as well get
8462         rid of it...)
8463
8464 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8465
8466         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8467         directory.
8468
8469 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8470
8471         * lyxvc.C: reorder includes.
8472
8473 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8476           properly
8477
8478 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * CutAndPaste.C: change layouts earlier on paste
8481           to avoid crashing when calling getFont()
8482
8483 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8484
8485         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8486         irritating #error.
8487
8488 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8489
8490         * WorkArea.C: remove 'Pending' debug message.
8491
8492         * most files: ws cleanup
8493
8494         * buffer.[Ch]: ws changes
8495
8496         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8497
8498 2002-03-21  Juergen Vigna  <jug@sad.it>
8499
8500         * tabular.C (SetMultiColumn): collapse also the contents of the
8501         cells and set the last border right. Added a Buffer const * param.
8502
8503 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8504
8505         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8506         linking or not.
8507
8508 2002-03-19  Juergen Vigna  <jug@sad.it>
8509
8510         * text2.C (clearSelection): reset also xsel_cache.
8511
8512         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8513         where it needs to be called (John tells us to do so too :)
8514         (selectionLost): reset sel_cache.
8515
8516         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8517
8518 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * text2.C (setCursorIntern): put debuging code in INSETS channel
8521
8522 2002-03-19  André Pönitz <poenitz@gmx.net>
8523
8524         * lyxfunc.C: tiny whitespace change
8525
8526 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * ToolbarDefaults.C (init):
8529         * LyXAction.C (init):
8530         * commandtags.h:
8531         * BufferView_pimpl.C (Dispatch):
8532         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8533
8534 2002-03-19  Allan Rae  <rae@lyx.org>
8535
8536         * exporter.C (Export): removeAutoInsets before doing anything else.
8537         While I've just introduced a dependency on BufferView this really is
8538         the best place to clean the buffer otherwise you need to cleanup in
8539         a dozen places before calling export or cleanup in a dozen functions
8540         that export calls.
8541
8542         * converter.C (runLaTeX):
8543         (scanLog): Better handling of removeAutoInsets and screen updates.
8544
8545         * lyxfunc.C (dispatch): small whitespace changes
8546
8547 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8548
8549         * WorkArea.C (C_WorkAreaEvent): return a value.
8550         (event_cb): return 1 if we handled the event, 0 otherwise.
8551
8552         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8553
8554 2002-03-18  Juergen Vigna  <jug@sad.it>
8555
8556         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8557         (GetAdditionalWidth): ditto.
8558         (RightLine): ditto.
8559         (LeftLine): ditto.
8560
8561         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8562         inset if we're there actually (probably not used right now but this
8563         is the direction to go for unifying code).
8564         (paste): disable code to clear the selection.
8565
8566         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8567         inside an InsetText and move the check further up as it is in the
8568         wrong place.
8569
8570         * text2.C (pasteSelection): set a selection over the pasted text.
8571
8572 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8573
8574         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8575         and libgraphics to build on Cygwin.
8576
8577 2002-03-15  Juergen Vigna  <jug@sad.it>
8578
8579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8580         inserting an Inset into the paragraph. I know this is not the best
8581         fix but we already use current_view in CutAndPaste so we will remove
8582         all of it's using at the same time.
8583
8584         * buffer.C (sgmlError): deactivated function till it is rewritten in
8585         the right mode, now it can create problems.
8586
8587         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8588         before accessing it.
8589
8590 2002-03-14  Juergen Vigna  <jug@sad.it>
8591
8592         * undo_funcs.C (textHandleUndo): do the right thing when updating
8593         the inset after the undo/redo.
8594
8595         * text2.C (setCursor): just some testcode for #44 not ready yet.
8596
8597         * undo_funcs.C (textHandleUndo): set the next() and previous()
8598         pointers of the paragraph to 0 before deleting otherwise we have
8599         problems with the Paragraph::[destructor].
8600
8601         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8602         on a paragraph insertion.
8603
8604 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * buffer.C (asciiParagraph): use += operator for char append to
8607         string.
8608
8609         * paragraph.C (getFontSettings): compare >= not just >
8610         (highestFontInRange): ditto
8611         (setFont): ditto
8612
8613 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * paragraph.C: change several algorithm to be more appripriate for
8616         the problem domain. This is lookip in FontList and in the InsetList.
8617
8618 2002-03-13  André Pönitz <poenitz@gmx.net>
8619
8620         * commandtags.h:
8621         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8622
8623 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * commandtags.h:
8626         * LyXAction.C:
8627         * lyxfunc.C:
8628         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8629
8630 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8631
8632         * Painter.C (display): anon helper function, adjust code for this
8633         change.
8634         (pixmap): remove function.
8635
8636         * Painter.h: remove private display variable.
8637
8638         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8639
8640 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8641
8642         * WorkArea.[Ch]: remove figinset_canvas cruft.
8643
8644 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8645
8646         * lyxtextclass.C (operator): add one item cache optimization.
8647
8648         * bufferlist.h: doxy changes
8649
8650         * bufferlist.C: ws changes
8651
8652         * DepTable.[Ch] (ext_exist): place const in the right spot.
8653
8654         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8655         call resizeInsets.
8656         (workAreaExpose): call resizeInsets when the with BufferView changes.
8657         (Dispatch): adjust for protectedBlank removal
8658         (specialChar): call updateInset if the insert went ok.
8659
8660         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8661         specialChar instead.
8662
8663         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8664
8665         * BufferView.h: doxy change
8666
8667         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8668
8669         * lyxtextclass.C (operator[]): remove non-const version
8670         (defaultLayout): remove non-const version
8671
8672 2002-03-12  Juergen Vigna  <jug@sad.it>
8673
8674         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8675         did resize the LyXText too.
8676
8677         * buffer.C (readLyXformat2): set layout information on newly allocated
8678         paragraphs.
8679
8680         * tabular.C (OldFormatRead): set layout information on the paragraph.
8681
8682 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8683
8684         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8685
8686 2002-03-11  Juergen Vigna  <jug@sad.it>
8687
8688         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8689         plainly wrong.
8690         (resizeCurrentBuffer): force also the insets to resize themselfes.
8691         (moveCursorUpdate): fixed up for InsetText.
8692
8693 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8694
8695         * commandtags.h:
8696         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8697         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8698         value of Dialogs::tooltipsEnabled().
8699         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8700
8701 2002-03-08  Juergen Vigna  <jug@sad.it>
8702
8703         * BufferView_pimpl.C (updateInset): update inset inside inset also
8704         if it isn't inside theLockingInset().
8705
8706 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8707
8708         * buffer.C (asciiParagraph): redo some of the word and line length
8709         handling.
8710         (getLists): look for Caption instead of caption.
8711
8712 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8713
8714         * buffer.C (Buffer): initialize niceFile to true
8715         (makeLaTeXFile):
8716         (makeLinuxDocFile):
8717         (makeDocBookFile): make sure niceFile is true on exit
8718
8719 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8722
8723 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8724
8725         * LyXSendto.C: remove.
8726         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8727         * lyx_gui.C: remove now-redundant comment.
8728         * ColorHandler.h: remove forward declaration of class WorkArea.
8729         * lyxfunc.C: remove #include "WorkArea.h".
8730
8731 2002-03-07  Juergen Vigna  <jug@sad.it>
8732
8733         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8734         got moved away with the DEPM and also set the inset_owner always
8735         right which before could have been omitted.
8736
8737 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8738
8739         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8740         wanted layout is not found.
8741
8742 2002-03-07  Juergen Vigna  <jug@sad.it>
8743
8744         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8745
8746 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8747
8748         * paragraph.C (breakParagraph): use default layout not layout of
8749         prev paragraph.
8750         (Paragraph): clear ParagraphParameters.
8751
8752 2002-03-06  Juergen Vigna  <jug@sad.it>
8753
8754         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8755         otherwise it would not be a valid lenght. Fixed a special case in
8756         the minipage compatibility read where we end the document with a
8757         minipage.
8758
8759         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8760         was set as it could be 0 for InsetTexts first entry.
8761
8762 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8763
8764         * paragraph.C (writeFile): if layout is empty write out
8765         defaultLayoutName().
8766
8767         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8768         file without named layout we set layout to defaultLayoutName().
8769
8770 2002-03-06  Juergen Vigna  <jug@sad.it>
8771
8772         * CutAndPaste.C (copySelection): set layout for new paragraph.
8773
8774         * text.C (prepareToPrint): leave ERT inset left aligned
8775         (leftMargin): don't indent paragraphs inside ERT insets
8776
8777 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8778
8779         * paragraph.C (breakParagraph): dont call clear do the work manually
8780
8781         * paragraph.[Ch] (clear): remove function
8782
8783 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8784
8785         * paragraph.C (Paragraph): dont call clear, the work has already
8786         been done.
8787
8788         * lyxtextclass.C (operator): assert if n is empty
8789
8790         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8791         work manually instead.
8792
8793 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * BufferView_pimpl.C: protect selectionLost against text == 0
8796
8797 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8798
8799         * text.C (breakParagraph): fix a setting layout to '0' problem.
8800
8801 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8802
8803         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8804         final location of file, for the included files, and graphics.
8805
8806 2002-03-05  Juergen Vigna  <jug@sad.it>
8807
8808         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8809
8810 2002-03-04  Juergen Vigna  <jug@sad.it>
8811
8812         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8813
8814         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8815         last column of multicolumn cells.
8816         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8817
8818 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8819
8820         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8821         file if it doesn't go to a temporary file.
8822
8823         * buffer.C (sgmlOpenTag):
8824         (sgmlCloseTag):  remove extra newline insertion.
8825
8826 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * text.C (getRowNearY): comment out debug msg
8829
8830 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8831
8832         * text2.C: first -> first_y
8833
8834         * text.C (getRowNearY): add some attemts at a possible
8835         optimization, not working.
8836
8837         * tabular.[Ch]: add BufferParams to several function so that newly
8838         created paragraph can be initialized to he default layotu for the
8839         buffers textclass.
8840
8841         * tabular-old.C (ReadOld): add buf->params to call of Init
8842
8843         * screen.C: rename text->first to text->first_y
8844
8845         * paragraph.C (breakParagraph): always set layout in the broken
8846         paragraph
8847
8848         * lyxtextclass.C (Read): remove lowercase
8849         (hasLayout): ditto
8850         (operator): ditto
8851         (delete_layout): ditto
8852
8853         * lyxtext.h: rename first -> first_y
8854
8855         * lyxlayout.C (Read): remove lowercase
8856         (name): ditto
8857         (setName): ditto
8858         (obsoleted_by): ditto
8859
8860         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8861
8862         * buffer.C (insertErtContents): add params are to InsetERT
8863         (parseSingleLyXformat2Token): add code to check if a paragraphs
8864         layout really exist.
8865         (parseSingleLyXformat2Token): add params to several inset
8866         constructors
8867         (asciiParagraph): remove lowercase, do the layout comparisons with
8868         no_case
8869
8870         * BufferView_pimpl.C (cursorNext): first -> first_y
8871         (resizeCurrentBuffer): first -> first_y
8872         (updateScrollbar): first -> first_y
8873         (scrollCB): first -> first_y
8874         (workAreaMotionNotify): first -> first_y
8875         (workAreaButtonPress): first -> first_y
8876         (checkInsetHit): first -> first_y
8877         (cursorPrevious): first -> first_y
8878         (cursorNext): first -> first_y
8879         (Dispatch): add buffer_->params to severl inset contructors
8880
8881 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * lyxlayout.C (Read): remove some debug info that I forgot.
8884
8885         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8886         clean up the code slightly.
8887         (makeLinuxDocFile): ditto
8888         (makeDocBookFile): ditto
8889
8890         * text2.C: layout as string
8891
8892         * text.C: layout as string
8893
8894         * paragraph_pimpl.C: layout as string
8895
8896         * paragraph.[Ch]: layout as string
8897
8898         * lyxtextclasslist.[Ch]: layout as string
8899
8900         * lyxtextclass.[Ch]: layout as string
8901
8902         * lyxtext.h: layout as string
8903
8904         * lyxlayout.[Ch]: layout as string
8905
8906         * lyx_cb.C: layout as string
8907
8908         * bufferview_funcs.C: layout as string
8909
8910         * bufferparams.C: layout as string
8911
8912         * buffer.C: layout as string
8913
8914         * LyXView.[Ch]: layout as string
8915
8916         * LaTeXFeatures.[Ch]: layout as string
8917
8918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8919
8920         * BufferView_pimpl.C: change current_layout to string, remove
8921         lyx::layout_type.
8922         (Dispatch):
8923         (smartQuote):
8924         (insertInset):
8925         (workAreaButtonRelease): layout as string
8926
8927         * BufferView2.C (unlockInset): adjust
8928
8929         * vspace.C (asLatexCommand): use an explict temp variable.
8930
8931 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * Makefile.am: use FRONTEND_*
8934
8935 2002-03-01  Juergen Vigna  <jug@sad.it>
8936
8937         * tabular.C (SetWidthOfMulticolCell): changed to something better
8938         I hope but still work in progress.
8939         (recalculateMulticolumnsOfColumn): renamed function from
8940         recalculateMulticolCells as it is more appropriate now.
8941         (SetWidthOfCell): calculate multicols better.
8942
8943 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8944
8945         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8946
8947         * lyxfunc.C (processKeySym): print sequence also if it is
8948         `deleted' (complete)
8949
8950         * kbsequence.C (print): print sequence even if it is deleted
8951         (complete would be a better word, actually).
8952
8953         * lyxfunc.C (dispatch): print complete options after a prefix key
8954
8955         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8956
8957 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8958
8959         * text2.C (setCharFont): eliminate setCharFont code duplication.
8960
8961 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8964         LFUN_TABULAR_FEATURE (bug #177)
8965
8966 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8967
8968         * Makefile.am: remove figure.h
8969
8970 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8971
8972         * Bufferview_pimpl.C:
8973         * CutAndPasteC:
8974         * LaTeX.C:
8975         * LyXSendto.C:
8976         * buffer.C:
8977         * bufferlist.C:
8978         * converter.C:
8979         * language.C:
8980         * lyxfunc.C:
8981         * lyxvc.C:
8982         * paragraph.C:
8983         * text.C:
8984         * text2.C: remove #include "lyx_gui_misc.h".
8985
8986         * LaTeX.C: added #include <cstdio>
8987
8988 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8991         that the paragraph following this one can have.
8992
8993         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8994
8995         * vspace.C (asLatexCommand): fix bogus gcc warning
8996
8997         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8998
8999 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9000
9001         * text2.C (setLayout): get rid of redundant code
9002
9003 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9004
9005         * text2.C (incDepth): make sure depth cannot be increased beyond
9006         reasonable values.
9007
9008 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9009
9010         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9011         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9012
9013         * PainterBase.h (image):
9014         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9015         a LyXImage const *.
9016
9017 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * BufferView.C:
9020         * BufferView.h:
9021         * BufferView_pimpl.C:
9022         * BufferView_pimpl.h:
9023         * LaTeXFeatures.C:
9024         * LyXAction.C:
9025         * LyXView.C:
9026         * Makefile.am:
9027         * UpdateList.h:
9028         * UpdateList.C:
9029         * buffer.C:
9030         * figure.h:
9031         * figureForm.C:
9032         * figureForm.h:
9033         * figure_form.C:
9034         * figure_form.h:
9035         * lyx_cb.C:
9036         * lyx_gui.C:
9037         * lyx_gui_misc.C:
9038         * lyxfunc.C:
9039         * sp_base.h:
9040         * sp_ispell.h:
9041         * sp_pspell.h:
9042         * sp_spell.C: remove fig inset, and the crap house of
9043           cards that follows it
9044
9045 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * Makefile.am:
9048         * lyxserver.C:
9049         * os2_defines.h:
9050         * os2_errortable.h:
9051         * nt_defines.h: move .h into support/
9052
9053         * vms_defines.h: remove
9054
9055         * WorkArea.C: add space in debug output
9056
9057         * text2.C:
9058         * paragraph.C:
9059         * buffer.C: add WITH_WARNINGS
9060
9061         * vc-backend.h:
9062         * vc-backend.C:
9063         * bufferlist.C: s/retrive/retrieve/, add docs
9064
9065         * vspace.h:
9066         * vspace.C:
9067         * kbmap.h:
9068         * lyxlength.h:
9069         * lyxgluelength.h:
9070         * length_common.h:
9071         * chset.h:
9072         * chset.C: add docs
9073
9074         * lyxgui.C: add ID to X error handler
9075
9076         * lyxtestclass.c: fix typo
9077
9078 2002-02-26  Juergen Vigna  <jug@sad.it>
9079
9080         * tabular_funcs.C (write_attribute): changed so that some default
9081         attributes are not written at all.
9082         (getTokenValue): set default values before trying to read the
9083         value so we have the return value always set as default if we don't
9084         find the token we search for.
9085
9086         * tabular.C (Write): write bools as bools not as strings!
9087
9088 2002-02-22  Juergen Vigna  <jug@sad.it>
9089
9090         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9091         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9092
9093         * text.C (leftMargin): don't add an indent for paragraphs inside
9094         tabular cells (fix #208).
9095
9096 2002-02-21  José Matos  <jamatos@fep.up.pt>
9097
9098         * tabular.C (docBook): fixed support for long tables.
9099
9100 2002-02-20  Juergen Vigna  <jug@sad.it>
9101
9102         * text2.C (getFont): get the drawing font of the Inset if this
9103         paragraph is inside an inset (only important for InsetERT for now).
9104
9105         * buffer.C (insertErtContents): use new lanugage params in ERT
9106         constructor.
9107
9108         * CutAndPaste.C: commenting out seemingly uneeded code.
9109
9110 2002-02-19  Allan Rae  <rae@lyx.org>
9111
9112         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9113         Iterators might be simple to use but they also get invalidated.
9114         (removeAutoInsets): renamed saved cursor tracking variables and added
9115         some comments to clarify what everything does.
9116
9117 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9118
9119         * Chktex.C:
9120         * LaTeX.C:
9121         * LyXSendto.C:
9122         * converter.C:
9123         * lyx_cb.C:
9124         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9125         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9126
9127         * lyxfunc.C:
9128         * vc-backend.h: remove #include "support/syscall.h"
9129
9130         * LaTeX.C:
9131         * LyXSendto.C:
9132         * converter.C: rearrange #includes in Lars' approved fashion.
9133
9134         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9135         forward declare class Timeout in the header file.
9136
9137         * XFormsView.C: changes due to the above.
9138
9139         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9140         similar to LyXView.
9141
9142         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9143         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9144
9145 2002-02-18  José Matos  <jamatos@fep.up.pt>
9146
9147         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9148         insets contents.
9149
9150 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9151
9152         * a lot of small ws changes
9153         * add a lot of using std::XXX
9154         * use std construcs some places where approp.
9155         * use some exisint stuff from lyxfunctional where approp.
9156         * Make file changes to use partial linking (lets test this now...)
9157
9158 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9159
9160         * Chktex.C:
9161         * buffer.C:
9162         remove #include "support/syscontr.h" as it's redundant. Always has been.
9163
9164         * Chktex.C:
9165         * LaTeX.C:
9166         * LyXSendto.C:
9167         * converter.C:
9168         * lyx_cb.C:
9169         * vc-backend.C:
9170         change Systemcalls::System to Systemcalls::Wait and
9171         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9172         No change of functionality, just reflects the stripped down Systemcalls
9173         class.
9174
9175 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9176
9177         * debug.[Ch]: add a GRAPHICS type to the enum.
9178
9179 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9182
9183         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9184         there is an inset.
9185
9186 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9189         match the changes below.
9190
9191         * text2.C (toggleInset): if there is not editable inset at cursor
9192         position, try to see if cursor is _inside_ a collapsable inset
9193         and close it.
9194
9195 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9196
9197         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9198         document menu has a nice checkbox
9199
9200 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9201
9202         * lyxlength.C (asLatexString): change PW to output as percent of
9203         \textwidth.
9204
9205         * lengthcommon.C: change '%' to 't%'
9206
9207         * lyxfunc.C (dispatch): a few comments from Martin
9208
9209 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9210
9211         * WorkArea.h:
9212         * WorkArea.C:
9213         * BufferView_pimpl.h:
9214         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9215           the X selection.
9216
9217 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9218
9219         * vspace.C (inPixels): fix compiler warning
9220
9221 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9222
9223         * lyxfunc.C (getStatus): fix status message for disabled commands.
9224
9225 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C: fix crash on close buffer
9228         during selection (#227)
9229
9230 2002-01-27  Herbert Voss  <voss@lyx.org>
9231
9232         * buffer.C: link old Figure to new graphic inset
9233
9234 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9235
9236         * FontLoader.C (getFontinfo): Change the latex font names in order
9237         to match the names of type1inst.
9238
9239 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9240
9241         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9242
9243         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9244         (extchanged): ditto
9245         (ext_exist): ditto
9246         (remove_files_with_extension): ditto
9247         (remove_file): ditto
9248         (write): ditto
9249
9250         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9251         document is smaller than the work area height. Do not initialize
9252         static variables to 0.
9253
9254 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9257
9258         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9259         LFUN_LAYOUT_PARAGRAPHS.
9260
9261         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9262         tabular. It is possible to provide a possible cell, which will
9263         typically be the actcell from the corresponding insettabular
9264
9265         * lyxfunc.C (getStatus): small cleanup; disable
9266         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9267         true
9268
9269 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9272
9273         * paragraph.C (startTeXParParams):
9274         (endTeXParParams): new methods. The LaTeX code to
9275         start/end paragraph formatting
9276         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9277         empty (fixes bug #200)
9278
9279         * vspace.C (inPixels): adapt to the change below
9280         (inPixels): [later] more cleanups (remove unused variables)
9281
9282         * lyxlength.C (inPixels): change to use a width and a height as
9283         parameter.
9284
9285 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9288         Replaced with \paperwidth
9289
9290         * DepTable.C (insert): add std:: qualifier
9291
9292 2002-01-18  Allan Rae  <rae@lyx.org>
9293
9294         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9295         updated also?
9296
9297         * text.C (drawInset): Turned out I didn't know enough about how
9298         rebreaking worked.  This fixes most of the redraw problems.  I see
9299         an occasional cursor trail when a line is broken now and the cursor
9300         placement can seem out by a few pixels also after a rebreak.
9301
9302 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * buffer.C (parseSingleLyXformat2Token): update because minipage
9305         width is now a LyXLength
9306
9307         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9308
9309         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9310         math insets
9311
9312 2002-01-17  Juergen Vigna  <jug@sad.it>
9313
9314         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9315
9316         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9317         is set correctly and the inset is updated correctly.
9318
9319 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9320
9321         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9322         the beginning of the loop.
9323
9324 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * lyxrc.C: improve help for use_scalable_fonts
9327
9328 2002-01-17  Allan Rae  <rae@lyx.org>
9329
9330         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9331
9332 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9335         make sure to set their inset_owner to the right value (bug #171)
9336
9337 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9338
9339         * DepTable.h
9340         * DepTable.C: Implement mtime checking to reduce time spent doing
9341         CRCs.
9342
9343 2002-01-16  Juergen Vigna  <jug@sad.it>
9344
9345         * tabular.C (GetAdditionalHeight): one of error fixed.
9346
9347         * lyxrc.C (output): small fix in writing use_pspell.
9348
9349 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9350
9351         * sp_base.h: #include LString.h
9352
9353 2002-01-16  Allan Rae  <rae@lyx.org>
9354
9355         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9356         Can someone check this please?
9357
9358         * text.C (drawInset): It was possible that p.row would be removed by
9359         breakAgainOneRow upsetting a few other settings.  There may be another
9360         small tweak possible by setting need_break_row = 0 when p.row has been
9361         removed but I don't know enough about the logic here.
9362
9363 2002-01-15  Allan Rae  <rae@lyx.org>
9364
9365         * text.C (insertChar): removed conditional truism.
9366
9367         * BufferView2.C (removeAutoInsets): More tweaks.
9368         cur_par_prev could be a stray pointer.  Check for trailing empty line
9369         in case last line was cur_par and only had an error inset on it.
9370
9371 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9374         absolute
9375
9376         * vc-backend.C (most methods):
9377         * exporter.C (Export):
9378         * converter.C (convert):
9379         (runLaTeX):
9380         * LyXSendto.C (SendtoApplyCB):
9381         * lyxfunc.C (dispatch):
9382         (menuNew):
9383         (open):
9384         (doImport):
9385         * lyx_cb.C (AutoSave):
9386         (InsertAsciiFile):
9387         * BufferView_pimpl.C (MenuInsertLyXFile):
9388         * buffer.C (runChktex): use Buffer::filePath().
9389
9390         * buffer.h: rename filename to filename_; rename filepath to
9391         filepath_ and make it private
9392         (filePath): new method
9393
9394         * buffer.C (writeFile): use fileName()
9395         (getLatexName):
9396
9397         * lyx_main.C (init): fix starting  of LyX when the binary is a
9398         link from so,ewhere else.
9399
9400         * minibuffer.C: include <cctype> for isprint
9401
9402 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9403
9404         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9405         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9406         name clash with InsetCollapsable's width function.
9407
9408 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9409
9410         * lastfiles.C: include <iterator>
9411
9412 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9413
9414         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9415         std::count.
9416
9417         * buffer.C (makeLaTeXFile): ditto.
9418         Also make loop operation more transparent.
9419
9420 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9421
9422         * ToolbarDefaults.C: remove trailing comma closing namespace.
9423
9424         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9425
9426         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9427         as in WorkArea.
9428
9429         * trans.C (Load): comment out unused variable, allowed.
9430
9431 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9432
9433         * minibuffer.[Ch] (append_char): new method to recieve input from the
9434         drop-down completion browser. If a key was pressed, then recieve this
9435         char and append it to the existing string.
9436         (peek_event): modify the positioning data passed to the completion
9437         browser so that it can be placed above the minibuffer rather than below.
9438 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9439
9440         * LyXAction.C (init): alloe error-next for readonly documents.
9441
9442         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9443         count.
9444
9445 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * bufferlist.C (readFile): create the buffer _after_ checking that
9448         the file exists.
9449
9450         * lyxfunc.C (verboseDispatch): fix handling of arguments
9451
9452         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9453
9454         * lyxrc.C: use string::erase() instead of initializing to "".
9455
9456
9457 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * BufferView_pimpl.h:
9460         * BufferView_pimpl.C:
9461         * WorkArea.h:
9462         * WorkArea.C:
9463         * text2.C: tell X when we have made a selection for copying
9464
9465 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * BufferView_pimpl.C (MenuInsertLyXFile):
9468         * lyxfunc.C (menuNew):
9469         (open):
9470         (doImport): add shortcuts to directory buttons
9471
9472         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9473         open a float)
9474
9475         * lyxfunc.C (setStatusMessage):
9476         (getStatusMessage): new methods
9477         (getStatus):use setStatusMessage instead of setErrorMessage
9478         (dispatch): when function is disabled, set error message here
9479         [instead of in getStatus previously]
9480
9481         * BufferView_pimpl.C (workAreaButtonRelease): update
9482         toolbar/menubar here too.
9483
9484 2002-01-13  Allan Rae  <rae@lyx.org>
9485
9486         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9487         Now seems indestructible.  Remaining task is to audit all other
9488         code affected by deleteEmptyParagraphMechanism.  One small quirk
9489         left is that an empty document with an error in the preamble can
9490         be made to report an error but no error box appears.  I don't know
9491         where it goes.
9492         (removeAutoInsets): Improved comments.
9493
9494 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * Thesaurus.h:
9497         * Thesaurus.C: update for Aiksaurus 0.14
9498
9499 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * text2.C (firstParagraph): removed member function, all uses
9502         replaces with ownerParagraph
9503         (redoParagraphs): here
9504         (updateInset): here
9505         (toggleAppendix): here
9506         * BufferView2.C (insertErrors): here
9507         (setCursorFromRow): here
9508
9509 2002-01-13  Allan Rae  <rae@lyx.org>
9510
9511         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9512         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9513         There is still a way to segfault this although you may have to do this
9514         multiple times: Have an InsetERT with an unknown command in it.
9515         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9516         <down-arrow>, <Enter> again, View->DVI, BANG!
9517
9518         * text2.C (setCursor):
9519         (deleteEmptyParagraphMechanism):
9520         * lyxtext.h (setCursor):
9521         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9522         Making use of the return value may help fix other bugs.
9523
9524 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9527
9528         * LyXView.C (updateMenubar): call MenuBar::update here
9529         (updateToolbar): but not here
9530         (showState): do not update toolbar/menubar
9531
9532         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9533         should need to care about that.
9534
9535         * lyxfunc.C (verboseDispatch): simplify a bit
9536         (getStatus): have a version which takes a pseudoaction, and
9537         another which requires a (kb_action,string).
9538
9539         * LyXAction.C (retrieveActionArg): make it work also when action
9540         is not a pseudo-action.
9541         (getActionName): simplify a bit
9542         (helpText):
9543
9544 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * lyxfunc.C (verboseDispatch): new families of methods with
9547         several ways to specify a command and a bool to indicate whether
9548         the command name and shortcut should be displayed in minibuffer
9549         (eventually, we could extend that to a finer bitmask like
9550         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9551         (dispatch): the pristine dispatch command which just, well,
9552         dispatchs! Note it still sets its result to minibuffer; I'm not
9553         sure we want that.
9554
9555         * lyxfunc.h: remove setHintMessage
9556
9557         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9558
9559 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9560
9561         * BufferView_pimpl.C (specialChar): delete new inset if we have
9562         not been able to insert it.
9563
9564         * kbmap.C: revert to using int instead of kb_action, since all we
9565         are dealing with is pseudo-actions.
9566
9567         * LyXAction.C (searchActionArg): change to return int instead of
9568         kb_action, since the result is a pseudoaction.
9569
9570 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9571
9572         * buffer.C (insertErtContents): Fix (partially) the font bug.
9573
9574 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9575
9576         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9577         as the other one is broken on my machine!
9578
9579 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9580
9581         * commandtags.h:
9582         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9583
9584 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9585
9586         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9587         reflect their actual use. Provide compatibility code for older lyxrc
9588         files.
9589
9590         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9591         FL_NORMAL_STYLE.
9592         change names of popup font variables in line with the changes to lyxrc.C
9593
9594 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * buffer.C (asciiParagraph): avoid outputing a word twice after
9597         an inset.
9598
9599         * lyxrc.C (getDescription): document that document_path and
9600         template_path can be empty.
9601
9602 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9603
9604         * LaTeXFeatures.C (getMacros):
9605         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9606
9607         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9608
9609         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9610         getPackages.
9611         (getPackages): rename feature "floats" to "float". Use an array to
9612         iterate over 'simple' features (i.e. just a \usepackage). Add
9613         handling of "amsmath" (renamed from "amsstyle").
9614
9615 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9616
9617         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9618         features list.
9619
9620 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9621
9622         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9623         FuncStaus::FuncStatus & FuncStaus::some_method().
9624
9625 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9626
9627         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9628         of the func_satus stuff. Edited and massaged in various ways by
9629         JMarc.
9630
9631         * lyxfunc.C (getStatus): use FuncStatus
9632
9633 2002-01-08  Juergen Vigna  <jug@sad.it>
9634
9635         * text.C (nextBreakPoint): use function Inset::isChar().
9636
9637         * paragraph.C (TeXOnePar): use function
9638         Inset::forceDefaultParagraphs.
9639
9640         * buffer.C (latexParagraphs): use function
9641         Inset::forceDefaultParagraphs.
9642
9643 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9644
9645         * lyx_gui.C (init): set the style of the menu popups to
9646         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9647
9648 2002-01-07  Juergen Vigna  <jug@sad.it>
9649
9650         * text.C (setHeightOfRow): small fix
9651         (prepareToPrint): don't look at alignment if we don't have the place
9652         for doing it.
9653
9654 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9655
9656         * box.C: New file. Move the Box methods and functions out of box.h,
9657         following Lars' suggestion.
9658
9659 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * box.h: #include "support/LOstream.h", needed for inlined function.
9662
9663         * lyxtextclass.C:
9664         * lyxtextclasslist.C: added some using std declarations.
9665
9666 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9667
9668         * box.h: make signed dimensions to allow insets wider than
9669           the screen (bug #162)
9670
9671         * BufferView_pimpl.C: add some insetHit debug
9672
9673 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * vc-backend.C: add FIXME
9676
9677 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxfunc.C (getStatus): enable code for showing math font status
9680         in toolbar/menu.
9681
9682 2002-01-07  Juergen Vigna  <jug@sad.it>
9683
9684         * text.C (nextBreakPoint): removed debug output not needed anymore.
9685
9686 2002-01-06  Juergen Vigna  <jug@sad.it>
9687
9688         * text.C (nextBreakPoint): fixed up this function we had this bug
9689         since ever but now hopefully we break row better.
9690         (insertChar): we have to check if an inset is the next char as it
9691         could now happen that a large inset is causing a break.
9692
9693 2002-01-05  Juergen Vigna  <jug@sad.it>
9694
9695         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9696         if it doesn't like to be drawed.
9697
9698 2002-01-04  Juergen Vigna  <jug@sad.it>
9699
9700         * BufferView2.C (lockInset): forgot to set a cursor.
9701
9702         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9703
9704 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9705
9706         * FormMathsPanel.C:
9707         * FormMathsPanel.h
9708         * MathsSymbols.C:
9709         * form_maths_panel.C:
9710         * form_maths_panel.h:
9711         * form_maths_panel.fd: implemented sub- and super- buttons in math
9712         panel.
9713
9714         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9715         (or ^ space) to be used as in TeX (req'd by André).
9716
9717         * lyxfunc.C: Allow ^ and _ again to be used both as
9718         super/subscript (mathed) and as themselves (in text).
9719
9720 2002-01-03  Allan Rae  <rae@lyx.org>
9721
9722         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9723         "LyX" or the filename of the current buffer if it has one.  This is a
9724         modified form of John Levon's patch.
9725
9726         * XFormsView.C (setWindowTitle): also set icon title.
9727
9728         * LyXView.h (setWindowTitle): signature changed.
9729         * XFormsView.h (setWindowTitle): ditto.
9730
9731 2002-01-02  Juergen Vigna  <jug@sad.it>
9732
9733         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9734
9735 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * screen.C (topCursorVisible): introduce a temp var for
9738         text->cursor.row(), handle the case where this row is null. (kindo
9739         hachish)
9740
9741         * text2.C (setCursor): add a couple of asserts.
9742
9743         * paragraph.h (inset_iterator): add -> operator
9744
9745         * paragraph.[Ch] (autoDeleteInsets): remove member function
9746
9747         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9748         cursor pos correctly and handle inset deletion by itself.
9749         (insertErrors): move iterator declaration out of for expression
9750
9751         * lyxtextclass.C: add <algorithm>
9752
9753         * Makefile.am: added the new files to sources, removed layout.C
9754
9755         * layout.C: removed file
9756
9757         * layout.h: remove LYX_DUMMY_LAYOUT
9758
9759         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9760         layout.
9761
9762         * lyxlayout.[Ch]:
9763         * lyxtextclass.[Ch]:
9764         * lyxtextclasslist.[Ch]: new files
9765
9766         * include order changes to a lot of files, also changes because of
9767         the six new files.
9768
9769 2001-12-27  Juergen Vigna  <jug@sad.it>
9770
9771         * buffer.C (asciiParagraph): more fixes.
9772
9773         * tabular.C (ascii): make ascii export support export of only the
9774         data separated by a column-delimiter.
9775         (ascii): better support for ascii export.
9776
9777         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9778
9779 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * tabular_funcs.C: use a "using std::getline" instead of the
9782         previous fix from Angus (necessary for cxx + lyxstring)
9783
9784 2001-12-24  Juergen Vigna  <jug@sad.it>
9785
9786         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9787
9788         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9789         problems. First check a minipage also if we have some ert-contents
9790         (not only on par->size(), second set the right depth of the paragraph
9791         on the relink to the root-paragraph-list!
9792
9793         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9794         which then did not anymore update the main paragraphs on undo/redo!
9795
9796 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9799         code. Support all font-changing funcs (even those which are not in
9800         menu currently). Support for reporting font settings in
9801         mathed (disabled until Andre provides a function on mathed's side).
9802
9803         * func_status.h (toggle): small helper function to set toggle
9804         state on a flag.
9805
9806 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9807
9808         * tabular_funcs.C: getline -> std::getline
9809
9810 2001-12-21  Juergen Vigna  <jug@sad.it>
9811
9812         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9813         accessed and could be 0 (I couldn't generate this but it seems
9814         Michael could!).
9815
9816 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9817
9818         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9819         * tabular_funcs.h: here and include iosfwd
9820
9821 2001-12-20  Juergen Vigna  <jug@sad.it>
9822
9823         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9824         inside inset but undo_par was.
9825
9826 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * Thesaurus.C: always include <config.h> in sources.
9829
9830         * Painter.h:
9831         * lyxlookup.h:
9832         * box.h: do not include <config.h> in header files
9833
9834         * text.C (paintLastRow): remove unused variable
9835
9836         * text.C (transformChar):
9837         (insertChar):
9838         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9839
9840         * Painter.C (text):
9841         * font.C (width): rewrite to use uppercase() instead of
9842         islower/toupper.
9843
9844         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9845
9846 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * lyxfind.C: clean up of find failure position change
9849
9850 2001-12-20  Juergen Vigna  <jug@sad.it>
9851
9852         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9853
9854         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9855         (TeXRow): added to LaTeX a single tabular row.
9856         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9857         (Latex): simplified and finally good LT-h/f support.
9858         (various_functions): just small adaptions for LT-h/f support.
9859
9860         * tabular_funcs.[hC]: added and moved here all not classfunctions
9861         of LyXTabular.
9862
9863 2001-12-19  Juergen Vigna  <jug@sad.it>
9864
9865         * tabular.[Ch]: better support for longtabular options (not finished
9866         yet!)
9867
9868 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * text.C (paintLastRow): use the label font instead of the font of
9871         the last character to compute the size of *_BOX. This makes more
9872         sense and avoids a crash with empty paragraphs.
9873         Use Painter::rectangle to draw EMPTY_BOX.
9874
9875 2001-12-19  Juergen Vigna  <jug@sad.it>
9876
9877         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9878         the paragraphs if the replaced paragraph is not the first one!
9879         Tried to delete not used paragraphs but does not work yet so for
9880         now it's inside #ifdef's and by default off!
9881
9882 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * MenuBackend.C: include "lyx_main.h" instead of declaring
9885         lastfiles (actually was declared as LastFiles* instead of a
9886         scoped_ptr).
9887
9888 2001-12-17  Juergen Vigna  <jug@sad.it>
9889
9890         * tabular.C (AppendColumn): applied John's fix
9891
9892 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9893
9894         * BufferView.h:
9895         * BufferView.C:
9896         * BufferView_pimpl.h:
9897         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9898
9899         * Makefile.am:
9900         * box.h: new start of class for above
9901
9902         * lyxfunc.C: ignore space-only minibuffer dispatches.
9903           Show the command name when it doesn't exist
9904
9905         * minibuffer.C: don't add empty lines to the history
9906
9907         * minibuffer.C: add a space on dropdown completion
9908
9909 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * text.C: fix line above/below drawing in insets
9912
9913 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * lyxlength.C (LyXLength): Initialize private variables.
9916
9917 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9920         when inserting error insets.
9921
9922 2001-12-13  Juergen Vigna  <jug@sad.it>
9923
9924         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9925         actually sometimes the before-paragraph.
9926         (setUndo): don't clear the redostack if we're not actually undoing!
9927
9928 2001-12-06  Juergen Vigna  <jug@sad.it>
9929
9930         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9931         and fixed redoing of main paragraph, so we can use it now ;)
9932
9933         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9934
9935 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9938         Juergen's request
9939
9940 2001-12-13  André Pönitz <poenitz@gmx.net>
9941
9942         * undostack.[Ch]:
9943         * undo_func.C: minor cleanup
9944
9945 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9946
9947         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9948         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9949         font in urw-fonts package which is marked as -urw-fontspecific and
9950         does not work (incidentally, changing the encoding in the
9951         fonts.dir of this package to -adobe-fontspecific fixes the
9952         problem).
9953
9954         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9955         is a crash when undoing first paragraph (Juergen, please take a
9956         look). THis does not mean the undo fix is wrong, just that it
9957         uncovers problems.
9958
9959         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9960         the (Paragraph*) version when needed instead of duplicating the
9961         code.
9962
9963         * text.C (workWidth): use Inset::parOwner to find out where the
9964         inset has been inserted. This is a huge performance gain for large
9965         documents with lots of insets. If Inset::parOwner is not set, fall
9966         back on the brute force method
9967
9968         * paragraph_pimpl.C (insertInset):
9969         * paragraph.C (Paragraph):
9970         (cutIntoMinibuffer): set parOwner of insets when
9971         inserting/removing them
9972
9973         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9974
9975 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9976
9977         * commandtags.h:
9978         * LyXAction.C:
9979         * lyx_main.C:
9980         * lyxfunc.C:
9981         * mathed/formulabase.C:
9982         * mathed/math_cursor.[Ch]:
9983         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9984
9985
9986 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * lyxlength.[Ch] (operator!=): new function
9989
9990 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * text.C (workWidth): use Inset::parOwner to find out where the
9993         inset has been inserted. This is a huge performance gain for large
9994         documents with lots of insets. If Inset::parOwner is not set, fall
9995         back on the brute force method
9996
9997         * paragraph_pimpl.C (insertInset):
9998         * paragraph.C (Paragraph):
9999         (cutIntoMinibuffer): set parOwner of insets when
10000         inserting/removing them
10001
10002         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10003
10004 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * tabular-old.C (getTokenValue):
10007         * tabular.C (getTokenValue):
10008         (write_attribute): new versions for LyXLength
10009         (everywhere): adjust the use of widths
10010
10011         * tabular.h: change the type of widths from string to LyXLength
10012
10013 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10014
10015         * paragraph.C: fixed missing line number count when exporting
10016         Environments to LaTeX file
10017
10018         * buffer.C: added informational message for checking line numbers.
10019
10020 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10023         paragraph, do the 'double space' part, but not the 'empty
10024         paragraph' one.
10025
10026         * text.C (workWidth): small optimization
10027         (getLengthMarkerHeight): use minimal size for negative lengths.
10028
10029 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10030
10031         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10032
10033         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10034
10035 2001-12-11  André Pönitz <poenitz@gmx.net>
10036
10037         * FontLoader.C:
10038         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10039
10040 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * text2.C: keep selection on a setFont()
10043
10044 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * lyx_cb.C: another bv->text misuse, from insert label
10047
10048 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * kbsequence.h:
10051         * kbsequence.C: re-instate nmodifier mask
10052
10053 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10054
10055         * lyx_main.h: make lyxGUI private.
10056
10057 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * lyxfind.C: place the cursor correctly on failed search
10060
10061 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * text.C (getLengthMarkerHeight): for small heights, the arrows
10064         are not always on top/bottom of the text
10065         (drawLengthMarker): smaller arrows; take the left margin in
10066         account; draw also vfills.
10067         (paintFirstRow):
10068         (paintLastRow): remove special code for vfill and standard spaces,
10069         since everything is handled in drawLengthMarker now.
10070
10071 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * buffer.C (insertErtContents): try to handle font and language
10074         interaction a bit better.g
10075
10076         * ColorHandler.C (updateColor): change the hash to cover the whole
10077         LColor enum, ws cleanup
10078         (getGCLinepars): ditto
10079         (getGCLinepars): only lookup in the linecache once.
10080
10081 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * iterators.C (operator++): Make the iterator more robust
10084
10085         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10086         (John's patch)
10087         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10088
10089 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * lyxtext.h:
10092         * text.C: better added space drawing
10093
10094 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * LyXView.C:
10097         * BufferView2.C: fix layout combo update on inset unlock
10098
10099 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * Makefile.am: don't compile unused files
10102
10103 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10104
10105         * lyxfunc.C:
10106         * commandtags.h:
10107         * LyXAction.C: remove old LFUN_LAYOUTNO
10108
10109 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * paragraph_pimpl.h:
10112         * paragraph_pimpl.C: isTextAt() doesn't need font param
10113
10114 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * lyxlex.h:
10117         * lyxlex.C: little cleanup
10118
10119 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * BufferView_pimpl.C: fix insertAscii for insets
10122
10123 2001-12-05  Juergen Vigna  <jug@sad.it>
10124
10125         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10126         set the right font on the "multi" paragraph paste!
10127
10128 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10129
10130         * trans_decl.h:
10131         * trans_mgr.[Ch]:
10132         * trans.[Ch]:
10133         * lyxgluelength.C:
10134         * lyxlength.C: remove out-commented code.
10135
10136         * BufferView_pimpl:
10137         * CutAndPaste.C:
10138         * DepTable.C:
10139         * buffer.C:
10140         * chset.C:
10141         * lastfiles.C:
10142         * lyxlex.C:
10143         * lyxlex_pimpl.C:
10144         * lyxserver.C:
10145         * screen.C:
10146         * tabular-old.C:
10147         * tabular.C:
10148         * text.C:
10149         * trans_mgr.C:
10150         * vc-backend.C: change "while(" to "while ("
10151
10152         * lyxlength.[Ch]: add zero function to check if length is zero or
10153         not
10154         * lyxgluelength.C: use it
10155
10156 2001-12-05  Allan Rae  <rae@lyx.org>
10157
10158         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10159         Works for 2.95.3, from what I understand of Garst's reports this should
10160         work for other g++ versions.  We're screwed if the abs(int) definition
10161         changed between bugfix releases of gcc.
10162
10163 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * text.C: fix chapter label offset !
10166
10167 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * lyxtext.h:
10170         * text.C: fix hfill at end of line, clean up
10171
10172 2001-12-04  Juergen Vigna  <jug@sad.it>
10173
10174         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10175         that we force an update of the inset and it's owners if neccessary.
10176
10177 2001-12-03  Juergen Vigna  <jug@sad.it>
10178
10179         * text.C (rowLast): simplified code
10180
10181 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * lyxfunc.C: fix show options on timeout
10184
10185 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10186
10187         * screen.C (topCursorVisible): scroll half a page when the cursor
10188         reached top of bottom of screen
10189
10190 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * minibuffer.C: deactivate on loss of focus
10193
10194 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10195
10196         * vspace.[Ch] (operator!=): add operator.
10197
10198 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * BufferView_pimpl.C: refuse to open an inset when
10201         there's a selection.
10202
10203 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * BufferView_pimpl.C: allow to click on RHS of full row insets
10206
10207 2001-11-30  Juergen Vigna  <jug@sad.it>
10208
10209         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10210         insets for undo reasons.
10211
10212 2001-11-28  André Pönitz <poenitz@gmx.net>
10213
10214         * vspace.[Ch]: cosmetical changes
10215
10216 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * LyXAction.h:
10219         * LyXAction.C:
10220         * lyxfunc.h:
10221         * lyxfunc.C:
10222         * kbmap.h:
10223         * kbmap.C:
10224         * lyxrc.C:
10225         * kbsequence.h:
10226         * kbsequence.C: part re-write of old kb code
10227
10228         * Painter.C:
10229         * WorkArea.C: remove Lgb_bug_find_hack
10230
10231 2001-11-30  José Matos <jamatos@fep.up.pt>
10232
10233         * buffer.C (makeDocBookFile): add a comment to point a hack.
10234         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10235         Fixed a double write of labels.
10236
10237 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10238
10239         * LaTeX.C:
10240         * LaTeX.h Fixed bug in LaTeX class where it would not
10241         re-run latex if no depfiles were changed, but the .dvi was removed.
10242
10243 2001-11-28  André Pönitz <poenitz@gmx.net>
10244
10245         * all the files from the change on 2001/11/26:
10246         use lyx::layout_type instead of LyXTextClass::size_type
10247         use lyx::textclass_type instead of LyXTextClassList::size_type
10248
10249 2001-11-29  Juergen Vigna  <jug@sad.it>
10250
10251         * text.C: added support for paragraph::isFreeSpacing()
10252
10253         * buffer.C: same as above
10254
10255         * paragraph.h: inserted isFreeSpacing() function to enable
10256         FreeSpacing inside InsetERT.
10257
10258         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10259         of the paragraph's in the cut/copy buffer to 0!
10260
10261         * text2.C (removeRow): remove the assert as it can!
10262
10263         * lyxtext.h: added helper function firstRow returning firstrow and
10264         made firstrow private again.
10265
10266         * BufferView2.C (lockInset): don't relock if we're already locked!
10267
10268         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10269         the only paragraph.
10270         (removeRow): added Assert::(firstrow)
10271
10272         * debug.C: forgot to add INSETTEXT here.
10273
10274 2001-11-28  Juergen Vigna  <jug@sad.it>
10275
10276         * sp_spell.C (initialize): changed error text to more general
10277         spellchecker command use (not only ispell!)
10278
10279         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10280
10281         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10282
10283 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * vspace.C: initialise lyxgluelength on failure
10286
10287 2001-11-28  Allan Rae  <rae@lyx.org>
10288
10289         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10290         declaration & definition that looks like a function declaration.
10291
10292 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * BufferView2.C (copy):
10295         (copyEnvironment): do not clear the selection when doing a copy.
10296
10297         * text.C (paintFirstRow): compilation fix
10298
10299 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10300
10301         * tabular.C (Latex): correct line count when writing latex.
10302
10303 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * paragraph_pimpl.h:
10306         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10307           bug a bit
10308
10309 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * text.C:
10312         * LColor.h:
10313         * LColor.C: change vfillline->added_space
10314
10315         * text.C: add markers and text for added space
10316
10317         * vspace.C: fix comment
10318
10319 2001-11-28  André Pönitz <poenitz@gmx.net>
10320
10321         * paragraph.C: whitespace changes
10322         * all the other files from the change on 2001/11/26:
10323         change *::pos_type into lyx::pos_type
10324
10325 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10328         language of the document when inserting error insets.
10329
10330 2001-11-26  André Pönitz <poenitz@gmx.net>
10331
10332         * BufferView_pimpl.[Ch]:
10333         *       CutAndPaste.C:
10334         * buffer.[Ch]:
10335         * lyxcursor.[Ch]:
10336         * lyxfind.C:
10337         * lyxfunc.C:
10338         * lyxrow.[Ch]:
10339         * paragraph.[Ch]:
10340         * paragraph_pimpl.[Ch]:
10341         * sp_spell.C:
10342         * text.C:
10343         * text2.C: reduce header dependencies, introduce type for positions
10344
10345 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * <various>: change to use Alert.h
10348
10349 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10350
10351         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10352         when encountering an unknown token.
10353         (readLyXformat2): Show an error message if there were unknown tokens.
10354
10355 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * BufferView2.C:
10358         * BufferView_pimpl.C:
10359         * buffer.C:
10360         * paragraph.h:
10361         * text.C:
10362         * text2.C: use par->isInset()
10363
10364 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * paragraph_pimpl.h:
10367         * paragraph_pimpl.C: cleanup
10368
10369 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * text2.C (removeRow):
10372         * text.C (setHeightOfRow): remove useless (and costly) call to
10373         getRow.
10374
10375 2001-11-20  Allan Rae  <rae@lyx.org>
10376
10377         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10378         Now need Inset*::checkInsertChar() to return true for appropriate
10379         cases so that the characters in the minibuffer will actually be
10380         inserted.
10381
10382 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10383
10384         * text.C: change the order of the includes.
10385         (workWidth): initialize it at once.
10386         (workWidth): make maxw unsigned
10387         (setHeightOfRow): remove unused variable (inset)
10388         (selectSelectedWord): remove unused variable (inset)
10389         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10390
10391 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10392
10393         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10394         server is not running.
10395         (openConnection):
10396         (closeConnection): add debug info when server is disabled.
10397
10398         * ColorHandler.C (getGCForeground): send debug message to GUI
10399         channel.
10400
10401         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10402
10403         * kbmap.C (bind): modify because return conventions of
10404         kb_sequence::parse have changed.
10405
10406         * kbsequence.C (parse): only ignore spaces and not any stupid
10407         control character. This avoids tests like s[i] <= ' ', which are
10408         guaranteed to fail with 8bit characters and signed chars.
10409         Change return code to string::npos when there have been no error
10410         (0 was a bad idea when error is at first character)
10411
10412 2001-11-14  José Matos  <jamatos@fep.up.pt>
10413
10414         * buffer.h:
10415         * buffer.C (simpleDocBookOnePar): removed unused argument.
10416
10417 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10420         insets which are part of a word. Paragraph::isLetter takes care of
10421         that now. Use Paragraph::isInset to identify insets.
10422         (selectSelectedWord): do not test for hyphenation break.
10423
10424         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10425         that protected spaces are considered as spaces.
10426
10427         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10428         Inset::isLetter.
10429
10430 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10431
10432         * lyxserver.h:
10433         * lyxserver.C: fix it. and small cleanup.
10434
10435 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * BufferView_pimpl.C: use inline helpers
10438
10439         * LaTeXFeatures.h:
10440         * LaTeXFeatures.C: fix typos
10441
10442         * Spacing.h:
10443         * Spacing.C: move spacing_string into class
10444
10445         * ToolbarDefaults.C: move stuff into namespace anon
10446
10447         * layout.h: update enum
10448
10449         * lyxfunc.C: use better debug
10450
10451         * minibuffer.h: fix typo
10452
10453         * debug.h:
10454         * debug.C:
10455         * WorkArea.C: add and use Debug::WORKAREA
10456
10457         * lyxtext.h:
10458         * text.C:
10459         * text2.C: code re-organisation, inline helpers
10460
10461 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10462
10463         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10464         std::vector.empty().
10465
10466 2001-11-09  Allan Rae  <rae@lyx.org>
10467
10468         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10469         '\n's after tables.  Tabular and ERT inset work now makes this no
10470         longer necessary.
10471
10472 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * minibuffer.h:
10475         * minibuffer.C: fix crash, improve drop-down completion
10476
10477 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxserver.h:
10480         * lyxserver.C: invalidate fd's when doing endPipe()
10481
10482 2001-11-08  José Matos  <jamatos@fep.up.pt>
10483
10484         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10485         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10486
10487         * paragraph.h:
10488         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10489
10490 2001-11-07  José Matos  <jamatos@fep.up.pt>
10491
10492         * buffer.h:
10493         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10494         const qualifier.
10495
10496         * buffer.C (sgmlOpenTag):
10497         * buffer.C (sgmlCloseTag): removed debug info.
10498
10499         * buffer.h (sgmlOpenTag):
10500         * buffer.h (sgmlCloseTag): made public.
10501
10502 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * buffer.C (saveParamsAsDefaults):
10505         * lyx_cb.C (MenuLayoutSave): remove
10506
10507         * LyXAction.C (init):
10508         * commandtags.h:
10509         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10510
10511 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10512
10513         * buffer.C (setPaperStuff): removed from here...
10514
10515         * bufferparams.C (setPaperStuff): ... and moved there.
10516
10517 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * minibuffer.h:
10520         * minibuffer.C:
10521         * XFormsView.C: add support for drop-down completion
10522
10523 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10526         commands.
10527
10528 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10529
10530         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10531         disabled.
10532
10533 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * lyx_main.C: change ref to known bugs
10536
10537 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10538
10539         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10540         to work around older babel problems.
10541
10542 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10543
10544         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10545
10546 2001-10-24  Juergen Vigna  <jug@sad.it>
10547
10548         * tabular-old.C (ReadOld): below variable changes reflected.
10549
10550         * tabular.[Ch]: added ltType struct for longtable header/footer
10551         defines and changed all instances where they are used. Added
10552         future support for double top/bottom rows.
10553
10554 2001-10-24  José Matos  <jamatos@fep.up.pt>
10555
10556         * buffer.h (docbookHandleCaption):
10557         * buffer.C (docbookHandleCaption): removed unused function.
10558         (makeDocBookFile): moved docbook supported version to v4.1.
10559
10560 2001-10-24  José Matos  <jamatos@fep.up.pt>
10561
10562         * tabular.h:
10563         * tabular.C (docbookRow): new function to export docbook code of a row.
10564         (DocBook): now honors the longtable flags.
10565
10566 2001-10-23  José Matos  <jamatos@fep.up.pt>
10567
10568         * LaTeXFeatures.h:
10569         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10570         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10571
10572         * buffer.C (makeLinuxDocFile):
10573         (makeDocBookFile): reworked the preamble, more clean, and with
10574         support for lyx defined entities. Changed the document declaration
10575         to be more XML friendly.
10576
10577         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10578         if we need to output XML that should be done with a filter.
10579
10580 2001-10-22  Juergen Vigna  <jug@sad.it>
10581
10582         * sp_pspell.h (class PSpell): add alive function needed in the
10583         controller to see if the spellchecker could be started.
10584
10585 2001-10-22  Juergen Vigna  <jug@sad.it>
10586
10587         * buffer.C (insertStringAsLines): modify the font for inserting
10588         chars in certain conditions by calling checkInsertChar(font).
10589
10590 2001-10-19  Juergen Vigna  <jug@sad.it>
10591
10592         * text.C (workWidth): use getRow instead of wrong algorithm.
10593         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10594
10595 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * lyxserver.h:
10598         * lyxserver.C:
10599         * lyx_main.h:
10600         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10601
10602 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10603
10604         * text.C (workWidth): do not search for the exact row when
10605         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10606         optimization for big documents.
10607
10608 2001-10-18  Juergen Vigna  <jug@sad.it>
10609
10610         * text.C (workWidth): new function with added Inset * parameter.
10611
10612 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10613
10614         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10615
10616         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10617         change return type of getColumnNearX.
10618
10619
10620         * text.C (changeRegionCase): use uppercase/lowercase instead of
10621         toupper/tolower.
10622         (leftMargin):
10623         (rightMargin): simplify code by factoring out the uses of
10624         textclasslist.
10625         (labelFill):
10626         (numberOfHfills):
10627         (setHeightOfRow):
10628         (appendParagraph): use Paragraph::size_type
10629
10630 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10631
10632         * vspace.C (asLatexString): add a missing break
10633
10634 2001-10-15  Herbert Voss  <voss@perce.de>
10635
10636         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10637
10638 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10641         is not available.
10642
10643 2001-10-10  André Pönitz <poenitz@gmx.net>
10644
10645         * lyxfunc.C: removed greek_kb_flag.
10646
10647 2001-10-10  Herbert Voss  <voss@perce.de>
10648
10649         * lyx_main.C: delete global string help_lyxdir.
10650
10651 2001-10-09  Herbert Voss  <voss@perce.de>
10652
10653         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10654
10655         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10656
10657         * lyx_main.C: added global string help_lyxdir.
10658
10659         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10660
10661 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10662
10663         * lyxrc.C (set_font_norm_type): support iso8859-4
10664
10665 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10666
10667         * LaTeX.C (deplog): add another regex for MikTeX
10668
10669 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10670
10671         * lyxrc.C (set_font_norm_type): support iso8859-3
10672
10673 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10674
10675         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10676
10677         * LaTeXFeatures.C: remove special case of french and index
10678
10679         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10680         before \begin{document}). This solves several incompatibilities.
10681
10682 2001-10-03  Garst Reese  <reese@isn.net>
10683
10684         * lyx_cb.C: change CheckTex error msg.
10685
10686 2001-10-03  José Matos  <jamatos@fep.up.pt>
10687
10688         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10689
10690 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10691
10692         * .cvsignore: update
10693
10694         * lyx_main.C (commandLineVersionInfo): use new style version info.
10695
10696         * buffer.C (writeFile):
10697         (makeLaTeXFile):
10698         (makeLinuxDocFile):
10699         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10700
10701         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10702
10703         * version.h: update to use stuff in version.C
10704
10705         * version.C.in: new file. Contains version information determined
10706         at compile time. This is a merging of version.h and
10707         version_info.h.in.
10708
10709 2001-10-03  Juergen Vigna  <jug@sad.it>
10710
10711         * BufferView_pimpl.C (update): don't change "dirty" status in
10712         updateInset call.
10713
10714 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * WorkArea.C (c-tor): re-position version string slightly.
10717
10718 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10719
10720         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10721         revert to previous code.
10722
10723         WorkArea.[Ch]: (show, destroySplash): methods removed.
10724
10725         WorkArea.C: rework code so that it's an amalgam of the codes before and
10726         after the splash screen was moved to WorkArea.
10727
10728 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * lyxrc.C (read):
10731         * vspace.C (inPixels):
10732         (lyx_advance):
10733         * kbmap.C (bind):
10734         * buffer.C (insertStringAsLines):
10735         (asciiParagraph): fix types to be large enough
10736
10737         * lyxlex_pimpl.h: change member status from short to int
10738
10739         * layout.h: fix type of endlabeltype
10740
10741         * kbmap.C (bind):
10742         * kbsequence.C (parse): change return type to string::size_type
10743
10744         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10745         variable
10746
10747         * Bullet.C (bulletSize):
10748         (bulletEntry): do not use short ints as parameters
10749
10750         * BufferView2.C (insertLyXFile): change a char to an int.
10751
10752         * WorkArea.C (WorkArea): remove unneeded floats in computation
10753
10754 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10757
10758         * paragraph.C (asString): Do not ignore newline/hfill chars when
10759         copying to the clipboard.
10760
10761 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10762
10763         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10764         after a multi-line inset.
10765
10766 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10767
10768         * paragraph.C (validate): Set NeedLyXFootnoteCode
10769
10770 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10771
10772         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10773         and decrease-error to decrease.
10774
10775 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10778         it more readable (should be equivalent)
10779
10780 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10781
10782         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10783
10784 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10785
10786         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10787         of a cursor (row, etc.) after a character has been deleted
10788         (deleteEmptyParagraphMechanism): call the method above on _all_
10789         cursors held by the LyXText when a double space has been
10790         detected/deleted.
10791
10792 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10793
10794         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10795         pixmap.
10796         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10797
10798         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10799         background. Use greyOut() and the new show() methods to toggle between
10800         the foreground and background. Add code to remove the splash after
10801         its initial showing.
10802
10803         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10804         (create_forms): no longer call Dialogs::showSplash.
10805
10806 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10807
10808         * .cvsignore: add version_info.h
10809
10810 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10811
10812         * version_info.h.in: new file
10813
10814         * Makefile.am: add version_info.h.in
10815
10816         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10817         version_info.h instead of VERSION_INFO
10818
10819 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10822         The ERT inset now returns string().
10823
10824 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10825
10826         * lyxtext.h, text.C (selectNextWord): renamed as
10827         selectNextWordToSpellcheck.
10828
10829         * text.C (selectNextWordToSpellcheck): Modified to not select
10830         words inside an ERT inset.
10831
10832 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * lyx_cb.C (MenuLayoutSave): change a bit the question
10835
10836         * sp_base.h: include <sys/types.h>
10837
10838 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10839
10840         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10841
10842 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10843
10844         * several files: fix typos in user-visible strings
10845
10846 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10847
10848         * text2.C (pasteSelection): do not set the selection, since it
10849         will be cleared later. Actually, the intent was to fix the way the
10850         selection was set, but I figured rmoving the code was just as good.
10851
10852 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10853
10854         * FontLoader.C (available): Check if font is available without
10855         loading the font.
10856
10857 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10858
10859         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10860
10861 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * lyxrc.[Ch]: added display_graphics variable and associated code.
10864
10865 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * bufferparams.C (hasClassDefaults): new method. Returns true if
10868         the buffer parameters correspond to known class defaults
10869
10870 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10871
10872         * XFormsView.C (show): set minimum size to the main window.
10873
10874 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10875
10876         * text2.C (copySelection):
10877         (cutSelection):
10878         * lyxfind.C (LyXReplace):
10879         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10880         LyXText::selectionAsString.
10881
10882         * paragraph.C (asString): add "label" argument to the second form
10883
10884         * text2.C (selectionAsString): add "label" argument and pass it to
10885         Paragraph::asString.
10886
10887 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * lyx_main.C (commandLineHelp): remove version information
10890
10891 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10892
10893         * lyx_main.C: add -version commandline option
10894
10895 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10896
10897         * paragraph.h: make the optional constructor arg required instead.
10898         some modifications to other files because of this.
10899
10900         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10901
10902         * lyxserver.C (C_LyXComm_callback): make it static
10903
10904         * lyx_main.C (error_handler): make it static
10905
10906         * lyx_gui.C (LyX_XErrHandler): make it static
10907
10908         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10909
10910         * WorkArea.C: make the extern "C" methods static.
10911
10912         * Makefile.am (lyx_LDADD): simplify
10913
10914 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10917         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10918
10919         * LyXAction.C (init):
10920         * lyxfunc.C (dispatch): associated code removal.
10921
10922 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * lyxfont.h (isSymbolFont): shut off warning
10925
10926         * text.C (setHeightOfRow):
10927         (getVisibleRow): fix crash with empty paragraphs which have a
10928         bottom line
10929
10930 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10931
10932         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10933         code.
10934
10935 2001-09-04  José Matos  <jamatos@fep.up.pt>
10936         * buffer.C
10937         * buffer.h
10938         * tabular.C (docbook): rename docBook method to docbook.
10939
10940 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10941
10942         * Makefile.am: add dependencies to main.o.
10943
10944 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10945
10946         * FontLoader.C (available): Return false if !lyxrc.use_gui
10947
10948 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10949
10950         * FontInfo.C (query):
10951         * converter.C (view):
10952         * importer.C (Import):
10953         * exporter.C (Export): Can not -> cannot.
10954
10955 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * BufferView_pimpl.C: allow to create index inset even if
10958           string is empty
10959
10960 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10961
10962         * buffer.C (getLists): replace boost::tie code with an explicit pair
10963         as boost::tie can break some compilers.
10964
10965         * iterators.h: Added a std:: declaration to the return type of
10966         ParIterator::size.
10967
10968 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10971           case.
10972
10973 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10974
10975         * iterators.[Ch]: New files. Provide paragraph iterators.
10976
10977         * buffer.C (changeLanguage): Use paragraph iterators.
10978         (isMultiLingual): ditto
10979
10980         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10981
10982 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10983
10984         * FontLoader.C: Support for cmr font.
10985
10986 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10989         (available): New method.
10990
10991         * FontInfo.C (getFontname): Use scalable fonts even when
10992         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10993         found.
10994
10995 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10996
10997         * converter.C (Formats::view): reverted! Incorrect fix.
10998
10999 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11000
11001         * converter.C (Formats::view): only output the -paper option
11002         if the dvi viewer is xdvi, thereby fixing bug #233429.
11003
11004 2001-08-23  Herbert Voss  <voss@perce>
11005
11006         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11007
11008 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * Spacing.h (Spacing): Set space to Default on in the default
11011         constructor.
11012
11013 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11014
11015         * vc-backend.h (RCS::versionString): add RCS to version
11016         (CVS::versionString): add CVS to version
11017
11018         * vc-backend.C (scanMaster): do not add CVS to version.
11019         (scanMaster): do not add RCS to version
11020
11021         * lyxvc.C (versionString): new method
11022
11023         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11024
11025 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11026
11027         * Spacing.C (set): initialize fval
11028
11029 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11030
11031         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11032         " or \.
11033
11034 2001-08-16  Juergen Vigna  <jug@sad.it>
11035
11036         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11037
11038 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * BufferView_pimpl.C:
11041         * figureForm.C:
11042         * lyxtext.h:
11043         * text2.C: setParagraph takes linespacing now
11044
11045 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11046
11047         * LyxAction.C: add internal LFUN_CITATION_INSERT
11048
11049         * LyXView.C: actually apply fix
11050
11051         * bufferlist.C: fix open non-existent file
11052
11053         * lyxfind.C: fix indentation
11054
11055         * lyxfunc.C: remove unneeded assert, fix typo
11056
11057 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * MenuBackend.C: use "Floatname List"
11060
11061 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11064         when converting LaTeX layout to insetERT.
11065         Generate a non-collapsed float when reading old float
11066
11067 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11070         ERT insets.
11071
11072 2001-08-13  Juergen Vigna  <jug@sad.it>
11073
11074         * text.C (fill): return 0 instead of 20 as this seems to be the more
11075         correct value.
11076
11077 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11078
11079         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11080         lyxrc.font_norm.
11081
11082 2001-08-13  Juergen Vigna  <jug@sad.it>
11083
11084         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11085         casesensitive off.
11086         (SearchBackward): comment out the unlocking of the inset_owner this
11087         should not be needed!
11088
11089 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * Many files: Remove inherit_language, and add latex_language
11092
11093         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11094         collapsible insets.
11095
11096 2001-08-10  Juergen Vigna  <jug@sad.it>
11097
11098         * text.C (prepareToPrint): fixed hfill-width in draw!
11099
11100         * BufferView2.C (selectLastWord): save the selection cursor as this
11101         now is cleared in the function LyXText::clearSelection!
11102
11103 2001-08-08  Juergen Vigna  <jug@sad.it>
11104
11105         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11106         BACKSPACE type functions.
11107
11108         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11109         is only cutted from the document but not put in the cut-buffer, where
11110         still the old stuff should be.
11111
11112         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11113
11114         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11115
11116         * tabular.C (SetWidthOfCell): fixed special case where the width
11117         was not updated!
11118         (LeftLine): handle '|' in align_special.
11119         (RightLine): ditto
11120         (LeftAlreadyDrawed): ditto
11121         (SetWidthOfCell): ditto
11122
11123 2001-08-07  Juergen Vigna  <jug@sad.it>
11124
11125         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11126
11127 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11128
11129         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11130         * lyxlex.[hC]: ditto
11131
11132 2001-08-06  Juergen Vigna  <jug@sad.it>
11133
11134         * text.C (getVisibleRow): fix up row clearing a bit.
11135
11136 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * minibuffer.C: make sure the X server sees the changes in the input.
11139
11140 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * paragraph.C (getFont): split into...
11143         (getLabelFont): this
11144         (getLayoutFont): and this
11145         * paragraph_pimpl.C (realizeFont): calling this
11146
11147         * text2.C (getFont): split into...
11148         (getLayoutFont): this
11149         (getLabelFont): and this
11150         (realizeFont): all three calling this
11151
11152         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11153         files where used.
11154
11155 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11156
11157         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11158
11159 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11160
11161         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11162         layouts from the Quote inset insertion.
11163
11164 2001-08-03  Juergen Vigna  <jug@sad.it>
11165
11166         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11167
11168         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11169         only if status not is already CHANGED_IN_DRAW (second level).
11170
11171         * text.C (draw): don't set the need_break_row when inside an
11172         InsetText LyXText.
11173
11174 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * buffer.C (parseSingleLyXformat2Token): handle more latex
11177         conversion cases.
11178
11179         * bufferview_funcs.[hC]: change function names to
11180         begin with small char, adjust other files.
11181
11182 2001-08-02  André Pönitz <poenitz@gmx.net>
11183
11184         * lyxfunc.C:
11185         BufferView_pimpl.C: remove broken special code for math-greek
11186
11187 2001-08-02  Juergen Vigna  <jug@sad.it>
11188
11189         * BufferView_pimpl.C (update): redone this function so that we
11190         update the text again if there was a CHANGE_IN_DRAW.
11191
11192         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11193         (drawFromTo): added a new internal bool which is used by draw() and
11194         redraw() function.
11195         (general): some cursor drawing problems fixed.
11196
11197 2001-08-01  Juergen Vigna  <jug@sad.it>
11198
11199         * lyxfind.C (LyXFind): fixed
11200         (SearchForward): ditto
11201         (SearchBackward): ditto
11202
11203         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11204         spurius drawing of the cursor in the main area.
11205
11206         * text2.C (status): small fix which could lead to a segfault!
11207         (clearSelection): remove unneeded BufferView param.
11208
11209 2001-08-01  André Pönitz <poenitz@gmx.net>
11210
11211         * lyxfunc.C: small change due to changed mathed interface
11212
11213 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11214
11215         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11216
11217 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * lyxfunc.c: fail gracefully if file doesn't exist
11220
11221         * LyXSendto.C:
11222         * buffer.C:
11223         * lyxfunc.C:
11224         * BufferView_pimpl.C: IsDirWriteable() proto changed
11225
11226         * LyXView.C: fix updateWindowTitle() to store the last title
11227
11228 2001-07-31  Juergen Vigna  <jug@sad.it>
11229
11230         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11231         the font (wrong since using of Paragraph::highestFontInRange).
11232
11233         * paragraph.C (highestFontInRange): added a default_size parameter.
11234
11235         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11236         (setHeightOfRow): reformat
11237
11238 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * converter.[hC] + affected files: move to (inital-char)lowercase
11241         function names.
11242
11243         * ParagraphParameters.C (ParagraphParameters): remove commented code
11244
11245         * PainterBase.[Ch]: remove commented code
11246
11247         * LaTeXFeatures.h: add "bool floats" for float.sty
11248
11249         * LaTeXFeatures.C (LaTeXFeatures): init floats
11250         (require): handle float
11251         (getPackages): do it with floats
11252
11253 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11254
11255         * BufferView_pimpl.C (Dispatch): improve handling of
11256         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11257
11258         * commandtags.h: #include lyxfont.h here temporarily to avoid
11259         keybinding bug.
11260
11261         * bufferlist.h: include LString.h here.
11262
11263 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11264
11265         * text2.C (getStringToIndex): new method.
11266
11267 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11268
11269         * *: Reduced header file dependencies all over.
11270
11271 2001-07-30  Baruch Even  <baruch@lyx.org>
11272
11273         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11274
11275 2001-07-29  Baruch Even  <baruch@lyx.org>
11276
11277         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11278
11279 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * ParameterStruct.h (endif): add a default constructor to make
11282         sure that all variables is initialized.
11283
11284         * ParagraphParameters.C (ParagraphParameters): adjust
11285
11286 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11287
11288         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11289         index; also, check that there is something to index, and that it
11290         does not span over several paragraphs.
11291         (doubleClick): use WHOLE_WORD_STRICT for double click.
11292
11293         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11294
11295         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11296         scheme.
11297
11298 2001-07-26  Baruch Even  <baruch@lyx.org>
11299
11300         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11301         an InsetFig figure, backwards compatible reading of old figure code.
11302
11303 2001-07-27  Juergen Vigna  <jug@sad.it>
11304
11305         * text2.C: font.realize function adaption.
11306
11307         * text.C (draw): add a warnings lyxerr text if needed.
11308
11309         * layout.C: font.realize function adaption.
11310
11311         * language.C: add inherit_language and implement it's handlings
11312
11313         * bufferview_funcs.C (StyleReset): remove language parameter from
11314         font creation (should be language_inherit now).
11315
11316         * bufferparams.C (writeFile): handle ignore_language.
11317
11318         * paragraph.C (getFontSettings): the language has to be resolved
11319         otherwise we have problems in LyXFont!
11320
11321         * lyxfont.C (lyxWriteChanges): added document_language parameter
11322         (update): removed unneeded language parameter
11323
11324         * paragraph.C (validate): fixed wrong output of color-package when
11325         using interface colors for certain fonts in certain environments,
11326         which should not seen as that on the final output.
11327
11328 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * BufferView_pimpl.C:
11331         * Thesaurus.h:
11332         * Thesaurus.C:
11333         * Makefile.am:
11334         * commandtags.h:
11335         * LyXAction.C: add thesaurus support
11336
11337         * lyxfind.h:
11338         * lyxfind.C: add "once" parameter, for thesaurus, to not
11339           move to the next match
11340
11341 2001-07-26  Juergen Vigna  <jug@sad.it>
11342
11343         * lyxfont.C (realize): honor ignore_language too!
11344         (resolved): ditto.
11345
11346         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11347
11348         * text.C (draw): one place more for ignore_language to not draw
11349         itself!
11350
11351 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11352
11353         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11354
11355 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11358         the minipage conversion problem.
11359
11360 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11363         insert an inset.
11364
11365 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * BufferView.h: don't forward declare WorkArea
11368
11369         * BufferView.C: don't include WorkArea.h
11370
11371 2001-07-25  André Pönitz <poenitz@gmx.net>
11372
11373         * commandtags.h:
11374         * LyXAction.C:
11375         * lyxfunc.C:  new LFUN 'math-space'
11376
11377         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11378
11379 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11380
11381         * text2.C (toggleInset): call open/close
11382
11383 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * lyxfunc.C (dispatch): add debug for the disabled case
11386
11387         * font.C (buttonText): make similar to rectText
11388
11389         * buffer.C (readInset): comment out parsing of insetlist and
11390         insttheorem
11391
11392         * PainterBase.C (rectText): small correction
11393
11394         * BufferView_pimpl.C: comment out insettheorem and insetlist
11395         * LyXAction.C: ditto
11396         * commandtags.h: ditto
11397
11398 2001-07-24  Juergen Vigna  <jug@sad.it>
11399
11400         * text.C (draw): honor the ignore_language.
11401
11402         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11403
11404 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11407         char inset.
11408
11409 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11410
11411         * lyxtext.h: remove unused (and unimplemented) methods
11412
11413 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11414
11415         * text.C (getVisibleRow): honor background color
11416
11417         * PainterBase.h:
11418         * Painter.h: remove default color argument for fillRectangle
11419
11420         * text.C (backgroundColor): new method
11421
11422 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11423
11424         * text.C (getVisibleRow): adjust
11425
11426         * font.[Ch] (rectText): new method, metrics
11427         (buttonText): new method, metrics
11428
11429         * PainterBase.[hC]: make rectText and buttonText always draw and take
11430         fewer paramteres.
11431
11432 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11433
11434         * ToolbarDefaults.C (read):
11435         * MenuBackend.C (read): allow escaping in all strings
11436
11437         * BufferView_pimpl.C (insertAndEditInset): new method.
11438         (Dispatch): use insertAndEditInset whenever appropriate.
11439
11440         * BufferView_pimpl.C (insertNote): removed
11441
11442         * BufferView_pimpl.C (smartQuote): new method, moved from
11443         BufferView; if an insetquote cannot be inserted, insert a '"'
11444         character instead.
11445
11446         * BufferView2.C: remove insertCorrectQuote();
11447
11448         * lyxfunc.C (getStatus): Add support for all remaingin
11449         inset-insert lfuns.
11450
11451         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11452
11453         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11454         command (necessary to pass " as parameter of self-insert.
11455
11456         * text.C (selectWordWhenUnderCursor):
11457         (selectWord): add word_location parameter
11458         (selectWordWhenUnderCursor): same + remove special code for word
11459         boundary.
11460         (selectNextWord): use kind() to guess type of insetspecialchar,
11461         not latex().
11462
11463         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11464         (insertErtContents): create ert insets as collapsed.
11465         (readInset): better compatibility code for Info inset.
11466
11467 2001-07-20  Juergen Vigna  <jug@sad.it>
11468
11469         * lyxfunc.C (dispatch): use always LyXFind now!
11470
11471         * text2.C (init): add a reinit flag so that the LyXText can be
11472         reinited instead of deleted and reallocated (used in InsetText).
11473
11474         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11475
11476         * text.C: ditto
11477
11478         * text2.C: ditto
11479
11480 2001-07-18  Juergen Vigna  <jug@sad.it>
11481
11482         * text.C (selectNextWord): handle insets inside inset by calling
11483         always the bv->text functions so that we can go up the_locking_inset!
11484
11485         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11486         in strange locations when inside an inset!
11487
11488         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11489         handling to include insets.
11490
11491         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11492
11493 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * LyXAction.C (init):
11496         * commandtags.h:
11497         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11498         LIGATURE_BREAK, since the name is so stupid.
11499
11500 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11503         InsetInfos.
11504
11505         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11506
11507         * sp_form.[Ch]: remove.
11508
11509         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11510
11511         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11512         InsetInfo.
11513
11514         * src/buffer.C (readInset): ditto.
11515
11516 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11517
11518         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11519         menuSeparator(), endOfSentenceDot(), ldots() and
11520         hyphenationPoint(), which are therefore removed.
11521         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11522
11523         * LyXAction.C (init):
11524         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11525
11526         * paragraph.C (getWord): removed.
11527
11528         * BufferView_pimpl.C (Dispatch): use last word or selection for
11529         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11530
11531         * lyx_main.C (queryUserLyXDir): do not ask before creating
11532         user_dir, except if it has been named explicitely.
11533
11534 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11535
11536         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11537         a document of zero size.
11538
11539 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11540
11541         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11542         approriately in the c-tor and in require().
11543         (getPackages): output the appropriate LaTeX for natbib support.
11544
11545         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11546         variables "use_natbib" and "use_numerical_citations" when reading the
11547         LyX file.
11548         (readInset): read the various natbib cite commands.
11549         (validate): white-space change.
11550
11551         * bufferparams.[Ch]: new variables "bool use_natbib" and
11552         "bool use_numerical_citations".
11553         (writeFile): output them in the LyX file.
11554
11555 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11556
11557         * lyxfunc.C (getStatus): add support for all the inset insertion
11558         commands.
11559
11560         * text2.C (insertInset):
11561         * paragraph.C (insetAllowed):
11562         * BufferView_pimpl.C (insertInset): update to take in account the
11563         renaming of insertInsetAllowed
11564
11565         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11566
11567         * text2.C (getInset): new method. returns inset at cursor position.
11568
11569         * BufferView_pimpl.C (Dispatch): changes because of this.
11570
11571         * LyXAction.C (init): rename open-stuff to inset-toggle.
11572
11573         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11574
11575         * text2.C (toggleInset): renamed from openStuff; use
11576         Inset::open().
11577
11578 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11579
11580         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11581
11582         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11583
11584 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * buffer.C (readLyXformat2): Add filename to the error dialog
11587
11588 2001-07-18  Juergen Vigna  <jug@sad.it>
11589
11590         * tabular.C (GetCellNumber): put an assert here instead of the check!
11591
11592 2001-07-17  Juergen Vigna  <jug@sad.it>
11593
11594         * BufferView_pimpl.C (toggleSelection): adapted too.
11595
11596         * text.C (selectNextWord): adapted for use with insets.
11597         (selectSelectedWord): ditto
11598
11599 2001-07-17  Juergen Vigna  <jug@sad.it>
11600
11601         * sp_spell.C (PSpell): fix initialitation order.
11602
11603 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * paragraph.C: spacing
11606
11607 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11608
11609         * sp_spell.C: repair language selection for pspell
11610
11611 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * lyxfunc.h: change more methods to begin with lower char.
11614
11615 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11616
11617         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11618         for unknown layouts.
11619
11620 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11621
11622         * buffer.C (readLyXformat2): Generate an error dialog if there are
11623         unknown layouts.
11624
11625 2001-07-16  Juergen Vigna  <jug@sad.it>
11626
11627         * sp_spell.C: always compile ISpell part.
11628
11629         * lyxrc.C: added use_pspell entry and it's handling.
11630
11631 2001-07-13  Juergen Vigna  <jug@sad.it>
11632
11633         * sp_spell.C: removed double includes.
11634
11635 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11636
11637         Consistent use of Lsstream.h:
11638         * Lsstream.h: added using std::stringstream for consistencies sake.
11639
11640         * buffer.C: removed using std::stringstream
11641
11642         * lyxfont.C (stateText):
11643         * paragraph.C (asString):
11644         * text.C (selectNextWord, selectSelectedWord):
11645         * text2.C (setCounter):
11646         * vspace.C (asString, asLatexString):
11647         std::ostringstream -> ostringstream.
11648
11649 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11650
11651         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11652         * commandtags.h: add LFUN_HELP_ABOUTLYX
11653         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11654
11655 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11656
11657         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11658         cursorToggle()
11659         * lyx_gui_misc.C: remove spellchecker
11660         * lyxfunc.C: showSpellchecker
11661         * sp_base.h: added
11662         * sp_ispell.h: added
11663         * sp_pspell.h: added
11664         * sp_spell.C: added
11665         * sp_form.[Ch]: removed
11666         * spellchecker.[Ch]: removed
11667
11668 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11669
11670         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11671         is set.
11672         (simpleTeXSpecialChars): Simply print the input character without
11673         any special translation if pass_thru is set.
11674
11675         * layout.h: Added bool pass_thru to layout class for being able to
11676         implement pass through of a paragraph for Literate Programming.
11677
11678         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11679         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11680         * layout.C (Read): add "passthru" to list of layout tags and add
11681         code to set the pass_thru boolean when it is read.
11682
11683 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * trans_decl.h: remove allowed from KmodInfo
11686
11687         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11688         remove allowed code
11689         (Load): adjust
11690
11691         * paragraph_pimpl.C (erase): use boost::prior
11692
11693         * Painter.C (text): use data() instead of c_str() when length is
11694         also provided.
11695         * WorkArea.C (putClipboard): ditto
11696         * font.h (width): ditto
11697
11698         * BufferView2.C: use it-> instead of (*it). for iterators
11699         * texrow.C: ditto
11700         * paragraph_pimpl.C: ditto
11701         * paragraph.C: ditto
11702         * minibuffer.C: ditto
11703         * language.C: ditto
11704         * kbmap.C: ditto
11705         * encoding.C: ditto
11706         * counters.C: ditto
11707         * converter.C: ditto
11708         * chset.C: ditto
11709         * Variables.C: ditto
11710         * TextCache.C: ditto
11711         * MenuBackend.C: ditto
11712         * LyXAction.C: ditto
11713         * LColor.C: ditto
11714         * FloatList.C: ditto
11715         * DepTable.C: ditto
11716         * ColorHandler.C (LyXColorHandler): ditto
11717
11718 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11719
11720         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11721
11722         * text2.C (openStuff): reintroduce this method (which had been
11723         nuked in NEW_INSETS frenzy).
11724
11725         * lyxfunc.C (Dispatch): when an action has not been handled, use
11726         its name in the error message, not its number.
11727
11728         * paragraph.C (inInset): change method name to begin with lowercase.
11729
11730         * undo_funcs.C:
11731         * text2.C: updates because of this.
11732
11733 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11734
11735         * ToolbarDefaults.C (add): add spaces in error message
11736
11737 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11740         (readLyXformat2): rename return_par to first_par, use lyxlex's
11741         pushToken and remove the manual push handling.
11742         (parseSingleLyXformat2Token): add another ert comp. variable:
11743         in_tabular, rename return_par to first_par. handle newlines better
11744
11745 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11746
11747         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11748
11749 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * text2.C (getParFromID): removed
11752
11753         * buffer.C (getParFromID): new method moved form lyxtext.
11754         * BufferView2.C (insertErrors): adjust
11755         (setCursorFromRow): adjust
11756         * BufferView_pimpl.C (restorePosition): adjust
11757         * lyxfunc.C (Dispatch): adjust
11758         * undo_funcs.C (textUndo): adjust
11759         (textRedo): adjust
11760         (textHandleUndo): adjust
11761         (textHandleUndo): adjust
11762
11763 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11764
11765         * buffer.C: up' the LYX_FORMAT
11766
11767         * lyxfont.h: turn NO_LATEX on as default
11768
11769         * buffer.C (insertErtContents): new methods of tex style compability.
11770         (parseSingleLyXformat2Token): use it several places.
11771         * tabular.C (OldFormatRead): and here
11772
11773 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * text2.C: remove some commented code.
11776         reindent file.
11777
11778         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11779         * trans.C: changes because of the above.
11780
11781 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11782
11783         * text2.C (setCounter): Fix counters bug with bibliography layout.
11784
11785 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11788         own member functions
11789         (simpleTeXSpecialChars): ditto
11790
11791 2001-07-06  Juergen Vigna  <jug@sad.it>
11792
11793         * a lot of files: changed the access to LyXText::status and the
11794         call of undo-functions.
11795
11796         * undo.[Ch]: added a inset_id to the undo informations.
11797
11798         * undo_funcs.[Ch]: added and moved here all undo functions.
11799
11800         * lyxtext.h: give the status enum a weight, made status_ a private
11801         variable and made accessor functions for it, removed the whole bunch
11802         of undo-functions as they are now in their own file, make some
11803         functions publically available. Added function ownerParagraph with
11804         int parameter.
11805
11806         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11807         made InInset() a const function, added getParFromID() function.
11808
11809         * buffer.[Ch]: added const version for inset_iterator functions,
11810         added getInsetFromID() function.
11811
11812         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11813         changed undo functions for new version.
11814
11815 2001-07-05  Juergen Vigna  <jug@sad.it>
11816
11817         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11818         unknow mechanism does not call the proper constructor but only this
11819         one also if I request the other!?
11820
11821 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11824
11825         * text2.C (LyXText): use initialization lists.
11826
11827         * lyxtext.h (Selection): initialize set_ and mark_
11828         (init): remove method
11829
11830 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11833
11834 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * screen.[Ch]: change method names to begin with lowercase
11837
11838         * BufferView_pimpl.C (updateScrollbar): simplify further and
11839         hopefully make it a bit faster.
11840
11841 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11842
11843         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11844         calling directly xforms functions.
11845
11846         * Painter.C (Painter):
11847         * lyx_cb.C (MenuWrite):
11848         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11849         fl_display.
11850
11851         * lyx_gui.C: remove bogus guiruntime extern declaration.
11852
11853 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11856         in NEW_INSETS
11857         (redoDrawingOfParagraph): ditto
11858         (redoParagraphs): ditto
11859         (cutSelection): don't create a object for CutAndPaste use the
11860         static method directly
11861         (pasteSelection): ditto
11862
11863         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11864         LyXview (+ rename)
11865
11866 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * modifications to some other files because of this.
11869
11870         * Makefile.am (lyx_SOURCES): add XFormsView
11871
11872         * XFormsView.[Ch]: new files
11873
11874         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11875         the main window. Move the gui dependent stuff to XFormsView
11876
11877 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11878
11879         * tabular.C (GetCellInset): update cur_cell also in the row/col
11880         version of this function.
11881
11882         * lyxfunc.C: no need to include figure_form.h here.
11883
11884         * FontLoader.h:
11885         * lyxfunc.h:
11886         * lyxscreen.h:
11887         * text2.C:
11888         * lyxvc.C: no need to include forms.h here.
11889
11890 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11891
11892         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11893
11894         * lyxfunc.C (Dispatch):
11895         * Spacing.C (set):
11896         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11897         constructor argument.
11898
11899 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * paragraph.C (Paragraph): dont't clear, and just set layout.
11902         (makeSameLayout): use params's copy contructor.
11903
11904         * ParagraphParameters.[Ch] (makeSame): delete method
11905
11906 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * Variables.[Ch]: fix indentation, rename set to isSet
11909
11910 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * lyxfunc.C (Dispatch): fix typo
11913
11914 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11917         upper_bound.
11918
11919         * bufferlist.C: include assert.h for emergencyWrite().
11920
11921 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11924           give up at last (bug #425202) !
11925
11926 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyx_gui_misc.C:
11929         * sp_form.h:
11930         * sp_form.C:
11931         * spellchecker.h:
11932         * spellchecker.C: strip spellchecker options and bring up
11933           preferences tab instead
11934
11935 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11938         the istringstream constructor
11939
11940 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * paragraph.C (getLayout): fix return value
11943
11944         * paragraph.h: do not declare getLayout as inline.
11945
11946         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11947
11948 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * lyxcursor.h (operator<): new func
11951         (operator>): new func
11952         (operator>=): new func
11953         (operator<=): new func
11954
11955         * text.C (changeCase): use selection.start and selection.end
11956         (changeRegionCase): require from to be <= to. Require par to be a
11957         valid paragraph.
11958
11959         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11960
11961 2001-06-27  Juergen Vigna  <jug@sad.it>
11962
11963         * text.C (cursorLeftOneWord): changed to return the cursor and added
11964         overlay with BufferView * parameter which calls this one.
11965         (getWord): added
11966         (selectWord): use new getWord function.
11967         (changeCase): renamed from changeWordCase as and extended to work
11968         also on selections.
11969
11970         * lyxtext.h: added enum word_location
11971
11972         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11973         changeCase as this operates now also on selections.
11974
11975 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11976
11977         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11978
11979         * many files: send debug output to Debug::INFO instead of
11980         Debug::ANY.
11981
11982         * converter.C (View):
11983         (Convert):
11984         (Move): send debug output to Debug::FILES instead of console.
11985
11986 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11987
11988         * lyxfunc.C (getStatus): use func_status
11989
11990         * func_status.h: new header, describing the results of
11991         LyXFunc::getStatus;
11992
11993         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11994         LFUN_MATH_HALIGN.
11995
11996 2001-06-25  The LyX Project  <jug@sad.it>
11997
11998         * buffer.C (sgmlOpenTag):
11999         (sgmlCloseTag):
12000         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12001
12002 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * text2.C: remove some dead code
12005
12006         * tabular.C (GetCellInset): store the last cell checked (gotten)
12007
12008         * tabular.h: add the helper for the speedup
12009
12010         * lyxtext.h: remove some dead code
12011
12012 2001-06-26  The LyX Project  <Asger>
12013
12014         * paragraph.C: Change export to LaTeX of alignment to
12015         \begin{center} and family for better roundtrip work with reLyX.
12016
12017         * Tune the math drawing a bit.
12018
12019 2001-06-25  The LyX Project  <Asger>
12020
12021         * LColor.C (LColor): New color for math background. New color
12022         for buttons.
12023
12024 2001-06-25  The LyX Project  <jug@sad.it>
12025
12026         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12027
12028         * lyxfunc.C (Open):
12029         * bufferlist.C (newFile): do not restrict to files ending with
12030         .lyx
12031
12032         * BufferView_pimpl.C (MenuInsertLyXFile):
12033
12034 2001-06-24  The LyX Project  <jug@sad.it>
12035
12036         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12037         of compare_no_case
12038
12039 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * lyxtext.h: rename most methods to begin with a small char.
12042         Lots of changes because of this.
12043
12044         * paragraph.C (Paragraph): do not call fitToSize
12045         (erase): call Pimpl::erase
12046         (insertChar): call Pimpl::insertChar
12047         (insertInset): call Pipl::insertInset
12048         (breakParagraph): do not call fitToSize
12049         (breakParagraphConservative): do not call fitToSize
12050         (fitToSize): remove method
12051
12052         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12053
12054 2001-06-24  The LyX Project  <Asger>
12055
12056         * Fix Qt compilation^2
12057
12058 2001-06-24  The LyX Project  <jug@sad.it>
12059
12060         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12061         depthHook(getDepth()-1).
12062
12063         * paragraph.h:
12064         * ParagraphParameters.h:
12065         * ParameterStruct.h: change type of depth to unsigned int ==
12066         depth_type. Many adaptations to other files before of that.
12067
12068 2001-06-24  The LyX Project  <Asger>
12069
12070         * Fix Qt compilation.
12071
12072 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * paragraph.h: renamed several methods to begin with small letter.
12075         several changes to many parts of the code because of this.
12076
12077 2001-06-23  The LyX Project  <jug@sad.it>
12078
12079         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12080         rewritten to discard all double spaces when KeepEmpty is off
12081         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12082         to only handle newlines but not fiddle with spaces and friends.
12083
12084         * lyxfunc.C (MenuNew): when doing 'new from template', use
12085         template_path as default directory
12086
12087 2001-06-23  The LyX Project  <Asger>
12088
12089         * Clean-up of header file includes all over
12090         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12091
12092 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * paragraph.h: renamed from lyxparagraph.h
12095
12096 2001-06-23  Asger  <lyx@violet.home.sad.it>
12097
12098         * Buffer.h: Removed Buffer::resize
12099         * BufferList.h: Removed BufferList::resize
12100         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12101         the document lazily when we change the width, or the font settings.
12102
12103 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12106
12107 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * buffer.h: remove out of date comment
12110
12111 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * lyxscreen.h:
12114         * screen.C: fix "theoretical" GC leak
12115
12116 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12117
12118         * LaTeX.C (scanAuxFile):
12119         (deplog): remove trailing \r when reading stream (useful under
12120         win32)
12121
12122 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12125         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12126         and BufferView::theLockingInset(Inset*), so should use them and not
12127         access bv_->text->the_locking_inset directly.
12128
12129         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12130
12131 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * Makefile.am:
12134         * tex-defs.h: remove old unused file
12135
12136 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * BufferView_pimpl.C: fix typo, remove minibuffer message
12139           when buffer has loaded
12140
12141 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * lyxfunc.C (Dispatch): use stringstream
12144         (MenuNew): use stringstream
12145         (Open): use stringstream
12146
12147         * importer.C (Import): use stringstream
12148
12149         * bufferview_funcs.C (CurrentState): use stringstream
12150
12151         * LaTeX.C (run): use stringstream
12152
12153         * BufferView_pimpl.C (savePosition): use stringstream
12154         (restorePosition): use stringstream
12155         (MenuInsertLyXFile): use stringstream
12156
12157 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         * BufferView.C:
12160         * Bullet.C:
12161         * ColorHandler.C:
12162         * FontInfo.C:
12163         * FontLoader.C:
12164         * LColor.C:
12165         * LaTeXFeatures.C:
12166         * Painter.C:
12167         * gettext.C:
12168         * lyx_gui_misc.C:
12169         * lyxserver.C:
12170         * vspace.C: removed // -*- C++ -*- as first line.
12171
12172         * lyxfind.h:
12173         * version.h: added // -*- C++ -*- as first line.
12174
12175 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12178
12179         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12180         of string
12181
12182 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12185         of floats.
12186
12187 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12188
12189         * gettext.C: include LString.h even when --disable-nls is on.
12190
12191 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12192
12193         * converter.h (Get): changed argument type from int to
12194         FormatList::size_type to avoid unnecessary conversion.
12195
12196         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12197         before using it.
12198
12199 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * gettext.h: include LString.h even when --disable-nls is on.
12202
12203 2001-06-07  Juergen Vigna  <jug@sad.it>
12204
12205         * text.C (BreakAgain): subst spaces with tabs.
12206
12207         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12208         (resizeInsetsLyXText): set force on resizeLyXText.
12209
12210 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * gettext.h (gettext_init):
12213         (locale_init): use a real definition instead of a macro
12214
12215 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * Bufferview_pimpl.C:
12218         * LColor.h:
12219         * LColor.C: further lcolor tidies
12220
12221 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * BufferView_pimpl.C (updateScrollbar): simplify.
12224
12225         * BufferView2.C: don't include insets/insetinfo.h, change
12226         prototype for insertInset and call the Pimpl version. let
12227         updateInset call Pimpl version.
12228
12229         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12230         gotoInset to BufferView::Pimpl
12231
12232 2001-06-01  Juergen Vigna  <jug@sad.it>
12233
12234         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12235         inside a LockingInset (is the update needed at all?).
12236
12237 2001-05-31  Juergen Vigna  <jug@sad.it>
12238
12239         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12240         here not the old one otherwise how should we compare it afterwards
12241         if it's the same!
12242
12243 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * lyxfont.C:
12246         * tabular.C:
12247         * tabular-old.C:
12248         * FontInfo.C: bring C functions into global namespace when
12249         necessary
12250
12251 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * LString.h: make sure config.h has been loaded before LString.h.
12254
12255         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12256         (one for each char read by EatLine!).
12257
12258         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12259         variables.
12260
12261 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12264         to the same as the par we break from
12265
12266 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12269
12270         * MenuBackend.C (expand): also create menu entries for wide
12271         versions of the floats.
12272
12273         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12274
12275         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12276
12277         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12278         frontends/Makefile.am
12279
12280         * text2.C: adjust
12281         * text.C: adjust
12282
12283
12284         * tabular.C (getTokenValue): add std::
12285
12286         * tabular-old.C (getTokenValue): add std::
12287         (getTokenValue): ditto
12288         (getTokenValue): ditto
12289
12290         * screen.C (ToggleSelection): adjust
12291
12292         * lyxtext.h: put selection cursors inside a Selection struct.
12293
12294         * lyxfunc.C (moveCursorUpdate): adjust
12295
12296         * lyxfont.C (latexWriteStartChanges): add std::
12297
12298         * lyxfind.C: adjust
12299
12300         * font.h: delete with(char const *, LyXFont const &)
12301
12302         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12303
12304         * FontInfo.C (getFontname): add std::
12305
12306         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12307         (workAreaButtonPress): adjust
12308         (tripleClick): adjust
12309         (update): adjust
12310         (moveCursorUpdate): adjust
12311         (Dispatch): adjust
12312
12313         * BufferView2.C (gotoInset): adjust
12314
12315 2001-05-30  Juergen Vigna  <jug@sad.it>
12316
12317         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12318         to check pspell I add this as default as I now have new pspell
12319         libraries and they seem to use this.
12320
12321 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * text2.C (CutSelection): make the cursor valid before the call to
12324         ClearSelection.
12325
12326 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12329         relied on 0 terminated strings and other horrors. Bug found due to
12330         the new assert in lyxstring!
12331
12332         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12333         KP_ keys.
12334
12335 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12338         to latinkeys.bind.
12339
12340         * lyxfunc.C (processKeySym): change method of getting to the
12341         self-insert char.
12342
12343         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12344         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12345         * BufferView_pimpl.[Ch]: here as private methods.
12346
12347 2001-05-28  Juergen Vigna  <jug@sad.it>
12348
12349         * text.C (SetHeightOfRow): added the update() call again as it is
12350         needed to initialize inset dimensions!
12351
12352 2001-05-16  Juergen Vigna  <jug@sad.it>
12353
12354         * text2.C (SetCharFont): Add new function with BufferView * and
12355         bool toggleall parameters for setting insets internal fonts.
12356         (SetFont): Freeze the undo as we may change fonts in Insets and
12357         all this change should be inside only one Undo!
12358
12359         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12360         setting font's in insets as for them we have the SetFont function!
12361
12362 2001-05-15  Juergen Vigna  <jug@sad.it>
12363
12364         * text2.C (ClearSelection): to be sure we REALLY don't have any
12365         selection anymore!
12366
12367         * tabular.C (TeXCellPreamble): fixed the left border problem for
12368         multicolumn cells.
12369
12370 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12371
12372         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12373         dependancy file
12374
12375 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12378         LFUN_BREAKPARAGRAPH.
12379
12380         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12381         help test to "internal only", similar for LFUN_INSERT_URL
12382
12383         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12384         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12385         auto_region_delete and deadkeys.
12386
12387 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * LColor.h:
12390         * LColor.C: remove some dead entries, tidy a little
12391
12392 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12395         commented code.
12396         (Dispatch): implement LFUN_ESCAPE
12397
12398         * commandtags.h: add LFUN_ESCAPE
12399
12400         * LyXAction.C (init): add entry for LFUN_ESCAPE
12401
12402         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12403         Remove commented code.
12404         (insertNote): moved here
12405         (open_new_inset): moved here
12406
12407         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12408         BufferView_pimpl
12409
12410 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * kbmap.C (findbinding): clean it up and make it work correctly.
12413
12414         * lyx_main.C (init): do not pass argc and argv as parameters
12415
12416 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12417
12418         * buffer.C: fix path for OS/2 & Win32
12419
12420         * lyx_gui.C:
12421         * lyx_main:
12422         * lyx_main.C: Added os:: class.
12423
12424         * os2_defines.h: update
12425
12426 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12429         better by trying again with reduced state.
12430
12431 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12432
12433         * lyxrc.C (read): print error about invalid key sequence only when
12434         debugging (because not all latinX keysyms are known to some X
12435         servers)
12436
12437         * kbsequence.C (getiso): add a few std:: qualifiers
12438         (getiso): comment out extra return statement.
12439
12440 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12443         handling.
12444         (Dispatch): enhance the accent inset a bit. (not perfect)
12445
12446 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12449
12450 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12451
12452         * bufferlist.C (emergencyWrite): fix assert() call
12453
12454 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12455
12456         * text.C (InsertChar): Added trivial patch to only send the "you
12457         can not do multiple spaces this way" message once during a
12458         session.
12459
12460 2001-05-08  Baruch Even  <baruch@lyx.org>
12461
12462         * Makefile.am: Changed order of libraries to get LyX to link properly
12463         with the gnome frontend.
12464
12465 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * LaTeXFeatures.h: add a std:: qualifier
12468
12469 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12470
12471         * paragraph.C (String): use stringstream
12472
12473 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * paragraph.C (writeFile): remove footflag arg
12476
12477         * buffer.C (makeLaTeXFile): use stringstream
12478         (latexParagraphs): remove footnot gurba
12479
12480         * LaTeXFeatures.C (getPackages): use stringstream
12481         (getMacros): likewise
12482         (getTClassPreamble): likewise
12483         (getFloatDefinitions): new method
12484
12485         * paragraph.C (writeFile): reindent
12486         (Erase): reindent
12487
12488         * WorkArea.h: revert the xpos + etc changes.
12489
12490         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12491
12492         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12493
12494         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12495         (pasteSelection): likewise
12496         * text2.C (CreateUndo): likewise
12497
12498 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * minibuffer.C (peek_event): temporarily reduce the functionality
12501         of the minibuffer (to allow args on lfuns)
12502
12503         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12504         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12505
12506         * buffer.C (readInset): add compability reading of old float
12507         lists, add reading of new style float list.
12508         (readInset): avoid reevaluation of inscmd.getCmdName()
12509         (getLists): reindent
12510
12511         * MenuBackend.C (MenuItem): implement parsing of
12512         md_floatlistinsert and md_floatinsert.
12513         (expand::LastFiles): move initalizaton of iterators out of loop,
12514         avoid reevaluation.
12515         (expand::Documents): introduce typdedef vector<string> Strings,
12516         and use it.
12517         (expand::ExportFormats): introduce typedef vector<Format const *>
12518         Formats, and use it.
12519         (expand): implement FloatListInsert and FloatInsert.
12520
12521         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12522         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12523         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12524
12525         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12526         handling.
12527         (Dispatch::LFUN_FLOAT_LIST): implement
12528
12529 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12530
12531         * LaTeX.C (run): Fix problem with --export code.
12532
12533 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12534
12535         * BufferView.[Ch] (workarea): removed.
12536         (getClipboard) new method; wrapper for workarea()->getClipboard()
12537
12538         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12539         bug.
12540
12541         * WorkArea.h (width, height, xpos, ypos): These methods all
12542         returned the dimensions of the work_area sub-area of WorkArea,
12543         resulting in a position error if the WorkArea were resized. Now
12544         return the dimensions of the entire WorkArea.
12545
12546         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12547
12548 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12549
12550         * LaTeX.C (deplog): correct the syntax of regex reg1
12551
12552 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * undo.C: remove !NEW_INSETS cruft
12555
12556 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * text2.C: remove !NEW_INSETS cruft
12559
12560         * text.C: remove !NEW_INSETS cruft
12561
12562         * tabular.C: remove !NEW_INSETS cruft
12563
12564         * spellchecker.C: remove !NEW_INSETS cruft
12565
12566         * lyxtext.h: remove !NEW_INSETS cruft
12567
12568         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12569
12570         * lyxfunc.C: remove !NEW_INSETS cruft
12571
12572         * lyxfind.C: remove !NEW_INSETS cruft
12573
12574         * lyx_cb.C: remove !NEW_INSETS cruft
12575
12576         * figureForm.C: remove  !NEW_INSETS cruft
12577
12578         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12579
12580         * buffer.[Ch]: remove !NEW_INSETS cruft
12581
12582         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12583
12584         * CutAndPaste.C: remove !NEW_INSETS cruft
12585
12586         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12587
12588         * BufferView2.C: remove !NEW_INSETS cruft
12589
12590         * BufferView.h: remove !NEW_INSETS cruft
12591
12592 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * Lsstream.h: include LString.h before the sstream headers to
12595         fix problem with gcc 2.95.3 and lyxstring
12596
12597 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12598
12599         * lyx_main.C: add using directives when needed for C functions
12600         declared in std:: namespace.
12601
12602 2001-04-27  Juergen Vigna  <jug@sad.it>
12603
12604         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12605         (SetHeightOfRow): comment out the update call should not be needed!
12606
12607 2001-04-13  Juergen Vigna  <jug@sad.it>
12608
12609         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12610         (LyXTabular): tried to minimize operator= operations (and realized
12611         hopfully Lars wish).
12612
12613 2001-04-27  Juergen Vigna  <jug@sad.it>
12614
12615         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12616
12617 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12620
12621         * buffer.C (readInset): hack to make listof algorithm work
12622
12623         * BufferView_pimpl.C: hack to make listof algorithm work
12624
12625 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * LyXAction.C: removed all !NEW_INSETS cruft
12628         (init): moved lfun_item in method
12629
12630         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12631
12632 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12633
12634         * BufferView2.C (theLockingInset): white space.
12635
12636 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * minibuffer.C: include <iostream>
12639
12640         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12641
12642         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12643
12644         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12645
12646         * text.[Ch] (TransposeChars): new method
12647
12648 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * call message directly through LyXView instead of through LyXFunc
12651         * BufferView2.C: adjust
12652         * BufferView_pimpl.C: adjust
12653         * FontLoader.C: adjust
12654         * buffer.C: adjust
12655         * bufferview_funcs.C: adjust
12656         * converter.C: adjust
12657         * figureForm.C: adjust
12658         * importer.C: adjust
12659         * lyx_cb.C: adjust
12660         * lyx_gui_misc.C: adjust
12661         * lyxfunc.C: adjust
12662         * lyxvc.C: adjust
12663         * text2.C: adjust
12664         + more files in subdirs
12665
12666         * lyxparagraph.h (size): move up int file
12667         (GetLayout): ditto
12668
12669         * adjust all uses of Assert to lyx::Assert.
12670
12671         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12672         lyxfunctional in namespace lyx
12673         * layout.C (hasLayout): ditto
12674         (GetLayout): ditto
12675         (GetLayout): ditto
12676         (delete_layout): ditto
12677         (NumberOfClass): ditto
12678         * converter.C (GetFormat): ditto
12679         (GetNumber): ditto
12680         (Add): ditto
12681         (Delete): ditto
12682         (SetViewer): ditto
12683         * bufferlist.C (getFileNames): ditto
12684         (emergencyWriteAll): ditto
12685         (exists): ditto
12686         (getBuffer): ditto
12687         * MenuBackend.C (hasSubmenu): ditto
12688         (hasMenu): ditto
12689         (getMenu): ditto
12690         * BufferView_pimpl.C (getInsetByCode): ditto
12691
12692 2001-04-18  Juergen Vigna  <jug@sad.it>
12693
12694         * vspace.C (asLatexString): fixed the 100% problem.
12695
12696 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12697
12698         * lyxfunc.C (Dispatch):
12699         * minibuffer.C:
12700         * minibuffer.h: add a few std:: qualifiers
12701
12702 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * minibuffer.[Ch]: reimplement so that commands is initiated and
12705         run from lyxfunc, simplified som handling, and made the completion
12706         and history code for complete. wip.
12707
12708         * lyxfunc.C (processKeySym): call message
12709         (miniDispatch): new temporary method
12710         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12711         (LFUN_MESSAGE): implement
12712         (LFUN_MESSAGE_PUSH): implement
12713         (LFUN_MESSAGE_POP): implement
12714         (initMiniBuffer): the initial/defualt minibuffer message.
12715
12716         * lyxfont.[Ch]: inline some more getters
12717
12718         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12719
12720         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12721
12722         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12723         (AutoSave): use LFUN_MESSAGE
12724         (Reconfigure): ditto
12725
12726         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12727
12728         * figureForm.C: use LFUN_MESSAGE
12729
12730         * converter.C (runLaTeX): use LFUN_MESSAGE
12731
12732         * bufferview_funcs.C: use LFUN_MESSAGE
12733         (Melt): ditto
12734         (changeDepth): ditto
12735
12736         * bufferparams.h: use boost::
12737
12738         * bufferlist.h: inherit privately from noncopyable
12739
12740         * bufferlist.C (loadLyXFile): remove some commented code.
12741
12742         * buffer.C (runChktex): use LFUN_MESSAGE
12743
12744         * ShareContainer.h: inherit privately from noncopyable
12745
12746         * ParagraphParameters.[hC] (depth): inline it.
12747
12748         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12749         methods.
12750         (message): new method
12751         (messagePush): ditto
12752         (messagePop): ditto
12753         (show): init minibuffer
12754         (showState): direct call
12755
12756         * LaTeX.[Ch]: inherit privately from noncopyable
12757         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12758         instead of WriteStatus.
12759
12760         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12761
12762         * BufferView_pimpl.C (buffer): don't init minibuffer
12763         (workAreaButtonPress): use LFUN_MESSAGE
12764         (workAreaButtonRelease): ditto
12765         (savePosition): ditto
12766         (restorePosition): ditto
12767         (MenuInsertLyXFile): ditto
12768         (workAreaExpose): don't init minibuffer
12769         (update): remove commented code, simplify
12770
12771         * BufferView2.C (openStuff): use LFUN_MESSAGE
12772         (toggleFloat): ditto
12773         (menuUndo): ditto
12774         (menuRedo): ditto
12775         (copyEnvironment): ditto
12776         (pasteEnvironment): ditto
12777         (copy): ditto
12778         (cut): ditto
12779         (paste): ditto
12780         (gotoInset): ditto
12781         (updateInset): remove some commented code
12782
12783         * lastfiles.h: inherit privately from noncopyable
12784         * layout.h: ditto
12785         * lyx_gui.h: ditto
12786         * lyx_main.h: ditto
12787         * lyxlex.h: ditto
12788         * lyxlex_pimpl.h: ditto
12789
12790         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12791         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12792         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12793
12794         * LyXAction.h: inherit privately from noncopyable, add methods
12795         func_begin, func_end, returning iterators to the func map.
12796
12797         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12798         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12799         (func_begin): new method
12800         (func_end): new method
12801
12802         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12803         and not)
12804         (copySelection): ditto
12805         (pasteSelection): ditto
12806
12807         * BufferView.C: whitespace change
12808         * BufferView.h: inherit privately from noncopyable
12809
12810 2001-04-16  Allan Rae  <rae@lyx.org>
12811
12812         * tabular-old.C (l_getline):
12813         * spellchecker.C (sc_check_word):
12814         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12815         an unrecognised preprocessor directive.  So ensure they're wrapped.
12816
12817 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12818
12819         * src/exporter.C (Export): Give an error message when path to file
12820         contains spaces.
12821
12822 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * LaTeX.C (deplog): Always check that foundfile exists.
12825
12826 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * lyx_main.h:
12829         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12830
12831 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * tabular.[Ch] (getLabelList): implement new method
12834
12835         * minibuffer.h: comment ouf setTiimer
12836
12837         * minibuffer.C (ExecutingCB): constify res
12838         (peek_event): constify s
12839         (Set): constify ntext
12840         (Init): constify nicename
12841
12842         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12843
12844         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12845         (savePosition): use two params to Minibuffer::Set
12846         (restorePosition): ditto
12847
12848 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * lyx_main.C: include language.h
12851
12852         * Makefile.am (lyx_main.o): add language.h
12853
12854 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * exporter.C:
12857         * paragraph.C:
12858         * screen.C:
12859         * tabular.C:
12860         * CutAndPaste.C: include gettext.h
12861
12862         * lyxfont.h: remove old hack with ON and OFF.
12863
12864         * lyxparagraph.h:
12865         * lyxfont.h: do not include language.h...
12866
12867         * BufferView2.C:
12868         * LaTeXFeatures.C:
12869         * Painter.C:
12870         * bufferview_funcs.C:
12871         * font.C:
12872         * lyxfont.C:
12873         * text.C:
12874         * text2.C:
12875         * trans_mgr.C:
12876         * paragraph.C: ... but do it here instead
12877
12878 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12881
12882         * tabular.C: small reformat
12883
12884         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12885         NEW_INSETS version
12886         (GetChar): ditto
12887         (BreakParagraph): ditto
12888         (SetOnlyLayout): ditto
12889         (SetLayout): ditto
12890
12891         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12892         with one arg less.
12893
12894         * lastfiles.C: removed most using decl, add std:: where needed
12895
12896         * buffer.C: ws changes
12897
12898         * MenuBackend.C (class compare_format): put into anon namespace
12899         (expand): constify label, names, action, action2
12900         (expand):
12901
12902         * text.C (SingleWidth): constify font
12903         (IsBoundary): constify rtl2
12904         (GetVisibleRow): constify ww
12905
12906         * LaTeX.C (deplog): constify logfile
12907
12908         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12909         start_x, end_x
12910         (workAreaExpose): constify widthChange, heightChange
12911
12912         * lyxrow.C (par): moved
12913         (height): moved
12914         (next): moved
12915         * lyxrow.h: as inlines here
12916
12917         * lyxfont.h (shape): moved from lyxfont.C
12918         (emph): moved from lyxfont.C
12919
12920         * lyxfont.C (LyXFont): use initialization list for all
12921         constructors
12922         (shape): move to lyxfont.h as inline
12923         (emph): move to lyxfont.h as inline
12924
12925
12926 2001-04-04  Juergen Vigna  <jug@sad.it>
12927
12928         * vspace.C: had to include stdio.h for use of sscanf
12929
12930 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12931
12932         * BufferView.h:
12933         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12934         independent of xforms.
12935
12936 2001-04-02  Juergen Vigna  <jug@sad.it>
12937
12938         * spellchecker.C: fixed namespace placing!
12939
12940 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12941
12942         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12943         the LyXParagraph * is 0.
12944
12945 2001-03-29  Juergen Vigna  <jug@sad.it>
12946
12947         * vspace.C: added support for %, c%, p%, l%.
12948         (stringFromUnit): added helper function.
12949         (asLatexString): changed to give right results for the %-values.
12950
12951         * buffer.C: convert the widthp in a width%.
12952
12953 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12954
12955         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12956         figureForm.[Ch].
12957
12958         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12959         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12960
12961         * lyx_cb.[Ch]: see above.
12962
12963         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12964         form1.[Ch].
12965
12966         * form1.[Ch]:
12967         * lyx.[Ch]: replaced by figure_form.[Ch].
12968
12969         * lyx_gui.C:
12970         * lyx_gui_misc.C:
12971         * lyxfunc.C: changed headers associated with above changes.
12972
12973 2001-03-27  Juergen Vigna  <jug@sad.it>
12974
12975         * BufferView_pimpl.C: set the temporary cursor right!
12976
12977 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12978
12979         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12980
12981 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * LString.h: removed "using std::getline"!
12984
12985         * BufferView_pimpl.C (Dispatch): changes due to changes in
12986         InsetInclude::Params.
12987
12988         * buffer.C (tag_name): removed redundant break statements as they were
12989         producing lots of warnings with my compiler.
12990
12991 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * LString.h: add "using std::getline" when using the real <string>.
12994
12995 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12996
12997         * buffer.C: removed bitset usage.
12998         PAR_TAG moved to an anonymous name space.
12999         (tag_name): new funtion, also in the anonymous namespace.
13000         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13001         (makeDocBookFile): clean code. Completed transition from string arrays
13002         to string vectors.
13003         (SimpleDocBookOnePar): code clean.
13004
13005 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13006
13007         * tabular.C: add some comments.
13008
13009 2001-03-22  Juergen Vigna  <jug@sad.it>
13010
13011         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13012         compatibility read a bit and fixed bug with minipage in different
13013         depth.
13014
13015 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13016
13017         * buffer.C (pop_tag): removed.
13018         (push_tag): removed.
13019         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13020         array replaced with vector. Added support for CDATA sections.
13021         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13022         at any nest level.
13023         (makeDocBookFile): XML conformant declaration of CDATA section,
13024         fixed bug related to <emphasis> in the first paragraph char.
13025         (sgmlOpenTag): exclude empty tags.
13026         (sgmlCloseTag): ditto.
13027
13028         * buffer.h (pop_tag): removed.
13029         (push_tag): removed.
13030
13031 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13032
13033         * language.h (Languages): added size_type and size().
13034
13035 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13036
13037         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13038         response on compability reading of minipages. One probliem is that
13039         the old usage of minipages was «flertydig»
13040
13041         * several files here and in subdirs: don't use static at file
13042         scope use anon namespaces instead.
13043
13044 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13045
13046         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13047         LaTeX output. This is necessary for Literate document
13048         processing.
13049
13050 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13051
13052         * buffer.C: insert hfill when needed.
13053
13054         * tabular.C (l_getline): use string::erase, small whitespace change.
13055
13056         * BufferView_pimpl.C: try the anon namespace.
13057         * WorkArea.C: ditto
13058
13059 2001-03-16  Juergen Vigna  <jug@sad.it>
13060
13061         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13062         otherwise it won't open options-dialogs.
13063
13064         * buffer.C: honor pextraWidth(p) on converting minipages.
13065
13066         * tabular.C (l_getline): changed the functions to strip trailing \r.
13067
13068 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * BufferView_pimpl.C:
13071         * minibuffer..C: added "using SigC::slot" declaration.
13072
13073 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13074
13075         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13076
13077         * text2.C: ditto
13078
13079         * text.C: ditto
13080
13081         * paragraph.C: ditto
13082
13083         * lyxtext.h: NO_PEXTRA
13084
13085         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13086
13087         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13088         * ParameterStruct.h: ditto
13089         * ParagraphParameters.h: ditto
13090         * lyxparagraph.h: ditto
13091
13092 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13093
13094         * buffer.C: add compability for minipage alignment.
13095         (latexParagraphs): remove unwanted pextra check.
13096
13097         * several files: remove CXX_WORKING_NAMESPACES
13098
13099         * buffer.C (pop_tag): tie is in namespace boost
13100
13101         * BufferView.h: noncopyable is in namespace boost
13102         * lyxlex.h: ditto
13103         * lyx_main.h: ditto
13104         * lyx_gui.h: ditto
13105         * layout.h: ditto
13106         * lastfiles.h: ditto
13107         * bufferlist.h: ditto
13108         * ShareContainer.h: ditto
13109         * LyXView.h: ditto
13110         * LyXAction.h: ditto
13111         * LaTeX.h: ditto
13112
13113 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13114
13115         * Merging changes from BRANCH_MVC back into HEAD.
13116
13117         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13118
13119 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * BufferView_pimpl.C: change from intl.C
13122
13123         * combox.h:
13124         * combox.C:
13125         * Makefile.am: move combox.*
13126
13127         * form1.h:
13128         * form1.C:
13129         * lyx_gui.C:
13130         * intl.h:
13131         * intl.C: remove dialog (covered by prefs)
13132
13133 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * lyxfunc.C (Dispatch): removed redundant break statement.
13136
13137 2001-03-14  Juergen Vigna  <jug@sad.it>
13138
13139         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13140
13141 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13142
13143         * buffer.C: add hack to fix compability reading of minipages.
13144
13145 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * buffer.C (getLists): Cleanup.
13148
13149 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13150
13151         * lyxfont.C (update): don't honor toggleall on font size.
13152
13153 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * bmtable.c:
13156         * bmtable.h:
13157         * Makefile.am: moved to frontends/xforms/
13158
13159         * lyx_gui_misc.C:
13160         * lyxfunc.C:
13161         * BufferView_pimpl.C: changes for moved mathpanel
13162
13163 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13164
13165         * gettext.h: fix gettext_init() in --disable-nls
13166
13167 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13170
13171 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13172
13173         * lyx.C:
13174         * lyx.h: strip external form
13175
13176 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * BufferView_pimpl.C: add comment, destroySplash()
13179
13180 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * BufferView_pimpl.C:
13183         * LyXAction.C:
13184         * buffer.C:
13185         * commandtags.h:
13186         * lyxfunc.C: use re-worked insetinclude
13187
13188 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13189
13190         * buffer.C: add using std::stringstream.
13191
13192         * lyx_cb.C: readd using std::ios.
13193
13194         * buffer.C: add using std::map.
13195
13196         * BufferView_pimpl.C: add using std::vector.
13197
13198         * ShareContainer.h: add std:: to swap.
13199
13200         * buffer.h: add some typedefs
13201         * buffer.C (getLists): use them
13202         (getLists): renamed from getTocList.
13203         add a counter for the different float types and use it in the
13204         generated string.
13205         (getLists): use the same counter for the NEW_INSETS and the "non"
13206         NEW_INSETS
13207
13208         * lyx_cb.h: remove unused items, includes, using etc.
13209
13210         * ShareContainer.h: remove some commented code, add more comments
13211         and "documentation".
13212
13213 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13214
13215         * buffer.C (getTocList): make the list also when NEW_INSETS is
13216         defined.
13217
13218         * buffer.h: remove TocType
13219
13220         * buffer.C (getTocList): change to return a map<string,
13221         vector<TocItem> >, implement for dynamic number of list.
13222
13223         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13224         * text2.C (PasteSelection): adjust
13225         * CutAndPaste.C (pasteSelection): adjust
13226
13227         * FloatList.C (FloatList): update from the new_insets branch.
13228         * Floating.[Ch]: ditto
13229         * LaTeXFeatures.C: ditto
13230         * buffer.C: ditto
13231         * lyxlex_pimpl.C: ditto
13232
13233         * paragraph.C (Last): remove when NEW_INSETS is defined.
13234
13235         * other file: changes because of the above.
13236
13237 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13238
13239         * lyxparagraph.h: rename next to next_, previous to previous_,
13240         make them private for NEW_INSETS. Rename Next() to next(),
13241         Previous() to previous().
13242
13243         * other files: changes because of the above.
13244
13245 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13246
13247         * BufferView.h:
13248         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13249         problem.
13250
13251 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * main.C (main): pass lyx_localedir to gettext_init().
13254
13255         * gettext.h: remove locale_init and gettext_init macros
13256
13257         * gettext.C (locale_init): new function
13258         (gettext_init): new function
13259
13260         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13261         setlocale().
13262
13263 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13264
13265         * Moved credits to frontends:
13266         * credits.[Ch]: removed
13267         * credits_form.[Ch]: removed
13268         * lyx_gui_misc.C: remove credits stuff
13269         * Makefile.am:
13270
13271 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13272
13273         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13274
13275         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13276         unneeded destructor.
13277
13278         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13279         a standalone pointer again.
13280
13281         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13282
13283 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * Makefile.am:
13286         * filedlg.h:
13287         * filedlg.C:
13288         * LyXAction.C:
13289         * ToolbarDefaults.C:
13290         * bufferlist.C:
13291         * commandtags.h:
13292         * form1.C:
13293         * form1.h:
13294         * lyx_cb.C:
13295         * lyx_cb.h:
13296         * lyxfunc.h:
13297         * lyxfunc.C:
13298         * BufferView_pimpl.C: use new file dialog in GUII
13299
13300         * lyx_cb.h:
13301         * lyx_cb.C: remove LayoutsCB to Toolbar
13302
13303 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * ShareContainer.h (get): add std:: qualifier
13306
13307 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * ShareContainer.h: define a proper ShareContainer::value_type
13310         type (and use typename to please compaq cxx)
13311
13312 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13313
13314         * lyxparagraph.h: move serveral local vars to
13315         ParameterStruct/ParagraphParameters., use ShareContainer in
13316         FontTable., make vars in FontTable private and add getter and
13317         setter.
13318
13319         * paragraph.C: changes because of the above.
13320
13321         * lyxfont.h: remove copy constructor and copy assignment. (the
13322         default ones is ok), move number inside FontBits. move inlines to
13323         lyxfont.C
13324
13325         * lyxfont.C: add number to initializaton of statics, move several
13326         inlines here. constify several local vars. some whitespace
13327         cleanup. Dont hide outerscope variables.
13328
13329         * Spacing.h: add two new constructors to match the set methods.
13330
13331         * ShareContainer.h: new file, will perhaps be moved to support
13332
13333         * ParameterStruct.h: new file
13334
13335         * ParagraphParameters.h: new file
13336
13337         * ParagraphParameters.C: new file
13338
13339         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13340         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13341
13342         * BufferView_pimpl.C: ParagraphParameter changes.
13343         * buffer.C: Likewise.
13344         * bufferview_funcs.C: Likewise.
13345         * text.C: Likewise.
13346         * text2.C: Likewise.
13347
13348 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * lyxfind.C (LyXReplace): do not redefine default argument in
13351         implementation.
13352         (IsStringInText): ditto
13353         (SearchForward): ditto
13354         (SearchBackward): ditto
13355
13356 2001-03-06  Juergen Vigna  <jug@sad.it>
13357
13358         * lyxfind.C (IsStringInText): put parentes around expressions.
13359
13360 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13361
13362         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13363
13364 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13365
13366         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13367
13368         * stl_string_fwd.h: add comment
13369
13370         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13371
13372         * tabular.h:
13373         * tabular.C: remove unused DocBook methods
13374
13375         * intl.C:
13376         * language.C:
13377         * paragraph.C:
13378         * buffer.C:
13379         killed DO_USE_DEFAULT_LANGUAGE
13380
13381 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * lyx_gui.C: do not include language.h.
13384
13385         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13386         arguments in function implementation.
13387
13388 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13389
13390         * BufferView_pimpl.C: add <ctime>
13391
13392 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13393
13394         * BufferView_pimpl.C: add using std::find_if
13395
13396 2001-02-27  José Matos  <jamatos@fep.up.pt>
13397
13398         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13399         by OnlyPath.
13400
13401 2001-02-11  José Matos  <jamatos@fep.up.pt>
13402
13403         * buffer.C (makeDocBookFile): command styles now have a parameter as
13404         "title" by default.
13405
13406 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13407
13408         * layout_forms.[Ch]: removed
13409         * lyx_cb.[Ch]: out character
13410         * lyx_gui.C: out character
13411         * lyx_gui_misc.C: out character
13412         * bufferview_funcs.C: : out character,
13413         added toggleall as parameter in ToggleAndShow
13414
13415 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13418
13419         * text2.C (SetCurrentFont): Disable number property at boundary.
13420
13421 2001-02-26  Juergen Vigna  <jug@sad.it>
13422
13423         * lyxfunc.C (getStatus): added a string argument override function so
13424         that this is correctly called from LyXFunc::Dispatch if it contains a
13425         do_not_use_argument which is used!
13426         (Dispatch): added check for "custom" export and call appropriate func.
13427
13428 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13429
13430         * lyxrc.C: Add language_command_local, language_use_babel and
13431         language_global_options.
13432
13433         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13434
13435         * buffer.C (makeLaTeXFile): Use language_use_babel and
13436         language_global_options.
13437
13438 2001-02-23  Juergen Vigna  <jug@sad.it>
13439
13440         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13441         which works with LyXText and putted it inside BufferView. Here now we
13442         only call for that part the BufferView::Dispatch() function.
13443
13444         * BufferView.C (Dispatch): added.
13445
13446         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13447         functions which needs to use a LyXText over from LyXFunc.
13448         (MenuInsertLyXFile): added
13449         (getInsetByCode): added
13450         (moveCursorUpdate): added
13451         (static TEXT): added
13452
13453 2001-02-22  Juergen Vigna  <jug@sad.it>
13454
13455         * BufferView_pimpl.C (update): call a status update to see if LyXText
13456         needs it.
13457
13458 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13459
13460         * vc-backend.C (revert): implement for CVS
13461         (getLog): implement for CVS
13462
13463 2001-02-20  Juergen Vigna  <jug@sad.it>
13464
13465         * text2.C (ClearSelection): added BufferView param for inset_owner call
13466
13467         * lyxfunc.C (TEXT): added this function and use it instead of
13468         directly owner->view()-text of getLyXText().
13469
13470 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13471
13472         * src/layout_forms.C: out preamble
13473         * src/layout_forms.h: out preamble
13474         * src/lyx_cb.C: out preamble
13475         * src/lyx_cb.h: out preamble
13476         * src/lyx_gui.C: out preamble
13477         * src/lyx_gui_misc.C: out preamble
13478         * src/lyxfunc.C: connect with guii preamble
13479
13480 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13481
13482         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13483
13484 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13485
13486         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13487         whether to run bibtex.
13488
13489 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13492
13493 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13494
13495         * Makefile.am (lyx_SOURCES): removed bibforms.h
13496
13497         * vspace.h: doxygen
13498
13499         * text.C (GetVisibleRow): make several local vars const
13500
13501         * tabular.C: small cleanup.
13502
13503         * lyxserver.C (callback): use compare instead of strncmp
13504
13505         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13506         inlines to after class or to paragraph.C
13507
13508         * lyxfont.h: remove friend operator!=
13509
13510         * converter.h: move friend bool operator< to non friend and after
13511         class def.
13512
13513         * combox.h: small cleanup
13514
13515         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13516         to inlines after class def.
13517
13518         * buffer.C (pop_tag): use string operations instead of strcmp
13519
13520         * bmtable.c: doxygen, small cleanup
13521
13522         * LaTeX.h: remove friend operator==
13523
13524 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13525
13526         * screen.C:
13527         * lyxrc.[Ch]:
13528         * lyxfunc.C:
13529         * lyxfont.[Ch]:
13530         * lyx_cb.C:
13531         * intl.[Ch]:
13532         * commandtags.h:
13533         * buffer.C:
13534         * WorkArea.[Ch]:
13535         * LyXAction.C:
13536         * BufferView_pimpl.C:
13537         * BufferView.[Ch]: remove cruft
13538
13539 2001-02-14  Juergen Vigna  <jug@sad.it>
13540
13541         * lyxfunc.C: removed #if 0 unused code
13542
13543         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13544
13545         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13546
13547         * text2.C (SetSelection): added a BufferView * parameter
13548
13549 2001-02-13  Juergen Vigna  <jug@sad.it>
13550
13551         * lyxfunc.C (Dispatch): fixed protected blank problem.
13552         * BufferView2.C (protectedBlank): added LyxText * parameter.
13553
13554         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13555         (AppendColumn): same as above for column_info.
13556
13557         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13558         (moveCursorUpdate): use a LyXText param for support of InsetText.
13559
13560         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13561         (tripleClick): ditto
13562
13563         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13564
13565         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13566
13567         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13568
13569         * text2.C (SetSelection): set correct update status if inset_owner
13570         (ToggleFree): ditto
13571
13572 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13573
13574         * tabular.C: remove some commented code.
13575
13576 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * BufferView_pimpl.C: call hideSplash()
13579
13580         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13581
13582         * include_form.h:
13583         * bibforms.h: remove
13584
13585         * lyxfunc.C:
13586         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13587           add LFUN_CHILD_CREATE
13588
13589         * counters.h: fix tiny typo
13590
13591         * lyx_cb.C:
13592         * lyx.h:
13593         * lyx_gui.C:
13594         * lyx.C: move splash to frontends/xforms/
13595
13596         * lyx_gui_misc.C: move Include and Bibform to frontends
13597
13598         * lyxvc.h: clarify comment
13599
13600         * vspace.C: tiny housekeeping
13601
13602 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * text.C (PrepareToPrint): RTL Fix.
13605
13606         * paragraph.C (GetUChar): New method.
13607         (String):  Use GetUChar.
13608
13609         * buffer.C (asciiParagraph): Use GetUChar.
13610
13611 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13612
13613         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13614
13615 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * buffer.h:
13618         * buffer.C: rename to getLogName(), handle
13619           build log / latex log nicely
13620
13621 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * MenuBackend.C:
13624         * MenuBackend.h: remove support for reference menuitem type.
13625
13626 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * BufferView_pimpl.C: housekeeping
13629         * BufferView_pimpl.h:
13630         * LyXView.h:
13631         * Makefile.am:
13632         * Timeout.C:
13633         * Timeout.h:
13634         * minibuffer.h: move Timeout GUI-I
13635
13636 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13637
13638         * lyxrc.C (read): Update converters data-structures.
13639
13640 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13641
13642         * LaTeX.h (operator!=): add operator != for Aux_Info
13643
13644 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13647
13648         * LaTeXLog.C: deleted, useful code moved to Buffer
13649
13650         * buffer.h:
13651         * buffer.C: new function getLatexLogName()
13652
13653         * lyx_gui_misc.C:
13654         * lyx_gui.C:
13655         * lyxvc.C:
13656         * lyxvc.h:
13657         * lyxfunc.C: use frontends for LaTeX and VC logs
13658
13659 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * LaTeX.h: yet another std:: that Allan forgot.
13662
13663         * Variables.C (set): renamed from isset(), because this clashes
13664         with some HP-UX macros (grr).
13665
13666 2001-02-06  Allan Rae  <rae@lyx.org>
13667
13668         * LaTeX.h: Another bug fix.  Missing std:: this time.
13669
13670 2001-02-04  Allan Rae  <rae@lyx.org>
13671
13672         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13673         floats problem. I've left it commented out because it's not quite
13674         correct.  It should also test that the current object is a table or
13675         figure inset.  But I haven't gotten around to figuring out how to do
13676         that.  I *think* it'll be something like: "table" == inset.type()
13677
13678         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13679         bool.
13680
13681 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13682
13683         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13684         all the citation/databases/styles in the auxilary file.
13685         (run): Rerun latex if there was a babel language error.
13686
13687 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * text.C (Backspace): Preserve the font when changing newline char
13690         with a space.
13691         (BreakParagraph): If the cursor is before a space, delete the space.
13692
13693         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13694
13695 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13698         new argument (code).
13699         (ChangeCitationsIfUnique): New method.
13700
13701         * paragraph.C (GetPositionOfInset): Handle bibkey.
13702
13703 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13704
13705         * BufferView_pimpl.h: change type of Position::par_pos to
13706         LyXParagraph::size_type.
13707
13708 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13709
13710         * BufferView_pimpl.C (savePosition, restorePosition): Write
13711         messages to minibuffer.
13712
13713 2001-01-28  José Matos  <jamatos@fep.up.pt>
13714
13715         * buffer.C (makeDocBookFile): adds support for document language.
13716         A silly restriction on the name of LatexCommand types where removed.
13717         Added support for CDATA sections, allows to chars unescaped, used
13718         among others in code, to avoid escape < and >.
13719
13720 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13721
13722         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13723         saved positions instrad of a stack. Furthermore, a position is
13724         stored using paragraph id/paragraph position.
13725
13726         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13727         Remove LFUN_REF_BACK.
13728
13729 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13730
13731         * converter.C (dvipdfm_options): New method.
13732
13733 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * vspace.C (isValidLength): Fix for empty input string.
13736
13737 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * LyXAction.C (init): change description of LFUN_FIGURE to
13740         "Insert Graphics"
13741
13742 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13743
13744         * LaTeX.C: add using directive
13745
13746 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * MenuBackend.C (expand): Fix the sorting of the formats.
13749
13750 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * lyx_main.C: tiny error message fix
13753
13754 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13755
13756         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13757         calling fl_initialize(). This fixes the problem with ',' as
13758         decimal separator in text files.
13759
13760 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * trans.C (process): Fix the keymap bug.
13763
13764 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * LaTeX.C (scanAuxFiles): New method. Provides support for
13767         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13768         (scanLogFile) Scan for "run BibTeX" messages.
13769
13770         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13771         OT1 font encoding. Also, load the aecompl package if the ae
13772         package is loaded.
13773
13774         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13775
13776 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * texrow.C (increasePos): turn two error messages into debug
13779         messages.
13780
13781 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * LaTeX.C (scanAux): Handle the \@input macro.
13784         (runBibTeX): Use scanAux().
13785
13786         * language.C (latex_options_): New field.
13787
13788         * LaTeXFeatures.C (getMacros): Add language macros.
13789
13790         * buffer.C (makeLaTeXFile): Small fix.
13791
13792 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13795
13796         * text2.C: add a using directive.
13797
13798 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * BufferView2.C:
13801         * lyx_gui_misc.h:
13802         * lyxfr1.C:
13803         * lyxfunc.C: kill LyXBell.
13804
13805 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * text.C (IsBoundary): Remove the error message
13808
13809         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13810
13811         * lyxrc.C (setDefaults): Correct initialization value for
13812         font_norm_type.
13813
13814 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13817         gotoError().
13818
13819         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13820         and GotoNextNote().
13821
13822         * src/LyXAction.C: Added reference-next.
13823
13824         * text.C (InsertChar): Use contains instead of strchr.
13825
13826         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13827
13828 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13829
13830         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13831         alignment commands (when needed).
13832
13833         * text.C (InsertChar): Add ':' to number separator chars.