]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f6c5a45dca366046b0467507c15ef5f557afb99c
[lyx.git] / src / ChangeLog
1 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * lyxtext.h: x0_,y0_ -> xo_,yo_ 
4         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
5         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
6         * rowpainter.C (paintRows): paint full paragraphs
7
8 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
9
10         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
11         screen coordinates)
12
13 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * lyxtext.h: add x0_, y0_
16         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
17         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
18
19 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
20
21         * text2.C (setCursorIntern): move the x_target update here *
22         * text3.C: change some bv() to true/false in calls to
23         cursorUp/Down/Right/Left
24         * cursor.C: use helper function.
25
26 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
27
28         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
29         * paragraph_funcs.[Ch]: correct comment
30         * rowpainter.C: do not paint selections away from bv->cursor()
31         Fix a long standing selection painting bug.
32         * text3.C: generalize mouse-selection code to LyXTexts other that
33         top one
34         * textcursor.C: do not use y coords if we can use par offsets
35
36 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
37
38         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
39         cursor position after e.g. inset insert)
40
41 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * lyxfind.C (replace): adjust to locking removal + some
44         code simplification
45
46 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
49         of the path
50
51 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * lyxlayout.[Ch]: 
54         * output_docbook.C: XML sanitation: new layout 
55         parameters InnerTag and CommandDepth
56
57 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * BufferView_pimpl.C:
60         * factory.C:
61         * text3.C: Fix the insertion and modification of button-style
62         insets
63
64 2003-11-13  André Pönitz  <poenitz@gmx.net>
65
66         * InsetList.[Ch]: remove deleteLyXText
67
68         * paragraph.[Ch]: cache beginOfBody position
69
70         * Bidi.C:
71         * text.C:
72         * text2.C:
73         * text3.C: remove superfluous update() calls
74
75         * vspace.C: cleanup
76
77 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
78
79         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
80         * BufferView.C (fitLockedInsetCursor): remove
81         * cursor.[Ch] (getDim): add
82         * text.C (getRowNearY): add faster version
83         * text3.C: remove some update calls
84
85 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * LaTeXFeatures.C:
88         * LyXAction.C:
89         * MenuBackend.C:
90         * MenuBackend.h:
91         * dispatchresult.h:
92         * factory.C:
93         * lfuns.h:
94         * lyxfunc.C:
95         * lyxtextclass.C:
96         * lyxtextclass.h:
97         * text3.C: The Character Style /XML short element patch.
98
99 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * text3.C:
102         * factory.C: Small step to solving 'unable to insert some insets'
103         problem
104
105 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * cursor.[Ch] (updatePos): new function for updating the y
108         position of the tip inset
109         * bufferview_funcs.C (put_selection_at): 
110         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
111
112 2003-11-11  André Pönitz  <poenitz@gmx.net>
113
114         * text.C: remove big comment on invalid Paragraph pointers as it is
115         not valid anymore
116
117 2003-11-11  André Pönitz  <poenitz@gmx.net>
118
119         * text_funcs.[Ch]: merge with ...
120
121         * text.C: ... this
122
123         * lyxtext.h:
124         * text2.C:
125         * text3.C: adjust
126
127         * Makefile.am: remove text_funcs.[Ch]
128
129 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
130
131         * cursor.C (getPos): return absolute cached y coord
132
133         * BufferView_pimpl.C (fitCursor): new simplistic code
134         (workAreaDispatch): add a fitCursor call
135
136 2003-11-10  André Pönitz  <poenitz@gmx.net>
137
138         * BufferView.[Ch]:
139         * BufferView_pimpl.[Ch]: merge update() and updateInset()
140
141 2003-11-10  André Pönitz  <poenitz@gmx.net>
142
143         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
144         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
145         indicate that the cursor needs to leave an inset
146
147         * lyxtext.h: remove inset locking
148
149         * cursor.[Ch]: re-implement functionality provided by inset locking
150
151         * BufferView.[Ch]:
152         * BufferView_pimpl.[Ch]:
153         * LyXAction.C:
154         * bufferview_funcs.[Ch]:
155         * factory.C:
156         * funcrequest.[Ch]:
157         * iterators.C:
158         * lyx_cb.C:
159         * lyxfind.C:
160         * lyxfunc.C:
161         * text.C:
162         * text2.C:
163         * text3.C:
164         * undo.C: adjust
165
166 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
167
168         * PosIterator.[Ch]: replace the stack with a vector, add inset 
169         accesor
170         * iterators.[C]: adjust
171
172 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
173
174         * lyxfind.C (replaceAll): mark the buffer dirty if something was
175         replaced
176         * paragraph_funcs.C (readParToken): put the correct id in the
177         error item, not the id of the top paragraph
178
179 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
180
181         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
182         * bufferview_funcs.C (put_selection_at): use the above
183
184 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
185
186         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
187
188 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * output_linuxdoc.h: 
191         * output_plaintext.h: 
192         * output.h: 
193         * output_docbook.h: add #include statements
194
195 2003-11-05  José Matos  <jamatos@lyx.org>
196
197         * output_docbook.[Ch]:
198         * output_latex.[Ch]:
199         * output_linuxdoc.[Ch]:
200         * output_plaintext.[Ch]: New files for output formats.
201         * output.[Ch]: New file for helper functions.
202
203         * buffer.[Ch]:
204         * paragraph_funcs.[Ch]: output functions moved to new files.
205
206         * outputparams.h: rename of latexrunparams.h
207
208         * LaTeX.[Ch]:
209         * buffer.[Ch]:
210         * bufferlist.[Ch]:
211         * converter.[Ch]:
212         * exporter.C:
213         * paragraph.[Ch]:
214         * paragraph_funcs.[Ch]:
215         * paragraph_pimpl.[Ch]:
216         * tabular.[Ch]: rename ascii to plaintext
217         and LatexRunParams to OutputParams.
218         
219 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
220
221         * iterators.[Ch] (text): require bv argument
222         * undo.C (recordUndo): 
223         * lyxfunc.C (dispatch): 
224         * bufferview_funcs.C (put_selection_at): adjust
225
226 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
227
228         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
229
230 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
231
232         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
233         nestings
234
235 2003-11-04  André Pönitz  <poenitz@gmx.net>
236
237         * cursor.[Ch]: restructure
238
239         * BufferView.[Ch]:
240         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
241
242         * iterators.[Ch] (asCursor): remove
243
244         * lfuns.h: remove LFUN_INSET_EDIT
245
246         * lyxfunc.C:
247         * tabular.C:
248         * text.C:
249         * text2.C:
250         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
251
252 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
253
254         * lyxfind.[Ch]: complete overhaul
255         * BufferView_pimpl.C:
256         * lyxfunc.C: adjust
257         * paragraph.[Ch] (insert): add
258
259 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
260
261         * BufferView.[Ch]:
262         * lyxtext.h:
263         * text.C: remove dead spellcheck code
264         
265 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
266
267         * dispatchresult.h: add a val setter
268
269         * cursor.C (dispatch): use a tempvar for data_[i]
270
271 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
272
273         * PosIterator.[Ch]: compile fix
274
275 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
276
277         * text.C (cursorPar): deactivate the cursor cache
278
279 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
280
281         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
282
283 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
284
285         * text3.C (dispatch): adjust for new DisptchResult semantics.
286
287         * lyxfunc.C (dispatch): handle update when return from
288         Cursor::dispatch, adjust for new DispatchResult semantics.
289
290         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
291         DispatchResult(true) mean to not update. Add class functions for
292         setting dispatched and update, as well as reading.
293
294         * cursor.C (dispatch): don't handle update here
295
296 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
297
298         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
299         * trans_mgr.C: adjust
300
301         * paragraph_funcs.C (readParToken): exception safety
302
303         * lyxvc.h: store the vcs pointer in a scoped_ptr
304         * lyxvc.C: adjust
305
306         * lyxsocket.C (serverCallback): exception safety
307
308         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
309
310         * ispell.C (clone): make it return a auto_ptr
311
312         * factory.C (createInset): exception safety
313         (readInset): exception safety
314
315         * bufferlist.C (newBuffer): exception safety
316
317         * Thesaurus.C (Thesaurus): use initialization for aik_
318
319         * MenuBackend.C (expandToc): exception safety.
320
321 2003-11-03  André Pönitz  <poenitz@gmx.net>
322
323         * buffer.C:
324         * buffer.h:
325         * bufferview_funcs.C: remove getInsetFromId()
326
327         * lyxcursor.[Ch]:
328         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
329
330         * lyxfunc.C:
331         * text2.C:
332         * text3.C: adjust
333
334 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
335
336         * PosIterator.C (distance, advance): new
337         * bufferview_funcs.[Ch] (put_selection_at): new
338         * iterators.[Ch] (lockPath): new
339
340 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
341
342         * iterators.[Ch] (asPosIterator): added
343         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
344         * PosIterator.[Ch]: added
345
346 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
347
348         * text3.C:
349         * lyxfunc.C:
350         * cursor.C (dispatch):
351         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
352
353         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
354         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
355         contructor, add a class function dispatched. Remove operator>=
356
357 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
358
359         * debug.C: only use the default constructor for debugstream
360         (lyxerr) here.
361
362         * main.C (main): include debug.h and setup the lyxerr streambuf
363         here.
364
365 2003-10-31  José Matos  <jamatos@lyx.org>
366
367         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
368
369         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
370         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
371         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
372         * paragraph_pimpl.C (simpleTeXSpecialC):
373         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
374         add LatexRunParams argument.
375
376         * exporter.C (Export): change call accordingly.
377
378         * latexrunparams.h: add new member to take care of the other backends.
379 2003-10-30  José Matos  <jamatos@lyx.org>
380
381         * buffer.C (makeLinuxDocFile, makeDocBookFile):
382         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
383         factorise code for paragraph output.
384         * buffer.[Ch]:
385         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
386         move functions.
387
388 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
389
390         * text3.C (dispatch):
391         * lyxfunc.C (dispatch):
392         * cursor.C (dispatch):
393         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
394
395         * dispatchresult.h: make the dispatch_result_t ctor explicit
396
397 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * sgml.[Ch]:
400         * buffer.C: small refactoring of docbook stuff
401
402 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
403
404         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
405         meaning.
406
407 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
408
409         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
410         operator dispatch_result_t, and operators for == != and >=
411
412         * cursor.C (dispatch): adjust for operator dispatch_result_t
413         removal. comment out call to update
414
415         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
416
417 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
418
419         * text3.C:
420         * text2.C:
421         * text.C:
422         * lyxtext.h:
423         * lyxfunc.C:
424         * cursor.C:
425         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
426         (dispatch):
427
428         * dispatchresult.h: new file, DispatchResult broken out of
429         insets/insetbase.h
430
431         * Makefile.am (lyx_SOURCES): add dispatchresult.h
432
433 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
434
435         * text.C (rowBreakPoint): put a hack inside #if 0
436
437 2003-10-28  André Pönitz  <poenitz@gmx.net>
438
439         * lyxtext.h:
440         * metricsinfo.C:
441         * paragraph_funcs.C:
442         * rowpainter.C:
443         * text.C:
444         * text2.C: general cleanup (lots of small stuff)
445
446 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
447
448         * text2.C (cursorEnd): simple fix to the "end key goes to one
449         before the end on last row" bug
450
451 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
452
453         * text.C (backspace): fix the "zombie characters"
454
455 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
456
457         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
458
459 2003-10-27  André Pönitz  <poenitz@gmx.net>
460
461         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
462
463         * factory.C: handle new InsetPagebreak, InsetLine
464
465         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
466         and move handling into new InsetPagebreak, InsetLine
467
468         * BufferView_pimpl.C:
469         * LyXAction.C:
470         * ParagraphParameters.C:
471         * ParameterStruct.h:
472         * lyxfunc.C:
473         * lyxtext.h:
474         * paragraph.C:
475         * paragraph.h:
476         * paragraph_funcs.C:
477         * paragraph_pimpl.C:
478         * rowpainter.C:
479         * text.C:
480         * text2.C:
481         * text3.C: adjust
482
483 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
484
485         * text.C:
486         * lyxrow_funcs.[Ch]:
487         * Bidi.C:
488         * paragraph.C:
489         * lyxtext.h:
490         * rowpainter.C:
491         * text2.C:
492         * text3.C: remove lastPos uses in favour of Row::endpos
493
494 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
495
496         * undo.C (performUndoOrRedo): fix two crashes by setting a
497         cursor by hand and reordering some calls. Use bv->lockInset instead
498         of inset->edit because the latter loses cursor information
499
500 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
501
502         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
503         by Martin
504         (rowBreakPoint): fix width. change point to point + 1.
505         Add a missing check.
506
507 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
508
509         * MenuBackend.C:
510         * lyxfunc.C: fix (at least partly) the problems
511         with the Nav menu and headers inside branch insets
512         reported by Kayvan
513
514 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
515
516         * paragraph.C (getChar): add strong asserts
517
518         * lyxrow_funcs.C (lastPos): remove hideous hack
519
520         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
521         (fill): adjust to that (avoid an infinite loop)
522
523 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
524
525         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
526
527 2003-10-23  André Pönitz  <poenitz@gmx.net>
528
529         * RowList_fwd.h: change list<> to vector<> to gain speed
530         after suggestion from Alfredo
531
532 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
533
534         * lyxtext.h: move the bidi stuff from here...
535         * text.C: and here
536         * text2.C: and here
537         * Bidi.[Ch]: ... to here
538
539 2003-10-23  André Pönitz  <poenitz@gmx.net>
540
541         * lyxtext.h:
542         * text.C (isLastRow, isFirstRow): new functions
543
544         * paragraph.h: new width cache member
545
546         * rowpainter.C: replace RowList::iterator with Row & where possible
547
548         * lyxfunc.C: replace several view()->text with a single call
549
550         * toc.C: fix 'unused' warning
551
552 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
553
554         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
555         when woring with stream::pos_type
556         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
557
558 2003-10-22  André Pönitz  <poenitz@gmx.net>
559
560         * lyxtext.h:
561         * text.C: use Row & instead of RowList::iterator
562
563         * lyxrow.h: rename end() to endpos()
564
565         * rowpainter.C:
566         * text.C:
567         * text2.C: adjust
568
569 2003-10-22  Angus Leeming  <leeming@lyx.org>
570
571         * buffer.[Ch] (fully_loaded): new member function, returning true
572         only when the file has been loaded fully.
573         Used to prevent the premature generation of previews and by the
574         citation inset to prevent computation of the natbib-style label.
575
576         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
577         templates are all set up.
578
579         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
580
581 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * text.C: fixed an "oops" in the "is a bit silly"
584         bug fix
585
586 2003-10-21  André Pönitz  <poenitz@gmx.net>
587
588         * FuncStatus.[Ch]: small stuff, whitespace
589
590         * lyxfont.[Ch]: operator<<() for debug reasons
591
592         * lyxfunc.C:
593         * lyxrow_funcs.C:
594         * lyxtext.h: whitespace, spelling
595
596         * paragraph.C: naming of variables
597
598         * text.C:
599         * text2.C: small stuff
600
601
602 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
603
604         * text.C: (1) finish off the inset display() work;
605         (2) fix the "is a bit silly" bug (accessing char
606         past end of par).
607
608 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * text.C: re-introduce display() for insets, fixing the
611         various bugs (stretch of line above, math inset
612         positioning, ...)
613
614 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * text.C (rightMargin): remove spurious semicolon
617
618         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
619         1415)
620
621 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * text3.C: fix one crash due to wrong cursor def
624
625 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
626
627         * vc-backend.C (scanMaster): make the regex static
628
629         * LaTeX.C (scanAuxFile): make the regexs static
630
631         * text3.C (doInsertInset, dispatch, dispatch):
632         * text2.C (cursorUp, cursorDown):
633         * text.C (selectNextWordToSpellcheck):
634         * BufferView_pimpl.C (dispatch):
635         * lyxfunc.C (dispatch):  localDispatch -> dispatch
636
637 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * lyxsocket.C: include <cerrno>
640
641 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
642
643         * lyxfunc.C (dispatch): remove textcache stuff
644
645         * bufferlist.C (release): remove textcache stuff
646         (closeAll): ditto
647
648         * TextCache.C: delete file
649         * TextCache.h: delete file
650
651         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
652
653         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
654         delete of the bv_->text.
655         (resizeCurrentBuffer): remove texcache stuff
656         (workAreaResize): ditto
657
658 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
659
660         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
661         action.
662
663 2003-10-16  André Pönitz  <poenitz@gmx.net>
664
665         * lyxrow.[Ch]:
666         * paragraph.h:
667         * rowpainter.C:
668         * text.C:
669         * text2.C:
670         * text3.C: speed up by storing y positions per paragraph plus per-row
671         offset instead of having a 'full' y position in the row.
672
673 2003-10-15  André Pönitz  <poenitz@gmx.net>
674
675         * iterators.[Ch]:
676         * iterators.[Ch]:
677         * undo.[Ch]: make undo aware of inner insets
678
679 2003-10-14  Angus Leeming  <leeming@lyx.org>
680
681         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
682         static member functions LyX::ref() and LyX::cref.
683         (lastfiles): new accessor functions for the new lastfiles_ member var.
684         (addLyXView, views_): add a new LyXView to the list of views_.
685         (updateInset): loop over all LyXViews to call their own updateInset
686         member function, returning a pointer to the Buffer owning the inset.
687
688         * BufferView_pimpl.C (loadLyXFile):
689         * MenuBackend.C (expandLastfiles):
690         * bufferlist.C (MenuWrite, QuitLyX):
691         lastfiles is no longer a global variable.
692         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
693
694         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
695         static function. Access through LyX::cref().emergencyCleanup().
696
697 2003-10-14  André Pönitz  <poenitz@gmx.net>
698
699         * iterators.[Ch]: new direct access to innermost LyXText and Inset
700
701         * undo.[Ch]: restoring part of 'undo in insets'
702
703         * Makefile.am:
704         * undo_funcs.[Ch]: merge with undo.[Ch]
705
706         * tabular.C: small cleansing stuff
707
708 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
709
710         * paragraph_funcs.C (readParToken): report unknown insets as error
711         boxes. Use the outer paragraph as location (also for unknown
712         tokens).
713
714         * factory.C (readInset): do not abort on reading an unknown inset.
715         Eat it and return 0.
716
717 2003-10-13  Angus Leeming  <leeming@lyx.org>
718
719         * lyx_main.C (LyX): remove call to setDisplayTranslator().
720
721         * lyxrc.C: displayTranslator is now a function,
722         declared in GraphicsTypes.h.
723
724 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
725
726         * format.C: new placeholder $$a to pass the socket address.
727
728         * bufferlist.[Ch]: new function getBufferFromTmp.
729
730         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
731           files in the temporary dir.
732
733 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
734
735         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
736
737         * Makefile.am: add lyxsocket.[Ch].
738
739         * lyx_main.C (error_handler): handle SIGPIPE.
740
741 2003-10-13  André Pönitz  <poenitz@gmx.net>
742
743         * BufferView_pimpl.C:
744         * lyxtext.h:
745         * text.C:
746         * text2.C:
747         * text3.C:
748         * undo_funcs.[Ch]: use paroffset_type instead of
749           ParagraphList::iterators to prevent multiple conversion
750           (and get a more robust interface)
751
752 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
753
754         * lyxfunc.C (dispatch): RESULT -> dispatch_result
755         * lyxtext.h: ditto
756         * text3.C (dispatch): ditto
757
758 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * LaTeX.C (handleFoundFile): move the static to smaller scope,
761         move the onlyfile, use onlyfile instead of foundfile in a couple
762         of places.
763
764         * DepTable.C (update): flush the error stream a bit more
765
766 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
767
768         * lyxserver.C (callback): adjust
769
770         * lyxfunc.C (getStatus): add a missing brace in commented code
771         (ensureBufferClean): reindent
772         (dispatch): delete version taking a string
773
774 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
775
776         * LaTeX.C (deplog): move found file handlig from here...
777         (handleFoundFile): .. to new function here.
778         (deplog): make sure to discover several files mentioned on the
779         same log line.
780
781 2003-10-10  André Pönitz  <poenitz@gmx.net>
782
783         * lyxfunc.C:
784         * lyxtext.h:
785         * tabular.C:
786         * text.C:
787         * text2.C:
788         * text3.C: fix some of the tabular crashes
789
790 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
791
792         * MenuBackend.C (binding): put debug message into Debug::KBMAP
793
794         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
795
796 2003-10-09  André Pönitz  <poenitz@gmx.net>
797
798         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
799
800         * BufferView.C:
801         * BufferView_pimpl.C:
802         * bufferview_funcs.C:
803         * lyx_cb.C:
804         * lyxcursor.C:
805         * lyxfind.C:
806         * lyxfunc.C:
807         * lyxtext.h:
808         * text.C:
809         * text2.C:
810         * text3.C:
811         * text_funcs.[Ch]:
812         * textcursor.[Ch]:
813         * undo_funcs.C: adjust
814
815 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * text2.C (incrementItemDepth): new function, use a backtracking
818         algorithm to discover the correct item depth.
819         (resetEnumCounterIfNeeded): new function, use a backtracking
820         algorithm to discover if counter reset is needed.
821         (setCounter): use them. Simplify a bit. Add different labels for
822         different item depths for itemize.
823
824         * paragraph.C (Paragraph): remove initialization of enumdepth
825         (operator=): ditto
826
827         * paragraph.h: get rid of enumdepth, and use itemdepth both for
828         enumerate and itemize. Change the type of itemdepth to signed char.
829
830 2003-10-08  André Pönitz  <poenitz@gmx.net>
831
832         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
833           thing assignable.
834         * text.C:
835         * text2.C: adjust
836
837         * tabular.[Ch]: fix crash after 'row-insert'
838
839 2003-10-08  Angus Leeming  <leeming@lyx.org>
840
841         Fix doxygen warnings.
842
843         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
844         Remove CutAndPaste:: prefix from header file declaration.
845
846         * LColor.h (fill): remove LColor:: prefix from declaration.
847
848         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
849         use lyx::depth_type rather than Paragraph::depth_type so that
850         header file and .C file match.
851
852         * converter.h (intToFormat): remove Converters:: prefix from declaration.
853
854         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
855         * aspell.C: \file aspell_local.C -> \file aspell.C
856         * gettext.C: \file gettext.C -> \file src/gettext.C
857         * gettext.h: \file gettext.h -> \file src/gettext.h
858         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
859         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
860         * text.C: \file text.C -> \file src/text.C
861
862         * toc.C: move comment so that doxygen is not confused.
863
864 2003-10-07  Angus Leeming  <leeming@lyx.org>
865
866         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
867
868 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
869
870         * aspell.C:
871         * aspell_local.h: add forgotten std::string's.
872
873 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
874
875         * LaTeXFeatures.C:
876         * LyXAction.C:
877         * factory.C:
878         * lfuns.h:
879         * lyxfunc.C:
880         * text3.C: The Box patch. Fancybox support, minipage, parbox
881
882 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
883
884         * CutAndPaste.h:
885         * DepTable.h:
886         * FloatList.h:
887         * LaTeXFeatures.h:
888         * ParagraphParameters.h:
889         * TextCache.h:
890         * Thesaurus.h:
891         * bufferlist.h:
892         * exporter.h:
893         * importer.h:
894         * lastfiles.h:
895         * lyxfind.h:
896         * lyxfont.h:
897         * lyxlex.h:
898         * lyxtextclasslist.h:
899         * messages.h:
900         * paragraph.h:
901         * paragraph_pimpl.C:
902         * textcursor.h: add <string> and other small fixes to make Lars'
903         std::string patch compile with STLport.
904
905 2003-10-06  Angus Leeming  <leeming@lyx.org>
906
907         * LColor.h: Add missing #include <string>.
908
909 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
910
911         * All most all file in all subdirs: Make <string> be the prefered
912         way of getting to std::string, add using declarations.
913
914 2003-10-06  André Pönitz  <poenitz@gmx.net>
915
916         * metricsinfo.C: initialize LyXFont before changing attribute.
917         (fixes the 'math in \emph is upright' bug)
918
919 2003-10-06  André Pönitz  <poenitz@gmx.net>
920
921         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
922
923 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
924
925         * graph.C:
926         * paragraph_pimpl.C: Small fixes to build using STLport
927
928 2003-10-02  André Pönitz  <poenitz@gmx.net>
929
930         * lyxfunc.C:
931         * text3.C: move handling of LFUN_DEPTH *; fix #1360
932
933 2003-10-01  André Pönitz  <poenitz@gmx.net>
934
935         * factory.C: assert early
936
937 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
938
939         * lyx_main.C: remove the global debug object
940
941         * debug.h: adjust for new debugstream
942
943         * debug.C: adjust for new debugstream and keep the global debug
944         object here.
945
946 2003-09-22  Angus Leeming  <leeming@lyx.org>
947
948         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
949         of g++ which otherwise complain that the scoped_ptr destructor can't delete
950         an incomplete class LyXFont.
951
952 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * factory.C: bug fix in branches
955
956 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * lyxfunc.C (processKeySym): adjust
959         (dispatch): adjust
960         (dispatch): change arg name from ev to func, adjust
961         (sendDispatchMessage): ditto
962
963         * lyx_main.C (defaultKeyBindings): adjust keybindings
964         (deadKeyBindings): ditto
965
966         * kbsequence.C (addkey): return a FuncRequest
967
968         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
969
970         * kbmap.C (bind): take a FuncRequest as arg, adjust
971         (read): adjust
972         (lookup): adjust
973         (defkey): change to take a FuncRequest as arg, adjust
974         (findbinding): take a FuncRequest as arg, adjust.
975
976         * funcrequest.h (operator=): added
977
978         * funcrequest.C (FuncRequest): default kb_action changed from
979         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
980
981         * buffer.C (dispatch): simplify
982         (dispatch): adjust to take a FuncRequest as arg, adjust
983
984         * boost.C (assertion_failed): change assertion message slightly
985
986         * ToolbarBackend.C (read): simplify
987
988         * MenuBackend.C (binding): adjust call to findbinding, add a
989         message if no binding is found.
990         (read): simplify
991         (expandToc): correct by adding a empty FuncRequest
992
993         * LyXAction.C: include <boost/assert.hpp>
994         (isPseudoAction): delete function
995         (LookupFunc): change name to...
996         (lookupFunc): this. change return type to FuncRequest.
997         (getActionName): take kb_action as arg, simplify
998         (funcHasFlag): add an assert, simplify.
999
1000 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1001
1002         * toc.C (action): return a FuncRequest, simplify
1003
1004         * lyxfunc.C (processKeySym): adjust
1005         (getStatus): delete version that takes an int.
1006         (getStatus): adjust
1007         (dispatch): delete version that takes action as int
1008         (dispatch): adjust
1009         (sendDispatchMessage): simplify and adjust
1010
1011         * funcrequest.C (getArg): take unsigned int as arg
1012
1013         * ToolbarBackend.C (read): adjust
1014         (add): delete version that takes func as a string.
1015         (getIton): take a FuncRequest as arg
1016
1017         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1018         action.
1019
1020         * MenuBackend.C (MenuItem): add a new construct that only takes a
1021         Kind, simplify the constructor use for submenus.
1022         (add): adjust
1023         (expandLastfiles): adjust
1024         (expandDocuments): adjust
1025         (expandFormats): adjust
1026         (expandFloatListInsert): adjust
1027         (expandFloatInsert): adjust
1028         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1029
1030         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1031         Remove class variables lyx_pseudo_map and lyx_arg_map
1032
1033         * LyXAction.C (searchActionArg): delete function
1034         (getPseudoAction): delete function
1035         (retrieveActionArg): delete function
1036         (LookupFunc): make it return kb_action, simplify.
1037         (getActionName): simplify
1038
1039         * factory.C (createInset): fix new bug
1040
1041 2003-09-19  Angus Leeming  <leeming@lyx.org>
1042
1043         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1044         masterFilename_ parameter in the include inset.
1045
1046         * factory.C (createInset): changes due to the changes to InsetInclude.
1047
1048 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1049
1050         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1051
1052 2003-09-18  Angus Leeming  <leeming@lyx.org>
1053
1054         * buffer.C:
1055         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1056         Inset::fillWithBibKeys.
1057         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1058
1059 2003-09-18  Angus Leeming  <leeming@lyx.org>
1060
1061         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1062         variables.
1063         (ctor): pass and store a 'Buffer const &'
1064         (buffer): new member function.
1065
1066         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1067         '*this' to the LaTeXFeatures ctor.
1068
1069 2003-09-18  Angus Leeming  <leeming@lyx.org>
1070
1071         * LColor.h:
1072         * lyxfont.C:
1073         * lyxfont.h:
1074         * lyxtext.h:
1075         * text.C: rename EnumLColor as LColor_color.
1076
1077 2003-09-18  Angus Leeming  <leeming@lyx.org>
1078
1079         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1080         remove #include "insets/insetbase.h" from cursor.h.
1081
1082 2003-09-18  Angus Leeming  <leeming@lyx.org>
1083
1084         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1085         InsetOld_code to remove #include "inset.h".
1086
1087         * iterators.C: add #include "insets/inset.h"
1088
1089 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * BufferView.C: remove more locking stuff that apparently doesn't
1092         do anything sensible.
1093
1094 2003-09-16  André Pönitz  <poenitz@gmx.net>
1095
1096         * paragraph.[Ch]:
1097         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1098           performance boost.
1099
1100 2003-09-16  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1103
1104         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1105         arg/return type.
1106
1107         * paragraph.h: remove #include "lyxfont.h". Forward declare
1108         LyXFont_size.
1109
1110 2003-09-16  Angus Leeming  <leeming@lyx.org>
1111
1112         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1113         of support/textutils.h.
1114         (isWord): move the contents of support/textutils.h's IsWordChar here.
1115
1116         * buffer.C:
1117         * lyxfind.C:
1118         * rowpainter.C:
1119         * text.C:
1120         * text2.C: add #include "paragraph.h".
1121
1122         * rowpainter.C:
1123         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1124
1125 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * main.C:
1128         * lyx_main.C:
1129         * lyx_cb.C:
1130         * buffer.C:
1131         * LaTeX.C: use namespace alias for lyx::support::os
1132
1133 2003-09-16  Angus Leeming  <leeming@lyx.org>
1134
1135         * bufferparams.C:
1136         * bufferview_funcs.C:
1137         * factory.C:
1138         * lyxfunc.C:
1139         * paragraph_pimpl.C:
1140         * rowpainter.C:
1141         * text.C: add #include "LColor.h".
1142
1143 2003-09-16  Angus Leeming  <leeming@lyx.org>
1144
1145         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1146         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1147         return LyXFont &.
1148         Store the FontBits::color variable as an int rather than as an
1149         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1150         file.
1151
1152         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1153         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1154         string calls together.
1155
1156         * lyxrc.C: add #include "LColor.h".
1157
1158 2003-09-15  Angus Leeming  <leeming@lyx.org>
1159
1160         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1161         a cow_ptr.
1162
1163 2003-09-15  Angus Leeming  <leeming@lyx.org>
1164
1165         * LColor.h: add an EnumLColor wrapper for LColor::color.
1166
1167         * lyxfont.[Ch] (color, setColor, realColor):
1168         * lyxtext.h, text.C (backgroundColor):
1169         pass EnumLColor args to/from the functions, rather than LColor::color
1170         ones.
1171
1172         * lyxfont.h:
1173         * lyxtext.h: forward declare EnumLColor.
1174
1175         * lyx_main.C: add #include "LColor.h".
1176
1177 2003-09-15  Angus Leeming  <leeming@lyx.org>
1178
1179         * .cvsignore: add lyx-gtk.
1180
1181 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1182
1183         * Chktex.C
1184         * LaTeX.C
1185         * LaTeXFeatures.C
1186         * ParagraphParameters.C
1187         * Spacing.C
1188         * buffer.C
1189         * bufferparams.C
1190         * bufferview_funcs.C
1191         * chset.C
1192         * counters.C
1193         * funcrequest.C
1194         * lyxfont.C
1195         * lyxgluelength.C
1196         * lyxlength.C
1197         * paragraph.C
1198         * paragraph_funcs.C
1199         * text3.C
1200         * vc-backend.C: remove usage of STRCONV
1201
1202 2003-09-15  Angus Leeming  <leeming@lyx.org>
1203
1204         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1205         explicitly define the color passed to the painter.
1206
1207 2003-09-15  Angus Leeming  <leeming@lyx.org>
1208
1209         * bufferparams.C (BufferParams): reorder member initializers to avoid
1210         compiler warning.
1211
1212 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1215         * text.C (updateRowPositions): remove an unusual nop
1216
1217 2003-09-12  André Pönitz  <poenitz@gmx.net>
1218
1219         * BufferView_pimpl.C:
1220         * Bullet.C:
1221         * layout.h:
1222         * lyxfunc.C:
1223         * lyxlayout.[Ch]:
1224         * lyxtextclass.C:
1225         * rowpainter.C:
1226         * text.C:
1227         * text2.C:
1228         * Counters.[Ch]: finish the 'automatic counters' job
1229
1230 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1231
1232         * aspell.C: include <boost/assert.cpp> (compile fix)
1233
1234 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1235
1236         * boost.C (assertion_failed): use lyx::support::abort instead of
1237         assert.
1238
1239 2003-09-10  Angus Leeming  <leeming@lyx.org>
1240
1241         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1242         with their _fwd progeny.
1243
1244 2003-09-09  Angus Leeming  <leeming@lyx.org>
1245
1246         134 files throughtout the source tree: replace 'using namespace abc;'
1247         directives with the appropriate 'using abc::xyz;' declarations.
1248
1249 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1250
1251         * boost.C (emergencyCleanup): moved here from LAssert.c
1252         (assertion_failed): new function, called by BOOST_ASSERT
1253
1254         * several files: change Assert to BOOST_ASSERT
1255
1256 2003-09-09  Angus Leeming  <leeming@lyx.org>
1257
1258         * buffer.[Ch]: Add an Impl class and move Buffer's member
1259         variables into it. As a result move several header files out of
1260         buffer.h.
1261
1262         Add header files to lots of .C files all over the tree as a result.
1263
1264 2003-09-09  Angus Leeming  <leeming@lyx.org>
1265
1266         * buffer.[Ch]: make Buffer's member variables private. Add
1267         accessor functions.
1268
1269         Lots of changes all over the tree as a result.
1270
1271 2003-09-08  Angus Leeming  <leeming@lyx.org>
1272
1273         * graph.C: #include <config.h>.
1274
1275 2003-09-08  Angus Leeming  <leeming@lyx.org>
1276
1277         * BranchList.C:
1278         * BufferView.C:
1279         * BufferView_pimpl.C:
1280         * CutAndPaste.C:
1281         * DepTable.C:
1282         * LaTeX.C:
1283         * LaTeXFeatures.C:
1284         * LyXAction.C:
1285         * MenuBackend.C:
1286         * TextCache.C:
1287         * aspell.C:
1288         * buffer.C:
1289         * bufferlist.C:
1290         * changes.C:
1291         * chset.C:
1292         * converter.C:
1293         * counters.C:
1294         * debug.C:
1295         * graph.C:
1296         * ispell.C:
1297         * lyx_cb.C:
1298         * lyxfind.C:
1299         * lyxfunc.C:
1300         * lyxlex_pimpl.C:
1301         * lyxrc.C:
1302         * lyxrow.C:
1303         * paragraph.C:
1304         * rowpainter.C:
1305         * texrow.C:
1306         * text.C:
1307         * text2.C:
1308         * toc.C: remove redundant using directives.
1309
1310 2003-09-07  Angus Leeming  <leeming@lyx.org>
1311
1312         * LaTeXFeatures.h: remove #include "support/types.h".
1313         * ToolbarBackend.h: remove #include <algorithm>.
1314         * changes.h: remove #include <ctime>.
1315         * debug.h: remove #include <iosfwd>.
1316         * graph.h: remove #include "support/std_string.h".
1317         * lyx_main.h: remove #include <csignal>.
1318         * lyxlex_pimpl.h: remove #include <fstream>.
1319         * sgml.h: remove #include <algorithm>, <utility>.
1320         * toc.h: remove #include "support/std_ostream.h".
1321         Add #include <iosfwd>.
1322
1323 2003-09-07  Angus Leeming  <leeming@lyx.org>
1324
1325         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1326
1327         * converter.h: forward declare LatexRunParams.
1328         * encoding.h: remove #include "lyxrc.h".
1329         * lyxtext.h: remove #include "LColor.h".
1330         * lyxtextclass.h: remove #include "support/types.h".
1331         * trans.h: remove #include "tex-accent.h".
1332         * trans_mgr.h: remove #include "tex-accent.h".
1333         * insets/inset.h: remove #include "support/types.h", <vector>.
1334         * insets/insetcollapsable.h: remove #include "LColor.h".
1335         * insets/insetinclude.h: remove #include "dimension.h".
1336         * insets/insetlatexaccent.h: remove #include "dimension.h".
1337         * insets/insetoptarg.h:: remove #include "insettext.h".
1338         * insets/insettext.h: remove #include "dimension.h",
1339         <boost/shared_ptr.hpp>
1340
1341         * insets/renderers.h: add #include "dimension.h".
1342         * insets/updatableinset.h: add #include "support/types.h".
1343
1344         * many .C files: Associated changes.
1345
1346 2003-09-06  Angus Leeming  <leeming@lyx.org>
1347
1348         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1349         one, inside testInvariant.
1350
1351         * PrinterParams.C: new file.
1352         * PrinterParams.[Ch]: move the function bodies out of line.
1353
1354 2003-09-06  Angus Leeming  <leeming@lyx.org>
1355
1356         * ParagraphParameters.h: forward declare ParameterStruct rather than
1357         including its header file.
1358         (depth): moved out-of-line.
1359
1360 2003-09-06  Angus Leeming  <leeming@lyx.org>
1361
1362         * BufferView_pimpl.h:
1363         * kbmap.h:
1364         * kbsequence.h:
1365         * lyxfunc.h: forward declare LyXKeySym rather than
1366         #include "frontends/LyXKeySym.h".
1367
1368         * BufferView_pimpl.C:
1369         * kbmap.C:
1370         * kbsequence.C:
1371         * lyxfunc.C: associated changes.
1372
1373 2003-09-06  Angus Leeming  <leeming@lyx.org>
1374
1375         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1376         As a result, can remove the #include "insets/inset.h" from BufferView.h
1377
1378 2003-09-06  Angus Leeming  <leeming@lyx.org>
1379
1380         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1381         As a result, can remove the #include "insets/inset.h" from BufferView.h
1382
1383 2003-09-06  Angus Leeming  <leeming@lyx.org>
1384
1385         * buffer_funcs.C:
1386         * buffer.h:
1387         * bufferlist.C:
1388         * BufferView.C:
1389         * bufferview_funcs.C:
1390         * BufferView_pimpl.C:
1391         * CutAndPaste.C:
1392         * lyx_cb.C:
1393         * lyxfunc.C:
1394         * paragraph.h:
1395         * ParagraphParameters.C:
1396         * tabular.C:
1397         * text3.C:
1398         * toc.C:
1399         * undo_funcs.C:
1400         * frontends/controllers/ControlDocument.C:
1401         * insets/insetcaption.C: rearrange the #includes into some sort of
1402         coherent order.
1403
1404         * buffer.h: remove #includes ErrorList.h, undo.h
1405
1406 2003-09-06  Angus Leeming  <leeming@lyx.org>
1407
1408         * support/types.h: add a 'depth_type' typedef, used to store the
1409         nesting depth of a paragraph.
1410
1411         * paragraph.h:
1412         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1413         defining explicitly.
1414
1415         * buffer.h:
1416         * paragraph_funcs.h:
1417         * ParagraphParameters.h:
1418         * sgml.h: use lyx::depth_type rather than Paragraph or
1419         ParameterStruct's depth_type.
1420
1421         * buffer.h
1422         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1423
1424         * BufferView.C:
1425         * BufferView_pimpl.C:
1426         * CutAndPaste.C:
1427         * ParagraphParameters.C:
1428         * buffer_funcs.C:
1429         * bufferlist.C:
1430         * bufferview_funcs.C:
1431         * lyx_cb.C:
1432         * lyxfunc.C:
1433         * tabular.C:
1434         * text3.C:
1435         * toc.C:
1436         * undo_funcs.C:
1437         * frontends/LyXView.C:
1438         * frontends/controllers/ControlDocument.C:
1439         * frontends/controllers/ControlErrorList.C:
1440         * insets/insetbibitem.C:
1441         * insets/insetbranch.C:
1442         * insets/insetcaption.C:
1443         * insets/insetcollapsable.C:
1444         * insets/insetenv.C:
1445         * insets/insetert.C:
1446         * insets/insetfloat.C:
1447         * insets/insetfoot.C:
1448         * insets/insetfootlike.C:
1449         * insets/insetnewline.C:
1450         * insets/insetquotes.C:
1451         * insets/insettabular.C:
1452         * insets/insettext.C:
1453         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1454
1455         * frontends/controllers/ControlChanges.C: #include "changes.h".
1456
1457 2003-09-06  Angus Leeming  <leeming@lyx.org>
1458
1459         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1460         than #including paragraph.h.
1461
1462         * ParagraphList.h:
1463         * RowList.h: deleted. Superfluous.
1464
1465         * CutAndPaste.h:
1466         * iterators.h:
1467         * lyxcursor.h:
1468         * lyxtext.h:
1469         * text_funcs.h:
1470         * undo.h:
1471         * undo_funcs.h:
1472         * insets/inset.h:
1473         * insets/insettext.h: use ParagraphList_fwd.h rather than
1474         ParagraphList.h.
1475
1476         * paragraph.h: don't forward declare ParagraphList.
1477
1478         * buffer.h:
1479         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1480         rather than ParagraphList.h. paragraph.h is still needed for the
1481         Paragraph::depth_type parameters.
1482
1483         * textcursor.h: enable it to compile stand-alone in light of the
1484         above changes.
1485
1486         * bufferview_funcs.C:
1487         * iterators.C:
1488         * lyxfunc.C:
1489         * lyxrow_funcs.C:
1490         * paragraph.C:
1491         * rowpainter.C:
1492         * text.C:
1493         * text2.C:
1494         * text3.C:
1495         * text_funcs.C:
1496         * textcursor.C:
1497         * undo.C:
1498         * frontends/controllers/ControlParagraph.C:
1499         * frontends/controllers/ControlTabular.C:
1500         * insets/insetmarginal.C:
1501         * insets/insetminipage.C:
1502         * insets/insetnote.C:
1503         * insets/insetoptarg.C: add header files needed to compile again.
1504
1505 2003-09-06  Angus Leeming  <leeming@lyx.org>
1506
1507         * RowList_fwd.h: new file, forward-declaring Row rather than
1508         #including lyxrow.h.
1509
1510         * lyxrow_funcs.h:
1511         * lyxtext.h:
1512         * paragraph.h:
1513         * insets/insettext.h: use it instead of RowList.h
1514
1515         * bufferview_funcs.C:
1516         * lyxfunc.C:
1517         * lyxrow_funcs.C:
1518         * paragraph.C:
1519         * rowpainter.C:
1520         * text.C:
1521         * text2.C:
1522         * text3.C: #include "RowList.h".
1523
1524 2003-09-05  Angus Leeming  <leeming@lyx.org>
1525
1526         * factory.C (createInset):
1527         * vspace.C (c-tor): replace sscanf call with an istringstream.
1528         * ispell.C: re-add missing HP/UX headers.
1529         * lyxserver.C: re-add missing  os2 headers.
1530
1531 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1532
1533         * BranchList.C:
1534         * graph.C:
1535         * ispell.C:
1536         * lastfiles.C:
1537         * lyx_cb.C:
1538         * lyxserver.C:
1539         * texrow.C:
1540         * text3.C: re-add missing system headers, needed for 2.95.2.
1541
1542 2003-09-05  Angus Leeming  <leeming@lyx.org>
1543
1544         Changes most place everywhere due to the removal of using directives
1545         from support/std_sstream.h.
1546
1547 2003-09-05  Angus Leeming  <leeming@lyx.org>
1548
1549         Replace LString.h with support/std_string.h,
1550         Lsstream.h with support/std_sstream.h,
1551         support/LIstream.h with support/std_istream.h,
1552         support/LOstream.h with support/std_ostream.h.
1553
1554         Changes resulting throughout the tree.
1555
1556 2003-09-05  Angus Leeming  <leeming@lyx.org>
1557
1558         * sgml.h: ensure that the header file can be compiled stand-alone.
1559         * *.C: strip out redundant #includes. (320 in total.)
1560
1561 2003-09-04  Angus Leeming  <leeming@lyx.org>
1562
1563         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1564         here (from getPackages).
1565
1566         * debug.[Ch]: add a new EXTERNAL tag.
1567
1568 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1569
1570         * text2.C (cursorEnd): simplify
1571         (setCursor): adjust
1572         (getColumnNearX): adjust
1573
1574         * text.C (computeBidiTables): adjust
1575         (fill): adjust
1576
1577         * rowpainter.C (paintChars): adjust
1578         (paintSelection): adjust
1579         (paintChangeBar): adjust
1580         (paintText): adjust
1581
1582         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1583         lastPos instead.
1584         (numberOfSeparators): adjust
1585
1586 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1587
1588         * LyXAction.C:
1589         * box.[Ch]:
1590         * lfuns.h:
1591         * lyxfunc.C:
1592         * text3.C: Restricts the mouse click functionality
1593         of insets like bibtex, include, toc and floatlist to the visible
1594         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1595         up the dialogs. Cursor has to be in front of the inset (i.e.
1596         start of row) for this to function.
1597
1598 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1599
1600         * bufferview_funcs.C (currentState): output row information
1601
1602 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1603
1604         * bufferview_funcs.C (currentState): output paragraph position
1605
1606 2003-09-04  Angus Leeming  <leeming@lyx.org>
1607
1608         * FloatList.h: move out #include "Floating.h".
1609         * LaTeX.h: move out #include "DepTable.h".
1610         * LyXAction.h: move out #include "funcrequest.h".
1611         * buffer.h: move out #include "author.h", "iterators.h".
1612         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1613         * lyx_main.h: move out #include "errorlist.h".
1614         * lyxfunc.h: move out #include "FuncStatus.h".
1615         * lyxtext: move out #include "lyxcursor.h".
1616         * paragraph_pimpl.h: move out #include "counters.h".
1617
1618 2003-09-03  Angus Leeming  <leeming@lyx.org>
1619
1620         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1621         preamble_snippets list, enabling us to add snippets to the preamble
1622         only if the snippet was not there already.
1623
1624 2003-09-04  Angus Leeming  <leeming@lyx.org>
1625
1626         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1627
1628 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1631         update
1632
1633 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1634
1635         * BranchList.C: point fix, earlier forgotten
1636
1637 2003-09-02  Angus Leeming  <leeming@lyx.org>
1638
1639         * box.C (contains): renamed from 'contained' after a fantastic
1640         amount of hot air.
1641
1642 2003-09-02  John Levon  <levon@movementarian.org>
1643
1644         * BufferView.C:
1645         * lyxcursor.h:
1646         * lyxcursor.C:
1647         * lyxfunc.C:
1648         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1649
1650 2003-09-02  John Levon  <levon@movementarian.org>
1651
1652         * text2.C: simplification of cursorEnd(), including partial
1653         fix for bug 1376
1654
1655 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1656
1657         * buffer.C (readFile): add a space
1658
1659 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1662
1663 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1664
1665         * buffer.C (readFile): new function, take a filename and a
1666         ParagraphList::iterator
1667         (readFile): adjust
1668         (readFile): adjust, make it private. don't use setStream, make
1669         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1670         always contain the filename.
1671
1672         * BufferView.C (insertLyXFile): simplify and make it work for
1673         gzipped files.
1674
1675 2003-08-30  John Levon  <levon@movementarian.org>
1676
1677         * Makefile.am: fix dist (from Kayvan)
1678
1679 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * most files: change to use const Buffer refs
1682
1683 2003-08-27  André Pönitz  <poenitz@gmx.net>
1684
1685         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1686         on top of ownerPar().
1687
1688 2003-08-27  John Levon  <levon@movementarian.org>
1689
1690         * funcrequest.C: properly initialise POD members
1691
1692 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * lyxtext.h (top_y): move top_y from here
1695         * text.C:
1696         * text2.C:
1697         * text3.C:
1698         * BufferView.[Ch]:
1699         * BufferView_pimpl.[Ch]: to here
1700         * frontends/screen.C:
1701         * insets/insettabular.C:
1702         * insets/insettext.C: adjust
1703         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1704
1705 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1706
1707         * BufferView.[Ch]:
1708         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1709
1710 2003-08-26  André Pönitz  <poenitz@gmx.net>
1711
1712         * paragraph_func.[Ch] (outerPar): new function
1713
1714         * paragraph.C:
1715         * paragraph_funcs.C:
1716         * paragraph_funcs.h:
1717         * paragraph_pimpl.C:
1718         * text2.C: remove Inset::par_owner
1719
1720 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1721
1722         * lyxrow_funcs.C:
1723         * lyxtext.h:
1724         * text.C:
1725         * text2.C: eliminates the needFullRow/display() stuff
1726         altogether, putting the logic in metrics/draw in the insets.
1727
1728 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1729
1730         * text2.C (redoParagraphInternal, redoParagraphs):
1731         * text.C (redoParagraph): add a call to updateRowPositions at the
1732         end of each 'metrics-like' call. Remove all others.
1733         (getRow): remove the 'y-computing' version.
1734         (getRowNearY): do not compute nor return the real y. Solve the
1735         'y < 0' problem and simplify.
1736
1737 2003-08-22  Angus Leeming  <leeming@lyx.org>
1738
1739         * *.[Ch]: clean-up of licence and author blurbs.
1740         Also move config.h out of a few .h files and into a few .C files.
1741
1742 2003-08-22  André Pönitz  <poenitz@gmx.net>
1743
1744         * lyxrow.[Ch]: add x_ and *fill_ members
1745
1746         * lyxtext.h:
1747         * text.C:
1748         * rowpainter.C:
1749         * text2.C: adjust/remove prepareToPrint() calls
1750
1751 2003-08-22  André Pönitz  <poenitz@gmx.net>
1752
1753         * lyxrow.[Ch]: add  end_ member
1754
1755         * lyxrow_funcs.C: use LyXRow::end_
1756
1757         * lyxtext.h (singleWidth): add LyXFont parameter
1758
1759         * rowpainter.C:
1760         * text2.C: adjust LyXText::singleWidth() calls
1761
1762         * text.C (redoParagraph): simplify row breaking logic
1763
1764
1765 2003-08-19  André Pönitz  <poenitz@gmx.net>
1766
1767         * funcrequest.C: initialize button_ member
1768
1769         * text3.C:
1770         * rowpainter.[Ch]: interface consolidation
1771
1772 2003-08-18  André Pönitz  <poenitz@gmx.net>
1773
1774         * BufferView.C:
1775         * BufferView_pimpl.C:
1776         * lyxfind.C:
1777         * paragraph_funcs.C:
1778         * rowpainter.C:
1779         * text3.C: remove LyXScreen::draw() and fitCursor calls
1780
1781         * BranchList.h: remove spurious semicolons
1782
1783         * MenuBackend.C: fix branchlist related crash
1784
1785 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1786
1787         * BranchList.[Ch]:
1788         * InsetList.[Ch]:
1789         * LColor.[Ch]:
1790         * LyXAction.C:
1791         * Makefile.am:
1792         * MenuBackend.[Ch]:
1793         * bufferparams.[Ch]:
1794         * factory.C:
1795         * lfuns.h:
1796         * lyxfunc.C:
1797         * text3.C: implements the 'branch inset'
1798         idea. This allows the output of various versions of a document
1799         from a single source version, selectively outputing or suppressing
1800         output of parts of the text.
1801         This implementation contains a 'branch list editor' in a separate
1802         tab of the document settings dialog. Branches are user definable
1803         and have a "display colour" to distinguish them on-screen.
1804
1805         ColorHandler was somewhat cleaned up.
1806         (1) make possible a dynamically growing LColor list by allowing
1807         the graphic context cache to grow along (vector);
1808         (2) eliminate an IMHO unnecessary step in colour allocation.
1809
1810 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1811
1812         * BufferView_pimpl.C: compile fix
1813
1814 2003-08-15  André Pönitz  <poenitz@gmx.net>
1815
1816         * rowpainter.C: remove extra metrics calls
1817
1818         * lyxtext.h: merge the two constructors into a single one,
1819           pass reference to owner's par list
1820
1821         * BufferView_pimpl.C:
1822         * text.C:
1823         * text2.C: adjust
1824
1825 2003-08-15  André Pönitz  <poenitz@gmx.net>
1826
1827         * lyxrow_funcs.[Ch]:
1828         * lyxtext.h:
1829         * paragraph.h:
1830         * paragraph_funcs.C:
1831         * rowpainter.C:
1832         * text.C:
1833         * text2.C:
1834         * text3.C:
1835         * text_funcs.C: split LyXText::rowlist_ into individual
1836         Paragraph::rows_ chunks
1837
1838         * BufferView.[Ch]:
1839         * BufferView_pimpl.[Ch]:
1840         * lyxfind.C:
1841         * lyxtext.h:
1842         * text3.C: remove toggleSelection()
1843
1844 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1845
1846         * bufferlist.C: beautify two alerts (shorter text of buttons)
1847         * buffer.C: Remove redundant ' ' from message
1848         * tabular.h:
1849         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1850         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1851         rename VALIGN_CENTER to VALIGN_MIDDLE
1852
1853 2003-08-11  André Pönitz  <poenitz@gmx.net>
1854
1855         * lyxtext.h (getPar):
1856         * text.C: new function
1857
1858 2003-08-11  André Pönitz  <poenitz@gmx.net>
1859
1860         * Makefile.am:
1861         * tracer.[Ch]: remove unneeded files
1862
1863         * InsetList.[Ch]: remove resizeInsetsLyXText()
1864
1865         * lyxtext.h:
1866         * text.C:
1867         * text2.C:
1868         * text3.C: merge insertParagraphs() and appendParagraph()
1869         remove breakAgain(), update()
1870
1871         * BufferView_pimpl.[Ch]:
1872         * bufferview_funcs.[Ch]:
1873         * lyxfunc.C:
1874         * paragraph.[Ch]:
1875         * rowpainter.C:
1876         * tabular.C: adjust after text & InsetList changes.
1877
1878 2003-08-08  André Pönitz  <poenitz@gmx.net>
1879
1880         * text.C (insertChar, backspace): replace rowlist fiddling
1881         with rebreak of full par
1882
1883         * lyxtext.h:
1884         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1885         checkParagraph, updateInset): removed
1886
1887 2003-08-07  André Pönitz  <poenitz@gmx.net>
1888
1889         * paragraph.C:
1890         * text3.C: merge some LFUN handlers, remove dead code
1891
1892 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1895
1896 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1897
1898         * text2.C (DEPM): fix part of bug 1255 and 1256
1899
1900 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * BufferView_pimpl.C (workAreaDispatch): change to use
1903         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1904         that are no mouse related.
1905
1906 2003-08-05  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView.[Ch]:
1909         * BufferView_pimpl.[Ch]:
1910         * bufferview_funcs.C:
1911         * text2.C:
1912         * text3.C: rip out "deep update"
1913
1914         * textcursor.[Ch] (last_sel_cursor): remove unused member
1915
1916 2003-08-04  André Pönitz  <poenitz@gmx.net>
1917
1918         * BufferView.[Ch]:
1919         * BufferView_pimpl.[Ch]:
1920         * ParagraphParameters.C:
1921         * bufferview_funcs.C:
1922         * lyx_cb.C:
1923         * lyxfind.C:
1924         * lyxfunc.C:
1925         * text.C:
1926         * text2.C:
1927         * text3.C: replace "complicated" BufferView::update(...) calls with
1928         simpler ones.
1929
1930         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1931
1932 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1933
1934         * Makefile.am (lyx_SOURCES): add paper.h
1935
1936 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1937
1938         * Makefile.am: move things around so that both lyx-qt and
1939         lyx-xforms can be built (according to --with-frontend). Then lyx
1940         is a symbolic link to lyx-[firstfrontend]
1941
1942 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1943
1944         * Always use std::endl with lyxerr
1945
1946 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1947
1948         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1949
1950 2003-08-01  André Pönitz  <poenitz@gmx.net>
1951
1952         * BufferView.[Ch]:
1953         * BufferView_pimpl.[Ch]:
1954         * lyxfunc.C:
1955         * text3.C: merge BufferView::repaint() and BufferView::update()
1956
1957 2003-08-01  José Matos  <jamatos@lyx.org>
1958
1959         * buffer.[Ch]: file_format is no longer a buffer data element.
1960
1961 2003-08-01  André Pönitz  <poenitz@gmx.net>
1962
1963         * BufferView.C:
1964         * lyxtext.h:
1965         * text.C:
1966         * text2.C: make redoParagraph more independent of current cursor
1967
1968         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1969         * text.C:
1970         * text2.C: remove unneeded members
1971
1972 2003-07-30  André Pönitz  <poenitz@gmx.net>
1973
1974         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1975
1976         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1977           create a single function...
1978
1979         * paragraph_funcs.C (moveItem): ... here.
1980
1981         * text.C:
1982           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1983
1984 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * LColor.[Ch]: Add comment and greyedout logical colors.
1987
1988 2003-07-30  André Pönitz  <poenitz@gmx.net>
1989
1990         * tabular.C: don't use Assert too heavily. This crashes where it
1991           shouldn't
1992
1993 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1996         is disabled (bug 1232)
1997
1998 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1999
2000         * factory.C: limited 'arg' scope
2001
2002 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2003
2004         * factory.C: fixed Note submenu issues
2005
2006 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2007
2008         * factory.C: submenu for Note/Comment/Greyedout
2009
2010 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * lyx_main.C (LyX):
2013         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2014
2015 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2016
2017         * LaTeXFeatures.C:
2018         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2019         greyedout. Patch provided by Jürgen Spitzmüller.
2020
2021 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * kbmap.C (read): fix error message when reading bind files
2024
2025 2003-07-29  Angus Leeming  <leeming@lyx.org>
2026
2027         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2028         certainly does not do what it purports to do. I am doing it, and
2029         us, a favour by killing it.
2030
2031 2003-07-28  José Matos  <jamatos@lyx.org>
2032
2033         * buffer.C (readBody, do_writeFile):
2034         * paragraph.C(readParagraph): \end_document replaces \the_end.
2035
2036 2003-07-29  André Pönitz  <poenitz@gmx.net>
2037
2038         * BufferView.[Ch]:
2039         * BufferView_pimpl.[Ch]:
2040         * lyxfunc.C:
2041         * text2.C:
2042         * text3.C:
2043         * textcursor.[Ch]: remove toggleToggle & Co
2044
2045 2003-07-28  José Matos  <jamatos@fep.up.pt>
2046
2047         * buffer.C (readParagraph):
2048         * params_func (readParToken, readParagraph):
2049         * paragraph.C (write): \layout -> \begin_layout.
2050
2051 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2052
2053         * lyxlex_pimpl.C (setFile): clean up slightly.
2054
2055         * bufferparams.h: add compressed var
2056
2057         * buffer_funcs.C (readFile): adjust for LyXLex change
2058         (newFile): ditto + simplify
2059
2060         * buffer.C (writeFile): handle writing of compressed files
2061
2062         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2063         Check if the file is compressed and set a bufferparm if so.
2064
2065         * Makefile.am (lyx_LDADD): remove explicit -lz
2066
2067 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2070         makeDocBookFile): put the real LyX version in the first line of
2071         the file
2072
2073         * version.h:
2074         * version.C.in: remove lyx_docversion
2075
2076         * tabular.C (write_attribute): add a template-based version to
2077         write enums properly
2078
2079 2003-07-28  André Pönitz  <poenitz@gmx.net>
2080
2081         * lyxtext.h:
2082         * text.C:
2083         * text2.C:
2084         * text3.C: use doubles again for x-coordinates. They are needed.
2085
2086 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * messages.C (getLocaleDir): use lyx_localedir()
2089
2090         * lyxlex_pimpl.C (setFile): compress stuff
2091
2092         * buffer.C (writeFile): add some compression stuff
2093         (do_writeFile): new func, dont call expliti close... will this
2094         breake anything?
2095
2096         * Makefile.am (lyx_LDADD): add -lz
2097
2098 2003-07-28  José Matos  <jamatos@fep.up.pt>
2099
2100         * buffer.C: increment file format.
2101         * paragraph_funcs (readParagraph, readParToken):
2102         * paragraph.C (readParagraph): add \end_layout.
2103
2104 2003-07-27  Angus Leeming  <leeming@lyx.org>
2105
2106         * Makefile.am: remove special casing for configure-time setting of
2107         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2108
2109         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2110         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2111
2112 2003-07-26  André Pönitz  <poenitz@gmx.net>
2113
2114         * paragraph_func.[Ch]:
2115         * paragraph.C (realizeFont): inline it whereever it is used
2116
2117         * rowpainter.C:
2118         * text.C:
2119         * text2.C:
2120         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2121
2122
2123 2003-07-26  André Pönitz  <poenitz@gmx.net>
2124
2125         *       lyxtext.h:
2126         * text.C:
2127         * text2.C: get rid of LyXText::need_break_row
2128
2129 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * toc.[Ch]: put namespace toc inside namespace lyx
2132
2133         * MenuBackend.C (expandToc2): adjust for lyx::toc
2134         (expandToc): ditto
2135
2136         * lyxfunc.C (dispatch): adjust for lyx::find
2137
2138         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2139         lyx::find instead. Reorganize a bit.
2140         (LyXReplace): rename to replace
2141         (LyXFind): rename to find
2142
2143         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2144         (dispatch): ditto
2145
2146 2003-07-26  André Pönitz  <poenitz@gmx.net>
2147
2148         * text.C (setHeightOfRow): restrict scope of temporary variable
2149
2150         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2151           code (never has been used?)
2152
2153 2003-07-27  Asger Alstrup  <alstrup@local>
2154
2155         * text.C (fill): Optimise algorithm to exploit that we can reuse
2156         the LyXFont for many characters.
2157         (setHeightOfRow): Same thing.
2158         (rowBreakPoint): Same thing.
2159
2160 2003-07-26  Asger Alstrup  <alstrup@local>
2161
2162         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2163
2164         * text.C (singleWidth): Spurious font copying in hot-spot
2165         singleWidth avoided. Reorder tests for arabic for efficiency.
2166
2167         * text.C (fill): handle empty paragraphs better.
2168
2169 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         * ispell.C:
2172         * encoding.h: add includes
2173
2174         * lyxrc.C: remove reading of bind files
2175
2176         * lyx_main.C (init): setup bindings and menus only if we have a
2177         gui.
2178
2179         * kbmap.C (read): new method. Do the actual reading of bind
2180         files.
2181
2182         * converter.C (dvipdfm_options):
2183         * bufferparams.C:
2184         * lyxrc.C (read):
2185         (output): adapt PAPER_* enums.
2186
2187         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2188
2189         * bufferparams.h: remove paper-related enums from there
2190
2191         * paper.h: New file. A trivial header file to hold paper-related
2192         enums. It should later expand to contain many paper-related
2193         horrors access.
2194
2195         * lyxrc.C: declare extern displayTranslator
2196
2197 2003-07-27  José Matos  <jamatos@fep.up.pt>
2198
2199         * tabular.[Ch] (linuxdoc): add support for tables and figures
2200         (linuxdoc).
2201
2202 2003-07-27  José Matos  <jamatos@fep.up.pt>
2203
2204         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2205         consistency in both functions.
2206         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2207
2208 2003-07-26  Asger Alstrup  <alstrup@local>
2209
2210         * rowpainter.C (paintRows): Change algorithm to work directly on
2211         the insets rather than asking every character in the document
2212         whether its an inset.
2213
2214 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2215
2216         * buffer.C (openFileWrite): factorize some code
2217
2218 2003-07-26  Angus Leeming  <leeming@lyx.org>
2219
2220         * lyx_cb.C:
2221         * lyx_main.[Ch]: replace occurances of system_tempdir with
2222         os::getTmpDir().
2223
2224 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * rename Inset to InsetOld
2227
2228 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2229
2230         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2231         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2232         which I think is a bit clearer. EDIT is gone, since it was
2233         premature optimisation, and broken for mathed anyway.
2234         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2235         with cursor positioning in insets as well (math insets still do not
2236         work, but that's a different story anyway.) It mysteriously
2237         crashes sometimes with undo in the first paragraph, but I'm fairly
2238         confident that this is a compiler bug.
2239
2240 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * paragraph.C (Paragraph): adjust for new clone return type
2243         (operator==): ditto
2244         (copyIntoMinibuffer): ditto
2245
2246 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2247
2248         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2249         by not having a special case, and always doing a full rebreak of
2250         the document after undo.
2251
2252 2003-07-23  Angus Leeming  <leeming@lyx.org>
2253
2254         * factory.C (createInset): InsetExternal::setParams now takes a
2255         Buffer const * arg.
2256
2257 2003-07-23  Angus Leeming  <leeming@lyx.org>
2258
2259         * factory.C (createInset): changed interface to the external and
2260         graphics mailers' string2params functions.
2261
2262 2003-07-23  Angus Leeming  <leeming@lyx.org>
2263
2264         * factory.C (createInset): pass a
2265         Buffer const * parameter to InsetExternalMailer's string2params.
2266
2267 2003-07-22  John Levon  <levon@movementarian.org>
2268
2269         * Thesaurus.h: include the right aiksaurus header
2270
2271 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2272
2273         * MenuBackend.C (expand): check menu shortcuts unconditionally
2274
2275 2003-07-21  Angus Leeming  <leeming@lyx.org>
2276
2277         * factory.C (createInset): pass a
2278         buffer_path parameter to InsetGraphicsMailer's string2params.
2279
2280 2003-07-21  Angus Leeming  <leeming@lyx.org>
2281
2282         * BufferView_pimpl.C (buffer):
2283         * buffer.C (d-tor):
2284         * lyx_main.C (LyX):
2285         * lyxfunc.C (dispatch):
2286         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2287         rather than the grfx shortcut.
2288
2289 2003-07-21  André Pönitz  <poenitz@gmx.net>
2290
2291         * rowpainter.C: remove unused variables
2292
2293         * tabular_funcs.C:
2294         * tabular_funcs.h: move to tabular.C
2295         * Makefile.am: adjust
2296
2297         * tabular.[Ch]: basic optical cleaning
2298
2299         * author.h: pass references, not values
2300
2301 2003-07-18  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxtext.h:
2304         * metricsinfo.C:
2305         * metricsinfo.h:
2306         * rowpainter.C:
2307         * text.C:
2308         * text2.C:
2309         * text3.C: two-phase drawing for InsetText and InsetTabular
2310         some float -> int changes.
2311
2312 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2313
2314         * lyx_main.C: fix the fix
2315
2316 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2317
2318         * lyx_main.C: fix a crash in batch mode if no files specified
2319         * converter.C: ws
2320
2321 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * format.[Ch] (papersize): moved to BufferParams
2324         * converter.[Ch] (dvips_options): moved to BufferParams
2325         (dvipdfm_options): moved to anon namespace
2326         * bufferparams.[Ch]: added above functions.
2327
2328 2003-07-17  André Pönitz  <poenitz@gmx.net>
2329
2330         * lyxtext.h:
2331         * rowpainter.C:
2332         * text2.C: don't call inset->update() anymore
2333
2334         * metricsinfo.[Ch]: add convenience constructor
2335
2336 2003-07-16  André Pönitz  <poenitz@gmx.net>
2337
2338         * lyxcursor.[Ch]:
2339         * lyxfunc.[Ch]:
2340         * text.C:
2341         * text2.C: replace the LyXCursor::irow_ member with
2342          on-demand computation of the value
2343
2344 2003-07-16  John Levon  <levon@movementarian.org>
2345
2346         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2347
2348 2003-07-15  André Pönitz  <poenitz@gmx.net>
2349
2350         * text.C:
2351         * text2.C: remove no more needed refresh_row
2352
2353 2003-07-15  André Pönitz  <poenitz@gmx.net>
2354
2355         * lyxtext.h:
2356         * rowpainter.C:
2357         * text2.C:
2358         * text3.C: refresh_status tristate -> need_update bool
2359
2360 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2361
2362         * lyxtext.h (init): remove reinit argument (act as if always true)
2363         * text2.C: adjust to that
2364
2365 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2366
2367         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2368         * text3.C: use it to delete selections in some cases
2369         (bugs 441, 673, 702, 954).
2370
2371 2003-07-14  André Pönitz  <poenitz@gmx.net>
2372
2373         * rowpainter.[Ch]: reduce interface
2374
2375 2003-07-14  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView_pimpl.C:
2378         * text2.C: adjust after removing unused BufferView * argument
2379
2380 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * text2.C (init): fix a crash fired on resize
2383
2384 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2385
2386         * buffer.[Ch]: added new closing signal
2387         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2388         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2389         BufferView::Pimpl via the closing the signal
2390
2391 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * buffer.[Ch]: take out all bv-related from buffer
2394         * BufferView.C:
2395         * BufferView_pimpl.[Ch]: connect to new signals
2396         * CutAndPaste.C: removed useless asserts
2397         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2398         * lyxvc.[Ch]:
2399         * vc-backend.[Ch]:
2400         * lyxfunc.C: moved view-related funciontality from vc here
2401         * paragraph.C: removed outdated comments
2402         * text.C: ws
2403
2404 2003-07-10  André Pönitz  <poenitz@gmx.net>
2405
2406         * BufferView_pimpl.C:
2407         * tabular.h:
2408         * tabular_funcs.C:
2409         * text.C:
2410         * text2.C: remove InsetText::InnerCache, clean up consequences
2411
2412 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2413
2414         * ispell.C: fix two typos in error messages
2415
2416 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * Extend Note inset to other forms of annotation like Comment
2419         and Greyedout. Right button click gives dialog.
2420
2421         Files modified or added (+):
2422
2423         * insetnote.[Ch]
2424         * FormNote.[Ch]      +
2425         * ControlNote.[Ch]   +
2426         * form_note.fd       +
2427         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2428         frontends/controllers
2429         * xforms/Dialogs.C
2430         * factory.C
2431
2432 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2433
2434         * aspell.C: add missing namespace lyx::support
2435
2436 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * BufferView.[Ch] (newFile): Add
2439         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2440         * LaTeX.[Ch] (message): added this signal and use it
2441         * buffer.[Ch] (busy, message): added these signals and use them
2442         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2443         * converter.C:
2444         * exporter.C:
2445         * format.C:
2446         * importer.C: use buffer signals instead of direct bv calling
2447         * lyx_cb.[Ch] (ShowMessage): removed
2448         * lyx_main.C:
2449         * lyxfunc.C:
2450         * paragraph_funcs.C:
2451         * text2.C: use buffer signals
2452
2453 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * introduce namespace lyx::graphics
2456
2457 2003-07-02  André Pönitz  <poenitz@gmx.net>
2458
2459         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2460
2461 2003-07-01  André Pönitz  <poenitz@gmx.net>
2462
2463         * text.C:
2464         * text2.C:
2465         * text3.C:
2466         * text_funcs.[Ch]:
2467         * textcursor.h:
2468         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2469           text*.C to text_func.C
2470
2471 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * introduce namespace lyx::support
2474
2475 2003-06-30  André Pönitz  <poenitz@gmx.net>
2476
2477         * Chktex.C:
2478         * funcrequest.C:
2479         * lyxtext.h:
2480         * text.C: re-enable --with-included-string
2481
2482 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * textcursor.C: add <config.h>
2485
2486         * text.C (getWord): remove const from word_location arg
2487
2488         * lyxvc.C (getLogFile): fix const type order
2489
2490         * lyxtext.h: remove const from word_location arg, add arg name
2491
2492         * lyxlayout.h: currect type on labeltype.
2493
2494         * importer.C: correct \file
2495
2496         * converter.C (intToFormat): use std:: on ret val, ws changes
2497
2498         * bufferlist.h: correct \file
2499
2500         * buffer.C (makeLinuxDocFile): fix const type order
2501         (makeDocBookFile): ditto
2502         (fillWithBibKeys): use std:: on stdlib args.
2503
2504         * CutAndPaste.C: fix authors.
2505         (availableSelections): use std:: on return vector
2506
2507 2003-06-27  André Pönitz  <poenitz@gmx.net>
2508
2509         * BufferView_pimpl.C:
2510         * bufferview_funcs.C:
2511         * lyxcursor.C:
2512         * lyxcursor.h:
2513         * lyxfunc.C:
2514         * lyxtext.h:
2515         * rowpainter.C:
2516         * text.C:
2517         * text2.C:
2518         * text3.C: remove LyXCursor::row_ member
2519
2520         * lyxtext.h:
2521         * text.C: rename fullRebreak() to partialRebreak() and implement
2522           a fullRebreak() that really bereks fully
2523
2524         * textcursor.h: new struct for cursor-related data
2525
2526 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * lyx_main.C (LyX): get full path of document loaded on the
2529         command line
2530
2531 2003-06-26  André Pönitz  <poenitz@gmx.net>
2532
2533         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2534           remove unused/broken operator>,<,>=.
2535
2536         *       text.C: remove only use of broken operator<= in an Assert().
2537
2538 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2539
2540         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2541         moved errorlist_.clear to showErrorList
2542
2543 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * converter.C (scanLog, runLaTeX):
2546         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2547         move the bv->showErrorList call to the callers
2548         * lyxfunc.C: i.e. here...
2549         * text2.C: and here
2550         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2551         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2552         namespace, the second to...
2553         * buffer_funcs (BufferFormat, parseErrors): added
2554         * errorlist.C (ErrorList(TeXErrors const &)): removed
2555
2556 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2557
2558         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2559
2560 2003-06-24  "Garst R. Reese" <reese@isn.net>
2561
2562         * debug.C: fix typo
2563
2564 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2567
2568         * version.C.in: change docversion to 1.4
2569
2570 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2571
2572         * buffer.C: fix a bug just introduced
2573
2574 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2575
2576         * buffer.[Ch]: added the parseError signal and use it, removed
2577         sgmlError
2578         * BufferView.[Ch] (addError): moved to ...
2579         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2580         to the Buffer::parseError signal to catch (guess what) parse errors
2581         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2582
2583 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2586         ability to create a buffer and to return an existing one from
2587         the list. Moved these functions to...
2588         * buffer_funcs.[Ch]: added
2589         * BufferView.[Ch] (loadLyXFile): added
2590         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2591         job removed from bufferlist::loadLyXFile.
2592         * buffer.C (setReadOnly): make it work without view
2593         (i.e added an if (users))
2594
2595 2003-06-19  Angus Leeming  <leeming@lyx.org>
2596
2597         * lfuns.h:
2598         * LyXAction.C (init):
2599         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2600         with LFUN_DIALOG_SHOW <name> <data>.
2601
2602 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2603
2604         * CutAndPaste.C (availableSelections): small compilation fix for
2605         ancient (gcc 2.9x) compilers
2606
2607 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * text3.C (cursorNext): add tmp var
2610
2611         * text2.C (updateCounters): for function calling out of for clause
2612         (replaceSelectionWithString): ditto
2613         (insertStringAsParagraphs): ditto
2614         (getColumnNearX): add tmp var
2615         (setCursorFromCoordinates): add tmp var
2616         (cursorDownParagraph): add tmp var
2617         (deleteEmptyParagraphMechanism): add tmp var
2618
2619         * text.C (insertChar): add tmp var
2620
2621         * rowpainter.C (paintDepthBar): add tmp var
2622
2623         * CutAndPaste.C (availableSelections): potentially check all
2624         paragraphs in a cut to fill the shown strings.
2625
2626 2003-06-18  André Pönitz  <poenitz@gmx.net>
2627
2628         * kbmap.[Ch]: use vector<> instead of list<>
2629
2630 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2631
2632         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2633         pasteSelection with index
2634
2635         * text2.C (pasteSelection): modify, call pasteSelection with index
2636
2637         * paragraph.C (asString): reimplement version with no interval to
2638         call the one with interval.
2639
2640         * lyxtext.h: add index arg to pasteSelection
2641
2642         * MenuBackend.C (MenuItem): handle PasteRecent
2643         (Menu::read::Menutags): add md_pasterecent
2644         (read): handle it
2645         (expandPasteRecent): new function
2646         (expand): use it
2647
2648         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2649
2650         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2651         the limited stack
2652         (availableSelections): new function
2653
2654 2003-06-17  Angus Leeming  <leeming@lyx.org>
2655
2656         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2657
2658 2003-06-17  Angus Leeming  <leeming@lyx.org>
2659
2660         * lfuns.h:
2661         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2662
2663         * lyxfunc.C (dispatch): invoke it.
2664
2665 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2666
2667         * iterators.C (operator++, ParPosition): reintroduce some
2668         const_cast for the benefit of older compilers.
2669
2670 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2671
2672         * text3.C (dispatch): do not modify clipboard when doing
2673         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2674         LFUN_DELETE_SKIP on a selection selection
2675
2676 2003-06-16  André Pönitz  <poenitz@gmx.net>
2677
2678         * BufferView.C:
2679         * buffer.C:
2680         * buffer.h:
2681         * paragraph.C:
2682         * tabular.[Ch]: IU of clone() and getLabelList();
2683
2684 2003-06-13  André Pönitz  <poenitz@gmx.net>
2685
2686         * tabular.h: compactification
2687
2688 2003-06-12  André Pönitz  <poenitz@gmx.net>
2689
2690         * tabular.C:
2691         * tabular.h:
2692         * tabular_funcs.h: some renaming plus whitespace
2693
2694 2003-06-12  André Pönitz  <poenitz@gmx.net>
2695
2696         * BufferView.C:
2697         * BufferView_pimpl.C:
2698         * CutAndPaste.C:
2699         * buffer.C:
2700         * iterators.[Ch]:
2701         * lyxfunc.C:
2702         * text.C:
2703         * toc.C: Return a Paragraph & for ParIterator::operator*()
2704
2705 2003-06-11  John Levon  <levon@movementarian.org>
2706
2707         * lyx_main.C:
2708         * ToolbarBackend.h:
2709         * ToolbarBackend.C: add "Toolbars" section and
2710         put the flags there
2711
2712 2003-06-10  Angus Leeming  <leeming@lyx.org>
2713
2714         * lfuns.h:
2715         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2716
2717         * lyxfunc.C (dispatch): invoke it.
2718
2719 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * main.C: protect <ios> with HAVE_IOS
2722         (main): protect sync_with_stdio with HAVE_IOS
2723
2724 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2725
2726         * text2.C (cutSelection): adjust
2727         (pasteSelection): adjust
2728
2729         * messages.C: handle get of empty string
2730
2731         * main.C (main): use sync_with_stdio(false)
2732
2733         * lyxfunc.C (dispatch): adjust
2734
2735         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2736         (WriteAs): remove unneeded BufferView arg.
2737
2738         * bufferparams.h: use correct types on papersize, papersize2 and
2739         paperpackage.
2740
2741         * bufferparams.C (readToken): adjust for type
2742         (writeLaTeX): add missing cases to switch.
2743
2744         * bufferlist.C (quitWriteBuffer): adjust
2745         (close): adjust
2746
2747         * buffer.C (asciiParagraph): remove some commented code.
2748
2749         * CutAndPaste.C: remove current_view extern variable.
2750         (cutSelection): add BufferParams arg.
2751         (eraseSelection): add BufferParams arg.
2752         (pasteSelection): add Buffer const & arg
2753
2754 2003-06-07  John Levon  <levon@movementarian.org>
2755
2756         * buffer.C:
2757         * paragraph_funcs.C:
2758         * paragraph_pimpl.C:
2759         * text.C:
2760         * text2.C:
2761         * paragraph.h:
2762         * paragraph.C: allow InsetERT to freely space lines,
2763         and some consolidation of code
2764
2765 2003-06-06  José Matos  <jamatos@fep.up.pt>
2766
2767         * buffer.C (makeDocBookFile): fix bug #821
2768
2769 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2772
2773 2003-06-04  Angus Leeming  <leeming@lyx.org>
2774
2775         * buffer.C: bump format to 224.
2776
2777 2003-06-05  André Pönitz  <poenitz@gmx.net>
2778
2779         * text2.C (redoParagraphs): remove two const_cast<>
2780
2781 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2782
2783         * ParagraphList.h: remove last remnants of NO_STD_LIST
2784
2785 2003-06-03  Angus Leeming  <leeming@lyx.org>
2786
2787         * factory.C (createInset): small change to the way InsetExternal's params
2788         are set.
2789
2790 2003-06-04  André Pönitz  <poenitz@gmx.net>
2791
2792         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2793
2794         * paragraph_pimpl.h:
2795         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2796
2797         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2798
2799         * undo_funcs.C: make some simple cases of undo work again
2800
2801 2003-06-03  John Levon  <levon@movementarian.org>
2802
2803         * ispell.C: HPUX doesn't have sys/select.h
2804         (from Albert Chin)
2805
2806 2003-06-03  John Levon  <levon@movementarian.org>
2807
2808         * CutAndPaste.C: update tabular and include inset
2809         buffer references
2810
2811         * buffer.h:
2812         * paragraph.h:
2813         * paragraph.C: remove owningBuffer(), don't pass Buffer
2814         to clone()
2815
2816         * factory.C: insetGraphicsParams changed
2817
2818 2003-06-02  John Levon  <levon@movementarian.org>
2819
2820         * LyXAction.C:
2821         * factory.C:
2822         * lfuns.h:
2823         * lyxfunc.C:
2824         * text3.C: remove insetparent
2825
2826 2003-06-02  John Levon  <levon@movementarian.org>
2827
2828         * buffer.h:
2829         * buffer.C: fix inset_iterator.end(), move out of line
2830         (bug 1149)
2831
2832 2003-06-01  John Levon  <levon@movementarian.org>
2833
2834         * text3.C: use a proper cut/paste when doing inset
2835         insert (from Jürgen Spitzmüller)
2836
2837 2003-06-01  John Levon  <levon@movementarian.org>
2838
2839         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2840
2841 2003-05-30  André Pönitz  <poenitz@gmx.net>
2842
2843         * rowpainter.C: unify second drawing phase
2844
2845 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * trans_mgr.C: remove one case of current_view
2848
2849         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2850
2851         * paragraph_funcs.h: remove paragraph.h include
2852
2853         * paragraph.h: delete NO_STD_LIST stuff
2854
2855         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2856
2857         * buffer.h: remove paragraph.h include
2858
2859         * ParagraphList.C: delete file
2860
2861         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2862
2863         * toc.C (getTocList): adjust
2864
2865         * paragraph_pimpl.C (validate): adjust
2866
2867         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2868
2869         * paragraph.C (Paragraph): adjust
2870         (getPositionOfInset): use const_iterator, adjust
2871         (bibitem): use const_iterator, adjust
2872         (setInsetOwner): adjust
2873
2874         * iterators.C (operator++): adjust
2875
2876         * InsetList.[Ch]: Replace selfmade iterator with standard
2877         vector::iterator also introduce const_iterator. Remove getPos,
2878         getInset and setInset from InsetTable. Adjust accordingly.
2879
2880         * BufferView.C (lockInset): adjust
2881         (ChangeInsets): adjust
2882
2883         * tabular.[Ch]: delete commented same_id functions
2884
2885 2003-05-28  John Levon  <levon@movementarian.org>
2886
2887         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2888
2889 2003-05-28  André Pönitz  <poenitz@gmx.net>
2890
2891         * metricsinfo.[Ch]: remove 'fullredraw' member
2892
2893 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2894
2895         * lyxtextclass.C (operator): remove caching.
2896
2897 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * text3.C: adjust
2900
2901         * text2.C (cursorBottom): adjust
2902         (setCounter): use ParagraphList::find, adjust
2903
2904         * text.C (workWidth): use ParagraphList::find, adjust
2905
2906         * lyxcursor.C (LyXCursor): adjust
2907
2908         * buffer.C (inset_iterator): adjust
2909
2910         * ParagraphList.h: make iterator(value_type) private, make
2911         ParagraphList a friend of iterator.
2912
2913         * ParagraphList.C (find): new function
2914
2915         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2916
2917 2003-05-27  André Pönitz  <poenitz@gmx.net>
2918
2919         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2920
2921 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2922
2923         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2924
2925 2003-05-26  John Levon  <levon@movementarian.org>
2926
2927         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2928
2929 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * remove same_id from function signatures, adjust.
2932
2933 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2936
2937         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2938
2939         * paragraph.C (Paragraph): get rid of same_ids parameter
2940
2941         * ParagraphList.C (insert): adjust
2942         (push_back): adjust
2943
2944 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * paragraph_funcs.C (breakParagraph): adjust
2947         (breakParagraphConservative): adjust
2948
2949         * buffer.C (readParagraph): adjust
2950
2951         * ParagraphList.C (insert): take a reference instead of a pointer
2952         (insert): adjust
2953
2954         * paragraph.[Ch] (id): new function
2955
2956         * bufferlist.C (newFile): adjust
2957
2958         * ParagraphList.C (ParagraphList): adjust
2959         (assign): adjust
2960         (push_back): take a reference instead of a pointer.
2961
2962         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2963
2964         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2965         instead.
2966
2967         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2968         set else use old code.
2969
2970         * ParagraphList.C: remove all NO_NEXT code and only compile this
2971         code of NO_STD_LIST is set.
2972
2973 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * BufferView_pimpl.C:
2976         * TextCache.C:
2977         * TextCache.h:
2978         * bufferlist.C:
2979         * errorlist.h:
2980         * format.C:
2981         * format.h:
2982         * graph.C:
2983         * lyxfunc.C:
2984         * lyxrc.C:
2985         * graphics/GraphicsConverter.C:
2986         * graphics/PreviewLoader.C: header adjustment
2987
2988 2003-05-23  Angus Leeming  <leeming@lyx.org>
2989
2990         * LaTeXFeatures.[Ch] (useBabel): new method.
2991         * bufferparams.C (writeLaTeX): use it.
2992
2993 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * ParagraphList.h (set): remove unused function.
2996
2997 2003-05-23  André Pönitz  <poenitz@gmx.net>
2998
2999         * BufferView.C:
3000         * BufferView_pimpl.C:
3001         * buffer.C:
3002         * buffer.h:
3003         * lyxfunc.C:
3004         * undo_funcs.C: setUndo reworked
3005
3006         * iterators.[Ch]: add access to topmost ParagraphList
3007
3008         * lyxtext.[Ch] (workWidth): add a const
3009
3010 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3011
3012         * texrow.[Ch] (increasePos): remove function
3013         * exporter.C (export): removed unused var and outdated comment
3014
3015 2003-05-23  Angus Leeming  <leeming@lyx.org>
3016
3017         * latexrunparams.h: rename fragile as moving_arg.
3018         * paragraph.C (simpleTeXOnePar): ditto.
3019         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3020
3021 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3024         (createUndo): ditto
3025         (textUndoOrRedo): comment out a currently unused var.
3026
3027         * paragraph.h (NO_NEXT): enable NO_NEXT
3028
3029         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3030
3031         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3032
3033         * exporter.C (Export): adjust for removeAutoInsets removal.
3034
3035         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3036
3037         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3038
3039         * BufferView.[Ch] (removeAutoInsets): delete function
3040
3041 2003-05-22  Angus Leeming  <leeming@lyx.org>
3042
3043         * latexrunparams.h: add a free_spacing variable.
3044
3045         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3046         to pass moving_arg, as the data is stored in runparams.fragile.
3047
3048         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3049         to Inset::latexOptional or to simpleTeXOnePar.
3050
3051         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3052         free_spacing arg to Inset::latexOptional.
3053
3054         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3055         free_spacing arg.
3056
3057 2003-05-22  Angus Leeming  <leeming@lyx.org>
3058
3059         * latexrunparams.h: add fragile and use_babel variables.
3060
3061         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3062         * buffer.C (makeLaTeXFile): store this returned value in
3063         runparams.use_babel, thus passing it to the inset::latex methods.
3064
3065         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3066         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3067
3068         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3069         longer has a fragile arg, as it is stored in runparams.fragile.
3070
3071         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3072         moving_arg parameter as the data is stored in runparams.fragile.
3073
3074         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3075         a fragile parameter as the data is stored in runparams.fragile.
3076
3077 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3080
3081 2003-05-22  Angus Leeming  <leeming@lyx.org>
3082
3083         * latexrunparams.h: add a 'bool nice' which defaults to false.
3084
3085         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3086         now encapsulated within runparams.
3087
3088         * bufferlist.C (updateIncludedTeXfiles):
3089         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3090
3091 2003-05-22  Angus Leeming  <leeming@lyx.org>
3092
3093         * latexrunparams.h: new file containing struct LatexRunParams.
3094         * Makefile.am: add new file.
3095
3096         * LaTeX.[Ch] (c-tor, run):
3097         * buffer.[Ch] (makeLaTeXFile):
3098         * bufferlist.[Ch] (updateIncludedTeXfiles):
3099         * converter.C (convert, scanLog):
3100         * converter.[Ch] (runLaTeX):
3101         * exporter.C (Export):
3102         * paragraph.[Ch] (simpleTeXOnePar):
3103         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3104         * paragraph_funcs.[Ch] (latexParagraphs):
3105         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3106         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3107         pass around a LatexRunParams parameter.
3108
3109 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * paragraph.[Ch]: remove unused constructor
3112
3113         * ParagraphList.C (erase): new function, taking two iterators
3114
3115 2003-05-22  André Pönitz  <poenitz@gmx.net>
3116
3117         * undo_funcs.C: remove duplicated code
3118
3119         * iterator.[Ch]: operator=
3120
3121 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * tabular.C (SetMultiColumn): ws changes
3124
3125         * rowpainter.C (paintFirst): get rid of a ->previous
3126
3127         * lyx_cb.C (getPossibleLabel): parlist simplification
3128
3129         * BufferView.C (ChangeInsets): simplify slightly.
3130
3131 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3132
3133         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3134         * lfuns.h: new LFUN_SPACE
3135         * lyxfunc.C: protected space has a new lfun
3136         * paragraph_funcs.C: read new space insets
3137         * text3.C:
3138         * factory.C: handle new space insets
3139
3140 2003-05-22  André Pönitz  <poenitz@gmx.net>
3141
3142         * BufferView.C:
3143         * BufferView_pimpl.C:
3144         * buffer.[Ch]:
3145         * lyxfunc.C:
3146         * undo_funcs.C: return a ParIterator from getParFromID.
3147
3148         * iterators.[Ch]: add two const's
3149
3150 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * toc.C (getTocList): adjust
3153
3154         * iterators.[Ch]: rework for parlist
3155
3156         * buffer.C (par_iterator_begin): adjust
3157         (par_iterator_end): adjust
3158
3159         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3160
3161         * BufferView.C (removeAutoInsets): adjust
3162         (ChangeInsets): adjust
3163
3164 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * text.C (top_y): fix bug 1110
3167
3168 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3169
3170         * errorlist.[Ch]: added
3171         * buffer.C:
3172         * BufferView.[Ch]:
3173         * BufferView_pimpl.C:
3174         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3175         instead
3176
3177 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * Makefile.am: ensure that lyx is relinked upon changes to the
3180         various "convenience" libs.
3181
3182 2003-05-20  Angus Leeming  <leeming@lyx.org>
3183
3184         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3185         files are compiled in alphabetical order again.
3186
3187         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3188
3189 2003-05-19  Angus Leeming  <leeming@lyx.org>
3190
3191         * gettext.[Ch]: remove "char const * _(char const *)".
3192
3193 2003-05-19  André Pönitz  <poenitz@gmx.net>
3194
3195         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3196
3197         * Makefile.am:
3198         * BufferView.C:
3199         * DepTable.h:
3200         * LaTeXFeatures.C:
3201         * buffer.C:
3202         * lyxfont.C:
3203         * lyxlex.h:
3204         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3205
3206 2003-05-19  André Pönitz  <poenitz@gmx.net>
3207
3208         * buffer.C:
3209         * lyxlayout.[Ch]:
3210         * lyxtextclass.[Ch]:
3211         * paragraph.C:
3212         * paragraph_funcs.[Ch]:
3213         * text2.C:
3214         * text3.C: more insetenv work
3215
3216 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3217
3218         * ParagraphParameters.C (params2string): small bug fixed
3219
3220 2003-05-16  André Pönitz  <poenitz@gmx.net>
3221
3222         * debug.C:
3223         * bufferview_funcs.C: patch from Kornel Benko to prevent
3224           crash when _(...) is called twice in a statement
3225
3226 2003-05-16  André Pönitz  <poenitz@gmx.net>
3227
3228         * BufferView.C:
3229         * lyxfunc.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C:
3233         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3234
3235 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * lyx_main.C (init): remove spurious static_cast
3238
3239 2003-05-14  André Pönitz  <poenitz@gmx.net>
3240
3241         * BufferView.C: fix format string
3242
3243 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * BufferView.[Ch] (insertErrors): removed
3246         * BufferView.[Ch] (showErrorList): added
3247         * buffer.C (runChkTeX):
3248         * converter.C (scanLog): call showErrorList instead of inserterrors
3249
3250 2003-05-13  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView_pimpl.C:
3253         * buffer.C:
3254         * bufferview_func.C:
3255         * MenuBackend.C:
3256         * lyxfunc.C:
3257         * lyxrc.C:
3258         * tex-accent.C:
3259         * text3.C:
3260         * toc.C:
3261         * tabular_funcs.h: tostr() from its own header
3262
3263         * ParagraphParameters.C:
3264         * ToolbarBackend.C:
3265         * bufferparams.C:
3266         * format.C:
3267         * lyxlex_pimpl.C:
3268         * text3.C: STRCONV()
3269
3270 2003-05-12  André Pönitz  <poenitz@gmx.net>
3271
3272         * BufferView.C:
3273         * BufferView_pimpl.C:
3274         * CutAndPaste.C:
3275         * LaTeX.C:
3276         * LaTeXFeatures.C:
3277         * ParagraphParameters.C:
3278         * buffer.C:
3279         * bufferlist.C:
3280         * bufferparams.C:
3281         * bufferview_funcs.C:
3282         * converter.C:
3283         * counters.C:
3284         * debug.C:
3285         * exporter.C:
3286         * format.C:
3287         * importer.C:
3288         * lyx_cb.C:
3289         * lyx_main.C:
3290         * lyxfont.C:
3291         * lyxfunc.C:
3292         * lyxvc.C:
3293         * paragraph.C:
3294         * paragraph_funcs.C:
3295         * tabular.C:
3296         * tabular_funcs.C:
3297         * text2.C:
3298         * text3.C:  boost::format -> bformat  all over the place
3299
3300
3301 2003-05-09  André Pönitz  <poenitz@gmx.net>
3302
3303         * LColor.[Ch]: Pimpl the #include <map> away
3304
3305 2003-05-09  John Levon  <levon@movementarian.org>
3306
3307         * bufferlist.C: never remove emergency saves
3308
3309 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3310
3311         * Makefile.am: better lib building
3312
3313 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3316         instead.
3317         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3318         (simpleTeXSpecialChars): adjust
3319         (simpleTeXSpecialChars): adjust
3320         * paragraph.C (simpleTeXOnePar): adjust
3321         * buffer.C (makeLaTeXFile): adjust
3322
3323         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3324
3325         * text2.C (changeDepth): parlist cleanup
3326         (getColumnNearX): ditto
3327
3328         * rowpainter.C (getLabelFont): parlist cleanup
3329
3330         * bufferlist.C (newFile): parlist cleanup
3331
3332         * CutAndPaste.C (eraseSelection): parlist cleanup
3333
3334         * BufferView_pimpl.C (trackChanges): parlist cleanup
3335         (dispatch): ditto
3336
3337         * BufferView.C (lockInset): parlist cleanup.
3338         (ChangeInsets): ditto
3339
3340 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * CutAndPaste.h: Update file header.
3343
3344         * CutAndPaste.C: Update file header.
3345         Store the parts cut out of the Document in a limited_stack.
3346         (copySelection): adjust
3347         (pasteSelection): new function, takes the index in the limited stack.
3348         (nrOfParagraphs): adjust
3349         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3350         simplify error inset insertion.
3351         (checkPastePossible): adjust
3352
3353 2003-05-06  John Levon  <levon@movementarian.org>
3354
3355         * text2.C: don't cast wrap inset to float
3356
3357 2003-05-05  André Pönitz  <poenitz@gmx.net>
3358
3359         * iterator.C:
3360         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3361
3362         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3363           few naked Paragraph *.
3364
3365 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3366
3367         * bufferparams.C: Output warning if a document with missing
3368         TeX document class is loaded
3369         * exporter.C: Disable TeX exports if the document class is missing
3370         * lyxtextclass.C:
3371         * lyxtextclass.h:
3372         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3373         isTeXClassAvailable()
3374
3375 2003-05-03  John Levon  <levon@movementarian.org>
3376
3377         * BufferView.h:
3378         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3379         explicit cursor show/hide
3380
3381         * BufferView_pimpl.h:
3382         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3383         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3384
3385         * lyxfunc.C: hide cursor before dispatching.
3386
3387         * lyx_cb.C:
3388         * lyxfind.C:
3389         * text.C:
3390         * text3.C: remove explicit cursor hides
3391
3392 2003-05-02  André Pönitz  <poenitz@gmx.net>
3393
3394         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3395
3396         * undo_funcs.C:
3397         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3398           linked lists
3399
3400         * text2.C: tiny whitespace
3401
3402 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * undo_funcs.C: almost only ws changes.
3405
3406         * ParagraphList.C (splice): just return if pl is empty.
3407
3408 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * ParagraphList.C (splice): new function.
3411
3412         * CutAndPaste.C (pasteSelection): use it
3413
3414 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * CutAndPaste.C (pasteSelection): remove the last next and
3417         previous from this file.
3418
3419 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * CutAndPaste.C (pasteSelection): more clean up, user proper
3422         ParagraphList functions for pasteing.
3423
3424         * ParagraphList.C (insert): new function, three arg insert
3425
3426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * ParagraphList.C (insert): new function, three arg insert
3429
3430         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3431         not on paragraphs.
3432
3433 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3436
3437 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3440
3441 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3444         (copySelection): clean up a bit.
3445         (pasteSelection): use make_pair
3446
3447         * ParagraphList.C (ParagraphList): implement copy constructor
3448         (operator=): implement, base on copy constructor.
3449         (assign): new func
3450
3451         * paragraph.C (erase): return a bool
3452
3453         * paragraph_pimpl.C (erasePos): remove function, move contents...
3454         (erase): ... here. Return a bool.
3455         (erase): call erase instead of erasePos.
3456
3457 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * ParagraphList.h: define PitPosPair
3460         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3461         ParagraphList, fix a bug on pasting multiple pars
3462         * text2.C: change interface to C&P
3463
3464 2003-04-30  André Pönitz  <poenitz@gmx.net>
3465
3466         * undo_func.C: revert part of yesterday's patch 2
3467
3468 2003-04-30  John Levon  <levon@movementarian.org>
3469
3470         * LColor.C: s/tabular/table/
3471
3472 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * text3.C (dispatch): do not convert iterator -> pointer
3475         * undo_funcs.C (setCursorParUndo): ditto
3476         * text_funcs.C (transposeChars): ditto
3477
3478         * text2.C (setLayout): ws changes only
3479
3480         * text.C (breakParagraph): do not convert iterator -> pointer
3481         (insertChar): ditto
3482         (acceptChange): ditto
3483         (rejectChange): ditto
3484         (changeCase): ditto
3485         (Delete): ditto
3486         (backspace): ditto
3487
3488         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3489         pointer
3490
3491 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * text3.C (gotoInset): YABG (yet another bad getChar)
3494
3495 2003-04-29  André Pönitz  <poenitz@gmx.net>
3496
3497         * paragraph.h: make operator= private unimplemented as long as
3498           it is unusable
3499
3500         * ParagraphList.C: whitespace
3501
3502         * paragraph.[Ch]:
3503         * paragraph_pimpl.[Ch]:
3504         * paragraph_funcs.C:
3505         * CutAndPaste.C:
3506         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3507
3508         * text2.C:
3509           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3510
3511 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3514         * paragraph.[Ch] (erase):
3515         * paragraph_pimpl.[Ch] (erase): change return type and value
3516         * text2.C (cutSelection): some rework
3517
3518 2003-04-28  John Levon  <levon@movementarian.org>
3519
3520         * bufferlist.C: changes for unsaved changes dialog
3521
3522 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * bufferlist.C (newFile): set language (messages_) for new
3525         documents also.
3526
3527         * buffer.C (readFile): ws changes only.
3528
3529 2003-04-28  André Pönitz  <poenitz@gmx.net>
3530
3531         * undo_funcs.C:
3532         * lyxfunc.C:
3533         * buffer.[Ch]:
3534         * BufferView_pimpl.C:
3535         * BufferView.C: getParFromID related ParagraphList::iterator changes
3536
3537 2003-04-28  André Pönitz  <poenitz@gmx.net>
3538
3539         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3540           Changes
3541
3542 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3543
3544         * messages.C: remove one more localedir class variable.
3545
3546 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * messages.C (getLocaleDir): singleton generation function
3549         (Pimpl): use it.
3550         (Messages): add a default constructor.
3551
3552         * main.C (main): do not setup localedir here, do not call
3553         gettext_init.
3554
3555         * gettext.C (_): use it.
3556         (gettext_init): delete funciton
3557
3558 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * gettext.C (getLyXMessages): new singleton generating function.
3561
3562         * buffer.C (updateDocLang): adjust
3563
3564         * Makefile.am (messages.o): add target
3565         (main.o): remove target
3566
3567 2003-04-27  John Levon  <levon@movementarian.org>
3568
3569         * bufferlist.C:
3570         * lyx_cb.C:
3571         * lyxfunc.C:
3572         * lyxvc.C: specify cancel button in Alert::prompt
3573
3574 2003-04-26  John Levon  <levon@movementarian.org>
3575
3576         * text3.C:
3577         * lyxfunc.C:
3578         * lfuns.h:
3579         * LyXAction.C: add LFUN_INSET_SETTINGS
3580
3581         * lyxfunc.C: don't enable tabular-feature when there's
3582         just any locking inset
3583
3584 2003-04-26  John Levon  <levon@movementarian.org>
3585
3586         * bufferlist.C: re-add Cancel to buffer close question
3587
3588         * lyxfunc.C: fix import UI a bit
3589
3590 2003-04-25  John Levon  <levon@movementarian.org>
3591
3592         * gettext.C: remove the broken asserts for now
3593
3594 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * messages.C: make case where setlocale cannot comply work better.
3597
3598         * buffer.C (updateDocLang): new function
3599         (changeLanguage): use it
3600         (readFile): use it
3601
3602         * text2.C (setCounter): use B_ a bit.
3603
3604         * lyxlayout.C (Read): be sure to trim the label strings.
3605
3606         * messages.C (Messages): fix typo in comment
3607
3608         * buffer.C (readFile): set message_ after file is loaded.
3609         (makeDocBookFile): remove double return
3610         (changeLanguage): reset message_ upon language change.
3611         (B_): new func, use this to get translated buffer strings.
3612
3613         * main.C: add myself and Jean Marc as authors.
3614
3615 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * messages.[hC]: pimplify Messages, and three different pimpls to be
3618         used in different circumstances.
3619
3620         * gettext.[Ch]: change for use with new message code.
3621
3622 2003-04-24 André Pönitz <poenitz@gmx.net>
3623
3624         * factory.C: support for eqref
3625
3626 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * messages.[Ch]: add missing char
3629
3630         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3631
3632         * messages.[Ch]: New files
3633
3634 2003-04-18  John Levon  <levon@movementarian.org>
3635
3636         * BufferView.h:
3637         * BufferView.C:
3638         * BufferView_pimpl.C:
3639         * lfuns.h:
3640         * LyXAction.C:
3641         * lyxtext.h:
3642         * text2.C: remove layout-copy/paste (bug 778)
3643
3644 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3647
3648 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3651         if they succeed. Act accordingly.
3652
3653 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * text2.C (setCharFont): adjust
3656         (setCounter): adjust
3657         (insertStringAsLines): adjust
3658
3659         * text.C (leftMargin): adjust
3660         (setHeightOfRow): adjust
3661
3662         * rowpainter.C (paintFirst): adjust
3663         (paintLast): adjust
3664
3665         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3666         (outerHook): ditto
3667         (isFirstInSequence): ditto
3668         (getEndLabel): ditto
3669         (outerFont): adjust
3670
3671         * paragraph.C (getParLanguage): comment out some hard stuff.
3672
3673         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3674         (sgmlError): ditto
3675         (simpleDocBookOnePar): ditto
3676         (makeDocBookFile): use ParagraphList::iterator
3677
3678         * CutAndPaste.C (pasteSelection): adjust
3679
3680 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text2.C (getFont): adjust
3683         (getLayoutFont): adjust
3684         (getLabelFont): adjust
3685
3686         * paragraph_funcs.C (TeXOnePar): adjust
3687
3688         * buffer.C (simpleLinuxDocOnePar): adjust
3689         (simpleDocBookOnePar): adjust
3690
3691         * CutAndPaste.C (pasteSelection): adjust
3692
3693         * BufferView.C (getEncoding): adjust
3694
3695         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3696
3697 2003-04-16  John Levon  <levon@movementarian.org>
3698
3699         * lyxfind.C: use parlist stuff for search/changes
3700
3701 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3704
3705         * text2.C (deleteEmptyParagraphMechanism): adjust
3706
3707         * text2.[Ch] (ownerParagraph): delete func (both of them
3708
3709 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3712
3713 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * ParagraphList.C: prepare for NO_NEXT
3716
3717 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * text2.C (getFont): adjust
3720         (getLayoutFont): adjust
3721         (getLabelFont): adjust
3722
3723         * paragraph.C (getFont): adjust
3724         (getLabelFont): adjust
3725         (getLayoutFont): adjust
3726
3727         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3728
3729 2003-04-15  John Levon  <levon@movementarian.org>
3730
3731         From Angus Leeming
3732
3733         * lyx_main.C: handle Include in .ui files
3734
3735 2003-04-15  John Levon  <levon@movementarian.org>
3736
3737         * MenuBackend.C: make the doc files length shorter
3738
3739         * ToolbarBackend.h:
3740         * ToolbarBackend.C: handle toolbar placement flags,
3741         Minibuffer
3742
3743 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3746         adjust
3747
3748         * paragraph_funcs.C (TeXOnePar): adjust
3749
3750         * paragraph.C (getLabelFont): add outerfont arg, adjust
3751         (getLayoutFont): ditto
3752         (simpleTeXOnePar): adjust
3753
3754         * paragraph_pimpl.C (realizeFont): delete func
3755
3756 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3759         row argument, constify cur argument.
3760
3761 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * text2.C (getFont): adjust
3764         (getLayoutFont): adjust
3765         (getLabelFont): adjust
3766
3767         * paragraph_funcs.C (TeXOnePar): adjust
3768         (outerFont): new func...
3769         (realizeFont): ...moved out from here, changed this to facilitate
3770         transition
3771
3772         * paragraph.C (getFont): take outerfont as arg, adjust
3773         (simpleTeXOnePar): add outerfont arg, adjust
3774
3775         * buffer.C (simpleLinuxDocOnePar): adjust
3776         (simpleDocBookOnePar): adjust
3777
3778         * CutAndPaste.C (pasteSelection): adjust
3779
3780         * BufferView.C (getEncoding): adjust
3781
3782 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * text2.C (setCharFont): adjust
3785         (setCounter): adjust
3786
3787         * text.C (leftMargin): adjust
3788         (setHeightOfRow): adjust
3789
3790         * rowpainter.C (paintFirst): adjust
3791         (paintLast): adjust
3792
3793         * paragraph_pimpl.C (realizeFont): adjust
3794
3795         * paragraph.C (isFirstInSequence): move from here...
3796         * paragraph_funcs.C (isFirstInSequence): ...to here
3797
3798         * paragraph.C (outerHook): move from here...
3799         * paragraph_funcs.C (outerHook): ...to here
3800
3801         * paragraph.C (depthHook): move from here...
3802         * paragraph_funcs.C (depthHook): ...to here
3803
3804         * paragraph.C (getEndLabel): move from here...
3805         * paragraph_funcs.C (getEndLabel): ...to here
3806
3807         * text2.C (realizeFont): move from here...
3808         * paragraph_funcs.C (realizeFont): ...to here
3809
3810 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3813
3814 2003-04-14  Angus Leeming  <leeming@lyx.org>
3815
3816         * LColor.[Ch]: scrap LColor mathcursor.
3817
3818 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * lyxlex.[Ch] (text): delete function
3821         * trans.C (Load): adjust
3822         * paragraph_funcs.C (readParToken): adjust
3823
3824 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3827         vector<char> instead of a char[].
3828
3829         * lyxlex_pimpl.C (getString): adjust
3830         (next): adjust
3831         (lex): use getString
3832         (eatLine): adjust
3833         (nextToken): adjust
3834
3835         * lyxlex.C (text): use pimpl_->getString()
3836         (getBool): ditto
3837         (findToken): ditto
3838
3839 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3842         (makeFontEntriesLayoutSpecific): temp var for par.size()
3843         (setLayout): temp var for ownerParagraphs().end()
3844         (fullRebreak): temp var for rows().end()
3845         (selectionAsString): temp var for boost::next(startpit), realize
3846         that the while really is a regular for loop.
3847         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3848         setCursor in one place.
3849         (setParagraph): temp vr for ownerParagraphs().end()
3850         (updateCounters): make the while loop a for loop
3851         (cutSelection): temp var for ownerParagraphs().end()
3852         (updateInset): make the do {} while() a regular for loop
3853         (getCursorX): use temp vars
3854         (setCurrentFont): use temp vars
3855         (getColumnNearX): use temp vars
3856
3857 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * text.C (transformChar): use temp var for getChar
3860         (computeBidiTables): use temp var for row->par()
3861         (fill): move temp vars for row->par() and pit->layout() earlier in
3862         the function.
3863         (labelFill): use temp var for row->par()
3864         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3865         asc and desc, realize that pit never changes and that firstpit is
3866         just a duplicate and not needed. Exchange rit->par() with pit in a
3867         lot of places.
3868         (breakAgain): use a temp var for boost::next(rit)
3869         (breakAgainOneRow): ditto
3870         (breakParagraph): use a temp var for rows().begin()
3871         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3872         (cursorRightOneWord): use temp var for cursor.par() and
3873         cursor.pos(), remove usage of tmpcursor.
3874         (cursorLeftOneWord): use temp var for cursor.par() and
3875         cursor.pos() only set cur at end of function.
3876
3877 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * text.C, text2.C: exchange all usage of Paragraph::next with
3880         boost::next(ParagraphList::iterator)
3881
3882         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3883
3884         * text2.C (cursorTop): simplify implementation
3885         (cursorBottom): ditto
3886         (setParagraph): use ParagraphList::iterator
3887         (setCurrentFont): adjust
3888         (getColumnNearX): adjust
3889         (cursorRight): adjust
3890         (cursorLeft): remove usage of Paragraph::previous
3891         (cursorUpParagraph): ditto
3892         (deleteEmptyParagraphMechanism): slight cleanup
3893
3894         * text.C (isBoundary): take a Paragraph const & instead of a
3895         pointer as arg.
3896         (addressBreakPoint): ditto
3897         (leftMargin): remove usage of Paragraph::previous.
3898         (setHeightOfRow): ditto
3899         (cursorLeftOneWord): ditto
3900         (selectNextWordToSpellcheck): ditto
3901         (Delete): ditto
3902         (backspace): ditto
3903         (breakParagraph): remove one usage of Paragraph::next
3904         (redoParagraph): ditto
3905         (acceptChange): ditto
3906         (insertChar): adjust
3907         (rowBreakPoint): adjust
3908
3909         * bufferview_funcs.C (toggleAndShow): adjust
3910
3911 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3912
3913         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3914         methods to access it.
3915         * lyxtext.h:
3916         * text.C: Added updateRowPositions to compute all row positions.
3917         Make top_y and getRowNearY() to use the cached y position
3918
3919 2003-04-11  John Levon  <levon@movementarian.org>
3920
3921         * text.C (rowBreakPoint): reintroduce the labelEnd
3922         checks, code copied from the row fill stuff. Deep voodoo.
3923
3924         * text.C (fill): add a comment and debugging for the
3925         next poor soul.
3926
3927 2003-04-11  John Levon  <levon@movementarian.org>
3928
3929         * text.C: make sure fullrow insets get wrapped to the next line,
3930         even when they're in a manual label
3931
3932 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * text2.C (insertParagraph): make it take ParagraphList::iterator
3935         as arg.
3936         (setLayout): make it return ParagraphList::iterator
3937         (redoParagraphs): ditto
3938         (setCounter): ditto
3939         (checkParagraph): ditto
3940
3941         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3942
3943         * text2.C: adjust several funcs.
3944         (realizeFont): take a ParagraphList::iterator as arg.
3945         (getLayoutFont): ditto
3946         (getLabelFont): ditto
3947         (setCharFont): ditto
3948
3949         * text.C: adjust several funcs.
3950
3951 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3952
3953         * text.C (selectNextWordToSpellcheck): don't accidentally
3954         skip insets
3955
3956 2003-04-10  John Levon  <levon@movementarian.org>
3957
3958         * ToolbarBackend.C (getIcon): special handling for
3959         LFUN_MATH_DELIM
3960
3961 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * text2.C (cursorRight): a getChar assert fixed
3964
3965 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * text2.C (getFont): change to take a ParagraphList::iterator
3968         instead of Paragraph*
3969         Adjust several functions.
3970
3971         * text.C (transformChar): change to take a ParagraphList::iterator
3972         instead of Paragraph*
3973         (singleWidth): ditto
3974         Adjust several functions.
3975
3976         * rowpainter.C: adjust several functions
3977         * rowpainter.h:store a ParagraphList::iterator and not a
3978         Paragraph&.
3979
3980
3981 2003-04-09  John Levon  <levon@movementarian.org>
3982
3983         * lyxfunc.C:
3984         * lfuns.h:
3985         * LyXAction.h:
3986         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3987         and the "help" bits as well
3988
3989 2003-04-09  John Levon  <levon@movementarian.org>
3990
3991         * ToolbarBackend.h:
3992         * ToolbarBackend.C: allow multiple toolbars
3993
3994 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * undo_funcs.C (setCursorParUndo): adjust
3997
3998         * text_funcs.C (transposeChars): adjust
3999
4000         * text3.C (gotoNextInset): adjust
4001         (dispatch): adjust
4002
4003         * text2.C (setLayout): adjust
4004         (changeDepth): adjust
4005         (setFont): adjust
4006         (redoParagraphs): adjust
4007         (selectionAsString): adjust
4008         (setParagraph): adjust
4009         (insertInset): adjust
4010         (cutSelection): adjust
4011         (copySelection): adjust
4012         (pasteSelection): adjust
4013         (insertStringAsLines): adjust
4014         (updateInset): adjust
4015         (setCursor): change to take a ParagraphList::iterator parameter
4016         (setCursorIntern): change to take a ParagraphList::iterator parameter
4017         (setCurrentFont): adjust
4018         (cursorLeft): adjust
4019         (cursorRight): adjust
4020         (deleteEmptyParagraphMechanism): adjust
4021
4022         * text.C (breakParagraph): adjust
4023         (insertChar): adjust
4024         (acceptChange): adjust
4025         (rejectChange): adjust
4026         (selectNextWordToSpellcheck): adjust
4027         (changeCase): adjust
4028         (Delete): adjust
4029         (backspace): adjust
4030
4031         * lyxfind.C (SearchForward): adjust
4032         (SearchBackward): adjust
4033         (nextChange): adjust
4034
4035         * lyxcursor.C (par): adjust
4036
4037         * lyxcursor.h: store a ParagraphList::iterator instead of a
4038         Paragraph*
4039
4040         * lyx_cb.C (getPossibleLabel): adjust
4041
4042         * bufferview_funcs.C (toggleAndShow): adjust
4043
4044         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4045         (dispatch): adjust
4046
4047         * BufferView.C (removeAutoInsets): adjust
4048         (lockedInsetStoreUndo): adjust
4049
4050 2003-04-09  John Levon  <levon@movementarian.org>
4051
4052         * ToolbarBackend.C: try icon without argument
4053         if with argument fails
4054
4055 2003-04-08  John Levon  <levon@movementarian.org>
4056
4057         * ToolbarBackend.h:
4058         * ToolbarBackend.C: add getIcon(), handle tooltip,
4059         and change from "Icon" to "Item".
4060
4061 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * BufferView.C (lockInset): another bad getchar crunched
4064
4065 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4068         again)
4069
4070 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * lyxfind.C (searchForward, searchBackwards): bug 782
4073
4074 2003-04-07  John Levon  <levon@movementarian.org>
4075
4076         * paragraph.C: remove dead comment
4077
4078         * text.C: remove troublesome depth-fiddling code
4079         in leftMargin() and rightMargin() (bug 1017)
4080
4081         * text.C: fix breaking of rows in nested lists
4082         (bug 1004)
4083
4084         * text2.C (updateCounters): fix up depth values
4085         (bug 1013)
4086
4087 2003-04-07  John Levon  <levon@movementarian.org>
4088
4089         * BufferView_pimpl.C: clear message when doc finishes resizing,
4090         and after a mouse event
4091
4092         * lyxfunc.C: clear message after exiting inset
4093
4094 2003-04-07  John Levon  <levon@movementarian.org>
4095
4096         * bufferview_funcs.C: show math status not outside
4097         status in the statusbar
4098
4099 2003-04-07  John Levon  <levon@movementarian.org>
4100
4101         * lyxfunc.C: note status changed after a depth change
4102
4103 2003-04-04  Angus Leeming  <leeming@lyx.org>
4104
4105         * LaTeX.h: move AuxInfo operator==, != out of line.
4106         Remove LaTeX virtual destructor; nothing derives from it.
4107         Move operator()() out of public area and rename it startscript().
4108         Change protected for private.
4109
4110 2003-04-04  Angus Leeming  <leeming@lyx.org>
4111
4112         * lyxfunc.C:
4113         * text2.C: remove unneeded #includes.
4114
4115 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * text2.C (dEPM): fix the heigth of the next row
4118
4119 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * text.C: squashed an invalid getChar requester + some ws changes
4122
4123 2003-04-03  John Levon  <levon@movementarian.org>
4124
4125         * bufferview_funcs.h:
4126         * bufferview_funcs.C:
4127         * lyxfunc.C:
4128         * lyxtext.h:
4129         * text2.C: make getStatus work for the env depth lfuns
4130
4131 2003-04-03  John Levon  <levon@movementarian.org>
4132
4133         * bufferview_funcs.h:
4134         * bufferview_funcs.C:
4135         * lyxfunc.C:
4136         * lyxtext.h:
4137         * text2.C: parlistize decDepth(), by merging it with incDepth()
4138
4139 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * lyxrow.h: store a ParagraphList::iterator instead of a
4142         Paragraph* and adjust other class functions to suit.
4143
4144         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4145         above.
4146
4147 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * text2.C (setCursor): do not anchor to cursor row for the time being
4150
4151 2003-04-02  John Levon  <levon@movementarian.org>
4152
4153         * LyXAction.C:
4154         * lfuns.h:
4155         * lyx_main.C:
4156         * lyxtext.h:
4157         * text.C:
4158         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4159
4160 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * paragraph.h: make ParagraphList and ParagraphList::iterator
4163         friends of Paragraph.
4164
4165         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4166
4167         * ParagraphList.C: Use the private next_ and previous_ from
4168         Paragraph.
4169
4170 2003-04-01  John Levon  <levon@movementarian.org>
4171
4172         * ToolbarBackend.h:
4173         * ToolbarBackend.C:
4174         * Makefile.am: rename, remove defaults gunk
4175
4176         * MenuBackend.h:
4177         * MenuBackend.C: remove defaults gunk
4178
4179         * Languages.h:
4180         * Languages.C: remove defaults gunk
4181
4182         * lyx_main.h:
4183         * lyx_main.C: error out if files couldn't be found.
4184
4185 2003-04-02  John Levon  <levon@movementarian.org>
4186
4187         * text2.C: make incDepth() use parlist
4188
4189 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * undo_funcs.C (firstUndoParagraph): adjust
4192
4193         * text3.C (gotoInset): adjust
4194         (dispatch): adjust, and rewrite loop.
4195
4196         * text2.C (init): adjust, and rewrite loop.
4197         (redoParagraphs): adjust
4198         (updateInset): adjust, and rewrite loop.
4199         (deleteEmptyParagraphMechanism): adjust
4200
4201         * tabular.C (LyXTabular): adjust
4202         (SetMultiColumn): adjust
4203         (TeXRow): adjust
4204
4205         * lyxtext.[Ch] (ownerParagraph): delete function
4206         (ownerParagraphs): new function returns a ParagraphList.
4207
4208         * BufferView.C (removeAutoInsets): adjust
4209         (insertErrors): adjust
4210         (setCursorFromRow): adjust
4211
4212 2003-04-01  Angus Leeming  <leeming@lyx.org>
4213
4214         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4215         in the frontends.
4216
4217 2003-04-02  John Levon  <levon@movementarian.org>
4218
4219         * lyxtext.h:
4220         * text.C:
4221         * Makefile.am:
4222         * text_funcs.h:
4223         * text_funcs.C: make transposeChars a free function
4224
4225         * lyxrow_funcs.C: remove wrong comment
4226
4227 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * lyxtext.h: adjust
4230         * rowpainter.C: adjust
4231         * text.C: adjust
4232         * text2.C: adjust
4233         * text3.C: adjust
4234
4235         * lyxrow_funcs. [Ch]: new files
4236
4237         * lyxrow.[Ch]: remove next and previous pointers
4238         (next,previous): remove accessor functions
4239         (isParEnd): move to lyxrow_funcs
4240         (lastPos): move to lyxrow_funcs
4241         (nextRowIsAllInset): move to lyxrow_funcs
4242         (lastPrintablePos): move to lyxrow_funcs
4243         (numberOfSeparators): move to lyxrow_funcs
4244         (numberOfHfills): move to lyxrow_funcs
4245         (numberOfLabelHfills): move to lyxrow_funcs
4246         (hfillExpansion): move to lyxrow_funcs
4247
4248         * lyxfunc.C: adjust
4249
4250         * bufferview_funcs.C (toggleAndShow): adjust
4251
4252         * RowList.h: Remove class RowList from file leave just a
4253         std::list<Row>.
4254
4255         * RowList.C: delete file
4256
4257         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4258         and lyxrow_funcs.h
4259
4260 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * text3.C (cursorPrevious): adjust
4263         (cursorNext): adjust
4264         (dispatch): adjust
4265
4266         * text2.C (redoHeightOfParagraph): adjust
4267         (redoDrawingOfParagraph): adjust
4268         (setCursor): adjust
4269
4270         * text.C (breakParagraph): adjust
4271         (insertChar): adjust
4272         (backspace): adjust
4273
4274         * rowpainter.C (RowPainter): adjust
4275         (leftMargin): simplify and adjust
4276         (most rowpainter functions): adjust.
4277
4278         * rowpainter.h: store the row as RowList::iterator not as Row*
4279
4280         * lyxcursor.C (row): taka RowList::iterator as arg
4281         (irow): ditto
4282
4283         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4284         of Row*.
4285
4286 2003-04-01  Angus Leeming  <leeming@lyx.org>
4287
4288         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4289         stuff like bool Bool.
4290
4291 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4294         rewrite a loop
4295
4296 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4299         RowList::iterator.
4300
4301         * lyxtext.h (rows): drop one version and leve a const variant that
4302         returns a RowList::iterator.
4303
4304 2003-03-31  Angus Leeming  <leeming@lyx.org>
4305
4306         * text.C (fill): ensure that the signature is the same as that in the
4307         header file.
4308
4309 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * text2.C (redoParagraphs): adjust
4312         (updateCounters): adjust
4313         (checkParagraph): adjust
4314         (getColumnNearX): adjust and reformat a bit.
4315
4316         * text.C (top_y): adjust
4317         (workWidth): adjust
4318         (leftMargin): adjust
4319         (prepareToPrint): adjust
4320         (getRow): adjust
4321         (getRowNearY): adjust
4322
4323         * lyxtext.h: make rowlist_ mutable.
4324
4325         * RowList.h: add const_iterator
4326         * RowList.C: adjust for RowList::const_iterator.
4327
4328         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4329         adjust.
4330
4331 2003-03-31  John Levon  <levon@movementarian.org>
4332
4333         * lyxrc.h:
4334         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4335
4336         * lyx_main.C: set default fonts from using lyx_gui funcs
4337
4338         * exporter.C: pdf_mode moved from lyxrc
4339
4340         * lyx_cb.C:
4341         * lyxfunc.C: changes from above
4342
4343 2003-03-31  John Levon  <levon@movementarian.org>
4344
4345         * lyx_main.C: fix to the last fix
4346
4347 2003-03-31  John Levon  <levon@movementarian.org>
4348
4349         * bufferlist.C: "Load original" -> "Load Original"
4350
4351         * converter.C:
4352         * exporter.C:
4353         * importer.C:
4354         * lyx_main.C:
4355         * format.C: more Alert cleanups
4356
4357 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * text2.C (removeParagraph): make it take a RowList::iterator as
4360         arg, adjust.
4361         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4362         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4363
4364         * text.C (anchor_row): make it take a RowList::iterator as arg,
4365         adjust.
4366         (computeBidiTables): make it take a const reference to Row instead
4367         of Row pointer, adjust.
4368         (leftMargin): make it take a RowList::iterator as arg, adjust.
4369         (rowBreakPoint): adjust
4370         (breakAgainOneRow): make it take a RowList::iterator as arg,
4371         adjust.
4372         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4373
4374         * bufferview_funcs.C (toggleAndShow): adjust
4375
4376 2003-03-30  John Levon  <levon@movementarian.org>
4377
4378         * Makefile.am:
4379         * BoostFormat.h:
4380         * boost-inst.C: moved to support
4381
4382         * several files: changes as a result
4383
4384 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * text2.C (LyXText): adjust.
4387         (init): adjust
4388         (removeRow): make it take a RowList::iterator as arg, adjust.
4389         (fullRebreak): adjust
4390         (deleteEmptyParagraphMechanism): adjust
4391         (clearPaint): adjust
4392         (postPaint): adjust
4393
4394         * text.C (top_y): adjust
4395         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4396         (breakAgain): make it take a RowList::iterator as arg, adjust.
4397         (breakParagraph): adjust
4398         (insertChar): adjust
4399         (backspace): adjust
4400
4401         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4402         need_break_row, and refresh_row.
4403
4404         * text3.C (dispatch): adjust
4405
4406         * text2.C (checkParagraph): adjust
4407         (setCursor): adjust
4408         (setCursorFromCoordinates): adjust
4409
4410         * text.C (top_y): adjust
4411         (workWidth): adjust
4412         (getRow): make it return a RowList::iterator, adjust
4413         (getRowNearY): make it return a RowList::iterator, adjust
4414
4415         * text2.C (init): adjust
4416         (insertRow): remove function
4417         (insertParagraph): adjust
4418         (redoParagraphs): adjust
4419         (fullRebreak): adjust
4420         (updateCounters): adjust
4421
4422         * text.C (top_y): rewrite to use RowList iterators.
4423         (top_y): adjust
4424         (setHeightOfRow): rewrite to sue RowList iterators.
4425         (appendParagraph): adjust
4426         (breakAgain): adjust
4427         (breakAgainOneRow): adjust
4428         (breakParagraph): adjust
4429         (getRow): adjust
4430         (getRowNearY): adjust, and remove commented code.
4431
4432         * lyxtext.h (firstRow): delete function
4433         (lastRow): delete function
4434         (rows): new function (const and non-const versions.)
4435         (insertRow): delete function
4436
4437         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4438
4439 2003-03-29  John Levon  <levon@movementarian.org>
4440
4441         * BufferView_pimpl.C: always update scrollbar top
4442         because pasting text when we're anchored could mean we
4443         miss an update altogether
4444
4445 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * text2.C (init): use rowlist_.end() and not 0.
4448         (insertRow): change to take a RowList::iterator as arg, adjust
4449         for this.
4450         (insertParagraph): change to take a RowList::iterator as arg,
4451         adjust for this.
4452         (redoParagraphs): remove some debug msgs.
4453
4454         * text.C (appendParagraph): change to take a RowList::iterator
4455         arg, adjust for this.
4456         (breakAgain): add an assert
4457         (breakAgainOneRow): ditto
4458
4459 2003-03-29  John Levon  <levon@movementarian.org>
4460
4461         * text2.C: do not clear selection after inc/decDepth
4462         (bug 550)
4463
4464 2003-03-29  John Levon  <levon@movementarian.org>
4465
4466         * BufferView.C:
4467         * buffer.C: fix broken strerrors according to Lars
4468
4469 2003-03-29  John Levon  <levon@movementarian.org>
4470
4471         * converters.C: more Alert cleanups
4472
4473 2003-03-29  John Levon  <levon@movementarian.org>
4474
4475         * bufferview_funcs.C: remove pointless Alert
4476
4477         * buffer.C: fix confusing error message when
4478         a template is chmoded 000
4479
4480 2003-03-29  John Levon  <levon@movementarian.org>
4481
4482         * BufferView.C:
4483         * BufferView.h:
4484         * BufferView_pimpl.C: Alert fixes
4485
4486         * Makefile.am:
4487         * tabular.C:
4488         * tabular-old.C: remove unused table compat reading
4489
4490 2003-03-29  John Levon  <levon@movementarian.org>
4491
4492         * BufferView.C:
4493         * buffer.C:
4494         * lyx_cb.h:
4495         * lyx_cb.C: more Alert cleanups
4496
4497         * lyxfunc.C: don't allow chktex if not latex document
4498
4499 2003-03-29  John Levon  <levon@movementarian.org>
4500
4501         * lyx_cb.C:
4502         * BufferView.C:
4503         * buffer.C: warnings pushed down from support/,
4504         kill err_alert
4505
4506 2003-03-29  John Levon  <levon@movementarian.org>
4507
4508         * lyxfunc.C: safety check for C-r (revert)
4509
4510 2003-03-29  John Levon  <levon@movementarian.org>
4511
4512         * bufferlist.h:
4513         * bufferlist.C: several UI fixes using Alert::prompt.
4514         Fix the pointless looping quit code. Fix stupid revert
4515         behaviour (bug 938)
4516
4517         * lyxvc.h:
4518         * lyxvc.C:
4519         * lyx_cb.C: use Alert::prompt
4520
4521         * lyx_main.C: remove a silly question
4522
4523         * lyxfunc.C: remove a couple of silly questions,
4524         use Alert::prompt
4525
4526 2003-03-28  John Levon  <levon@movementarian.org>
4527
4528         * text2.C: fix bug 974 (End on empty par)
4529
4530 2003-03-28  John Levon  <levon@movementarian.org>
4531
4532         * BufferView_pimpl.C:
4533         * LyXAction.C:
4534         * lfuns.h: remove do-nothing math greek lfuns
4535
4536 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * lyxgluelength.h (isValidGlueLength): add default arg on
4539         parameter 2. Remove default arg from friend in class.
4540
4541         * lyxlength.h (isValidLength): add default arg on parameter 2.
4542         Remove default arg from friend in class.
4543
4544         * text2.C (LyXText): adjust, initialize refresh_row.
4545         (init): adjust
4546         (removeRow): adjust
4547         (insertRow): adjust
4548         (insertParagraph): adjst
4549         (redoParagraphs): adjust
4550         (fullRebreak): adjust
4551         (updateCounters): adjust
4552         (deleteEmptyParagraphMechanism): first attempt at fixing a
4553         crashing bug.
4554
4555         * text.C (top_y): adjust
4556         (setHeightOfRow): adjust
4557         (getRow): adjust
4558         (getRowNearY): adjust
4559
4560         * lyxtext.h: include RowList.h
4561         (~LyXText): not needed anymore, deleted.
4562         (firstRow): modify for RowList
4563         (lastRow): new function
4564         Delete firstrow and lastrow class variables, add a Rowlist
4565         rowlist_ class variable.
4566
4567         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4568         paragraph is empty.
4569
4570         * RowList.C (insert): fix case where it == begin().
4571
4572 2003-03-26  Angus Leeming  <leeming@lyx.org>
4573
4574         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4575         the thesaurus dialog.
4576
4577 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4580
4581         * RowList.[Ch]: new files
4582
4583         * ParagraphList.C (erase): handle the case where it == begin
4584         correctly.
4585
4586 2003-03-25  John Levon  <levon@movementarian.org>
4587
4588         * Makefile.am:
4589         * aspell_local.h:
4590         * aspell.C: add new aspell support
4591
4592         * lyxrc.h:
4593         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4594         have it accessible.
4595
4596 2003-03-25  Angus Leeming  <leeming@lyx.org>
4597
4598         * lfuns.h:
4599         * LyXAction.C (init): new LFUN_INSET_INSERT.
4600
4601         * BufferView_pimpl.C (dispatch): split out part of the
4602         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4603
4604         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4605         LFUN_INSET_APPLY.
4606
4607 2003-03-25  Angus Leeming  <leeming@lyx.org>
4608
4609         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4610
4611 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * text2.C:
4614         * text3.C: remove useless row->height(0)
4615
4616 2003-03-25  John Levon  <levon@movementarian.org>
4617
4618         * lyxtext.h:
4619         * text2.C:
4620         * text3.C: rename the refreshing stuff to better names
4621
4622 2003-03-24  John Levon  <levon@movementarian.org>
4623
4624         * BufferView_pimpl.h:
4625         * BufferView_pimpl.C: update layout choice on a mouse
4626         press/release
4627
4628 2003-03-23  John Levon  <levon@movementarian.org>
4629
4630         * Makefile.am: fix commandtags.h reference
4631
4632 2003-03-22  John Levon  <levon@movementarian.org>
4633
4634         * BufferView_pimpl.C:
4635         * lyxtext.h:
4636         * rowpainter.C:
4637         * rowpainter.h:
4638         * text.C:
4639         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4640
4641 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * lyxtext.h:
4644         * text.C: take the rtl methods out of line
4645
4646 2003-03-21 André Pönitz <poenitz@gmx.net>
4647
4648         * metricsinfo.[Ch]: new files containing structures to be passed around
4649         during the two-phase-drawing...
4650
4651 2003-03-21 André Pönitz <poenitz@gmx.net>
4652
4653         * lyxtextclass.C: read 'environment' tag.
4654
4655 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * text2.C (removeRow): fix bug 964
4658
4659 2003-03-20  John Levon  <levon@movementarian.org>
4660
4661         * rowpainter.C:
4662         * text.C:
4663         * text2.C: paint cleanups. Inset::update() dropped font
4664         parameter
4665
4666 2003-03-19  John Levon  <levon@movementarian.org>
4667
4668         * lyxfunc.C: only fitcursor/markDirty if available()
4669
4670 2003-03-19  John Levon  <levon@movementarian.org>
4671
4672         * commandtags.h: rename to ...
4673
4674         * lfuns.h: ... this, and renumber / cleanup
4675
4676 2003-03-19  John Levon  <levon@movementarian.org>
4677
4678         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4679         fit the cursor after an lfun
4680
4681         * BufferView.h:
4682         * BufferView.C:
4683         * BufferView_pimpl.h:
4684         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4685
4686         * LyXAction.C: layout-character should have ReadOnly
4687
4688         * ParagraphParameters.C:
4689         * buffer.C:
4690         * bufferview_funcs.C:
4691         * lyx_cb.C:
4692         * lyxfind.C:
4693         * lyxtext.h:
4694         * text.C:
4695         * text2.C:
4696         * text3.C:
4697         * undo_funcs.C: changes from above
4698
4699 2003-03-18  John Levon  <levon@movementarian.org>
4700
4701         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4702         remove it from update()
4703
4704         * lyxfunc.C: update layout choice after an lfun
4705
4706         * text3.C: remove extra updateLayoutChoice()s
4707
4708 2003-03-18  John Levon  <levon@movementarian.org>
4709
4710         * text.C: top_y change means full repaint, fix
4711         a drawing bug with cursor movement
4712
4713 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * lyxtext.h:
4716         * text.C:
4717         * text2.C: anchor row on setCursor
4718
4719 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * lyxtext.h: remove almost all mutable keywords
4722         * text.C:
4723         * text2.C:
4724         * text3.C: remove const keywords accordingly
4725
4726 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4729         anon namespace
4730         (TeXEnvironment): ditto
4731         (TeXOnePar): ditto
4732
4733 2003-03-17  John Levon  <levon@movementarian.org>
4734
4735         * text.C (rowBreakPoint): remove attempt to fix displayed
4736         math insets inside a manual label
4737
4738 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * lyxtext.h: remove BufferView* as first arg from almost all class
4741         functions.
4742         * other files: adjust.
4743
4744 2003-03-17  John Levon  <levon@movementarian.org>
4745
4746         * lyxtext.h:
4747         * undo_funcs.C:
4748         * text2.C: more paint cleanups
4749
4750         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4751
4752         * rowpainter.h:
4753         * rowpainter.C: remove "smart" background painting code
4754
4755 2003-03-16  John Levon  <levon@movementarian.org>
4756
4757         * lyxtext.h:
4758         * text.C:
4759         * text2.C:
4760         * text3.C: add helper functions for setting refresh_row/y
4761
4762 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4763
4764         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4765         newline inset which *can* get inserted in the pass_thru layouts.
4766         This is primarily for literate documents.
4767
4768 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4769
4770         * buffer.C: increment LYX_FORMAT to 223
4771
4772 2003-03-14 André Pönitz <poenitz@gmx.net>
4773
4774         * textclass.h: prepare for environment handling, ws changes
4775         * lyxlayout.C: read latexheader and latexfooter tags
4776
4777 2003-03-14  John Levon  <levon@movementarian.org>
4778
4779         * text2.C: rewrite ::status() a bit
4780
4781 2003-03-13  John Levon  <levon@movementarian.org>
4782
4783         * lyxtext.h: add some docs
4784
4785 2003-03-13  John Levon  <levon@movementarian.org>
4786
4787         * lyxtext.h:
4788         * text.C:
4789         * text2.C:
4790         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4791
4792 2003-03-13  John Levon  <levon@movementarian.org>
4793
4794         * text3.C: fix appendix redrawing
4795
4796 2003-03-13  John Levon  <levon@movementarian.org>
4797
4798         * text.C (setHeightOfRow):
4799         * rowpainter.h:
4800         * rowpainter.C: make appendix mark have the text
4801           "Appendix" so the user knows what it is
4802
4803         * LColor.h:
4804         * LColor.C: s/appendixline/appendix/ from above
4805
4806 2003-03-13  John Levon  <levon@movementarian.org>
4807
4808         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4809
4810         * text.C: fix a getChar(pos) bug properly
4811
4812 2003-03-13  Angus Leeming  <leeming@lyx.org>
4813
4814         * commandtags.h:
4815         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4816         Probably only temporary. Let's see how things pan out.
4817
4818         * BufferView.C (unlockInset):
4819         * BufferView_pimpl.C (fitCursor):
4820         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4821
4822         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4823         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4824
4825         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4826         new functions that convert ParagraphParameters to and from a string.
4827
4828         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4829         BufferView::Pimpl's dispatch.
4830         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4831
4832 2003-03-13 André Pönitz <poenitz@gmx.net>
4833
4834         * lyxfunc.C:
4835         * text3.C:
4836         * factory.C: make it aware of InsetEnv
4837
4838 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * text2.C (setCursor): never ask for one past last
4841         (setCursor): add some debugging messages.
4842
4843         * text.C (singleWidth): never ask for one past last
4844         (singleWidth): ditto
4845         (leftMargin): ditto
4846         (rightMargin): ditto
4847         (rowBreakPoint): ditto
4848         (setHeightOfRow): ditto
4849         (prepareToPrint): ditto
4850
4851         * rowpainter.C (paintBackground): never ask for one past last
4852         (paintText): never ask for one past last
4853
4854         * paragraph_pimpl.C (getChar): make the assert stricter, never
4855         allow the one past last pos to be taken
4856
4857         * paragraph.C (getChar): ws changes only
4858
4859         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4860         (numberOfSeparators): ditto
4861         (numberOfHfills): ditto
4862
4863 2003-03-12  John Levon  <levon@movementarian.org>
4864
4865         * author.h:
4866         * author.C:
4867         * bufferparams.h:
4868         * bufferparams.C:
4869         * paragraph_funcs.C: fix per-buffer authorlists
4870
4871 2003-03-12  John Levon  <levon@movementarian.org>
4872
4873         * text.C: fix newline in right address
4874
4875 2003-03-12  Angus Leeming  <leeming@lyx.org>
4876
4877         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4878         duplicate those in LyXFunc::dispatch.
4879
4880         * commandtags.h:
4881         * LyXAction.C:
4882         * ToolbarDefaults.C:
4883         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4884         Add LFUN_FONTFREE_UPDATE.
4885
4886         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4887         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4888
4889         * bufferview_func.[Ch]: several new functions to facilliate
4890         transfer of data to and from the character dialog.
4891
4892 2003-03-12  John Levon  <levon@movementarian.org>
4893
4894         * buffer.C:
4895         * paragraph.h:
4896         * paragraph.C:
4897         * paragraph_funcs.C:
4898         * paragraph_pimpl.C:
4899         * sgml.C:
4900         * tabular.C:
4901         * text.C:
4902         * text3.C: remove META_NEWLINE in favour of an inset
4903
4904         * rowpainter.h:
4905         * rowpainter.C: remove paintNewline (done by inset)
4906
4907 2003-03-12  John Levon  <levon@movementarian.org>
4908
4909         * paragraph_pimpl.C: complain about bad getChar()s
4910         for a while at least
4911
4912 2003-03-12  John Levon  <levon@movementarian.org>
4913
4914         * buffer.h:
4915         * buffer.C: move paragraph read into a separate function,
4916         a little renaming to reflect that.
4917
4918         * bufferparams.h:
4919         * bufferparams.C: remove the author_ids map, not necessary now
4920
4921         * factory.h:
4922         * factory.C: moved Buffer::readInset to here
4923
4924         * paragraph_funcs.h:
4925         * paragraph_funcs.C: readParagraph free function moved from
4926         buffer.C
4927
4928         * tabular.C: name change
4929
4930 2003-03-12  John Levon  <levon@movementarian.org>
4931
4932         * buffer.C:
4933         * ParagraphParameters.C: move par params input to
4934         a read() method
4935
4936         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4937         behave like a normal read from the stream wrt reading
4938         a line vs. a \\token
4939
4940 2003-03-12  John Levon  <levon@movementarian.org>
4941
4942         * paragraph.C:
4943         * ParagraphParameters.h:
4944         * ParagraphParameters.C: move output code to a
4945         ::write() method
4946
4947 2003-03-12  John Levon  <levon@movementarian.org>
4948
4949         * BufferView.C (insertLyXFile):
4950         * buffer.h:
4951         * buffer.C:
4952         * tabular.C: use a parlist iterator for creating the
4953           document.
4954
4955 2003-03-12  John Levon  <levon@movementarian.org>
4956
4957         * buffer.C: make current_change static local not
4958           static file-scope
4959
4960 2003-03-12  John Levon  <levon@movementarian.org>
4961
4962         * buffer.C: fix insertStringAsLines for change tracking
4963
4964 2003-03-12  John Levon  <levon@movementarian.org>
4965
4966         * BufferView.C:
4967         * tabular.C:
4968         * buffer.h:
4969         * buffer.C:
4970         * bufferparams.h:
4971         * bufferparams.C: move author list into params. Rename some
4972           functions. Move the header reading into a separate token
4973           loop. Move the header token reading into BufferParams.
4974
4975 2003-03-12  John Levon  <levon@movementarian.org>
4976
4977         * changes.C: put debug inside lyxerr.debugging() checks
4978
4979 2003-03-11 André Pönitz <poenitz@gmx.net>
4980
4981         * factory.C: make it aware of InsetHFill
4982
4983 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4984
4985         * buffer.C (latexParagraphs): move function from here...
4986         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4987         args.
4988
4989 2003-03-10  Angus Leeming  <leeming@lyx.org>
4990
4991         * LyXAction.C (init): fix bug in poplating array with multiple entries
4992         with the same LFUN (spotted by JMarc).
4993
4994 2003-03-10  John Levon  <levon@movementarian.org>
4995
4996         * text.C:
4997         * text2.C: move getColumnNearX() near its
4998         only call site
4999
5000 2003-03-10  John Levon  <levon@movementarian.org>
5001
5002         * text.C: fix break before a minipage
5003
5004 2003-03-10  John Levon  <levon@movementarian.org>
5005
5006         * text.C: fix the last commit
5007
5008 2003-03-09  John Levon  <levon@movementarian.org>
5009
5010         * lyxtext.h:
5011         * text.C:
5012         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5013         bug 365 (don't break before insets unless needed). Don't
5014         return a value > last under any circumstances.
5015
5016 2003-03-09  Angus Leeming  <leeming@lyx.org>
5017
5018         * BufferView_pimpl.C (trackChanges, dispatch): call
5019         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5020
5021 2003-03-09  Angus Leeming  <leeming@lyx.org>
5022
5023         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5024         than Dialogs::showAboutlyx().
5025
5026 2003-03-09  Angus Leeming  <leeming@lyx.org>
5027
5028         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5029         than Dialogs::showTabularCreate().
5030
5031 2003-03-09  John Levon  <levon@movementarian.org>
5032
5033         * lyxtext.h:
5034         * text.C:
5035         * text2.C: 3rd arg to nextBreakPoint was always the same.
5036           Use references.
5037
5038 2003-03-08  John Levon  <levon@movementarian.org>
5039
5040         * lyxrow.C:
5041         * paragraph.C:
5042         * paragraph.h:
5043         * rowpainter.C:
5044         * text.C:
5045         * text2.C: Remove the "main" bit from the "main body"
5046           notion.
5047
5048 2003-03-08  John Levon  <levon@movementarian.org>
5049
5050         * text.C (leftMargin): The left margin of an empty
5051         manual label paragraph should not include the label width
5052         string length.
5053
5054         * text.C (prepareToPrint): don't attempt to measure hfills
5055         for empty manual label paragraphs - the answer should be 0
5056
5057 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * CutAndPaste.C: remove commented code and reindent.
5060
5061 2003-03-08  John Levon  <levon@movementarian.org>
5062
5063         * lyxfunc.h:
5064         * lyxfunc.C: move reloadBuffer()
5065
5066         * BufferView.h:
5067         * BufferView.C: to here
5068
5069         * lyxvc.C: add comment
5070
5071         * vc-backend.h:
5072         * vc-backend.C: call bv->reload() to avoid
5073           getStatus() check on MENURELOAD
5074
5075 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5076
5077         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5078         to an old format .dep file.
5079
5080 2003-03-07  Angus Leeming  <leeming@lyx.org>
5081
5082         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5083         when the LFUN_MOUSE_RELEASE should have been handled by
5084         inset->localDispatch.
5085
5086 2003-03-07  Angus Leeming  <leeming@lyx.org>
5087
5088         * BufferView_pimpl.C (dispatch):
5089         * LyXAction.C (init):
5090         * ToolbarDefaults.C (init):
5091         * commandtags.h:
5092         * lyxfunc.C (getStatus):
5093         remove LFUN_INSET_GRAPHICS.
5094
5095         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5096
5097 2003-03-07  Angus Leeming  <leeming@lyx.org>
5098
5099         * commandtags.h:
5100         * LyXAction.C (init):
5101         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5102
5103         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5104
5105         * commandtags.h:
5106         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5107
5108         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5109         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5110
5111 2003-03-07  Angus Leeming  <leeming@lyx.org>
5112
5113         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5114         remove "ert".
5115
5116 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * ParagraphList.C (front): new function
5119         (back): implement
5120
5121 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5124         and top_row_offset_. removed var first_y.
5125         * text.C (top_y):
5126         * text2.C (LyXText, removeRow):
5127         * text3.C:
5128         * BufferView_pimpl.C:
5129         use these methods instead of using first_y
5130
5131 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * text2.C (pasteSelection): adjust for checkPastePossible
5134
5135         * CutAndPaste.C: remove Paragraph * buf and replace with
5136         ParagraphList paragraphs.
5137         (DeleteBuffer): delete
5138         (cutSelection): change the tc type to textclass_type
5139         (copySelection): change the tc type to textclass_type
5140         (copySelection): adjust for ParagraphList
5141         (pasteSelection): change the tc type to textclass_type
5142         (pasteSelection): adjust for Paragraphlist
5143         (nrOfParagraphs): simplify for ParagraphList
5144         (checkPastePossible): simplify for ParagraphList
5145         (checkPastePossible): remove unused arg
5146
5147         * ParagraphList.C (insert): handle the case where there are no
5148         paragraphs yet.
5149
5150         * CutAndPaste.h: make CutAndPaste a namespace.
5151
5152         * text3.C (dispatch): adjust
5153
5154         * text.C (breakParagraph): add a ParagraphList as arg
5155
5156         * paragraph_funcs.C (breakParagraph): change to take a
5157         BufferParams and a ParagraphList as args.
5158         (breakParagraphConservative): ditto
5159         (mergeParagraph): ditto
5160         (TeXDeeper): add a ParagraphList arg
5161         (TeXEnvironment): ditto
5162         (TeXOnePar): ditto
5163
5164         * buffer.C (readLyXformat2): adjust
5165         (insertStringAsLines): adjust
5166         (latexParagraphs): adjust
5167
5168         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5169         (cutSelection): adjust
5170         (pasteSelection): adjust
5171
5172         * BufferView_pimpl.C (insertInset): adjust
5173
5174 2003-03-05  Angus Leeming  <leeming@lyx.org>
5175
5176         * commandtags.h:
5177         * LyXAction.C (init):
5178         * BufferView_pimpl.C (dispatch):
5179         * lyxfunc.C (getStatus):
5180         remove LFUN_CHILD_INSERT.
5181
5182         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5183
5184 2003-03-05  Angus Leeming  <leeming@lyx.org>
5185
5186         * commandtags.h:
5187         * LyXAction.C (init):
5188         * src/factory.C (createInset):
5189         * lyxfunc.C (getStatus):
5190         * text3.C (dispatch):
5191         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5192
5193         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5194
5195 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * ParagraphList.C (insert): handle insert right before end()
5198         (erase): fix cases where it can be first or last paragraph.
5199
5200 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5203         Paragraph::next and Paragraph::previous
5204         (TeXOnePar): ditto
5205
5206         * text.C (breakParagraph): adjust
5207
5208         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5209         BufferParams& as arg.
5210         (breakParagraph): use ParagraphList::insert
5211         (breakParagraphConservative): take a Buffer* instead of a
5212         BufferParams& as arg.
5213         (breakParagraphConservative): use ParagraphList::insert.
5214
5215         * buffer.C (insertStringAsLines): un-const it
5216         (insertStringAsLines): adjust
5217
5218         * ParagraphList.C (insert): new function
5219
5220         * CutAndPaste.C (pasteSelection): adjust
5221
5222         * text.C (backspace): adjust
5223
5224         * tabular.C (SetMultiColumn): adjust
5225
5226         * CutAndPaste.C (cutSelection): adjust
5227         (pasteSelection): adjust
5228
5229         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5230         Buffer const * as arg
5231
5232         * ParagraphList.C (erase): new function
5233         * paragraph_funcs.C (mergeParagraph): use it
5234         (mergeParagraph): make it take a Buffer* instead of a
5235         BufferParams* as arg
5236
5237         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5238         as arg
5239         (breakParagraphConservative): ditto
5240
5241         * paragraph.h: remove the breakParagraph friend
5242
5243         * paragraph.C (eraseIntern): new function
5244         (setChange): new function
5245
5246         * paragraph_funcs.C (mergeParagraph): make it take a
5247         ParagraphList::iterator instead of a Paragraph *, adjust
5248         accordingly.
5249
5250         * paragraph.h: move an #endif so that the change tracking stuff
5251         also works in the NO_NEXT case.
5252
5253 2003-03-04  Angus Leeming  <leeming@lyx.org>
5254
5255         * commandtags.h:
5256         * LyXAction.C: new LFUN_INSET_MODIFY.
5257
5258         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5259         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5260
5261 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * several files: ws changes only
5264
5265         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5266         (TeXEnvironment): ditto
5267         (TeXDeeper): ditto
5268
5269         * buffer.C (makeLaTeXFile): adjust
5270         (latexParagraphs): make it take ParagraphList::iterator as args
5271
5272 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * buffer.C (latexParagraphs): adjust
5275
5276         * paragraph.C (TeXOnePar): move function...
5277         (optArgInset): move function...
5278         (TeXEnvironment): move function...
5279         * paragraph_pimpl.C (TeXDeeper): move function...
5280         * paragraph_funcs.C: ...here
5281
5282         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5283
5284 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * buffer.C (readInset): remove compability code for old Figure and
5287         InsetInfo insets
5288
5289 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * buffer.C: ws changes
5292         (readInset):
5293
5294         * BufferView_pimpl.C: ditto
5295         * author.C: ditto
5296         * buffer.h: ditto
5297         * bufferlist.h: ditto
5298         * changes.h: ditto
5299         * lyxfunc.C: ditto
5300
5301 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5302
5303         * converter.[Ch]: split into itself +
5304         * graph.[Ch]
5305         * format.[Ch]
5306         * Makefile.am: += graph.[Ch] + format.[Ch]
5307         * MenuBackend.C
5308         * buffer.C
5309         * exporter.C
5310         * importer.C
5311         * lyx_main.C
5312         * lyxfunc.C
5313         * lyxrc.C: added #include "format.h"
5314
5315 2003-02-27  Angus Leeming  <leeming@lyx.org>
5316
5317         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5318           a label.
5319
5320         * factory.C (createInset): add "label" to the factory.
5321
5322         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5323           string and do no more.
5324
5325 2003-02-27  Angus Leeming  <leeming@lyx.org>
5326
5327         * commandtags.h:
5328         * LyXAction.C (init):
5329         * factory.C (createInset):
5330         * BufferView_pimpl.C (dispatch):
5331           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5332
5333         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5334
5335         * lyxfunc.C (dispatch):
5336         * text3.C (dispatch): pass name to params2string.
5337
5338 2003-02-26  Angus Leeming  <leeming@lyx.org>
5339
5340         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5341           blocks together.
5342           Rearrange the ~includes. Strip out the unnecessary ones.
5343
5344         * factory.C (createInset): reformat.
5345           create new insets for the various LFUN_XYZ_APPLY lfuns.
5346
5347 2003-02-26  John Levon  <levon@movementarian.org>
5348
5349         * lyxrow.h:
5350         * lyxrow.C: add isParStart,isParEnd helpers
5351
5352         * paragraph.h: make isInserted/DeletedText take refs
5353
5354         * paragraph_funcs.h:
5355         * paragraph_funcs.C: remove #if 0'd code
5356
5357         * lyxtext.h:
5358         * text3.C:
5359         * text2.C:
5360         * text.C: use lyxrow helpers above.
5361           Move draw and paint routines to RowPainter.
5362           Make several methods use refs not pointers.
5363           Make backgroundColor() const.
5364           Add markChangeInDraw(), isInInset().
5365           Merge changeRegionCase into changeCase.
5366           Make workWidth() shouldn't-happen code into an Assert.
5367
5368         * rowpainter.h:
5369         * rowpainter.C: new class for painting a row.
5370
5371         * vspace.h:
5372         * vspace.C: make inPixels take a ref
5373
5374 2003-02-26  Angus Leeming  <leeming@lyx.org>
5375
5376         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5377         LFUN_REF_APPLY.
5378
5379 2003-02-25  John Levon  <levon@movementarian.org>
5380
5381         * ispell.C: give the forked command a more accurate name
5382
5383 2003-02-22  John Levon  <levon@movementarian.org>
5384
5385         * toc.h:
5386         * toc.C: make TocItem store an id not a Paragraph *
5387           (bug #913)
5388
5389 2003-02-21  Angus Leeming  <leeming@lyx.org>
5390
5391         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5392           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5393           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5394           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5395           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5396           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5397
5398         * BufferView_pimpl.C (dispatch):
5399         * LyXAction.C (init):
5400         * factory.C (createInset):
5401         * lyxfunc.C (getStatus, dispatch):
5402         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5403
5404 2003-02-21  Angus Leeming  <leeming@lyx.org>
5405
5406         * BufferView_pimpl.C (MenuInsertLyXFile):
5407         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5408         * lyxfunc.C (menuNew, open, doImport):
5409           no longer pass a LyXView & to fileDlg.
5410
5411 2003-02-21  Angus Leeming  <leeming@lyx.org>
5412
5413         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5414         * LyXAction.C: change, BIBKEY to BIBITEM.
5415         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5416         Change InsetBibKey to InsetBibitem.
5417         Change BIBKEY_CODE to BIBITEM_CODE.
5418         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5419         * factory.C: replace insetbib.h with insetbibitem.h.
5420         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5421         * paragraph.C: replace insetbib.h with insetbibitem.h.
5422         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5423         Change bibkey() to bibitem().
5424         * text.C: remove insetbib.h.
5425         * text2.C: replace insetbib.h with insetbibitem.h.
5426         change bibkey() to bibitem().
5427         * text3.C: remove insetbib.h.
5428         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5429
5430 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5431
5432         * lyxrc.C (output): enclose user email in quotes (in case there are
5433         several words)
5434
5435 2003-02-18  John Levon  <levon@movementarian.org>
5436
5437         * buffer.h: add std::
5438
5439 2003-02-17  John Levon  <levon@movementarian.org>
5440
5441         * SpellBase.h:
5442         * ispell.h:
5443         * ispell.C:
5444         * pspell.h:
5445         * pspell.C: reworking. Especially in ispell, a large
5446           number of clean ups and bug fixes.
5447
5448         * lyxfunc.C: fix revert to behave sensibly
5449
5450 2003-02-17 André Pönitz <poenitz@gmx.net>
5451
5452         * LyXAction.C:
5453         * commandtags.h: new LFUN_INSERT_BIBKEY
5454
5455         * layout.h:
5456         * lyxlayout.C:
5457         * buffer.C:
5458         * factory.C:
5459         * text.C:
5460         * text2.C:
5461         * text3.C:
5462         * paragraph.[Ch]:
5463         * paragraph_func.C: remove special bibkey handling
5464
5465 2003-02-17  John Levon  <levon@movementarian.org>
5466
5467         * text.C (Delete): fix case where delete at the end of
5468           the very first paragraph would not merge the pars
5469
5470 2003-02-17  John Levon  <levon@movementarian.org>
5471
5472         * lyxrow.C: fix lastPrintablePos()
5473
5474 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5475
5476         * bufferparams.C (writeLaTeX): add a std:here
5477
5478         * buffer.C: and remove a using directive there
5479
5480 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5481
5482         * buffer.C (makeLaTeXFile): move the code that generates the
5483           preamble...
5484
5485         * bufferparams.C (writeLaTeX): ... in this new method
5486
5487         * LaTeXFeatures.C (getEncodingSet): make const
5488           (getLanguages): make const
5489
5490         * MenuBackend.C (binding): returns the binding associated to this
5491           action
5492           (add): sets the status of each item by calling getStatus. Adds
5493           some intelligence.
5494           (read): add support for OptSubMenu
5495           (expand): remove extra separator at the end of expanded menu
5496
5497 2003-02-15  John Levon  <levon@movementarian.org>
5498
5499         * BufferView.C:
5500         * BufferView_pimpl.C:
5501         * bufferlist.h:
5502         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5503           inset code that had no actual effect. Remove unneeded status
5504           code.
5505
5506 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5507
5508         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5509           in preamble
5510
5511 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5512
5513         * text.C (drawLengthMarker): also draw an arrow marker for
5514           symbolic lengths (medskip...)
5515
5516 2003-02-14  John Levon  <levon@movementarian.org>
5517
5518         * tabular.h:
5519         * tabular.C: better method names
5520
5521 2003-02-14  John Levon  <levon@movementarian.org>
5522
5523         * BufferView_pimpl.C:
5524         * bufferlist.C:
5525         * buffer.C:
5526         * converter.C:
5527         * lyx_cb.C:
5528         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5529           it's a more accurate name. Remove some pointless uses.
5530
5531 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5532
5533         * text2.C (LyXText): change order of initilizers to shut off
5534           warnings
5535
5536 2003-02-14  John Levon  <levon@movementarian.org>
5537
5538         * buffer.C: use ParIterator for getParFromID()
5539
5540         * paragraph.h:
5541         * paragraph.C:
5542         * paragraph_pimpl.h:
5543         * paragraph_pimpl.C: remove unused getParFromID()
5544
5545 2003-02-14  John Levon  <levon@movementarian.org>
5546
5547         * buffer.C: remove some very old #if 0'd parse code
5548
5549 2003-02-13  John Levon  <levon@movementarian.org>
5550
5551         * text.h:
5552         * text.C:
5553         * text2.C: move hfillExpansion(), numberOfSeparators(),
5554           rowLast(), rowLastPrintable(), numberofHfills(),
5555           numberOfLabelHfills() ...
5556
5557         * lyxrow.h:
5558         * lyxrow.C: ... to member functions here.
5559
5560         * paragraph.h:
5561         * paragraph.C:
5562         * lyxtext.h:
5563         * text.C: remove LyXText::beginningOfMainBody(), and call
5564           p->beginningOfMainBody() directly. Move the check for
5565           LABEL_MANUAL into the latter.
5566
5567         * text.h:
5568         * text.C:
5569         * text2.C:
5570         * vspace.C:
5571         * BufferView.h:
5572         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5573
5574         * text.h:
5575         * text.C:
5576         * text2.C:
5577         * text3.C:
5578         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5579           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5580
5581 2003-02-13  John Levon  <levon@movementarian.org>
5582
5583         * CutAndPaste.C: remove debug
5584
5585 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5586
5587         * paragraph.C (asString): remove two unused variables
5588
5589         * lyxtextclass.C (readTitleType):
5590           (Read):
5591           (LyXTextClass): handle new members titletype_ and titlename_
5592
5593         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5594
5595 2003-02-09  John Levon  <levon@movementarian.org>
5596
5597         * buffer.h:
5598         * buffer.C: replace hand-coded list with a map for the dep clean
5599
5600 2003-02-08  John Levon  <levon@movementarian.org>
5601
5602         * LaTeX.C: consolidate code into showRunMessage() helper
5603
5604 2003-02-08  John Levon  <levon@movementarian.org>
5605
5606         * lyxfind.C:
5607         * lyxtext.h:
5608         * text2.C:
5609         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5610           and pass the size in explicitly
5611
5612         * BufferView_pimpl.h:
5613         * BufferView_pimpl.C:
5614         * BufferView.h:
5615         * BufferView.C: add getCurrentChange()
5616
5617         * BufferView_pimpl.h:
5618         * BufferView_pimpl.C: handle change lfuns
5619
5620         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5621           for changes. Mark pasted paragraphs as new.
5622
5623         * support/lyxtime.h:
5624         * support/lyxtime.C:
5625         * DepTable.C: abstract time_t as lyx::time_type
5626
5627         * LColor.h:
5628         * LColor.C: add colours for new text, deleted text, changebars
5629
5630         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5631           package use "usenames" option.
5632
5633         * commandtags.h:
5634         * lyxfunc.C:
5635         * LyXAction.C: add change lfuns
5636
5637         * Makefile.am:
5638         * author.h:
5639         * author.C: author handling
5640
5641         * buffer.h:
5642         * buffer.C: add a per-buffer author list, with first entry as
5643           current author. Handle new .lyx tokens for change tracking. Output
5644           author list to .lyx file. Output dvipost stuff to .tex preamble.
5645           Bump lyx format to 222.
5646
5647         * bufferlist.h:
5648         * bufferlist.C: add setCurrentAuthor() to reset current author details
5649           in all buffers.
5650
5651         * bufferparams.h:
5652         * bufferparams.C: add param for tracking
5653
5654         * bufferview_funcs.C: output change info in minibuffer
5655
5656         * Makefile.am:
5657         * changes.h:
5658         * changes.C: add change-tracking structure
5659
5660         * debug.h:
5661         * debug.C: add CHANGES debug flag
5662
5663         * lyxfind.h:
5664         * lyxfind.C: add code for finding the next change piece
5665
5666         * lyxrc.h:
5667         * lyxrc.C: add user_name and user_email
5668
5669         * lyxrow.h:
5670         * lyxrow.C: add a metric for the top of the text line
5671
5672         * lyxtext.h:
5673         * text.C: implement accept/rejectChange()
5674
5675         * lyxtext.h:
5676         * text.C: paint changebars. Paint new/deleted text in the chosen
5677         colours. Strike through deleted text.
5678
5679         * paragraph.h:
5680         * paragraph.C:
5681         * paragraph_pimpl.h:
5682         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5683           in the current change to the insert functions. Rework erase to
5684           mark text as deleted, adding an eraseIntern() and a range-based
5685           erase(). Implement per-paragraph change lookup and
5686           accept/reject.
5687
5688         * paragraph_funcs.C: Fixup paste for change tracking.
5689
5690         * tabular.C: mark added row/columns as new.
5691
5692         * text.C: fix rowLast() to never return -1. Don't allow
5693           spellchecking of deleted text. Track transpose changes. Don't
5694           allow paragraph break or merge where appropriate.
5695
5696         * text2.C: leave cursor at end of selection after a cut.
5697
5698 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5699
5700         * text.C (getLengthMarkerHeight):
5701         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5702         visible on screen too.
5703
5704 2003-02-07  John Levon  <levon@movementarian.org>
5705
5706         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5707
5708 2003-02-05  Angus Leeming  <leeming@lyx.org>
5709
5710         * lyxserver.C (read_ready): revert my patch of 11 September last year
5711         as it sends PC cpu through the roof. Presumably this means that
5712         the lyxserver will no longer run on an Alpha...
5713
5714 2003-01-30  Angus Leeming  <leeming@lyx.org>
5715
5716         * factory.C (createInset): create an InsetCommandParam of type "index"
5717         and use it to 'do the right thing'.
5718
5719         * text2.C (getStringToIndex): ensure that cursor position is always
5720         reset to the reset_cursor position.
5721
5722 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5723
5724         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5725         disabled.
5726
5727 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5728
5729         * bufferview.C:
5730         * lyxcb.C:
5731         * lyxfunc.C: Output messages with identical spelling, punctuation,
5732         and spaces
5733
5734 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5735
5736         * MenuBackend.C (expandFormats): List only viewable export formats
5737         in "View" menu
5738
5739         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5740         message
5741
5742         * lyxfunc.C (getStatus): Make sure that formats other than
5743         "fax" can also be disabled
5744
5745 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5746
5747         * text3.C (dispatch): put the lfuns that insert insets in 3
5748         groups, and call doInsertInset with appropriate arguments.
5749         (doInsertInset): new function, that creates an inset and inserts
5750         it according to some boolean parameters.
5751
5752 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * buffer.C (readFile): remember to pass on 'par' when calling
5755         readFile recursively.
5756
5757 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5758
5759         * MenuBackend.C (expandFormats): add "..." to import formats.
5760
5761 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5762
5763         * paragraph.C (asString): Remove XForms RTL hacks.
5764
5765 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5766         * buffer.C: fix typo
5767
5768 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * Makefile.am (LIBS): delete var
5771         (lyx_LDADD): add @LIBS@ here instead.
5772
5773 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5774
5775         * Clarify the meaning of "wheel mouse jump"
5776
5777 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5778
5779         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5780         tabular in a float
5781
5782 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5783
5784         * importer.C (Loaders): do not preallocate 3 elements in the
5785         vector, since one ends up with 6 elements otherwise
5786
5787 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5788
5789         * DepTable.C (write): write the file name as last element of the
5790         .dep file (because it may contain spaces)
5791         (read): read info in the right order
5792
5793 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5794
5795         * paragraph_pimpl.C (simpleTeXBlanks):
5796         (simpleTeXSpecialChars):
5797         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5798
5799         * tabular.C (latex): add some missing case statements. Reindent.
5800
5801         * MenuBackend.C (expandToc): remove unused variable.
5802
5803 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5804
5805         * LColor.C:
5806         * LaTeX.C:
5807         * LyXAction.C:
5808         * MenuBackend.C:
5809         * buffer.C:
5810         * exporter.C:
5811         * lyxfunc.C:
5812         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5813         and the like.
5814
5815 2003-01-05  John Levon  <levon@movementarian.org>
5816
5817         * BufferView.h:
5818         * BufferView.C: add getEncoding()
5819
5820         * kbsequence.h:
5821         * kbsequence.C: do not store last keypress
5822
5823         * lyxfunc.h:
5824         * lyxfunc.C: store last keypress here instead. Pass encoding
5825           to getISOEncoded()
5826
5827 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5828
5829         * lyx_main.C (init): remove annoying error message when following
5830         symbolic links (bug #780)
5831
5832 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5833
5834         * text.C (insertChar):
5835         * lyxrc.C (getDescription): remove extra spaces
5836
5837 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5838
5839         * lyxrc.C (getDescription): remove extra spaces
5840
5841 2002-12-20  John Levon  <levon@movementarian.org>
5842
5843         * text3.C: hack fix for page up/down across tall rows
5844
5845 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5846
5847         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5848         not been invoked
5849
5850 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5851
5852         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5853         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5854         thesaurus is not compiled in
5855
5856 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5857
5858         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5859
5860 2002-12-16  Angus Leeming  <leeming@lyx.org>
5861
5862         * lyxrc.[Ch]:
5863         * lyx_main.C (init): remove override_x_deadkeys stuff.
5864
5865 2002-12-12  John Levon  <levon@movementarian.org>
5866
5867         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5868           insert. Only remove shift modifier under strict
5869           circumstances.
5870
5871 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * MenuBackend.C (expandToc): fix crash.
5874
5875 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * MenuBackend.C (expandToc): gettext on float names.
5878
5879 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5880
5881         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5882         implement bool empty() [bug 490]
5883
5884 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5887
5888 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * several files: ws changes
5891
5892 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * text2.C (setCounter): clean up a bit, use boost.format.
5895         (updateCounters): initialize par upon declaration.
5896
5897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5898         if the layout exists. We do not just store the layout any more.
5899         (SwitchLayoutsBetweenClasses): use boost.format
5900
5901 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5902
5903         * converter.C (convert): if from and to files are the same, use a
5904         temporary files as intermediary
5905
5906 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5907
5908         * commandtags.h:
5909         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5910
5911 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5912
5913         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5914
5915 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * tabular.C (asciiPrintCell): use string(size, char) instead of
5918         explicit loop.
5919
5920         * sgml.C (openTag): fix order of arguments to string constructor
5921         (closeTag): ditto
5922
5923         * lyxfunc.C (dispatch): use boost.format
5924
5925         * lots of files: change "c" -> 'c'
5926
5927 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5928
5929         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5930
5931 2002-11-25  Angus Leeming  <leeming@lyx.org>
5932
5933         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5934
5935         * lyx_main.C (init): compile fix.
5936
5937 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * lyx_cb.C (start): boost.formatify
5940         do not include <iostream>
5941
5942         * lengthcommon.C: ws only
5943
5944         * boost-inst.C,BoostFormat.h: add more explict instantations
5945
5946 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * lots of files: handle USE_BOOST_FORMAT
5949
5950 2002-11-21  John Levon  <levon@movementarian.org>
5951
5952         * pspell.C: fix compile
5953
5954 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5955
5956         * lyxfunc.C (dispatch): use boost::format
5957         (open): ditto
5958         (doImport): ditto
5959
5960         * lyxfont.C (stateText): use boost::format
5961
5962         * lyx_main.C (LyX): use boost::format
5963         (init): ditto
5964         (queryUserLyXDir): ditto
5965         (readRcFile): ditto
5966         (parse_dbg): ditto
5967         (typedef boost::function): use the recommened syntax.
5968
5969         * importer.C (Import): use boost::format
5970
5971         * debug.C (showLevel): use boost::format
5972
5973         * converter.C (view): use boost::format
5974         (convert): ditto
5975         (move): ditto
5976         (scanLog): ditto
5977
5978         * bufferview_funcs.C (currentState): use boost::format
5979
5980         * bufferlist.C (emergencyWrite): use boost::format
5981
5982         * buffer.C (readLyXformat2): use boost::format
5983         (parseSingleLyXformat2Token): ditto
5984
5985         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5986
5987         * LaTeX.C (run): use boost::format
5988
5989         * Chktex.C (scanLogFile): use boost::format
5990
5991         * BufferView_pimpl.C (savePosition): use boost::format
5992         (restorePosition): ditto
5993         (MenuInsertLyXFile): ditto
5994
5995         * BoostFormat.h: help file for explicit instation.
5996
5997 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5998
5999         * tabular.C (latex): Support for block alignment in fixed width
6000         columns.
6001
6002 2002-11-17  John Levon  <levon@movementarian.org>
6003
6004         * BufferView_pimpl.C:
6005         * lyx_cb.C:
6006         * lyxfunc.C: split filedialog into open/save
6007
6008 2002-11-08  Juergen Vigna  <jug@sad.it>
6009
6010         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6011         by my last patch (hopefully).
6012
6013 2002-11-08  John Levon  <levon@movementarian.org>
6014
6015         * iterators.h:
6016         * iterators.C:
6017         * buffer.h:
6018         * buffer.C:
6019         * paragraph.h:
6020         * paragraph.C:
6021         * toc.h:
6022         * toc.C: ParConstIterator, and use it (from Lars)
6023
6024 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6025
6026         * lyxtextclass.[Ch]: revise and add doxygen comments
6027
6028 2002-11-07  John Levon  <levon@movementarian.org>
6029
6030         * text.C: fix progress value for spellchecker
6031
6032         * toc.C: fix navigate menu for insetwrap inside minipage
6033
6034         * paragraph_funcs.C: added FIXME for suspect code
6035
6036 2002-11-07  John Levon  <levon@movementarian.org>
6037
6038         * BufferView_pimpl.C: fix redrawing of insets
6039           on buffer switch
6040
6041 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6042
6043         * text2.C (updateCounters): fix bug 668
6044
6045 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6046
6047         * text3.C (dispatch): Do not make the buffer dirty when moving the
6048         cursor.
6049
6050 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * vc-backend.C: STRCONV
6053         (scanMaster): ditto
6054
6055         * text2.C (setCounter): STRCONV
6056
6057         * paragraph.C (asString): STRCONV
6058
6059         * lyxlength.C (asString): STRCONV
6060         (asLatexString): ditto
6061
6062         * lyxgluelength.C (asString): STRCONV
6063         (asLatexString): ditto
6064
6065         * lyxfunc.C (dispatch): STRCONV
6066         (open): ditto
6067
6068         * lyxfont.C (stateText): STRCONV
6069
6070         * importer.C (Import): STRCONV
6071
6072         * counters.C (labelItem): STRCONV
6073         (numberLabel): ditto
6074         (numberLabel): remove unused ostringstream o
6075
6076         * chset.C: STRCONV
6077         (loadFile): ditto
6078
6079         * bufferview_funcs.C (currentState): STRCONV
6080
6081         * buffer.C (readFile): STRCONV
6082         (asciiParagraph): ditto
6083         (makeLaTeXFile): ditto
6084
6085         * Spacing.C (writeEnvirBegin): STRCONV
6086
6087         * LaTeXFeatures.C (getLanguages): STRCONV
6088         (getPackages): ditto
6089         (getMacros): ditto
6090         (getBabelOptions): ditto
6091         (getTClassPreamble): ditto
6092         (getLyXSGMLEntities): ditto
6093         (getIncludedFiles): ditto
6094
6095         * LaTeX.C: STRCONV
6096         (run): ditto
6097         (scanAuxFile): ditto
6098         (deplog): ditto
6099
6100         * LString.h: add the STRCONV macros
6101
6102         * BufferView_pimpl.C (savePosition): STRCONV
6103         (restorePosition): ditto
6104         (MenuInsertLyXFile): ditto
6105
6106         * vc-backend.C (scanMaster): change from submatch[...] to
6107         submatch.str(...)
6108
6109         * funcrequest.C: include config.h
6110
6111         * factory.C: include config.h
6112
6113         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6114
6115         * box.C: include config.h
6116
6117         * LaTeX.C (scanAuxFile): change from submatch[...] to
6118         submatch.str(...)
6119         (deplog): ditto
6120
6121 2002-10-25  Angus Leeming  <leeming@lyx.org>
6122
6123         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6124
6125         * ispell.[Ch] (setError): new method.
6126         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6127         Use setError() insetead of goto END.
6128
6129         * lyx_cb.C (AutoSave): move out child process into new class
6130         AutoSaveBuffer.
6131
6132 2002-10-30  John Levon  <levon@movementarian.org>
6133
6134         * text3.C: make start appendix undoable
6135
6136 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6137
6138         * lyxlength.C (inPixels): Fix returned value.
6139
6140         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6141         environment.
6142
6143 2002-10-24  Angus Leeming  <leeming@lyx.org>
6144
6145         * lyxgluelength.h: no need to forward declare BufferParams
6146         or BufferView, so don't.
6147
6148 2002-10-21  John Levon  <levon@movementarian.org>
6149
6150         * BufferView.C: menuUndo ->undo, redo
6151
6152         * BufferView.h: document, remove dead, make some methods private
6153
6154         * paragraph_funcs.h:
6155         * paragraph_funcs.C:
6156         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6157
6158         * buffer.h:
6159         * buffer.C:
6160         * sgml.h:
6161         * sgml.C: move sgml open/close tag into sgml.C
6162
6163         * bufferview_funcs.h: unused prototype
6164
6165         * lyxfunc.h:
6166         * lyxfunc.C: remove unused
6167
6168         * lyxtext.h:
6169         * text.C: remove unused
6170
6171 2002-10-21  John Levon  <levon@movementarian.org>
6172
6173         * BufferView.h:
6174         * BufferView.C:
6175         * BufferView_pimpl.h:
6176         * BufferView_pimpl.C: fix mouse wheel handling based on
6177           patch from Darren Freeman
6178
6179 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6180
6181         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6182
6183 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6184
6185         * lyxlength.C (inPixels): Fix hanfling of negative length.
6186         Fix LyXLength::MU case.
6187
6188 2002-10-16  John Levon  <levon@movementarian.org>
6189
6190         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6191
6192 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6193
6194         * converter.C (view): add support for $$i (file name) and $$p
6195         (file path) for the viewer command. If $$i is not specified, then
6196         it is appended to the command (for compatibility with old syntax)
6197
6198 2002-10-14  Juergen Vigna  <jug@sad.it>
6199
6200         * undo_funcs.C (textHandleUndo): alter the order in which the
6201         new undopar is added to the LyXText, as we have to set first
6202         the right prev/next and then add it as otherwise the rebuild of
6203         LyXText is not correct. Also reset the cursor to the right paragraph,
6204         with this IMO we could remove the hack in "redoParagraphs()".
6205
6206 2002-10-09  Angus Leeming  <leeming@lyx.org>
6207
6208         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6209         to turn off an optimisation if a new inset is to be inserted.
6210
6211 2002-10-11 André Pönitz <poenitz@gmx.net>
6212
6213         * lyxtext.h: make some functions public to allow access
6214         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6215
6216 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6217
6218         * text3.C (dispatch): when changing layout, avoid an infinite loop
6219         [bug #652]
6220
6221 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6222
6223         * lyxrc.C (read): treat a viewer or converter command of "none" as
6224         if it were empty.
6225
6226         * MenuBackend.C (expandFormats): for an update, also allow the
6227         formats that are not viewable
6228
6229         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6230         script if it is newer than the lyxrc.defaults in user directory
6231
6232 2002-10-07 André Pönitz <poenitz@gmx.net>
6233
6234         * text.C: Vitaly Lipatov's small i18n fix
6235
6236 2002-09-25  Angus Leeming  <leeming@lyx.org>
6237
6238         * ispell.h: doxygen fix.
6239
6240 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6241
6242         * buffer.h (readFile): Add a new argument to the method, to allow
6243         reading of old-format templates.
6244
6245 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6246
6247         * toc.C (getTocList): Get TOC from InsetWrap.
6248
6249 2002-09-16  John Levon  <levon@movementarian.org>
6250
6251         * lyxfunc.C: check tabular for cut/copy too
6252
6253 2002-09-12  John Levon  <levon@movementarian.org>
6254
6255         * LyXAction.C: tidy
6256
6257         * factory.h:
6258         * factory.C: add header
6259
6260         * paragraph_funcs.h:
6261         * paragraph_funcs.C: cleanup
6262
6263 2002-09-11  John Levon  <levon@movementarian.org>
6264
6265         * PrinterParams.h: odd/even default to true
6266
6267 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6268
6269         * PrinterParams.h: update printer parameters for new xforms dialog
6270
6271 2002-09-11  Angus Leeming  <leeming@lyx.org>
6272
6273         * lyxserver.C (read_ready): re-write to make it more transparent
6274         and to make it work in coherent fashion under Tru64 Unix.
6275
6276 2002-09-11  André Pönitz <poenitz@gmx.net>
6277
6278         * commandtags.h:
6279         * LyXAction.C:
6280         * text3.C: implement LFUN_WORDSEL
6281
6282 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6285         make floatlist_ a boost::shared_ptr<FloatList>
6286
6287         * lyxtextclass.C: include FloatList.h
6288         (LyXTextClass): initialize floatlist_
6289         (TextClassTags): add TC_NOFLOAT
6290         (Read): match "nofloat" to TC_NOFLOAT and use it.
6291         (readFloat): modify call to floatlist_
6292         (floats): ditto
6293         (floats): ditto
6294
6295         * FloatList.[Ch] (FloatList): remove commented out float
6296         initialization.
6297         (erase): new function
6298
6299 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6300
6301         * MenuBackend.C (expandToc): fix crash when there is no document
6302         open
6303
6304 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6305
6306         * many files: Add insetwrap.
6307
6308 2002-09-09  John Levon  <levon@movementarian.org>
6309
6310         * text2.C: remove confusing and awkward depth wraparound
6311
6312 2002-09-09  John Levon  <levon@movementarian.org>
6313
6314         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6315
6316         * buffer.h:
6317         * buffer.C: remove getIncludeonlyList()
6318
6319         * paragraph.C:
6320         * lyxfunc.C: remove headers
6321
6322 2002-09-09  Juergen Vigna  <jug@sad.it>
6323
6324         * text.C (getColumnNearX): fix form Michael this is most
6325         probably a cut&paste bug.
6326
6327 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6328
6329         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6330
6331         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6332         references, ws changes.
6333
6334         * text2.C (init): update counters after init
6335         (insertParagraph): no need to set counter on idividual paragraphs.
6336         (setCounter): access the counters object in the textclass object
6337         on in the buffer object.
6338         (updateCounters): ditto
6339
6340         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6341         shared_ptr<Counters> to avoid loading counters.h in all
6342         compilation units.
6343         (LyXTextClass): initialize ctrs_
6344         (TextClassTags): add TC_COUNTER, and ...
6345         (Read): use it here.
6346         (CounterTags): new tags
6347         (readCounter): new function
6348         (counters): new funtion
6349         (defaultLayoutName): return a const reference
6350
6351         * counters.C (Counters): remove contructor
6352         (newCounter): remove a couple of unneeded statements.
6353         (newCounter): simplify a bit.
6354         (numberLabel): some small formatting changes.
6355
6356         * buffer.[Ch]: remove all traces of counters, move the Counters
6357         object to the LyXTextClass.
6358
6359 2002-09-06  Alain Castera  <castera@in2p3.fr>
6360
6361         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6362         package to set the horizontal alignment on fixed width columns.
6363
6364         * lyx_sty.C:
6365         * lyx_sty.h: added tabularnewline macro def.
6366
6367         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6368
6369 2002-09-06  John Levon  <levon@movementarian.org>
6370
6371         * LyXAction.C: tooltips for sub/superscript
6372
6373         * MenuBackend.C: a bit more verbose
6374
6375         * lyxfunc.C: tiny clean
6376
6377         * undo_funcs.C: document undo_frozen
6378
6379 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * counters.C (Counters): add missing algorithm counter.
6382
6383         * text2.C (setCounter): lookup the counter with layouts latexname
6384         instead of by section number.
6385         (setCounter): use a hackish way to lookup the correct enum
6386         counter.
6387         a float name->type change
6388         reset enum couners with counter name directly instead of depth value.
6389
6390         * counters.C (Counters): remove the push_backs, change to use the
6391         float type not the float name.
6392         (labelItem): remove unused string, float name->type change
6393
6394         * counters.h: don't include vector, loose the enums and sects vectors
6395
6396 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6399         (Read): add float->TC_FLOAT to textclassTags
6400         (Read): and handle it in the switch
6401         (readFloat): new function
6402
6403         * FloatList.C (FloatList): comment out the hardcoded float
6404         definitions.
6405
6406         * lyxlayout.h: ws change.
6407
6408 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6409
6410         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6411
6412 2002-09-03  Angus Leeming  <leeming@lyx.org>
6413
6414         * BufferView_pimpl.h: qualified name is not allowed in member
6415         declaration: WorkArea & Pimpl::workarea() const;
6416
6417         * factory.C: added using std::endl directive.
6418
6419         * text3.C: added using std::find and std::vector directives.
6420
6421 2002-08-29  André Pönitz <poenitz@gmx.net>
6422
6423         * lyxtext.h:
6424         * text2.C: remove unused member number_of_rows
6425
6426         * Makefile.am:
6427         * BufferView2.C: remove file, move contents to...
6428         * BufferView.C: ... here
6429
6430         * BufferView_pimpl.C:
6431         * factory.C: move more inset creation to factory
6432
6433         * vspace.C: avoid direct usage of LyXText, ws changes
6434
6435         * BufferView.[Ch]:
6436                 don't provide direct access to WorkArea, use two simple
6437                 acessors haveSelction() and workHeight() instead
6438
6439
6440 2002-08-29  John Levon  <levon@movementarian.org>
6441
6442         * BufferView_pimpl.C (dispatch): do not continue when
6443           no buffer
6444
6445 2002-08-28  André Pönitz <poenitz@gmx.net>
6446
6447         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6448
6449         * BufferView.h:
6450         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6451
6452 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6453
6454         * buffer.C: increment LYX_FORMAT to 221
6455
6456         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6457         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6458
6459         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6460
6461         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6462
6463 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6464
6465         * factory.C (createInset): use LyXTextClass::floats
6466
6467         * MenuBackend.C (expandFloatListInsert):
6468         (expandFloatInsert):
6469         (expandToc):
6470
6471         * text2.C (setCounter):
6472
6473         * LaTeXFeatures.C (useFloat):
6474         (getFloatDefinitions):
6475
6476         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6477
6478         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6479         floatlist_, with accessor floats().
6480
6481         * FloatList.h: remove global FloatList
6482
6483 2002-08-26  André Pönitz <poenitz@gmx.net>
6484
6485         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6486
6487         * BufferView.h:
6488         * BufferView2.C:
6489         * BufferView_pimpl.C:
6490         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6491
6492 2002-08-25  John Levon  <levon@movementarian.org>
6493
6494         * LyXAction.C: fix margin note description
6495
6496 2002-08-24  John Levon  <levon@movementarian.org>
6497
6498         * buffer.C:
6499         * bufferlist.C:
6500         * bufferview_funcs.C:
6501         * lyxfont.C:
6502         * undo_funcs.C: cleanups
6503
6504         * lyxfunc.C: disable CUT/COPY when no selection
6505
6506 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6507
6508         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6509         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6510
6511         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6512         Add backward compatibility to "mono", "gray" and "no".
6513
6514 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6515
6516         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6517         (and file_format >= 200).
6518
6519 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6520
6521         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6522
6523 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6524
6525         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6526
6527 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6528
6529         * BufferView_pimpl.C:
6530         * LyXAction.C:
6531         * buffer.C:
6532         * commandtags.h:
6533         * lyxfunc.C:
6534         * paragraph.[Ch]:
6535         * text2.C:
6536         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6537         inset and code to make it  work with the paragraph code. The inset
6538         can be anywhere in the paragraph, but will only do the expected
6539         thing in LaTeX if the layout file contains the parameter line
6540                         OptionalArgs    1
6541         (or more generally, a nonzero value) for that layout.
6542
6543 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * paragraph.h: remove the declaration of undefined counters class
6546         function.
6547
6548 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6549
6550         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6551         Dr. Richard Hawkins.
6552
6553 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6554
6555         * paragraph_funcs.h: remove some unneeded includes
6556
6557         * text.C (backspace): pasteParagraph now in global scipe
6558
6559         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6560         (pasteSelection): ditto
6561
6562         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6563         * paragraph_funcs.C (pasteParagraph): ... here
6564
6565 2002-08-20  André Pönitz <poenitz@gmx.net>
6566
6567         * commandtags.h: new LFUNs for swapping/copying table row/colums
6568
6569         * LyXAction.C:
6570         * lyxfunc.C: support for new lfuns
6571
6572 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * tabular.C:
6575         * buffer.[Ch]: remove NO_COMPABILITY stuff
6576
6577 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * boost.C (throw_exception): new file, with helper function for
6580         boost compiled without exceptions.
6581
6582         * paragraph.h:
6583         * lyxlength.C:
6584         * buffer.C:
6585         * ParameterStruct.h:
6586         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6587
6588         * bufferlist.C (emergencyWriteAll): use boost bind
6589
6590         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6591
6592         * text.C: include paragraph_funcs.h
6593         (breakParagraph): breakParagraph is now in global scope
6594
6595         * paragraph_funcs.[Ch]: new files
6596
6597         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6598         global scope
6599
6600         * buffer.C: include paragraph_funcs.h
6601         (insertStringAsLines): breakParagraph is now in global scope
6602
6603         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6604         paragraph_funcs.C
6605
6606         * CutAndPaste.C: include paragraph_funcs.h
6607         (cutSelection): breakParagraphConservative is now in global scope
6608         (pasteSelection): ditto
6609
6610         * buffer.h: declare oprator== and operator!= for
6611         Buffer::inset_iterator
6612
6613         * bufferlist.C (emergencyWrite): don't use fmt(...)
6614
6615         * text3.C: add using std::endl
6616
6617         * BufferView.C (moveCursorUpdate): remove default arg
6618
6619 2002-08-20  André Pönitz <poenitz@gmx.net>
6620
6621         * buffer.[Ch]: move inline functions to .C
6622
6623         * BufferView2.C:
6624         * BufferView_pimpl.C:
6625         * text.C:
6626         * buffer.[Ch]: use improved inset_iterator
6627
6628         * buffer.C:
6629         * paragraph.[Ch]: write one paragraph at a time
6630
6631 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6632
6633         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6634         style if style is not specified.
6635
6636 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6637
6638         * text2.C (setCounter): when searching for right label for a
6639         caption, make sure to recurse to parent insets (so that a caption
6640         in a minipage in a figure float works) (bug #568)
6641
6642 2002-08-20  André Pönitz <poenitz@gmx.net>
6643
6644         * text3.C: new file for LyXText::dispatch() and helpers
6645
6646         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6647
6648         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6649
6650 2002-08-19  André Pönitz <poenitz@gmx.net>
6651
6652         * lyxtext.h:
6653         * text.C: new LyXText::dispatch()
6654
6655         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6656
6657 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6658
6659         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6660
6661         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6662         Hebrew text.
6663
6664 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6665
6666         * Makefile.am: use $(variables) instead of @substitutions@
6667
6668 2002-08-15  André Pönitz <poenitz@gmx.net>
6669
6670         * lyxfunc.C:
6671         * BufferView_pimpl.C: streamlining mathed <-> outer world
6672         interaction
6673
6674         * commandtags.h:
6675         * LyXAction.C: remove unused LFUN_MATH
6676
6677 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6680
6681 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * paragraph.C (Paragraph): reformat a bit
6684         (cutIntoMinibuffer): use builtin InsetList function instad of
6685         doing it manually.
6686         (getInset): ditto
6687
6688         * buffer.C: include boost/bind.hpp, add using std::for_each
6689         (writeFileAscii): use ParagraphList iterators
6690         (validate): use for_each for validate traversal of paragraphs
6691         (getBibkeyList): use ParagraphList iterators
6692         (resizeInsets): use for_each to resizeInsetsLyXText for all
6693         paragraphs.
6694         (getParFromID): use ParagraphList iterators
6695
6696         * BufferView2.C (lockInset): use paragraph list and iterators
6697
6698 2002-08-14  John Levon  <levon@movementarian.org>
6699
6700         * lyxserver.C: remove spurious xforms include
6701
6702 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6705
6706 2002-08-13  André Pönitz <poenitz@gmx.net>
6707
6708         * LyXAction.[Ch]:
6709         * lyxfunc.C: further cleaning
6710
6711 2002-08-13  André Pönitz <poenitz@gmx.net>
6712
6713         * funcrequest.h: new constructor
6714
6715         * funcrequest.C: move stuff here from .h
6716
6717         * Makefile.am:
6718         * BufferView_pimpl.C:
6719         * LyXAction.C:
6720         * toc.C:
6721         * lyxfunc.C: subsequent changes
6722
6723         * lyxfunc.h: new view() member function
6724
6725         * lyxfunc.C: subsequent changes
6726
6727 2002-08-13  Angus Leeming  <leeming@lyx.org>
6728
6729         * BufferView2.C:
6730         * BufferView_pimpl.C:
6731         * buffer.C:
6732         * converter.C:
6733         * importer.C:
6734         * lyxfunc.C:
6735         * lyxvc.C:
6736         * toc.C:
6737         * vc-backend.C:
6738         changes due to the changed LyXView interface that now returns references
6739         to member variables not pointers.
6740
6741 2002-08-13  Angus Leeming  <leeming@lyx.org>
6742
6743         * WordLangTuple (word, lang_code): return references to strings,
6744         not strings.
6745
6746         * BufferView.h:
6747         * SpellBase.h:
6748         * lyxtext.h: forward-declare WordLangTuple.
6749
6750         * BufferView2.C:
6751         * ispell.C:
6752         * pspell.C:
6753         * text.C: #include "WordLangTuple.h".
6754
6755         * lyxtext.h:
6756         * text.C: (selectNextWordToSpellcheck): constify return type.
6757
6758 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6759
6760         * buffer.C:
6761         * buffer.h:
6762         * lyxtext.h:
6763         * paragraph.C:
6764         * paragraph_pimpl.h:
6765         * text.C:
6766         * text2.C:
6767         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6768         suggested by Angus.
6769         Made updateCounter always count from start of buffer, and removed
6770         second argument (par).
6771         Reverted floats number display to '#'. Perhaps I'll try again when the
6772         code base is sanitized a bit.
6773
6774 2002-08-12  Angus Leeming  <leeming@lyx.org>
6775
6776         * buffer.[Ch] (getLabelList): constify.
6777
6778 2002-08-07  André Pönitz <poenitz@gmx.net>
6779
6780         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6781
6782         * funcrequest.h: extension to keep mouse (x,y) position
6783
6784 2002-08-12  Juergen Vigna  <jug@sad.it>
6785
6786         * BufferView2.C (insertErrors): forbid undo when inserting error
6787         insets.
6788
6789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6790
6791 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * ParagraphList.[Ch]: new files
6794
6795         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6796
6797         * BufferView2.C (lockInset): ParagraphList changes
6798         * toc.C: ditto
6799         * text2.C: ditto
6800         * bufferlist.C: ditto
6801         * buffer.h: ditto
6802         * buffer.C: ditto
6803
6804 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6807         unused class variable counter_,
6808
6809         * paragraph.[Ch] (getFirstCounter): delete unused function
6810
6811         * counters.C: include LAssert.h
6812         (reset): add a new function with no arg, change other version to
6813         not have def. arg and to not allow empty arg.
6814
6815         * text2.C (setCounter): remove empty arg from call to Counters::reset
6816
6817 2002-08-11  John Levon  <levon@movementarian.org>
6818
6819         * Makefile.am: add WordLangTuple.h
6820
6821 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6824         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6825
6826         * insets/insettext.C: InsetList changes
6827
6828         * graphics/GraphicsSupport.C (operator()): InsetList changes
6829
6830         * toc.C (getTocList): InsetList changes
6831
6832         * paragraph_pimpl.[Ch]: InsetList changes
6833
6834         * paragraph.[Ch]: InsetList changes
6835
6836         * buffer.C (inset_iterator): InsetList changes
6837         (setParagraph): ditto
6838         * buffer.h (inset_iterator): ditto
6839         * iterators.C (operator++): ditto
6840         * iterators.h: ditto
6841
6842         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6843
6844         * InsetList.[Ch]: new files, most InsetList handling moved out of
6845         paragraph.C.
6846
6847         * BufferView2.C (removeAutoInsets): InsetList changes
6848         (lockInset): ditto
6849         (ChangeInsets): ditto
6850
6851 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * paragraph_pimpl.h (empty): new function
6854
6855         * paragraph.[Ch] (empty): new function
6856
6857         * other files: use the new Paragraph::empty function
6858
6859 2002-08-09  John Levon  <levon@movementarian.org>
6860
6861         * lyxtext.h: remove unused refresh_height
6862
6863 2002-08-09  John Levon  <levon@movementarian.org>
6864
6865         * Makefile.am:
6866         * sgml.h:
6867         * sgml.C:
6868         * buffer.C:
6869         * paragraph.h:
6870         * paragraph.C: move sgml char escaping out of paragraph
6871
6872         * paragraph.h:
6873         * paragraph.C: remove id setter
6874
6875         * buffer.C:
6876         * paragraph.C:
6877         * paragraph_pimpl.C: remove dead tex_code_break_column
6878
6879         * bufferview_funcs.C: small cleanup
6880
6881         * lyxfunc.C: remove dead proto
6882
6883         * lyxtext.h: make some stuff private. Remove some dead stuff.
6884
6885         * lyxgluelength.C: make as[LyX]String() readable
6886
6887 2002-08-08  John Levon  <levon@movementarian.org>
6888
6889         * LyXAction.h:
6890         * LyXAction.C:
6891         * MenuBackend.C:
6892         * ToolbarDefaults.C:
6893         * lyxfunc.C:
6894         * lyxrc.C:
6895         * toc.C: lyxaction cleanup
6896
6897 2002-08-08  John Levon  <levon@movementarian.org>
6898
6899         * BufferView2.C: small cleanup
6900
6901         * lyxfind.h:
6902         * lyxfind.C: move unnecessary header into the .C
6903
6904 2002-08-08  John Levon  <levon@movementarian.org>
6905
6906         * funcrequest.h: just tedious nonsense
6907
6908         * lyx_main.h:
6909         * lyx_main.C: cleanups
6910
6911         * buffer.C:
6912         * vspace.C: remove dead header lyx_main.h
6913
6914 2002-08-07  Angus Leeming  <leeming@lyx.org>
6915
6916         * Paragraph.[Ch]:
6917         * paragraph_pimpl.h:
6918         Forward declare class Counters in paragraph.h by moving the ctrs member
6919         variable into Paragraph::Pimpl.
6920         (counters): new method, returning a reference to pimpl_->ctrs.
6921
6922         * text2.C: ensuing changes.
6923
6924 2002-08-07  John Levon  <levon@movementarian.org>
6925
6926         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6927
6928         * BufferView_pimpl.C: announce X selection on double/triple
6929           click
6930
6931         * lyx_main.C: use correct bool in batch dispatch
6932
6933         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6934
6935 2002-08-07  André Pönitz <poenitz@gmx.net>
6936
6937         * funcrequest.h: new class to wrap a kb_action and its argument
6938
6939         * BufferView.[Ch]:
6940         * BufferView_pimpl[Ch]:
6941         * LaTeX.C:
6942         * LyXAction.[Ch]:
6943         * lyxfunc.[Ch]:
6944         * lyxrc.C: subsequent changes
6945
6946
6947 2002-08-07  John Levon  <levon@movementarian.org>
6948
6949         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6950           document options change.
6951
6952 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6953
6954         * counters.[Ch]
6955         * text2.C
6956         * paragraph.[Ch]
6957         * makefile.am: move counters functionality over from
6958         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6959
6960 2002-08-06  John Levon  <levon@movementarian.org>
6961
6962         * WordLangTuple.h: new file for word + language code tuple
6963
6964         * SpellBase.h:
6965         * pspell.h:
6966         * pspell.C:
6967         * ispell.h:
6968         * ispell.C:
6969         * lyxtext.h:
6970         * text.C:
6971         * text2.C:
6972         * BufferView.h:
6973         * BufferView2.C: use WordLangTuple
6974
6975         * layout.h:
6976         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6977
6978 2002-08-06  John Levon  <levon@movementarian.org>
6979
6980         * lyx_main.C: fix cmdline batch handling
6981
6982 2002-08-06  André Pönitz <poenitz@gmx.net>
6983
6984         * lyxrc.C: set default for show_banner to true
6985
6986 2002-08-06  John Levon  <levon@movementarian.org>
6987
6988         * pspell.C: fix a crash, and allow new aspell to work
6989
6990 2002-08-06  John Levon  <levon@movementarian.org>
6991
6992         * lyxfunc.C:
6993         * kbmap.C: small cleanup
6994
6995         * vspace.h:
6996         * vspace.C: add const
6997
6998 2002-08-05  John Levon  <levon@movementarian.org>
6999
7000         * LyXAction.C: back to tabular-insert
7001
7002 2002-08-04  John Levon  <levon@movementarian.org>
7003
7004         * BufferView.h:
7005         * BufferView.C: cosmetic change
7006
7007         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7008
7009         * bufferlist.C:
7010         * buffer.h:
7011         * buffer.C:
7012         * lyxcb.h:
7013         * lyxcb.C:
7014         * lyxserver.C:
7015         * lyxvc.C:
7016         * vc-backend.C:
7017         * BufferView2.C: purge all "Lyx" not "LyX" strings
7018
7019         * lyxcursor.h:
7020         * lyxcursor.C: attempt to add some documentation
7021
7022         * lyxfunc.C:
7023         * commandtags.h:
7024         * LyXAction.C:
7025         * ToolbarDefaults.C:
7026         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7027           merge with LFUN_TABULAR_INSERT
7028
7029         * Makefile.am:
7030         * SpellBase.h:
7031         * ispell.h:
7032         * ispell.C:
7033         * pspell.h:
7034         * pspell.C: split up i/pspell implementations into separate
7035           files, many cleanups
7036
7037         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7038
7039         * text2.C: some cleanup
7040
7041         * lyxfunc.C: don't check for isp_command == "none" any more, it
7042           didn't make any sense
7043
7044 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7045
7046         * counters.[Ch]
7047         * text2.C
7048         * paragraph.[Ch]
7049         * makefile.am: move counters functionality over
7050         from text2.C/paragraph.[Ch] to counters.[Ch], and
7051         make proper C++.
7052 2002-08-02  John Levon  <levon@movementarian.org>
7053
7054         * buffer.C: s/lyxconvert/lyx2lyx/
7055
7056 2002-08-02  Angus Leeming  <leeming@lyx.org>
7057
7058         * lyxlex.C: revert John's change as it breaks reading of the user
7059         preamble.
7060
7061 2002-08-02  Angus Leeming  <leeming@lyx.org>
7062
7063         * importer.C (Import):
7064         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7065         changes due to LyXView::view() now returning a boost::shared_ptr.
7066
7067 2002-08-02  John Levon  <levon@movementarian.org>
7068
7069         * lyxlex.C: small cleanup
7070
7071 2002-08-02  John Levon  <levon@movementarian.org>
7072
7073         * text2.C (status): small cleanup, no logic change
7074
7075 2002-08-01  John Levon  <levon@movementarian.org>
7076
7077         * buffer.h:
7078         * buffer.C (writeFile): don't output alerts, caller
7079           handles this
7080
7081         * bufferlist.C:
7082         * lyx_cb.C: from above
7083
7084         * lyxfunc.C: allow to open non-existent files
7085
7086 2002-07-31  John Levon  <levon@movementarian.org>
7087
7088         * lyxserver.C: don't let incidental errors get
7089           in the way (errno)
7090
7091 2002-07-30  John Levon  <levon@movementarian.org>
7092
7093         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7094
7095 2002-07-30  John Levon  <levon@movementarian.org>
7096
7097         * lyxserver.h:
7098         * lyxserver.C: remove I/O callback too
7099
7100 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7101
7102         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7103         log.
7104
7105 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * many files: strip,frontStrip -> trim,ltrim,rtrim
7108
7109 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * PrinterParams.h: remove extern containsOnly, and include
7112         support/lstrings.h instead.
7113
7114         * LaTeX.C (scanAuxFile): modify because of strip changes
7115         (deplog): ditto
7116         * buffer.C (makeLaTeXFile): ditto
7117         * bufferparams.C (writeFile): ditt
7118         * lyxfont.C (stateText): ditto
7119         * lyxserver.C (read_ready): ditto
7120         * vc-backend.C (scanMaster): ditto
7121
7122         * BufferView_pimpl.h: ws changes
7123
7124         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7125
7126 2002-07-26  André Pönitz <poenitz@gmx.net>
7127
7128         * kb_sequence.C: remove unnedred usings
7129
7130 2002-07-26  Juergen Vigna  <jug@sad.it>
7131
7132         * lyxfind.C (LyXReplace): we have to check better if the returned
7133         text is not of theLockingInset()->getLockingInset().
7134
7135 2002-07-25  Juergen Vigna  <jug@sad.it>
7136
7137         * lyxfind.C (LyXReplace): don't replace if we don't get the
7138         right LyXText.
7139
7140         * undo_funcs.C (createUndo): remove debugging code.
7141
7142 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7143
7144         * buffer.C (parseSingleLyXformat2Token): Use default placement
7145         when reading old floats.
7146
7147         * FloatList.C (FloatList): Change the default placement of figure
7148         and tables to "tbp".
7149
7150 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7151
7152         * MenuBackend.C: using std::max
7153
7154 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7155
7156         * MenuBackend.C (expandToc):
7157         (expandToc2): code moved from xforms menu frontend. It is now
7158         generic and TOCs are transparent to menu frontends.
7159
7160 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7161
7162         * toc.C (getTocList): protect against buf=0
7163
7164         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7165         Menu as first parameter. Now, this calls itself recursively to
7166         expand a whole tree (this will be useful for TOC handling)
7167         (expandFloatInsert): remove 'wide' version of floats
7168
7169         * MenuBackend.h (submenuname): returns the name of the submenu.
7170         (submenu): returns the submenu itself, provided it has been
7171         created by MenuBackend::expand
7172
7173 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7174
7175         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7176         insets which have noFontChange == true. (bug #172)
7177
7178 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7179
7180         * BufferView_pimpl.C: add connection objects and use them...
7181         (Pimpl): here.
7182
7183 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7184
7185         * MenuBackend.C (expandLastfiles):
7186         (expandDocuments):
7187         (expandFormats):
7188         (expandFloatListInsert):
7189         (expandFloatInsert):
7190         (expand): split expand in parts
7191
7192 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7193
7194         * lyx_gui.C: use lyx_gui::exit()
7195
7196 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7197
7198         * LyXAction.C: show the failing pseudo action
7199
7200 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7201
7202         * buffer.C (readFile): Run the lyxconvert script in order to read
7203         old files.
7204
7205 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7206
7207         * LyXAction.C:
7208         * commandtags.h:
7209         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7210
7211 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * LyXAction.C:
7214         * commandtags.h:
7215         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7216
7217 2002-07-22  Herbert Voss  <voss@lyx.org>
7218
7219         * lengthcommon.C:
7220         * lyxlength.[Ch]: add support for the vertical lengths
7221
7222 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7223
7224         * toc.[Ch]: std:: fixes
7225
7226 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7227
7228         * lyxrc.C: do not include lyx_main.h
7229
7230         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7231         for layouts
7232
7233         * lyxrc.C:
7234         * encoding.C:
7235         * bufferlist.C:
7236         * BufferView2.C: include "lyxlex.h"
7237
7238         * tabular.h:
7239         * bufferparams.h: do not #include "lyxlex.h"
7240
7241         * lyxtextclasslist.C (Add): remove method
7242         (classlist): renamed to classlist_
7243
7244         * paragraph_pimpl.C:
7245         * paragraph.C:
7246         * text2.C:
7247         * CutAndPaste.C:
7248         * bufferview_funcs.C:
7249         * bufferlist.C:
7250         * text.C:
7251         * LaTeXFeatures.C:
7252         * buffer.C:
7253         * toc.C (getTocList): use BufferParams::getLyXTextClass
7254
7255         * toc.C (getTocList): use InsetFloat::addToToc
7256
7257         * toc.[Ch]: new files, containing helper functions to handle table
7258         of contents
7259
7260         * lyxfunc.C (dispatch): no need to remove spaces around command
7261         given as a string
7262         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7263         first command of the sequence; it is not very clever, but I do not
7264         have a better idea, actually
7265
7266         * LyXAction.C (LookupFunc): make sure to remove space at the
7267         beginning and end of the command
7268
7269 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7270
7271         * MenuBackend.C (getMenubar): new method: return the menubar of
7272         this menu set
7273         (read): treat differently reading of menu and menubar (in
7274         particular, the menubar has no name now)
7275         (Menu::menubar): remove
7276
7277         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7278         saving is finished
7279
7280 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7281
7282         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7283         a bibitem inset in a RTL paragraph.
7284
7285 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7286
7287         * paragraph_pimpl.C: constify
7288
7289         * BufferView_pimpl.C:
7290         * LaTeX.C:
7291         * lyxfunc.C: fix dispatch in a nicer way
7292
7293 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7294
7295         * lyxfunc.C (dispatch):
7296         * BufferView_pimpl.C:
7297         * BufferView_pimpl.h:
7298         * BufferView.C:
7299         * BufferView.h: rename Dispatch() to dispatch()
7300
7301         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7302
7303         * lyxlayout.C (Read): honor DependsOn tag
7304
7305         * lyxlayout.[Ch] (depends_on): new method
7306
7307         * version.C.in: update lyx_docversion
7308
7309         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7310
7311         * paragraph.C (validate): remove from here...
7312         * paragraph_pimpl.C (validate): ... and move here
7313         (isTextAt): make it const
7314
7315         * buffer.C (getLists): ws cleanup
7316
7317 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7318
7319         * language.C (read): Use iso8859-1 encoding in latex_lang
7320         (this prevents LyX from crashing when using iso10646-1 encoding).
7321
7322 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7323
7324         * text2.C (toggleInset): if cursor is inside an inset, close the
7325         inset and leave cursor _after_ it
7326
7327 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7328
7329         * lyxfunc.C: move minibuffer completion handling out of here
7330
7331 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7332
7333         * BufferView_pimpl.C:
7334         * LaTeX.C: fix dispatch calls
7335
7336 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7337
7338         * text.C (drawChars): Fix Arabic text rendering.
7339
7340 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7341
7342         * LyXAction.C:
7343         * commandtags.h:
7344         * lyxfunc.C: remove message-push/pop
7345
7346         * lyxserver.C:
7347         * lyxfunc.h:
7348         * lyxfunc.C: rationalise some code by removing verboseDispatch
7349           in favour of a bool argument to dispatch()
7350
7351 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7352
7353         * lyx_main.C (init): make sure to read symlinks as absolute paths
7354
7355 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7356
7357         * lyxfunc.h:
7358         * lyxfunc.C: no need for commandshortcut to be a member
7359
7360 2002-07-15  André Pönitz <poenitz@gmx.net>
7361
7362         * converter.C: add support for $$s (scripts from lib/scripts dir)
7363         * lyx_main.C: white space
7364
7365 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7366
7367         * bufferlist.C:
7368         * lyxrc.h:
7369         * lyxrc.C: remove second exit confirmation
7370
7371 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7372
7373         * BufferView.h:
7374         * BufferView.C:
7375         * BufferView2.C:
7376         * BufferView_pimpl.h:
7377         * BufferView_pimpl.C:
7378         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7379
7380 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7381
7382         * MenuBackend.C (expand): add numeric shortcuts to document menu
7383
7384         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7385
7386 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7387
7388         * lyxfont.C (setLyXFamily):
7389         (setLyXSeries):
7390         (setLyXShape):
7391         (setLyXSize):
7392         (setLyXMisc):
7393         (lyxRead):
7394         * debug.C (value):
7395         * buffer.C (asciiParagraph): use ascii_lowercase
7396
7397 2002-07-15  Mike Fabian  <mfabian@suse.de>
7398
7399         * lyxlex_pimpl.C (search_kw):
7400         * lyxlex.C (getLongString):
7401         * converter.h (operator<):
7402         * converter.C (operator<):
7403         * buffer.C (parseSingleLyXformat2Token):
7404         (asciiParagraph):
7405         * ToolbarDefaults.C (read):
7406         * MenuBackend.C (checkShortcuts):
7407         (read):
7408         * LColor.C (getFromGUIName):
7409         (getFromLyXName): use the compare_ascii_no_case instead of
7410         compare_no_case, because in turkish, 'i' is not the lowercase
7411         version of 'I', and thus turkish locale breaks parsing of tags.
7412
7413 2002-07-16  Angus Leeming  <leeming@lyx.org>
7414
7415         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7416         now takes a Buffer const & argument.
7417
7418 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * BufferView.C (resize): check there's a buffer to resize
7421
7422 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7423
7424         * lyxfunc.C: remove dead code
7425
7426         * lyxserver.h:
7427         * lyxserver.C: use lyx_guii::set_read_callback
7428
7429 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7430
7431         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7432         an inset in a RTL paragraph.
7433
7434 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7435
7436         * lyxfunc.C: repaint after a font size update
7437
7438 2002-07-15  André Pönitz <poenitz@gmx.net>
7439
7440         * lyxlength.C: inBP should be able to return negative values
7441
7442 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7443
7444         * lyxfunc.C: use lyx_gui::update_fonts()
7445
7446 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * lyxfunc.C: use lyx_gui::update_color()
7449
7450 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7451
7452         * bufferlist.C:
7453         * lyxfunc.h:
7454         * lyxfunc.C:
7455         * lyxrc.h:
7456         * lyxrc.C: remove file->new asks for name option, and let
7457           buffer-new take an argument
7458
7459 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7460
7461         * BufferView_pimpl.C: remove unneeded extra repaint()
7462
7463 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7464
7465         * LyXAction.C: allow command-sequence with NoBuffer
7466
7467         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7468
7469 2002-07-10  Angus Leeming  <leeming@lyx.org>
7470
7471         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7472
7473 2002-07-09  Angus Leeming  <leeming@lyx.org>
7474
7475         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7476
7477 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * lengthcommon.h: whitespace
7480
7481         * lyxfunc.C: update scrollbar after goto paragraph
7482
7483         * lyxtext.h: factor out page break drawing, and fix it so
7484           page break/added space paints as selected nicely
7485
7486 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * BufferView_pimpl.C: add FIXMEs, clean up a little
7489
7490 2002-07-09  André Pönitz <poenitz@gmx.net>
7491
7492         * lyxfont.[Ch]: support for wasy symbols
7493
7494 2002-07-08  André Pönitz <poenitz@gmx.net>
7495
7496         * BufferView_pimpl.C: apply John's patch for #93.
7497
7498 2002-07-05  Angus Leeming  <leeming@lyx.org>
7499
7500         * BufferView_pimpl.C (buffer): generate previews if desired.
7501
7502         * LColor.h: add "preview" to the color enum.
7503
7504         * LColor.C (LColor): add a corresponding entry to the items array.
7505
7506         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7507         with this buffer.
7508
7509 2002-07-05  Angus Leeming  <leeming@lyx.org>
7510
7511         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7512         The body of the code is now in the method that is passed an ostream &
7513         rather than a file name.
7514         Pass an additional only_preamble parameter, useful for the forthcoming
7515         preview stuff.
7516
7517 2002-07-03  André Pönitz <poenitz@gmx.net>
7518
7519         * lyxfunc.C: simplify getStatus() a bit for math stuff
7520
7521 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7522
7523         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7524
7525 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7526
7527         * text.C (changeRegionCase): do not change case of all the
7528         document when region ends at paragraph end (bug #461)
7529
7530 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * paragraph.C (startTeXParParams):
7533         (endTeXParParams): add \protect when necessary
7534
7535 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7536
7537         * BufferView_pimpl.C (workAreaExpose): remove warning
7538
7539 2002-06-27  Angus Leeming  <leeming@lyx.org>
7540
7541         * Makefile.am: add lyxlayout_ptr_fwd.h.
7542
7543 2002-06-26  André Pönitz <poenitz@gmx.net>
7544
7545         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7546
7547 2002-06-25  Angus Leeming  <leeming@lyx.org>
7548
7549         * lyxfunc.C (dispatch): Comment out the call to
7550         grfx::GCache::changeDisplay. The method no longer exists now that the
7551         pixmap generation part of the graphics loader has been moved into
7552         InsetGraphics.
7553
7554 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7555
7556         * text2.C: layout as layout
7557
7558         * text.C: layout as layout
7559
7560         * tabular.C (OldFormatRead): layout as layout
7561
7562         * paragraph_pimpl.C (TeXDeeper): layout as layout
7563         (realizeFont): layout as layout
7564
7565         * paragraph.C (writeFile): layout as layout
7566         (validate): layout as layout
7567         (getFont): layout as layout
7568         (getLabelFont): layout as layout
7569         (getLayoutFont): layout as layout
7570         (breakParagraph): layout as layout
7571         (stripLeadingSpaces): layout as layout
7572         (getEndLabel): layout as layout
7573         (getMaxDepthAfter): layout as layout
7574         (applyLayout): layout as layout
7575         (TeXOnePar): layout as layout
7576         (simpleTeXOnePar): layout as layout
7577         (TeXEnvironment): layout as layout
7578         (layout): layout as layout
7579         (layout): layout as layout
7580
7581         * lyxtextclass.C (compare_name): new functor to work with
7582         shared_ptr, layout as layout
7583         (Read): layout as layout
7584         (hasLayout): layout as layout
7585         (operator): layout as layout
7586         (delete_layout): layout as layout
7587         (defaultLayout): layout as layout
7588
7589         * lyxlayout_ptr_fwd.h: new file
7590
7591         * lyxlayout.C (Read): layout as layout
7592
7593         * lyx_cb.C (MenuInsertLabel): layout as layout
7594
7595         * bufferlist.C (newFile): layout as layout
7596
7597         * buffer.C (readLyXformat2): layout as layout
7598         (parseSingleLyXformat2Token): layout as layout
7599         (insertStringAsLines): layout as layout
7600         (asciiParagraph): layout as layout
7601         (latexParagraphs): layout as layout
7602         (makeLinuxDocFile): layout as layout
7603         (simpleLinuxDocOnePar): layout as layout
7604         (makeDocBookFile): layout as layout
7605         (simpleDocBookOnePar): layout as layout
7606         (getLists): layout as layout
7607
7608         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7609
7610         * CutAndPaste.C (cutSelection): layout as layout
7611         (pasteSelection): layout as layout
7612         (SwitchLayoutsBetweenClasses): layout as layout
7613
7614         * BufferView_pimpl.C (Dispatch): layout as layout
7615         (smartQuote): layout as layout
7616
7617         * BufferView2.C (unlockInset): layout as layout
7618
7619 2002-06-24  André Pönitz <poenitz@gmx.net>
7620
7621         * lyxfunc.C: fix #487
7622
7623 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * lyxrc.h:
7626         * lyxrc.C:
7627         * lyxfunc.C: remove display_shortcuts, show_banner
7628
7629 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7630
7631         * Buffer_pimpl.C: oops, update on resize
7632
7633 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * buffer.C:
7636         * converter.C:
7637         * exporter.C:
7638         * lyxfunc.C:
7639         * BufferView.h:
7640         * BufferView.C: use repaint()
7641
7642         * BufferView_pimpl.h:
7643         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7644           as it's a clearer description. Remove superfluous
7645           redraws.
7646
7647 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * text.C: fix bug 488. Not ideal, but getting
7650           getWord() to work properly for the insets that
7651           matter is more difficult ...
7652
7653 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7654
7655         * BufferView_pimpl.C:
7656         * LyXAction.C:
7657         * commandtags.h:
7658         * lyxfunc.C: remove the six million index lyxfuncs to just
7659           one, and DTRT (bug 458)
7660
7661 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7662
7663         * BufferView.h:
7664         * BufferView.C:
7665         * BufferView_pimpl.h:
7666         * BufferView_pimpl.C: clean up resize() stuff,
7667           and unnecessary updateScreen()s
7668
7669 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7670
7671         * BufferView.h:
7672         * BufferView.C:
7673         * BufferView_pimpl.h:
7674         * BufferView_pimpl.C:
7675         * lyxfind.h:
7676         * lyxfind.C:
7677         * minibuffer.C: remove focus management of workarea,
7678           not needed. Use screen's greyOut()
7679
7680 2002-06-17  Herbert Voss  <voss@lyx.org>
7681
7682         * converter.C: (convert) do not post a message, when converting
7683         fails, let the calling function decide what to do in this case
7684
7685 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * lyxfunc.C: tidy up a little
7688
7689 2002-06-16    <alstrup@diku.dk>
7690
7691         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7692         Got rid of FORMS_H_LOCATION include. Now we are
7693         GUII.
7694
7695 2002-06-15  LyX Development team  <lyx@rilke>
7696
7697         * buffer.[Ch] (sgmlOpenTag):
7698         (sgmlCloseTag): Added support for avoiding pernicious mixed
7699         content. Return number of lines written.
7700
7701         (makeLinuxDocFile):
7702         (makeDocBookFile): Fixed calls to sgml*Tag.
7703         Simple white space clean.
7704
7705         (simpleDocBookOnePar): Simple white space clean.
7706
7707         * tabular.[Ch] (docBook): Renamed to docbook and got another
7708         argument to related with the pernicious mixed content.
7709
7710         (docbookRow): Fixed calls for docbook inset method.
7711
7712 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7713
7714         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7715         so it's X11 independent.
7716
7717         * kb*.[Ch]: ditto.
7718
7719         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7720
7721 2002-06-15  Lyx Development team  <lyx@electronia>
7722
7723         * intl.h: Renamed getTrans to getTransManager.
7724
7725 2002-06-14  Angus Leeming  <leeming@lyx.org>
7726
7727         * Makefile.am: nuke forgotten stl_string_fwd.h.
7728
7729 2002-06-12  Angus Leeming  <leeming@lyx.org>
7730
7731         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7732
7733 2002-06-13  Angus Leeming  <leeming@lyx.org>
7734
7735         * LaTeX.C:
7736         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7737
7738 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7739
7740         * kbmap.C (getiso): add support for cyrillic and greek
7741
7742 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7743
7744         * BufferView.h:
7745         * BufferView.C:
7746         * BufferView_pimpl.h:
7747         * BufferView_pimpl.C: move bogus scrolling logic
7748           to xforms
7749
7750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7751
7752         * lyxfunc.C:
7753         * BufferView_pimpl.C: view->resize() change
7754
7755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * BufferView_pimpl.C: topCursorVisible
7758           prototype change
7759
7760 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * Makefile.am:
7763         * lyx_gui.h:
7764         * lyx_gui.C: move to frontends/
7765
7766         * main.C:
7767         * lyx_main.h:
7768         * lyx_main.C: changes from above
7769
7770 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7771
7772         * intl.C:
7773         * intl.h:
7774         * kbmap.C:
7775         * kbsequence.C:
7776         * lyx_cb.C:
7777         * lyx_main.C: minor tidy
7778
7779 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7780
7781         * BufferView_pimpl.h:
7782         * BufferView_pimpl.C:
7783         * BufferView.h:
7784         * BufferView.C: make painter() const,
7785           remove dead code
7786
7787         * BufferView2.C: use screen() accessor
7788
7789         * lyx_main.h:
7790         * lyx_main.C: some minor cleanup
7791
7792 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * BufferView_pimpl.h:
7795         * BufferView_pimpl.C: remove enter/leaveView,
7796           use workHeight()
7797
7798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * BufferView.h:
7801         * BufferView.C:
7802         * BufferView2.C:
7803         * BufferView_pimpl.h:
7804         * BufferView_pimpl.C: only construct screen once,
7805           rename
7806
7807         * lyxrc.C: remove pointless comment
7808
7809 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * BufferView.h:
7812         * BufferView.C: remove active() and belowMouse()
7813
7814         * BufferView_pimpl.h:
7815         * BufferView_pimpl.C: use workarea() not workarea_,
7816           and make it use a scoped_ptr instead
7817
7818 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * lyx_gui.C: add debug message on BadWindow
7821
7822 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7823
7824         * sp_spell.C: fdopen is not part of the C++ standard.
7825
7826         * paragraph.C (InsetIterator): use >= instead of ==
7827
7828 2002-06-07  Angus Leeming  <leeming@lyx.org>
7829
7830         Fixes needed to compile with Compaq cxx 6.5.
7831         * BufferView_pimpl.C:
7832         * DepTable.C:
7833         * buffer.C:
7834         * converter.C:
7835         * encoding.C:
7836         * lyx_gui.C:
7837         * lyx_main.C:
7838         * lyxtextclasslist.C:
7839         * minibuffer.C:
7840         * sp_spell.C:
7841         * tabular_funcs.C:
7842         * vc-backend.C:
7843         all c-library variables have been moved into namespace std. Wrap
7844         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7845
7846         * lyxlength.C:
7847         * tabular-old.C:
7848         * tabular.C:
7849         Add a using std::abs declaration.
7850
7851         * kbmap.h (modifier_pair):
7852         * paragraph.h (InsetTable, InsetList):
7853         * lyxfont.h (FontBits):
7854         type definition made public.
7855
7856         * bufferlist.C (emergencyWriteAll): the compiler complains that
7857         there is more than one possible lyx::class_fun template to choose from.
7858         I re-named the void specialisation as lyx::void_class_fun.
7859
7860         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7861
7862         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7863         the compiler is is unable to find tostr in write_attribute.
7864
7865 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7866
7867         * buffer.C (sgmlError): hide #warning
7868
7869 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7870
7871         * xtl/*: get rid of xtl, which is not in use anyway
7872
7873         * LyXAction.C (init):
7874         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7875         were unimplemented xtl experimentation
7876
7877 2002-06-04  André Pönitz <poenitz@gmx.net>
7878
7879         * lyxfunc.C: disable array operation on simple formulae
7880
7881 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * converter.C: constify a bit
7884
7885 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * lyx_gui.C: check xforms version correctly
7888
7889 2002-04-30  Herbert Voss  <voss@lyx.org>
7890
7891         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7892         "keep" option
7893
7894 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7895
7896         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7897           attempt to register it with a VCS)
7898
7899 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7900
7901         * lyx_main.C (init): honor variables LYX_DIR_13x and
7902         LYX_USERDIR_13x
7903
7904 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * buffer.h:
7907         * buffer.C:
7908         * lyx_main.C: fix a crash on bad command line,
7909           and give a useful exit status on error
7910
7911         * lyxfunc.C (doImport): allow -i lyx to work
7912
7913 2002-03-30  André Pönitz <poenitz@gmx.net>
7914
7915         * lyxfunc.C: mathed font changes
7916
7917 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7918
7919         * LaTeX.C:
7920         * importer.h:
7921         * importer.C:
7922         * lyx_sty.h:
7923         * lyx_sty.C:
7924         * lyxlex.C:
7925         * lyxrow.h:
7926         * lyxtext.h:
7927         * paragraph.h:
7928         * paragraph.C:
7929         * texrow.h:
7930         * texrow.C:
7931         * text.C:
7932         * trans_mgr.h: srcdocs, and some minor cleanups
7933
7934 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7935
7936         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7937         call getFont all the time)
7938
7939 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7940
7941         * switch from SigC signals to boost::signals
7942
7943 2002-05-29  André Pönitz <poenitz@gmx.net>
7944
7945         * paragraph_pimpl.C (getChar): don't call size() too often...
7946
7947 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7948
7949         * paragraph_pimpl.C (insertChar): do not try to update tables when
7950         appending (pos == size())
7951
7952         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7953         in order to reduce drastically the number of comparisons needed to
7954         parse a large document
7955
7956 2002-05-29  André Pönitz <poenitz@gmx.net>
7957
7958         * text.C:
7959         * text2.C:
7960         * lyxtextclass.C:
7961         * sp_pspell.h:
7962         * textclasslist.[Ch]:
7963         * sp_ispell.h: whitespace change
7964
7965 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7968         lyxaction directly now.
7969
7970 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7971
7972         * trans.C:
7973         * lyxfont.C:
7974         * lyxvc.C: remove unused headers
7975
7976 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7977
7978         * Makefile.am:
7979         * buffer.h:
7980         * undostack.h:
7981         * undostack.C:
7982         * undo_funcs.h:
7983         * undo_funcs.C: some cleanups. Use shared_ptr
7984           and a template for the undo stacks.
7985
7986 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * BufferView_pimpl.h:
7989         * BufferView_pimpl.C:
7990         * kbmap.h:
7991         * kbmap.C:
7992         * kbsequence.h:
7993         * kbsequence.C:
7994         * lyxfunc.h:
7995         * lyxfunc.C:
7996         * text2.C: use key_state/mouse_state
7997
7998 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7999
8000         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8001         and LSubstring
8002
8003         * chset.C: change include order
8004         (loadFile): use boost regex and get rid of LRegex and LSubstring
8005
8006         * Makefile.am (BOOST_LIBS): new variable
8007         (lyx_LDADD): use it
8008
8009         * LaTeX.C: change include order.
8010         (scanAuxFile): use boost regex and get rid of LRegex and
8011         LSubstring
8012         (deplog): ditto
8013
8014 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * ColorHandler.h:
8017         * ColorHandler.C:
8018         * FontInfo.h:
8019         * FontInfo.C: moved to frontends/xforms/
8020
8021         * FontLoader.h:
8022         * FontLoader.C: moved into frontends for GUIIzation
8023
8024         * Makefile.am:
8025         * lyx_gui.C:
8026         * lyxfont.C:
8027         * lyxfunc.C: changes from above
8028
8029 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * LColor.C: remove spurious X include
8032
8033         * BufferView_pimpl.C:
8034         * Makefile.am:
8035         * font.h:
8036         * font.C:
8037         * text.C:
8038         * text2.C: move font metrics to frontends/
8039
8040 2002-05-24  Juergen Vigna  <jug@sad.it>
8041
8042         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8043         setting the undo_cursor.
8044
8045         * ParagraphParameters.h: include local includes first.
8046
8047 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * BufferView_pimpl.C:
8050         * BufferView_pimpl.h:
8051         * Makefile.am:
8052         * WorkArea.h:
8053         * WorkArea.C:
8054         * screen.C: move WorkArea into frontends/
8055
8056         * lyxscreen.h:
8057         * screen.C:
8058         * text.C:
8059         * BufferView.C:
8060         * BufferView2.C: move LyXScreen into frontends/
8061
8062         * lyxlookup.h:
8063         * lyxlookup.C:
8064         * lyx_gui.C: move lyxlookup into frontends/xforms/
8065
8066 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8067
8068         * BufferView2.C:
8069         * BufferView_pimpl.C:
8070         * FontLoader.C:
8071         * LyXView.h:
8072         * LyXView.C:
8073         * Makefile.am:
8074         * WorkArea.C:
8075         * XFormsView.h:
8076         * XFormsView.C:
8077         * buffer.C:
8078         * bufferlist.C:
8079         * bufferview_funcs.C:
8080         * converter.C:
8081         * importer.C:
8082         * lyx_cb.C:
8083         * lyx_gui.C:
8084         * lyx_main.C:
8085         * lyx_find.C:
8086         * lyxfunc.C:
8087         * lyxvc.C:
8088         * minibuffer.C:
8089         * text.C:
8090         * text2.C:
8091         * trans.C:
8092         * vc-backend.C: move LyX/XFormsView into frontends/
8093
8094 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8095
8096         * Makefile.am:
8097         * PainterBase.C:
8098         * PainterBase.h:
8099         * Painter.C:
8100         * Painter.h:
8101         * WorkArea.C:
8102         * WorkArea.h:
8103         * screen.C:
8104         * tabular.C:
8105         * text.C:
8106         * text2.C: move Painter to frontends/
8107
8108 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8109
8110         * buffer.C: comment out some some code that depend upon lyx_format
8111         < 220
8112
8113         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8114         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8115
8116         * buffer.h (NO_COMPABILITY): turn off compability
8117
8118         * ColorHandler.C: include scoped_array.hpp
8119
8120         * font.C: Use more specific smart_ptr header.
8121         * Painter.C: ditto
8122         * gettext.C: ditto
8123         * ShareContainer.h: ditto
8124         * lyx_main.h: ditto
8125         * kbmap.h: ditto
8126         * FontInfo.h: ditto
8127         * BufferView_pimpl.h: ditto
8128         * ColorHandler.h: ditto
8129
8130         * kbmap.C (defkey): change call to shared_ptr::reset
8131
8132 2002-05-21  Juergen Vigna  <jug@sad.it>
8133
8134         * buffer.C (insertErtContents): fix to insert ert asis if it is
8135         non empty. Skip it completely if it contains only whitespaces.
8136
8137 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * BufferView_pimpl.C:
8140         * BufferView2.C: clear selection on paste (bug 393)
8141
8142 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8143
8144         * DepTable.C: include ctime
8145
8146 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8147
8148         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8149
8150 2002-05-14  Juergen Vigna  <jug@sad.it>
8151
8152         * text.C (breakParagraph): fixed function to honor the keepempty
8153         layout in the right maner and also to permit the right breaking
8154         algorithm on empty or non empyt keepempty paragraphs.
8155
8156         * paragraph.C (breakParagraph): we have to check also if the par
8157         is really empty (!size()) for isempty otherwise we do the wrong
8158         paragraph break.
8159
8160 2002-05-10  Juergen Vigna  <jug@sad.it>
8161
8162         * buffer.[Ch] : The following are only changes to the ert
8163         compatibility read reading old LaTeX layout and font stuff and
8164         convert it to ERTInsets.
8165
8166         * buffer.h: added isErtInset().
8167
8168         * buffer.C (struct ErtComp): add a fromlayout bool to check
8169         if we're inside a LaTeX layout.
8170         (isErtInset): new helper function.
8171         (insertErtContents): look for other ert insets before this one
8172         and insert the contents there, so that we don't have subsequent
8173         ERT insets with nothing between them. This way we create only one
8174         inset with multiple paragraphs. Also check if we don't insert only
8175         spaces ' ' as they are ignored anyway afterwards in the .tex file
8176         so if we have only spaces we will ignore this latex part in the
8177         new file.
8178         (parseSingleLyXformat2Token \\layout): better compatibility when
8179         reading layout-latex stuff.
8180         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8181         language tag.
8182         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8183         stuff after reading the inset only get the information back from
8184         the stack.
8185
8186 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8187
8188         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8189
8190         * LaTeXFeatures.C (getBabelOptions): New method.
8191
8192 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8193
8194         * BufferView_pimpl.C (Dispatch): work around missing argument for
8195         'layout'
8196
8197 2002-05-08  Juergen Vigna  <jug@sad.it>
8198
8199         * text.C (leftMargin): handle paragraph leftindent.
8200
8201         * paragraph.C (writeFile): write the new \\leftindent tag.
8202         (validate): handle leftindent code.
8203         (TeXEnvironment): handle paragraphleftindent code again.
8204
8205         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8206
8207         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8208         for paragrap_extra indent code and new token \\leftindent.
8209         (latexParagraphs): handle the leftindent as environment.
8210
8211         * ParameterStruct.h: added leftindent support.
8212
8213         * ParagraphParameters.C (leftIndent): added support functions for
8214         the paragraph left indent.
8215
8216         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8217         more appropriate.
8218
8219 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8220
8221         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8222         inside insetERT.
8223
8224         * text.C (computeBidiTables): No bidi in insetERT.
8225
8226         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8227         in RTL documents.
8228
8229 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8230
8231         * version.C.in: pre 5
8232
8233 2002-05-02  José Matos  <jamatos@fep.up.pt>
8234         * buffer.C (makeDocBookFile): white space changes, add newline to
8235         command styles.
8236         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8237
8238         * tabular.C (docBook): fix typo.
8239
8240 2002-05-03  Juergen Vigna  <jug@sad.it>
8241
8242         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8243         change in LyXText as we can not be sure it was not freed.
8244         (drawOneRow): remove unused code.
8245
8246         * text.C (drawInset): redo the calculation of the need_break_row as
8247         it could have a row which was already freed.
8248         (draw): look at the return value of drawInset and return false if
8249         it also returned false.
8250         (paintRowText): look at the return value of draw and return false if
8251         it also returned false.
8252
8253         * lyxtext.h: added bool return type to drawInset() and draw() so that
8254         if we have a change in the row so that the rowbreak has to be redone
8255         we abort drawing as it will be called again.
8256
8257 2002-05-02  Juergen Vigna  <jug@sad.it>
8258
8259         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8260         a change in the maintext also if we're inside an inset.
8261         (Dispatch): set the cursor again after a break line and after the
8262         screen has been updated as it could be we're in a different row.
8263
8264         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8265         to set the cursor behind the pargraph with > size().
8266         (setCursor): check also for the same paragraph when checking where
8267         to put the cursor if we have a NFR inset.
8268
8269         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8270         parts of layout read further up as it still was in the wrong
8271         position.
8272
8273 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8274
8275         * screen.C (drawFromTo): change sine fullRebreak always return
8276         true.
8277
8278         * buffer.C (parseSingleLyXformat2Token): reindent some
8279
8280         * BufferView_pimpl.C (update): change since fullRebreak always
8281         return true.
8282         (Dispatch): git rid of the last hardcoded "Standard"s.
8283
8284 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8285
8286         * text2.[Ch] (fullRebreak): make it return void now that we always
8287         returned true.
8288
8289 2002-04-30  Juergen Vigna  <jug@sad.it>
8290
8291         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8292         ert compatibility check for "latex" layout.
8293
8294 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8295
8296         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8297         minipages: use col% instead of p%, and also use the current font.
8298         (makeLaTeXFile): Fix use babel condition.
8299         (parseSingleLyXformat2Token): Correct font when reading old floats.
8300
8301 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8302
8303         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8304         inserting list of floats.
8305
8306 2002-04-25  Herbert Voss  <voss@lyx.org>
8307
8308         * MenuBackend.C (expand): don't add the graphics extensions to the
8309         export menu
8310
8311 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8314         non-existing layout, do not complain if it was the default layout
8315         of the original class (bug #342)
8316
8317 2002-04-24  Juergen Vigna  <jug@sad.it>
8318
8319         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8320         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8321
8322 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8323
8324         * buffer.C (getBibkeyList): If using \bibliography, return the
8325         option field with the reference itself. Enables us to provide natbib
8326         support when using \bibliography.
8327
8328 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8329
8330         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8331
8332         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8333         natbib is provided by the LaTeX class.
8334
8335 2002-04-23  Juergen Vigna  <jug@sad.it>
8336
8337         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8338         Wakeup functions.
8339
8340         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8341
8342 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8345
8346         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8347         ensuremath around textordmasculine, textordfeminine and
8348         textdegree.
8349
8350 2002-04-19  Juergen Vigna  <jug@sad.it>
8351
8352         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8353         reinitializing the buffer otherwise row-dimensions may be wrong.
8354         (update): reset also the selection cursors if they do exits otherwise
8355         their x/y positions may be wrong.
8356
8357         * text2.C (cursorDown): don't enter the inset if we came from a row
8358         above and are one row over the inset.
8359
8360         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8361         really leaving an inset.
8362
8363 2002-04-18  Juergen Vigna  <jug@sad.it>
8364
8365         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8366         of the selected paragraph does not have the selected layout also if
8367         the last one had!
8368
8369         * text2.C (setLayout): fixed bug which did not change last selected
8370         paragraph.
8371
8372         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8373         changed the read and substituted \\end_float with \\end_inset!
8374
8375         * BufferView_pimpl.C (cursorPrevious):
8376         (cursorNext): fixed to make it work with rows heigher than the work
8377         area without moving the cursor only the draw of the row.
8378         (workAreaMotionNotify): fix jumping over high rows.
8379
8380 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8381
8382         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8383         Ressler.
8384
8385 2002-04-16  Juergen Vigna  <jug@sad.it>
8386
8387         * text2.C (setCursor): set also the irow().
8388         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8389         (cursorUp):
8390         (cursorDown): support for locking an inset if the x_fix value goes
8391         inside it. That way I can transverse insets too with cursor up/down.
8392
8393         * lyxrow.h: added irow helper function same as other (i) functions.
8394
8395         * BufferView_pimpl.C (cursorPrevious):
8396         (cursorNext): fixed for insets!
8397
8398 2002-04-15  Juergen Vigna  <jug@sad.it>
8399
8400         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8401         position otherwise it is wrong in some cases.
8402
8403         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8404         inside the inset before the call.
8405
8406 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8407
8408         * buffer.[Ch] (getBibkeyList): make it const.
8409
8410 2002-04-12  Juergen Vigna  <jug@sad.it>
8411
8412         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8413
8414         * text2.C (getCursorX): new helper function
8415         (setCursor): compute also ix_
8416         (setCursorFromCoordinates): set also ix.
8417
8418         * lyxcursor.h: added ix_ and helper functions.
8419
8420         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8421
8422         * buffer.C (insertStringAsLines): dont break paragraph if the this
8423         paragraph is inside an inset which does not permit it!
8424
8425         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8426         also with no chars on this paragraph.
8427         (paintRowText): only paint stuff if it's inside the workarea!
8428
8429         * paragraph.C (breakParagraph): honor keepempty flag and break the
8430         paragraph always below not above.
8431
8432         * BufferView2.C (unlockInset): update the paragraph layout on inset
8433         unlock as we changed paragraph in such a case.
8434
8435         * lyxfind.C (LyXFind): clear the former selection if not found!
8436
8437         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8438         again called in insertChar().
8439
8440         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8441         an inset which uses the whole row!
8442         (rightMargin): ditto.
8443         (insertChar): force a rebreak if we inserted an inset!
8444
8445 2002-03-28  Herbert Voss  <voss@lyx.org>
8446
8447         * lyxlength.[Ch]: add inBP() to get the right PS-point
8448         units (BigPoint). With inPixels we have rounding errors
8449
8450 2002-04-11  Juergen Vigna  <jug@sad.it>
8451
8452         * text2.C (setCursorFromCoordinates): set iy to the right value.
8453         (setCursor): add check if row->previous exists!
8454
8455         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8456         an old float_type as this was the case in the old code!
8457
8458         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8459
8460         * BufferView2.C (showLockedInsetCursor): use iy
8461         (fitLockedInsetCursor): ditto
8462
8463         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8464         locked insets as there we have the right value now.
8465
8466         * lyxcursor.C: added iy_ variable and iy functions to set to the
8467         baseline of cursor-y of the locked inset.
8468
8469         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8470         (setCursor): fixed for insets which need a full row.
8471
8472         * text.C (rowLastPrintable): don't ignore the last space when before
8473         an inset which needs a full row.
8474         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8475         as last character of a row when before a inset which needs a full row.
8476
8477 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8478
8479         * version.C.in: update date
8480
8481         * text2.C (fullRebreak): try to always return true and see what
8482         happens...
8483
8484 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * MenuBackend.C (expand): use Floating::listName
8487
8488         * FloatList.C (FloatList): add listName argument to the built-in
8489         floats
8490
8491         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8492         text associated with the float.
8493
8494 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8497
8498 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8499
8500         * ShareContainer.h: add a couple of missing typenames.
8501
8502 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8503
8504         * lyxrc.C (getDescription): use _() correctly rather than N_().
8505
8506 2002-03-28  Herbert Voss  <voss@lyx.org>
8507
8508         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8509         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8510
8511 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8512
8513         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8514         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8515
8516 2002-03-29  Juergen Vigna  <jug@sad.it>
8517
8518         * lyxfunc.C (dispatch): add a missing fitCursor call.
8519
8520         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8521         it was scrolled by a cursor move, so return the bool status.
8522
8523         * BufferView.C (fitCursor): return the bool flag also to the outside
8524         world as this is needed.
8525
8526         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8527
8528         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8529         call the edit() as it is not needed (and wrong) IMO.
8530         (workAreaButtonPress): set the screen_first variable before evt.
8531         unlock the inset as this may change screen_first and then we have
8532         a wrong y position for the click!
8533
8534 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * MenuBackend.C (expand): another translation that I missed
8537
8538 2002-03-28  Juergen Vigna  <jug@sad.it>
8539
8540         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8541
8542         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8543
8544 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8547
8548         * MenuBackend.C (expand): fix export/view/update when there is no
8549         document open.
8550
8551 2002-03-27  Herbert Voss  <voss@lyx.org>
8552
8553         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8554         and text%
8555
8556 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8557
8558         * bufferview_funcs.C (currentState): only show paragraph number
8559         for is DEVEL_VERSION is set.
8560
8561         * lyxfunc.C (dispatch): put warning in INFO channel
8562
8563         * MenuBackend.C (expand): translate the name of floats
8564
8565         * FloatList.C (FloatList): mark the float names for translation
8566
8567         * converter.C (convert): use LibScriptSearch
8568
8569 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8570
8571         * MenuBackend.C (defaults): fix default menu (we might as well get
8572         rid of it...)
8573
8574 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8575
8576         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8577         directory.
8578
8579 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8580
8581         * lyxvc.C: reorder includes.
8582
8583 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8584
8585         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8586           properly
8587
8588 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * CutAndPaste.C: change layouts earlier on paste
8591           to avoid crashing when calling getFont()
8592
8593 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8594
8595         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8596         irritating #error.
8597
8598 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8599
8600         * WorkArea.C: remove 'Pending' debug message.
8601
8602         * most files: ws cleanup
8603
8604         * buffer.[Ch]: ws changes
8605
8606         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8607
8608 2002-03-21  Juergen Vigna  <jug@sad.it>
8609
8610         * tabular.C (SetMultiColumn): collapse also the contents of the
8611         cells and set the last border right. Added a Buffer const * param.
8612
8613 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8616         linking or not.
8617
8618 2002-03-19  Juergen Vigna  <jug@sad.it>
8619
8620         * text2.C (clearSelection): reset also xsel_cache.
8621
8622         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8623         where it needs to be called (John tells us to do so too :)
8624         (selectionLost): reset sel_cache.
8625
8626         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8627
8628 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * text2.C (setCursorIntern): put debuging code in INSETS channel
8631
8632 2002-03-19  André Pönitz <poenitz@gmx.net>
8633
8634         * lyxfunc.C: tiny whitespace change
8635
8636 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8637
8638         * ToolbarDefaults.C (init):
8639         * LyXAction.C (init):
8640         * commandtags.h:
8641         * BufferView_pimpl.C (Dispatch):
8642         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8643
8644 2002-03-19  Allan Rae  <rae@lyx.org>
8645
8646         * exporter.C (Export): removeAutoInsets before doing anything else.
8647         While I've just introduced a dependency on BufferView this really is
8648         the best place to clean the buffer otherwise you need to cleanup in
8649         a dozen places before calling export or cleanup in a dozen functions
8650         that export calls.
8651
8652         * converter.C (runLaTeX):
8653         (scanLog): Better handling of removeAutoInsets and screen updates.
8654
8655         * lyxfunc.C (dispatch): small whitespace changes
8656
8657 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8658
8659         * WorkArea.C (C_WorkAreaEvent): return a value.
8660         (event_cb): return 1 if we handled the event, 0 otherwise.
8661
8662         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8663
8664 2002-03-18  Juergen Vigna  <jug@sad.it>
8665
8666         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8667         (GetAdditionalWidth): ditto.
8668         (RightLine): ditto.
8669         (LeftLine): ditto.
8670
8671         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8672         inset if we're there actually (probably not used right now but this
8673         is the direction to go for unifying code).
8674         (paste): disable code to clear the selection.
8675
8676         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8677         inside an InsetText and move the check further up as it is in the
8678         wrong place.
8679
8680         * text2.C (pasteSelection): set a selection over the pasted text.
8681
8682 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8683
8684         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8685         and libgraphics to build on Cygwin.
8686
8687 2002-03-15  Juergen Vigna  <jug@sad.it>
8688
8689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8690         inserting an Inset into the paragraph. I know this is not the best
8691         fix but we already use current_view in CutAndPaste so we will remove
8692         all of it's using at the same time.
8693
8694         * buffer.C (sgmlError): deactivated function till it is rewritten in
8695         the right mode, now it can create problems.
8696
8697         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8698         before accessing it.
8699
8700 2002-03-14  Juergen Vigna  <jug@sad.it>
8701
8702         * undo_funcs.C (textHandleUndo): do the right thing when updating
8703         the inset after the undo/redo.
8704
8705         * text2.C (setCursor): just some testcode for #44 not ready yet.
8706
8707         * undo_funcs.C (textHandleUndo): set the next() and previous()
8708         pointers of the paragraph to 0 before deleting otherwise we have
8709         problems with the Paragraph::[destructor].
8710
8711         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8712         on a paragraph insertion.
8713
8714 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8715
8716         * buffer.C (asciiParagraph): use += operator for char append to
8717         string.
8718
8719         * paragraph.C (getFontSettings): compare >= not just >
8720         (highestFontInRange): ditto
8721         (setFont): ditto
8722
8723 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8724
8725         * paragraph.C: change several algorithm to be more appripriate for
8726         the problem domain. This is lookip in FontList and in the InsetList.
8727
8728 2002-03-13  André Pönitz <poenitz@gmx.net>
8729
8730         * commandtags.h:
8731         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8732
8733 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8734
8735         * commandtags.h:
8736         * LyXAction.C:
8737         * lyxfunc.C:
8738         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8739
8740 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8741
8742         * Painter.C (display): anon helper function, adjust code for this
8743         change.
8744         (pixmap): remove function.
8745
8746         * Painter.h: remove private display variable.
8747
8748         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8749
8750 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8751
8752         * WorkArea.[Ch]: remove figinset_canvas cruft.
8753
8754 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * lyxtextclass.C (operator): add one item cache optimization.
8757
8758         * bufferlist.h: doxy changes
8759
8760         * bufferlist.C: ws changes
8761
8762         * DepTable.[Ch] (ext_exist): place const in the right spot.
8763
8764         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8765         call resizeInsets.
8766         (workAreaExpose): call resizeInsets when the with BufferView changes.
8767         (Dispatch): adjust for protectedBlank removal
8768         (specialChar): call updateInset if the insert went ok.
8769
8770         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8771         specialChar instead.
8772
8773         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8774
8775         * BufferView.h: doxy change
8776
8777         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8778
8779         * lyxtextclass.C (operator[]): remove non-const version
8780         (defaultLayout): remove non-const version
8781
8782 2002-03-12  Juergen Vigna  <jug@sad.it>
8783
8784         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8785         did resize the LyXText too.
8786
8787         * buffer.C (readLyXformat2): set layout information on newly allocated
8788         paragraphs.
8789
8790         * tabular.C (OldFormatRead): set layout information on the paragraph.
8791
8792 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8793
8794         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8795
8796 2002-03-11  Juergen Vigna  <jug@sad.it>
8797
8798         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8799         plainly wrong.
8800         (resizeCurrentBuffer): force also the insets to resize themselfes.
8801         (moveCursorUpdate): fixed up for InsetText.
8802
8803 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8804
8805         * commandtags.h:
8806         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8807         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8808         value of Dialogs::tooltipsEnabled().
8809         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8810
8811 2002-03-08  Juergen Vigna  <jug@sad.it>
8812
8813         * BufferView_pimpl.C (updateInset): update inset inside inset also
8814         if it isn't inside theLockingInset().
8815
8816 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8817
8818         * buffer.C (asciiParagraph): redo some of the word and line length
8819         handling.
8820         (getLists): look for Caption instead of caption.
8821
8822 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * buffer.C (Buffer): initialize niceFile to true
8825         (makeLaTeXFile):
8826         (makeLinuxDocFile):
8827         (makeDocBookFile): make sure niceFile is true on exit
8828
8829 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8832
8833 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8834
8835         * LyXSendto.C: remove.
8836         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8837         * lyx_gui.C: remove now-redundant comment.
8838         * ColorHandler.h: remove forward declaration of class WorkArea.
8839         * lyxfunc.C: remove #include "WorkArea.h".
8840
8841 2002-03-07  Juergen Vigna  <jug@sad.it>
8842
8843         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8844         got moved away with the DEPM and also set the inset_owner always
8845         right which before could have been omitted.
8846
8847 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8850         wanted layout is not found.
8851
8852 2002-03-07  Juergen Vigna  <jug@sad.it>
8853
8854         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8855
8856 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * paragraph.C (breakParagraph): use default layout not layout of
8859         prev paragraph.
8860         (Paragraph): clear ParagraphParameters.
8861
8862 2002-03-06  Juergen Vigna  <jug@sad.it>
8863
8864         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8865         otherwise it would not be a valid lenght. Fixed a special case in
8866         the minipage compatibility read where we end the document with a
8867         minipage.
8868
8869         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8870         was set as it could be 0 for InsetTexts first entry.
8871
8872 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8873
8874         * paragraph.C (writeFile): if layout is empty write out
8875         defaultLayoutName().
8876
8877         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8878         file without named layout we set layout to defaultLayoutName().
8879
8880 2002-03-06  Juergen Vigna  <jug@sad.it>
8881
8882         * CutAndPaste.C (copySelection): set layout for new paragraph.
8883
8884         * text.C (prepareToPrint): leave ERT inset left aligned
8885         (leftMargin): don't indent paragraphs inside ERT insets
8886
8887 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8888
8889         * paragraph.C (breakParagraph): dont call clear do the work manually
8890
8891         * paragraph.[Ch] (clear): remove function
8892
8893 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * paragraph.C (Paragraph): dont call clear, the work has already
8896         been done.
8897
8898         * lyxtextclass.C (operator): assert if n is empty
8899
8900         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8901         work manually instead.
8902
8903 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * BufferView_pimpl.C: protect selectionLost against text == 0
8906
8907 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8908
8909         * text.C (breakParagraph): fix a setting layout to '0' problem.
8910
8911 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8912
8913         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8914         final location of file, for the included files, and graphics.
8915
8916 2002-03-05  Juergen Vigna  <jug@sad.it>
8917
8918         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8919
8920 2002-03-04  Juergen Vigna  <jug@sad.it>
8921
8922         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8923
8924         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8925         last column of multicolumn cells.
8926         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8927
8928 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8929
8930         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8931         file if it doesn't go to a temporary file.
8932
8933         * buffer.C (sgmlOpenTag):
8934         (sgmlCloseTag):  remove extra newline insertion.
8935
8936 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * text.C (getRowNearY): comment out debug msg
8939
8940 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8941
8942         * text2.C: first -> first_y
8943
8944         * text.C (getRowNearY): add some attemts at a possible
8945         optimization, not working.
8946
8947         * tabular.[Ch]: add BufferParams to several function so that newly
8948         created paragraph can be initialized to he default layotu for the
8949         buffers textclass.
8950
8951         * tabular-old.C (ReadOld): add buf->params to call of Init
8952
8953         * screen.C: rename text->first to text->first_y
8954
8955         * paragraph.C (breakParagraph): always set layout in the broken
8956         paragraph
8957
8958         * lyxtextclass.C (Read): remove lowercase
8959         (hasLayout): ditto
8960         (operator): ditto
8961         (delete_layout): ditto
8962
8963         * lyxtext.h: rename first -> first_y
8964
8965         * lyxlayout.C (Read): remove lowercase
8966         (name): ditto
8967         (setName): ditto
8968         (obsoleted_by): ditto
8969
8970         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8971
8972         * buffer.C (insertErtContents): add params are to InsetERT
8973         (parseSingleLyXformat2Token): add code to check if a paragraphs
8974         layout really exist.
8975         (parseSingleLyXformat2Token): add params to several inset
8976         constructors
8977         (asciiParagraph): remove lowercase, do the layout comparisons with
8978         no_case
8979
8980         * BufferView_pimpl.C (cursorNext): first -> first_y
8981         (resizeCurrentBuffer): first -> first_y
8982         (updateScrollbar): first -> first_y
8983         (scrollCB): first -> first_y
8984         (workAreaMotionNotify): first -> first_y
8985         (workAreaButtonPress): first -> first_y
8986         (checkInsetHit): first -> first_y
8987         (cursorPrevious): first -> first_y
8988         (cursorNext): first -> first_y
8989         (Dispatch): add buffer_->params to severl inset contructors
8990
8991 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * lyxlayout.C (Read): remove some debug info that I forgot.
8994
8995         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8996         clean up the code slightly.
8997         (makeLinuxDocFile): ditto
8998         (makeDocBookFile): ditto
8999
9000         * text2.C: layout as string
9001
9002         * text.C: layout as string
9003
9004         * paragraph_pimpl.C: layout as string
9005
9006         * paragraph.[Ch]: layout as string
9007
9008         * lyxtextclasslist.[Ch]: layout as string
9009
9010         * lyxtextclass.[Ch]: layout as string
9011
9012         * lyxtext.h: layout as string
9013
9014         * lyxlayout.[Ch]: layout as string
9015
9016         * lyx_cb.C: layout as string
9017
9018         * bufferview_funcs.C: layout as string
9019
9020         * bufferparams.C: layout as string
9021
9022         * buffer.C: layout as string
9023
9024         * LyXView.[Ch]: layout as string
9025
9026         * LaTeXFeatures.[Ch]: layout as string
9027
9028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9029
9030         * BufferView_pimpl.C: change current_layout to string, remove
9031         lyx::layout_type.
9032         (Dispatch):
9033         (smartQuote):
9034         (insertInset):
9035         (workAreaButtonRelease): layout as string
9036
9037         * BufferView2.C (unlockInset): adjust
9038
9039         * vspace.C (asLatexCommand): use an explict temp variable.
9040
9041 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9042
9043         * Makefile.am: use FRONTEND_*
9044
9045 2002-03-01  Juergen Vigna  <jug@sad.it>
9046
9047         * tabular.C (SetWidthOfMulticolCell): changed to something better
9048         I hope but still work in progress.
9049         (recalculateMulticolumnsOfColumn): renamed function from
9050         recalculateMulticolCells as it is more appropriate now.
9051         (SetWidthOfCell): calculate multicols better.
9052
9053 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9056
9057         * lyxfunc.C (processKeySym): print sequence also if it is
9058         `deleted' (complete)
9059
9060         * kbsequence.C (print): print sequence even if it is deleted
9061         (complete would be a better word, actually).
9062
9063         * lyxfunc.C (dispatch): print complete options after a prefix key
9064
9065         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9066
9067 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9068
9069         * text2.C (setCharFont): eliminate setCharFont code duplication.
9070
9071 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9072
9073         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9074         LFUN_TABULAR_FEATURE (bug #177)
9075
9076 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9077
9078         * Makefile.am: remove figure.h
9079
9080 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9081
9082         * Bufferview_pimpl.C:
9083         * CutAndPasteC:
9084         * LaTeX.C:
9085         * LyXSendto.C:
9086         * buffer.C:
9087         * bufferlist.C:
9088         * converter.C:
9089         * language.C:
9090         * lyxfunc.C:
9091         * lyxvc.C:
9092         * paragraph.C:
9093         * text.C:
9094         * text2.C: remove #include "lyx_gui_misc.h".
9095
9096         * LaTeX.C: added #include <cstdio>
9097
9098 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9101         that the paragraph following this one can have.
9102
9103         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9104
9105         * vspace.C (asLatexCommand): fix bogus gcc warning
9106
9107         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9108
9109 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9110
9111         * text2.C (setLayout): get rid of redundant code
9112
9113 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9114
9115         * text2.C (incDepth): make sure depth cannot be increased beyond
9116         reasonable values.
9117
9118 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9119
9120         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9121         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9122
9123         * PainterBase.h (image):
9124         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9125         a LyXImage const *.
9126
9127 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * BufferView.C:
9130         * BufferView.h:
9131         * BufferView_pimpl.C:
9132         * BufferView_pimpl.h:
9133         * LaTeXFeatures.C:
9134         * LyXAction.C:
9135         * LyXView.C:
9136         * Makefile.am:
9137         * UpdateList.h:
9138         * UpdateList.C:
9139         * buffer.C:
9140         * figure.h:
9141         * figureForm.C:
9142         * figureForm.h:
9143         * figure_form.C:
9144         * figure_form.h:
9145         * lyx_cb.C:
9146         * lyx_gui.C:
9147         * lyx_gui_misc.C:
9148         * lyxfunc.C:
9149         * sp_base.h:
9150         * sp_ispell.h:
9151         * sp_pspell.h:
9152         * sp_spell.C: remove fig inset, and the crap house of
9153           cards that follows it
9154
9155 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9156
9157         * Makefile.am:
9158         * lyxserver.C:
9159         * os2_defines.h:
9160         * os2_errortable.h:
9161         * nt_defines.h: move .h into support/
9162
9163         * vms_defines.h: remove
9164
9165         * WorkArea.C: add space in debug output
9166
9167         * text2.C:
9168         * paragraph.C:
9169         * buffer.C: add WITH_WARNINGS
9170
9171         * vc-backend.h:
9172         * vc-backend.C:
9173         * bufferlist.C: s/retrive/retrieve/, add docs
9174
9175         * vspace.h:
9176         * vspace.C:
9177         * kbmap.h:
9178         * lyxlength.h:
9179         * lyxgluelength.h:
9180         * length_common.h:
9181         * chset.h:
9182         * chset.C: add docs
9183
9184         * lyxgui.C: add ID to X error handler
9185
9186         * lyxtestclass.c: fix typo
9187
9188 2002-02-26  Juergen Vigna  <jug@sad.it>
9189
9190         * tabular_funcs.C (write_attribute): changed so that some default
9191         attributes are not written at all.
9192         (getTokenValue): set default values before trying to read the
9193         value so we have the return value always set as default if we don't
9194         find the token we search for.
9195
9196         * tabular.C (Write): write bools as bools not as strings!
9197
9198 2002-02-22  Juergen Vigna  <jug@sad.it>
9199
9200         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9201         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9202
9203         * text.C (leftMargin): don't add an indent for paragraphs inside
9204         tabular cells (fix #208).
9205
9206 2002-02-21  José Matos  <jamatos@fep.up.pt>
9207
9208         * tabular.C (docBook): fixed support for long tables.
9209
9210 2002-02-20  Juergen Vigna  <jug@sad.it>
9211
9212         * text2.C (getFont): get the drawing font of the Inset if this
9213         paragraph is inside an inset (only important for InsetERT for now).
9214
9215         * buffer.C (insertErtContents): use new lanugage params in ERT
9216         constructor.
9217
9218         * CutAndPaste.C: commenting out seemingly uneeded code.
9219
9220 2002-02-19  Allan Rae  <rae@lyx.org>
9221
9222         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9223         Iterators might be simple to use but they also get invalidated.
9224         (removeAutoInsets): renamed saved cursor tracking variables and added
9225         some comments to clarify what everything does.
9226
9227 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9228
9229         * Chktex.C:
9230         * LaTeX.C:
9231         * LyXSendto.C:
9232         * converter.C:
9233         * lyx_cb.C:
9234         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9235         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9236
9237         * lyxfunc.C:
9238         * vc-backend.h: remove #include "support/syscall.h"
9239
9240         * LaTeX.C:
9241         * LyXSendto.C:
9242         * converter.C: rearrange #includes in Lars' approved fashion.
9243
9244         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9245         forward declare class Timeout in the header file.
9246
9247         * XFormsView.C: changes due to the above.
9248
9249         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9250         similar to LyXView.
9251
9252         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9253         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9254
9255 2002-02-18  José Matos  <jamatos@fep.up.pt>
9256
9257         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9258         insets contents.
9259
9260 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9261
9262         * a lot of small ws changes
9263         * add a lot of using std::XXX
9264         * use std construcs some places where approp.
9265         * use some exisint stuff from lyxfunctional where approp.
9266         * Make file changes to use partial linking (lets test this now...)
9267
9268 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9269
9270         * Chktex.C:
9271         * buffer.C:
9272         remove #include "support/syscontr.h" as it's redundant. Always has been.
9273
9274         * Chktex.C:
9275         * LaTeX.C:
9276         * LyXSendto.C:
9277         * converter.C:
9278         * lyx_cb.C:
9279         * vc-backend.C:
9280         change Systemcalls::System to Systemcalls::Wait and
9281         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9282         No change of functionality, just reflects the stripped down Systemcalls
9283         class.
9284
9285 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9286
9287         * debug.[Ch]: add a GRAPHICS type to the enum.
9288
9289 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9290
9291         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9292
9293         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9294         there is an inset.
9295
9296 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9297
9298         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9299         match the changes below.
9300
9301         * text2.C (toggleInset): if there is not editable inset at cursor
9302         position, try to see if cursor is _inside_ a collapsable inset
9303         and close it.
9304
9305 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9308         document menu has a nice checkbox
9309
9310 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * lyxlength.C (asLatexString): change PW to output as percent of
9313         \textwidth.
9314
9315         * lengthcommon.C: change '%' to 't%'
9316
9317         * lyxfunc.C (dispatch): a few comments from Martin
9318
9319 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * WorkArea.h:
9322         * WorkArea.C:
9323         * BufferView_pimpl.h:
9324         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9325           the X selection.
9326
9327 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * vspace.C (inPixels): fix compiler warning
9330
9331 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9332
9333         * lyxfunc.C (getStatus): fix status message for disabled commands.
9334
9335 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * BufferView_pimpl.C: fix crash on close buffer
9338         during selection (#227)
9339
9340 2002-01-27  Herbert Voss  <voss@lyx.org>
9341
9342         * buffer.C: link old Figure to new graphic inset
9343
9344 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9345
9346         * FontLoader.C (getFontinfo): Change the latex font names in order
9347         to match the names of type1inst.
9348
9349 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9352
9353         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9354         (extchanged): ditto
9355         (ext_exist): ditto
9356         (remove_files_with_extension): ditto
9357         (remove_file): ditto
9358         (write): ditto
9359
9360         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9361         document is smaller than the work area height. Do not initialize
9362         static variables to 0.
9363
9364 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9365
9366         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9367
9368         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9369         LFUN_LAYOUT_PARAGRAPHS.
9370
9371         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9372         tabular. It is possible to provide a possible cell, which will
9373         typically be the actcell from the corresponding insettabular
9374
9375         * lyxfunc.C (getStatus): small cleanup; disable
9376         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9377         true
9378
9379 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9382
9383         * paragraph.C (startTeXParParams):
9384         (endTeXParParams): new methods. The LaTeX code to
9385         start/end paragraph formatting
9386         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9387         empty (fixes bug #200)
9388
9389         * vspace.C (inPixels): adapt to the change below
9390         (inPixels): [later] more cleanups (remove unused variables)
9391
9392         * lyxlength.C (inPixels): change to use a width and a height as
9393         parameter.
9394
9395 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9398         Replaced with \paperwidth
9399
9400         * DepTable.C (insert): add std:: qualifier
9401
9402 2002-01-18  Allan Rae  <rae@lyx.org>
9403
9404         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9405         updated also?
9406
9407         * text.C (drawInset): Turned out I didn't know enough about how
9408         rebreaking worked.  This fixes most of the redraw problems.  I see
9409         an occasional cursor trail when a line is broken now and the cursor
9410         placement can seem out by a few pixels also after a rebreak.
9411
9412 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * buffer.C (parseSingleLyXformat2Token): update because minipage
9415         width is now a LyXLength
9416
9417         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9418
9419         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9420         math insets
9421
9422 2002-01-17  Juergen Vigna  <jug@sad.it>
9423
9424         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9425
9426         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9427         is set correctly and the inset is updated correctly.
9428
9429 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9430
9431         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9432         the beginning of the loop.
9433
9434 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyxrc.C: improve help for use_scalable_fonts
9437
9438 2002-01-17  Allan Rae  <rae@lyx.org>
9439
9440         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9441
9442 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9445         make sure to set their inset_owner to the right value (bug #171)
9446
9447 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9448
9449         * DepTable.h
9450         * DepTable.C: Implement mtime checking to reduce time spent doing
9451         CRCs.
9452
9453 2002-01-16  Juergen Vigna  <jug@sad.it>
9454
9455         * tabular.C (GetAdditionalHeight): one of error fixed.
9456
9457         * lyxrc.C (output): small fix in writing use_pspell.
9458
9459 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9460
9461         * sp_base.h: #include LString.h
9462
9463 2002-01-16  Allan Rae  <rae@lyx.org>
9464
9465         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9466         Can someone check this please?
9467
9468         * text.C (drawInset): It was possible that p.row would be removed by
9469         breakAgainOneRow upsetting a few other settings.  There may be another
9470         small tweak possible by setting need_break_row = 0 when p.row has been
9471         removed but I don't know enough about the logic here.
9472
9473 2002-01-15  Allan Rae  <rae@lyx.org>
9474
9475         * text.C (insertChar): removed conditional truism.
9476
9477         * BufferView2.C (removeAutoInsets): More tweaks.
9478         cur_par_prev could be a stray pointer.  Check for trailing empty line
9479         in case last line was cur_par and only had an error inset on it.
9480
9481 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9482
9483         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9484         absolute
9485
9486         * vc-backend.C (most methods):
9487         * exporter.C (Export):
9488         * converter.C (convert):
9489         (runLaTeX):
9490         * LyXSendto.C (SendtoApplyCB):
9491         * lyxfunc.C (dispatch):
9492         (menuNew):
9493         (open):
9494         (doImport):
9495         * lyx_cb.C (AutoSave):
9496         (InsertAsciiFile):
9497         * BufferView_pimpl.C (MenuInsertLyXFile):
9498         * buffer.C (runChktex): use Buffer::filePath().
9499
9500         * buffer.h: rename filename to filename_; rename filepath to
9501         filepath_ and make it private
9502         (filePath): new method
9503
9504         * buffer.C (writeFile): use fileName()
9505         (getLatexName):
9506
9507         * lyx_main.C (init): fix starting  of LyX when the binary is a
9508         link from so,ewhere else.
9509
9510         * minibuffer.C: include <cctype> for isprint
9511
9512 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9513
9514         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9515         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9516         name clash with InsetCollapsable's width function.
9517
9518 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9519
9520         * lastfiles.C: include <iterator>
9521
9522 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9523
9524         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9525         std::count.
9526
9527         * buffer.C (makeLaTeXFile): ditto.
9528         Also make loop operation more transparent.
9529
9530 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9531
9532         * ToolbarDefaults.C: remove trailing comma closing namespace.
9533
9534         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9535
9536         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9537         as in WorkArea.
9538
9539         * trans.C (Load): comment out unused variable, allowed.
9540
9541 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9542
9543         * minibuffer.[Ch] (append_char): new method to recieve input from the
9544         drop-down completion browser. If a key was pressed, then recieve this
9545         char and append it to the existing string.
9546         (peek_event): modify the positioning data passed to the completion
9547         browser so that it can be placed above the minibuffer rather than below.
9548 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9549
9550         * LyXAction.C (init): alloe error-next for readonly documents.
9551
9552         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9553         count.
9554
9555 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * bufferlist.C (readFile): create the buffer _after_ checking that
9558         the file exists.
9559
9560         * lyxfunc.C (verboseDispatch): fix handling of arguments
9561
9562         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9563
9564         * lyxrc.C: use string::erase() instead of initializing to "".
9565
9566
9567 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * BufferView_pimpl.h:
9570         * BufferView_pimpl.C:
9571         * WorkArea.h:
9572         * WorkArea.C:
9573         * text2.C: tell X when we have made a selection for copying
9574
9575 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * BufferView_pimpl.C (MenuInsertLyXFile):
9578         * lyxfunc.C (menuNew):
9579         (open):
9580         (doImport): add shortcuts to directory buttons
9581
9582         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9583         open a float)
9584
9585         * lyxfunc.C (setStatusMessage):
9586         (getStatusMessage): new methods
9587         (getStatus):use setStatusMessage instead of setErrorMessage
9588         (dispatch): when function is disabled, set error message here
9589         [instead of in getStatus previously]
9590
9591         * BufferView_pimpl.C (workAreaButtonRelease): update
9592         toolbar/menubar here too.
9593
9594 2002-01-13  Allan Rae  <rae@lyx.org>
9595
9596         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9597         Now seems indestructible.  Remaining task is to audit all other
9598         code affected by deleteEmptyParagraphMechanism.  One small quirk
9599         left is that an empty document with an error in the preamble can
9600         be made to report an error but no error box appears.  I don't know
9601         where it goes.
9602         (removeAutoInsets): Improved comments.
9603
9604 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * Thesaurus.h:
9607         * Thesaurus.C: update for Aiksaurus 0.14
9608
9609 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9610
9611         * text2.C (firstParagraph): removed member function, all uses
9612         replaces with ownerParagraph
9613         (redoParagraphs): here
9614         (updateInset): here
9615         (toggleAppendix): here
9616         * BufferView2.C (insertErrors): here
9617         (setCursorFromRow): here
9618
9619 2002-01-13  Allan Rae  <rae@lyx.org>
9620
9621         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9622         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9623         There is still a way to segfault this although you may have to do this
9624         multiple times: Have an InsetERT with an unknown command in it.
9625         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9626         <down-arrow>, <Enter> again, View->DVI, BANG!
9627
9628         * text2.C (setCursor):
9629         (deleteEmptyParagraphMechanism):
9630         * lyxtext.h (setCursor):
9631         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9632         Making use of the return value may help fix other bugs.
9633
9634 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9637
9638         * LyXView.C (updateMenubar): call MenuBar::update here
9639         (updateToolbar): but not here
9640         (showState): do not update toolbar/menubar
9641
9642         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9643         should need to care about that.
9644
9645         * lyxfunc.C (verboseDispatch): simplify a bit
9646         (getStatus): have a version which takes a pseudoaction, and
9647         another which requires a (kb_action,string).
9648
9649         * LyXAction.C (retrieveActionArg): make it work also when action
9650         is not a pseudo-action.
9651         (getActionName): simplify a bit
9652         (helpText):
9653
9654 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9655
9656         * lyxfunc.C (verboseDispatch): new families of methods with
9657         several ways to specify a command and a bool to indicate whether
9658         the command name and shortcut should be displayed in minibuffer
9659         (eventually, we could extend that to a finer bitmask like
9660         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9661         (dispatch): the pristine dispatch command which just, well,
9662         dispatchs! Note it still sets its result to minibuffer; I'm not
9663         sure we want that.
9664
9665         * lyxfunc.h: remove setHintMessage
9666
9667         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9668
9669 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9670
9671         * BufferView_pimpl.C (specialChar): delete new inset if we have
9672         not been able to insert it.
9673
9674         * kbmap.C: revert to using int instead of kb_action, since all we
9675         are dealing with is pseudo-actions.
9676
9677         * LyXAction.C (searchActionArg): change to return int instead of
9678         kb_action, since the result is a pseudoaction.
9679
9680 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9681
9682         * buffer.C (insertErtContents): Fix (partially) the font bug.
9683
9684 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9685
9686         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9687         as the other one is broken on my machine!
9688
9689 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9690
9691         * commandtags.h:
9692         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9693
9694 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9695
9696         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9697         reflect their actual use. Provide compatibility code for older lyxrc
9698         files.
9699
9700         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9701         FL_NORMAL_STYLE.
9702         change names of popup font variables in line with the changes to lyxrc.C
9703
9704 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * buffer.C (asciiParagraph): avoid outputing a word twice after
9707         an inset.
9708
9709         * lyxrc.C (getDescription): document that document_path and
9710         template_path can be empty.
9711
9712 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * LaTeXFeatures.C (getMacros):
9715         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9716
9717         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9718
9719         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9720         getPackages.
9721         (getPackages): rename feature "floats" to "float". Use an array to
9722         iterate over 'simple' features (i.e. just a \usepackage). Add
9723         handling of "amsmath" (renamed from "amsstyle").
9724
9725 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9726
9727         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9728         features list.
9729
9730 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9731
9732         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9733         FuncStaus::FuncStatus & FuncStaus::some_method().
9734
9735 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9736
9737         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9738         of the func_satus stuff. Edited and massaged in various ways by
9739         JMarc.
9740
9741         * lyxfunc.C (getStatus): use FuncStatus
9742
9743 2002-01-08  Juergen Vigna  <jug@sad.it>
9744
9745         * text.C (nextBreakPoint): use function Inset::isChar().
9746
9747         * paragraph.C (TeXOnePar): use function
9748         Inset::forceDefaultParagraphs.
9749
9750         * buffer.C (latexParagraphs): use function
9751         Inset::forceDefaultParagraphs.
9752
9753 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9754
9755         * lyx_gui.C (init): set the style of the menu popups to
9756         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9757
9758 2002-01-07  Juergen Vigna  <jug@sad.it>
9759
9760         * text.C (setHeightOfRow): small fix
9761         (prepareToPrint): don't look at alignment if we don't have the place
9762         for doing it.
9763
9764 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9765
9766         * box.C: New file. Move the Box methods and functions out of box.h,
9767         following Lars' suggestion.
9768
9769 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9770
9771         * box.h: #include "support/LOstream.h", needed for inlined function.
9772
9773         * lyxtextclass.C:
9774         * lyxtextclasslist.C: added some using std declarations.
9775
9776 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * box.h: make signed dimensions to allow insets wider than
9779           the screen (bug #162)
9780
9781         * BufferView_pimpl.C: add some insetHit debug
9782
9783 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * vc-backend.C: add FIXME
9786
9787 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9788
9789         * lyxfunc.C (getStatus): enable code for showing math font status
9790         in toolbar/menu.
9791
9792 2002-01-07  Juergen Vigna  <jug@sad.it>
9793
9794         * text.C (nextBreakPoint): removed debug output not needed anymore.
9795
9796 2002-01-06  Juergen Vigna  <jug@sad.it>
9797
9798         * text.C (nextBreakPoint): fixed up this function we had this bug
9799         since ever but now hopefully we break row better.
9800         (insertChar): we have to check if an inset is the next char as it
9801         could now happen that a large inset is causing a break.
9802
9803 2002-01-05  Juergen Vigna  <jug@sad.it>
9804
9805         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9806         if it doesn't like to be drawed.
9807
9808 2002-01-04  Juergen Vigna  <jug@sad.it>
9809
9810         * BufferView2.C (lockInset): forgot to set a cursor.
9811
9812         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9813
9814 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9815
9816         * FormMathsPanel.C:
9817         * FormMathsPanel.h
9818         * MathsSymbols.C:
9819         * form_maths_panel.C:
9820         * form_maths_panel.h:
9821         * form_maths_panel.fd: implemented sub- and super- buttons in math
9822         panel.
9823
9824         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9825         (or ^ space) to be used as in TeX (req'd by André).
9826
9827         * lyxfunc.C: Allow ^ and _ again to be used both as
9828         super/subscript (mathed) and as themselves (in text).
9829
9830 2002-01-03  Allan Rae  <rae@lyx.org>
9831
9832         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9833         "LyX" or the filename of the current buffer if it has one.  This is a
9834         modified form of John Levon's patch.
9835
9836         * XFormsView.C (setWindowTitle): also set icon title.
9837
9838         * LyXView.h (setWindowTitle): signature changed.
9839         * XFormsView.h (setWindowTitle): ditto.
9840
9841 2002-01-02  Juergen Vigna  <jug@sad.it>
9842
9843         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9844
9845 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * screen.C (topCursorVisible): introduce a temp var for
9848         text->cursor.row(), handle the case where this row is null. (kindo
9849         hachish)
9850
9851         * text2.C (setCursor): add a couple of asserts.
9852
9853         * paragraph.h (inset_iterator): add -> operator
9854
9855         * paragraph.[Ch] (autoDeleteInsets): remove member function
9856
9857         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9858         cursor pos correctly and handle inset deletion by itself.
9859         (insertErrors): move iterator declaration out of for expression
9860
9861         * lyxtextclass.C: add <algorithm>
9862
9863         * Makefile.am: added the new files to sources, removed layout.C
9864
9865         * layout.C: removed file
9866
9867         * layout.h: remove LYX_DUMMY_LAYOUT
9868
9869         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9870         layout.
9871
9872         * lyxlayout.[Ch]:
9873         * lyxtextclass.[Ch]:
9874         * lyxtextclasslist.[Ch]: new files
9875
9876         * include order changes to a lot of files, also changes because of
9877         the six new files.
9878
9879 2001-12-27  Juergen Vigna  <jug@sad.it>
9880
9881         * buffer.C (asciiParagraph): more fixes.
9882
9883         * tabular.C (ascii): make ascii export support export of only the
9884         data separated by a column-delimiter.
9885         (ascii): better support for ascii export.
9886
9887         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9888
9889 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9890
9891         * tabular_funcs.C: use a "using std::getline" instead of the
9892         previous fix from Angus (necessary for cxx + lyxstring)
9893
9894 2001-12-24  Juergen Vigna  <jug@sad.it>
9895
9896         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9897
9898         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9899         problems. First check a minipage also if we have some ert-contents
9900         (not only on par->size(), second set the right depth of the paragraph
9901         on the relink to the root-paragraph-list!
9902
9903         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9904         which then did not anymore update the main paragraphs on undo/redo!
9905
9906 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9909         code. Support all font-changing funcs (even those which are not in
9910         menu currently). Support for reporting font settings in
9911         mathed (disabled until Andre provides a function on mathed's side).
9912
9913         * func_status.h (toggle): small helper function to set toggle
9914         state on a flag.
9915
9916 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9917
9918         * tabular_funcs.C: getline -> std::getline
9919
9920 2001-12-21  Juergen Vigna  <jug@sad.it>
9921
9922         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9923         accessed and could be 0 (I couldn't generate this but it seems
9924         Michael could!).
9925
9926 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9927
9928         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9929         * tabular_funcs.h: here and include iosfwd
9930
9931 2001-12-20  Juergen Vigna  <jug@sad.it>
9932
9933         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9934         inside inset but undo_par was.
9935
9936 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * Thesaurus.C: always include <config.h> in sources.
9939
9940         * Painter.h:
9941         * lyxlookup.h:
9942         * box.h: do not include <config.h> in header files
9943
9944         * text.C (paintLastRow): remove unused variable
9945
9946         * text.C (transformChar):
9947         (insertChar):
9948         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9949
9950         * Painter.C (text):
9951         * font.C (width): rewrite to use uppercase() instead of
9952         islower/toupper.
9953
9954         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9955
9956 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * lyxfind.C: clean up of find failure position change
9959
9960 2001-12-20  Juergen Vigna  <jug@sad.it>
9961
9962         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9963
9964         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9965         (TeXRow): added to LaTeX a single tabular row.
9966         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9967         (Latex): simplified and finally good LT-h/f support.
9968         (various_functions): just small adaptions for LT-h/f support.
9969
9970         * tabular_funcs.[hC]: added and moved here all not classfunctions
9971         of LyXTabular.
9972
9973 2001-12-19  Juergen Vigna  <jug@sad.it>
9974
9975         * tabular.[Ch]: better support for longtabular options (not finished
9976         yet!)
9977
9978 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * text.C (paintLastRow): use the label font instead of the font of
9981         the last character to compute the size of *_BOX. This makes more
9982         sense and avoids a crash with empty paragraphs.
9983         Use Painter::rectangle to draw EMPTY_BOX.
9984
9985 2001-12-19  Juergen Vigna  <jug@sad.it>
9986
9987         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9988         the paragraphs if the replaced paragraph is not the first one!
9989         Tried to delete not used paragraphs but does not work yet so for
9990         now it's inside #ifdef's and by default off!
9991
9992 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * MenuBackend.C: include "lyx_main.h" instead of declaring
9995         lastfiles (actually was declared as LastFiles* instead of a
9996         scoped_ptr).
9997
9998 2001-12-17  Juergen Vigna  <jug@sad.it>
9999
10000         * tabular.C (AppendColumn): applied John's fix
10001
10002 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * BufferView.h:
10005         * BufferView.C:
10006         * BufferView_pimpl.h:
10007         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10008
10009         * Makefile.am:
10010         * box.h: new start of class for above
10011
10012         * lyxfunc.C: ignore space-only minibuffer dispatches.
10013           Show the command name when it doesn't exist
10014
10015         * minibuffer.C: don't add empty lines to the history
10016
10017         * minibuffer.C: add a space on dropdown completion
10018
10019 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * text.C: fix line above/below drawing in insets
10022
10023 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10024
10025         * lyxlength.C (LyXLength): Initialize private variables.
10026
10027 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10028
10029         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10030         when inserting error insets.
10031
10032 2001-12-13  Juergen Vigna  <jug@sad.it>
10033
10034         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10035         actually sometimes the before-paragraph.
10036         (setUndo): don't clear the redostack if we're not actually undoing!
10037
10038 2001-12-06  Juergen Vigna  <jug@sad.it>
10039
10040         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10041         and fixed redoing of main paragraph, so we can use it now ;)
10042
10043         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10044
10045 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10048         Juergen's request
10049
10050 2001-12-13  André Pönitz <poenitz@gmx.net>
10051
10052         * undostack.[Ch]:
10053         * undo_func.C: minor cleanup
10054
10055 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10058         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10059         font in urw-fonts package which is marked as -urw-fontspecific and
10060         does not work (incidentally, changing the encoding in the
10061         fonts.dir of this package to -adobe-fontspecific fixes the
10062         problem).
10063
10064         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10065         is a crash when undoing first paragraph (Juergen, please take a
10066         look). THis does not mean the undo fix is wrong, just that it
10067         uncovers problems.
10068
10069         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10070         the (Paragraph*) version when needed instead of duplicating the
10071         code.
10072
10073         * text.C (workWidth): use Inset::parOwner to find out where the
10074         inset has been inserted. This is a huge performance gain for large
10075         documents with lots of insets. If Inset::parOwner is not set, fall
10076         back on the brute force method
10077
10078         * paragraph_pimpl.C (insertInset):
10079         * paragraph.C (Paragraph):
10080         (cutIntoMinibuffer): set parOwner of insets when
10081         inserting/removing them
10082
10083         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10084
10085 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10086
10087         * commandtags.h:
10088         * LyXAction.C:
10089         * lyx_main.C:
10090         * lyxfunc.C:
10091         * mathed/formulabase.C:
10092         * mathed/math_cursor.[Ch]:
10093         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10094
10095
10096 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10097
10098         * lyxlength.[Ch] (operator!=): new function
10099
10100 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10101
10102         * text.C (workWidth): use Inset::parOwner to find out where the
10103         inset has been inserted. This is a huge performance gain for large
10104         documents with lots of insets. If Inset::parOwner is not set, fall
10105         back on the brute force method
10106
10107         * paragraph_pimpl.C (insertInset):
10108         * paragraph.C (Paragraph):
10109         (cutIntoMinibuffer): set parOwner of insets when
10110         inserting/removing them
10111
10112         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10113
10114 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * tabular-old.C (getTokenValue):
10117         * tabular.C (getTokenValue):
10118         (write_attribute): new versions for LyXLength
10119         (everywhere): adjust the use of widths
10120
10121         * tabular.h: change the type of widths from string to LyXLength
10122
10123 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10124
10125         * paragraph.C: fixed missing line number count when exporting
10126         Environments to LaTeX file
10127
10128         * buffer.C: added informational message for checking line numbers.
10129
10130 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10133         paragraph, do the 'double space' part, but not the 'empty
10134         paragraph' one.
10135
10136         * text.C (workWidth): small optimization
10137         (getLengthMarkerHeight): use minimal size for negative lengths.
10138
10139 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10142
10143         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10144
10145 2001-12-11  André Pönitz <poenitz@gmx.net>
10146
10147         * FontLoader.C:
10148         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10149
10150 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * text2.C: keep selection on a setFont()
10153
10154 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * lyx_cb.C: another bv->text misuse, from insert label
10157
10158 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * kbsequence.h:
10161         * kbsequence.C: re-instate nmodifier mask
10162
10163 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10164
10165         * lyx_main.h: make lyxGUI private.
10166
10167 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * lyxfind.C: place the cursor correctly on failed search
10170
10171 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * text.C (getLengthMarkerHeight): for small heights, the arrows
10174         are not always on top/bottom of the text
10175         (drawLengthMarker): smaller arrows; take the left margin in
10176         account; draw also vfills.
10177         (paintFirstRow):
10178         (paintLastRow): remove special code for vfill and standard spaces,
10179         since everything is handled in drawLengthMarker now.
10180
10181 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10182
10183         * buffer.C (insertErtContents): try to handle font and language
10184         interaction a bit better.g
10185
10186         * ColorHandler.C (updateColor): change the hash to cover the whole
10187         LColor enum, ws cleanup
10188         (getGCLinepars): ditto
10189         (getGCLinepars): only lookup in the linecache once.
10190
10191 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10192
10193         * iterators.C (operator++): Make the iterator more robust
10194
10195         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10196         (John's patch)
10197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10198
10199 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * lyxtext.h:
10202         * text.C: better added space drawing
10203
10204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * LyXView.C:
10207         * BufferView2.C: fix layout combo update on inset unlock
10208
10209 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * Makefile.am: don't compile unused files
10212
10213 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyxfunc.C:
10216         * commandtags.h:
10217         * LyXAction.C: remove old LFUN_LAYOUTNO
10218
10219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * paragraph_pimpl.h:
10222         * paragraph_pimpl.C: isTextAt() doesn't need font param
10223
10224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * lyxlex.h:
10227         * lyxlex.C: little cleanup
10228
10229 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * BufferView_pimpl.C: fix insertAscii for insets
10232
10233 2001-12-05  Juergen Vigna  <jug@sad.it>
10234
10235         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10236         set the right font on the "multi" paragraph paste!
10237
10238 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10239
10240         * trans_decl.h:
10241         * trans_mgr.[Ch]:
10242         * trans.[Ch]:
10243         * lyxgluelength.C:
10244         * lyxlength.C: remove out-commented code.
10245
10246         * BufferView_pimpl:
10247         * CutAndPaste.C:
10248         * DepTable.C:
10249         * buffer.C:
10250         * chset.C:
10251         * lastfiles.C:
10252         * lyxlex.C:
10253         * lyxlex_pimpl.C:
10254         * lyxserver.C:
10255         * screen.C:
10256         * tabular-old.C:
10257         * tabular.C:
10258         * text.C:
10259         * trans_mgr.C:
10260         * vc-backend.C: change "while(" to "while ("
10261
10262         * lyxlength.[Ch]: add zero function to check if length is zero or
10263         not
10264         * lyxgluelength.C: use it
10265
10266 2001-12-05  Allan Rae  <rae@lyx.org>
10267
10268         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10269         Works for 2.95.3, from what I understand of Garst's reports this should
10270         work for other g++ versions.  We're screwed if the abs(int) definition
10271         changed between bugfix releases of gcc.
10272
10273 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * text.C: fix chapter label offset !
10276
10277 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * lyxtext.h:
10280         * text.C: fix hfill at end of line, clean up
10281
10282 2001-12-04  Juergen Vigna  <jug@sad.it>
10283
10284         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10285         that we force an update of the inset and it's owners if neccessary.
10286
10287 2001-12-03  Juergen Vigna  <jug@sad.it>
10288
10289         * text.C (rowLast): simplified code
10290
10291 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * lyxfunc.C: fix show options on timeout
10294
10295 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * screen.C (topCursorVisible): scroll half a page when the cursor
10298         reached top of bottom of screen
10299
10300 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * minibuffer.C: deactivate on loss of focus
10303
10304 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * vspace.[Ch] (operator!=): add operator.
10307
10308 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * BufferView_pimpl.C: refuse to open an inset when
10311         there's a selection.
10312
10313 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * BufferView_pimpl.C: allow to click on RHS of full row insets
10316
10317 2001-11-30  Juergen Vigna  <jug@sad.it>
10318
10319         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10320         insets for undo reasons.
10321
10322 2001-11-28  André Pönitz <poenitz@gmx.net>
10323
10324         * vspace.[Ch]: cosmetical changes
10325
10326 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * LyXAction.h:
10329         * LyXAction.C:
10330         * lyxfunc.h:
10331         * lyxfunc.C:
10332         * kbmap.h:
10333         * kbmap.C:
10334         * lyxrc.C:
10335         * kbsequence.h:
10336         * kbsequence.C: part re-write of old kb code
10337
10338         * Painter.C:
10339         * WorkArea.C: remove Lgb_bug_find_hack
10340
10341 2001-11-30  José Matos <jamatos@fep.up.pt>
10342
10343         * buffer.C (makeDocBookFile): add a comment to point a hack.
10344         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10345         Fixed a double write of labels.
10346
10347 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10348
10349         * LaTeX.C:
10350         * LaTeX.h Fixed bug in LaTeX class where it would not
10351         re-run latex if no depfiles were changed, but the .dvi was removed.
10352
10353 2001-11-28  André Pönitz <poenitz@gmx.net>
10354
10355         * all the files from the change on 2001/11/26:
10356         use lyx::layout_type instead of LyXTextClass::size_type
10357         use lyx::textclass_type instead of LyXTextClassList::size_type
10358
10359 2001-11-29  Juergen Vigna  <jug@sad.it>
10360
10361         * text.C: added support for paragraph::isFreeSpacing()
10362
10363         * buffer.C: same as above
10364
10365         * paragraph.h: inserted isFreeSpacing() function to enable
10366         FreeSpacing inside InsetERT.
10367
10368         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10369         of the paragraph's in the cut/copy buffer to 0!
10370
10371         * text2.C (removeRow): remove the assert as it can!
10372
10373         * lyxtext.h: added helper function firstRow returning firstrow and
10374         made firstrow private again.
10375
10376         * BufferView2.C (lockInset): don't relock if we're already locked!
10377
10378         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10379         the only paragraph.
10380         (removeRow): added Assert::(firstrow)
10381
10382         * debug.C: forgot to add INSETTEXT here.
10383
10384 2001-11-28  Juergen Vigna  <jug@sad.it>
10385
10386         * sp_spell.C (initialize): changed error text to more general
10387         spellchecker command use (not only ispell!)
10388
10389         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10390
10391         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10392
10393 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * vspace.C: initialise lyxgluelength on failure
10396
10397 2001-11-28  Allan Rae  <rae@lyx.org>
10398
10399         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10400         declaration & definition that looks like a function declaration.
10401
10402 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * BufferView2.C (copy):
10405         (copyEnvironment): do not clear the selection when doing a copy.
10406
10407         * text.C (paintFirstRow): compilation fix
10408
10409 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10410
10411         * tabular.C (Latex): correct line count when writing latex.
10412
10413 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * paragraph_pimpl.h:
10416         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10417           bug a bit
10418
10419 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * text.C:
10422         * LColor.h:
10423         * LColor.C: change vfillline->added_space
10424
10425         * text.C: add markers and text for added space
10426
10427         * vspace.C: fix comment
10428
10429 2001-11-28  André Pönitz <poenitz@gmx.net>
10430
10431         * paragraph.C: whitespace changes
10432         * all the other files from the change on 2001/11/26:
10433         change *::pos_type into lyx::pos_type
10434
10435 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10438         language of the document when inserting error insets.
10439
10440 2001-11-26  André Pönitz <poenitz@gmx.net>
10441
10442         * BufferView_pimpl.[Ch]:
10443         *       CutAndPaste.C:
10444         * buffer.[Ch]:
10445         * lyxcursor.[Ch]:
10446         * lyxfind.C:
10447         * lyxfunc.C:
10448         * lyxrow.[Ch]:
10449         * paragraph.[Ch]:
10450         * paragraph_pimpl.[Ch]:
10451         * sp_spell.C:
10452         * text.C:
10453         * text2.C: reduce header dependencies, introduce type for positions
10454
10455 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * <various>: change to use Alert.h
10458
10459 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10460
10461         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10462         when encountering an unknown token.
10463         (readLyXformat2): Show an error message if there were unknown tokens.
10464
10465 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView2.C:
10468         * BufferView_pimpl.C:
10469         * buffer.C:
10470         * paragraph.h:
10471         * text.C:
10472         * text2.C: use par->isInset()
10473
10474 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * paragraph_pimpl.h:
10477         * paragraph_pimpl.C: cleanup
10478
10479 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * text2.C (removeRow):
10482         * text.C (setHeightOfRow): remove useless (and costly) call to
10483         getRow.
10484
10485 2001-11-20  Allan Rae  <rae@lyx.org>
10486
10487         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10488         Now need Inset*::checkInsertChar() to return true for appropriate
10489         cases so that the characters in the minibuffer will actually be
10490         inserted.
10491
10492 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10493
10494         * text.C: change the order of the includes.
10495         (workWidth): initialize it at once.
10496         (workWidth): make maxw unsigned
10497         (setHeightOfRow): remove unused variable (inset)
10498         (selectSelectedWord): remove unused variable (inset)
10499         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10500
10501 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10502
10503         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10504         server is not running.
10505         (openConnection):
10506         (closeConnection): add debug info when server is disabled.
10507
10508         * ColorHandler.C (getGCForeground): send debug message to GUI
10509         channel.
10510
10511         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10512
10513         * kbmap.C (bind): modify because return conventions of
10514         kb_sequence::parse have changed.
10515
10516         * kbsequence.C (parse): only ignore spaces and not any stupid
10517         control character. This avoids tests like s[i] <= ' ', which are
10518         guaranteed to fail with 8bit characters and signed chars.
10519         Change return code to string::npos when there have been no error
10520         (0 was a bad idea when error is at first character)
10521
10522 2001-11-14  José Matos  <jamatos@fep.up.pt>
10523
10524         * buffer.h:
10525         * buffer.C (simpleDocBookOnePar): removed unused argument.
10526
10527 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10528
10529         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10530         insets which are part of a word. Paragraph::isLetter takes care of
10531         that now. Use Paragraph::isInset to identify insets.
10532         (selectSelectedWord): do not test for hyphenation break.
10533
10534         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10535         that protected spaces are considered as spaces.
10536
10537         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10538         Inset::isLetter.
10539
10540 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * lyxserver.h:
10543         * lyxserver.C: fix it. and small cleanup.
10544
10545 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * BufferView_pimpl.C: use inline helpers
10548
10549         * LaTeXFeatures.h:
10550         * LaTeXFeatures.C: fix typos
10551
10552         * Spacing.h:
10553         * Spacing.C: move spacing_string into class
10554
10555         * ToolbarDefaults.C: move stuff into namespace anon
10556
10557         * layout.h: update enum
10558
10559         * lyxfunc.C: use better debug
10560
10561         * minibuffer.h: fix typo
10562
10563         * debug.h:
10564         * debug.C:
10565         * WorkArea.C: add and use Debug::WORKAREA
10566
10567         * lyxtext.h:
10568         * text.C:
10569         * text2.C: code re-organisation, inline helpers
10570
10571 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10572
10573         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10574         std::vector.empty().
10575
10576 2001-11-09  Allan Rae  <rae@lyx.org>
10577
10578         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10579         '\n's after tables.  Tabular and ERT inset work now makes this no
10580         longer necessary.
10581
10582 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * minibuffer.h:
10585         * minibuffer.C: fix crash, improve drop-down completion
10586
10587 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * lyxserver.h:
10590         * lyxserver.C: invalidate fd's when doing endPipe()
10591
10592 2001-11-08  José Matos  <jamatos@fep.up.pt>
10593
10594         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10595         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10596
10597         * paragraph.h:
10598         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10599
10600 2001-11-07  José Matos  <jamatos@fep.up.pt>
10601
10602         * buffer.h:
10603         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10604         const qualifier.
10605
10606         * buffer.C (sgmlOpenTag):
10607         * buffer.C (sgmlCloseTag): removed debug info.
10608
10609         * buffer.h (sgmlOpenTag):
10610         * buffer.h (sgmlCloseTag): made public.
10611
10612 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10613
10614         * buffer.C (saveParamsAsDefaults):
10615         * lyx_cb.C (MenuLayoutSave): remove
10616
10617         * LyXAction.C (init):
10618         * commandtags.h:
10619         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10620
10621 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * buffer.C (setPaperStuff): removed from here...
10624
10625         * bufferparams.C (setPaperStuff): ... and moved there.
10626
10627 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * minibuffer.h:
10630         * minibuffer.C:
10631         * XFormsView.C: add support for drop-down completion
10632
10633 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10636         commands.
10637
10638 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10641         disabled.
10642
10643 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * lyx_main.C: change ref to known bugs
10646
10647 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10648
10649         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10650         to work around older babel problems.
10651
10652 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10653
10654         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10655
10656 2001-10-24  Juergen Vigna  <jug@sad.it>
10657
10658         * tabular-old.C (ReadOld): below variable changes reflected.
10659
10660         * tabular.[Ch]: added ltType struct for longtable header/footer
10661         defines and changed all instances where they are used. Added
10662         future support for double top/bottom rows.
10663
10664 2001-10-24  José Matos  <jamatos@fep.up.pt>
10665
10666         * buffer.h (docbookHandleCaption):
10667         * buffer.C (docbookHandleCaption): removed unused function.
10668         (makeDocBookFile): moved docbook supported version to v4.1.
10669
10670 2001-10-24  José Matos  <jamatos@fep.up.pt>
10671
10672         * tabular.h:
10673         * tabular.C (docbookRow): new function to export docbook code of a row.
10674         (DocBook): now honors the longtable flags.
10675
10676 2001-10-23  José Matos  <jamatos@fep.up.pt>
10677
10678         * LaTeXFeatures.h:
10679         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10680         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10681
10682         * buffer.C (makeLinuxDocFile):
10683         (makeDocBookFile): reworked the preamble, more clean, and with
10684         support for lyx defined entities. Changed the document declaration
10685         to be more XML friendly.
10686
10687         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10688         if we need to output XML that should be done with a filter.
10689
10690 2001-10-22  Juergen Vigna  <jug@sad.it>
10691
10692         * sp_pspell.h (class PSpell): add alive function needed in the
10693         controller to see if the spellchecker could be started.
10694
10695 2001-10-22  Juergen Vigna  <jug@sad.it>
10696
10697         * buffer.C (insertStringAsLines): modify the font for inserting
10698         chars in certain conditions by calling checkInsertChar(font).
10699
10700 2001-10-19  Juergen Vigna  <jug@sad.it>
10701
10702         * text.C (workWidth): use getRow instead of wrong algorithm.
10703         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10704
10705 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * lyxserver.h:
10708         * lyxserver.C:
10709         * lyx_main.h:
10710         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10711
10712 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * text.C (workWidth): do not search for the exact row when
10715         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10716         optimization for big documents.
10717
10718 2001-10-18  Juergen Vigna  <jug@sad.it>
10719
10720         * text.C (workWidth): new function with added Inset * parameter.
10721
10722 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10723
10724         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10725
10726         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10727         change return type of getColumnNearX.
10728
10729
10730         * text.C (changeRegionCase): use uppercase/lowercase instead of
10731         toupper/tolower.
10732         (leftMargin):
10733         (rightMargin): simplify code by factoring out the uses of
10734         textclasslist.
10735         (labelFill):
10736         (numberOfHfills):
10737         (setHeightOfRow):
10738         (appendParagraph): use Paragraph::size_type
10739
10740 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * vspace.C (asLatexString): add a missing break
10743
10744 2001-10-15  Herbert Voss  <voss@perce.de>
10745
10746         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10747
10748 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10749
10750         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10751         is not available.
10752
10753 2001-10-10  André Pönitz <poenitz@gmx.net>
10754
10755         * lyxfunc.C: removed greek_kb_flag.
10756
10757 2001-10-10  Herbert Voss  <voss@perce.de>
10758
10759         * lyx_main.C: delete global string help_lyxdir.
10760
10761 2001-10-09  Herbert Voss  <voss@perce.de>
10762
10763         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10764
10765         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10766
10767         * lyx_main.C: added global string help_lyxdir.
10768
10769         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10770
10771 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10772
10773         * lyxrc.C (set_font_norm_type): support iso8859-4
10774
10775 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10776
10777         * LaTeX.C (deplog): add another regex for MikTeX
10778
10779 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10780
10781         * lyxrc.C (set_font_norm_type): support iso8859-3
10782
10783 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10786
10787         * LaTeXFeatures.C: remove special case of french and index
10788
10789         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10790         before \begin{document}). This solves several incompatibilities.
10791
10792 2001-10-03  Garst Reese  <reese@isn.net>
10793
10794         * lyx_cb.C: change CheckTex error msg.
10795
10796 2001-10-03  José Matos  <jamatos@fep.up.pt>
10797
10798         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10799
10800 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10801
10802         * .cvsignore: update
10803
10804         * lyx_main.C (commandLineVersionInfo): use new style version info.
10805
10806         * buffer.C (writeFile):
10807         (makeLaTeXFile):
10808         (makeLinuxDocFile):
10809         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10810
10811         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10812
10813         * version.h: update to use stuff in version.C
10814
10815         * version.C.in: new file. Contains version information determined
10816         at compile time. This is a merging of version.h and
10817         version_info.h.in.
10818
10819 2001-10-03  Juergen Vigna  <jug@sad.it>
10820
10821         * BufferView_pimpl.C (update): don't change "dirty" status in
10822         updateInset call.
10823
10824 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10825
10826         * WorkArea.C (c-tor): re-position version string slightly.
10827
10828 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10831         revert to previous code.
10832
10833         WorkArea.[Ch]: (show, destroySplash): methods removed.
10834
10835         WorkArea.C: rework code so that it's an amalgam of the codes before and
10836         after the splash screen was moved to WorkArea.
10837
10838 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10839
10840         * lyxrc.C (read):
10841         * vspace.C (inPixels):
10842         (lyx_advance):
10843         * kbmap.C (bind):
10844         * buffer.C (insertStringAsLines):
10845         (asciiParagraph): fix types to be large enough
10846
10847         * lyxlex_pimpl.h: change member status from short to int
10848
10849         * layout.h: fix type of endlabeltype
10850
10851         * kbmap.C (bind):
10852         * kbsequence.C (parse): change return type to string::size_type
10853
10854         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10855         variable
10856
10857         * Bullet.C (bulletSize):
10858         (bulletEntry): do not use short ints as parameters
10859
10860         * BufferView2.C (insertLyXFile): change a char to an int.
10861
10862         * WorkArea.C (WorkArea): remove unneeded floats in computation
10863
10864 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10865
10866         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10867
10868         * paragraph.C (asString): Do not ignore newline/hfill chars when
10869         copying to the clipboard.
10870
10871 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10872
10873         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10874         after a multi-line inset.
10875
10876 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10877
10878         * paragraph.C (validate): Set NeedLyXFootnoteCode
10879
10880 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10881
10882         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10883         and decrease-error to decrease.
10884
10885 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10886
10887         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10888         it more readable (should be equivalent)
10889
10890 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10891
10892         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10893
10894 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10897         of a cursor (row, etc.) after a character has been deleted
10898         (deleteEmptyParagraphMechanism): call the method above on _all_
10899         cursors held by the LyXText when a double space has been
10900         detected/deleted.
10901
10902 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10903
10904         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10905         pixmap.
10906         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10907
10908         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10909         background. Use greyOut() and the new show() methods to toggle between
10910         the foreground and background. Add code to remove the splash after
10911         its initial showing.
10912
10913         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10914         (create_forms): no longer call Dialogs::showSplash.
10915
10916 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10917
10918         * .cvsignore: add version_info.h
10919
10920 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * version_info.h.in: new file
10923
10924         * Makefile.am: add version_info.h.in
10925
10926         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10927         version_info.h instead of VERSION_INFO
10928
10929 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10932         The ERT inset now returns string().
10933
10934 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10935
10936         * lyxtext.h, text.C (selectNextWord): renamed as
10937         selectNextWordToSpellcheck.
10938
10939         * text.C (selectNextWordToSpellcheck): Modified to not select
10940         words inside an ERT inset.
10941
10942 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10943
10944         * lyx_cb.C (MenuLayoutSave): change a bit the question
10945
10946         * sp_base.h: include <sys/types.h>
10947
10948 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10949
10950         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10951
10952 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10953
10954         * several files: fix typos in user-visible strings
10955
10956 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text2.C (pasteSelection): do not set the selection, since it
10959         will be cleared later. Actually, the intent was to fix the way the
10960         selection was set, but I figured rmoving the code was just as good.
10961
10962 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * FontLoader.C (available): Check if font is available without
10965         loading the font.
10966
10967 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10968
10969         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10970
10971 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10972
10973         * lyxrc.[Ch]: added display_graphics variable and associated code.
10974
10975 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * bufferparams.C (hasClassDefaults): new method. Returns true if
10978         the buffer parameters correspond to known class defaults
10979
10980 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         * XFormsView.C (show): set minimum size to the main window.
10983
10984 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * text2.C (copySelection):
10987         (cutSelection):
10988         * lyxfind.C (LyXReplace):
10989         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10990         LyXText::selectionAsString.
10991
10992         * paragraph.C (asString): add "label" argument to the second form
10993
10994         * text2.C (selectionAsString): add "label" argument and pass it to
10995         Paragraph::asString.
10996
10997 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10998
10999         * lyx_main.C (commandLineHelp): remove version information
11000
11001 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11002
11003         * lyx_main.C: add -version commandline option
11004
11005 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11006
11007         * paragraph.h: make the optional constructor arg required instead.
11008         some modifications to other files because of this.
11009
11010         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11011
11012         * lyxserver.C (C_LyXComm_callback): make it static
11013
11014         * lyx_main.C (error_handler): make it static
11015
11016         * lyx_gui.C (LyX_XErrHandler): make it static
11017
11018         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11019
11020         * WorkArea.C: make the extern "C" methods static.
11021
11022         * Makefile.am (lyx_LDADD): simplify
11023
11024 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11025
11026         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11027         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11028
11029         * LyXAction.C (init):
11030         * lyxfunc.C (dispatch): associated code removal.
11031
11032 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * lyxfont.h (isSymbolFont): shut off warning
11035
11036         * text.C (setHeightOfRow):
11037         (getVisibleRow): fix crash with empty paragraphs which have a
11038         bottom line
11039
11040 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11041
11042         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11043         code.
11044
11045 2001-09-04  José Matos  <jamatos@fep.up.pt>
11046         * buffer.C
11047         * buffer.h
11048         * tabular.C (docbook): rename docBook method to docbook.
11049
11050 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11051
11052         * Makefile.am: add dependencies to main.o.
11053
11054 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11055
11056         * FontLoader.C (available): Return false if !lyxrc.use_gui
11057
11058 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11059
11060         * FontInfo.C (query):
11061         * converter.C (view):
11062         * importer.C (Import):
11063         * exporter.C (Export): Can not -> cannot.
11064
11065 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * BufferView_pimpl.C: allow to create index inset even if
11068           string is empty
11069
11070 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11071
11072         * buffer.C (getLists): replace boost::tie code with an explicit pair
11073         as boost::tie can break some compilers.
11074
11075         * iterators.h: Added a std:: declaration to the return type of
11076         ParIterator::size.
11077
11078 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11081           case.
11082
11083 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * iterators.[Ch]: New files. Provide paragraph iterators.
11086
11087         * buffer.C (changeLanguage): Use paragraph iterators.
11088         (isMultiLingual): ditto
11089
11090         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11091
11092 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11093
11094         * FontLoader.C: Support for cmr font.
11095
11096 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11097
11098         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11099         (available): New method.
11100
11101         * FontInfo.C (getFontname): Use scalable fonts even when
11102         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11103         found.
11104
11105 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11106
11107         * converter.C (Formats::view): reverted! Incorrect fix.
11108
11109 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * converter.C (Formats::view): only output the -paper option
11112         if the dvi viewer is xdvi, thereby fixing bug #233429.
11113
11114 2001-08-23  Herbert Voss  <voss@perce>
11115
11116         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11117
11118 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * Spacing.h (Spacing): Set space to Default on in the default
11121         constructor.
11122
11123 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11124
11125         * vc-backend.h (RCS::versionString): add RCS to version
11126         (CVS::versionString): add CVS to version
11127
11128         * vc-backend.C (scanMaster): do not add CVS to version.
11129         (scanMaster): do not add RCS to version
11130
11131         * lyxvc.C (versionString): new method
11132
11133         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11134
11135 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * Spacing.C (set): initialize fval
11138
11139 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11140
11141         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11142         " or \.
11143
11144 2001-08-16  Juergen Vigna  <jug@sad.it>
11145
11146         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11147
11148 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * BufferView_pimpl.C:
11151         * figureForm.C:
11152         * lyxtext.h:
11153         * text2.C: setParagraph takes linespacing now
11154
11155 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * LyxAction.C: add internal LFUN_CITATION_INSERT
11158
11159         * LyXView.C: actually apply fix
11160
11161         * bufferlist.C: fix open non-existent file
11162
11163         * lyxfind.C: fix indentation
11164
11165         * lyxfunc.C: remove unneeded assert, fix typo
11166
11167 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11168
11169         * MenuBackend.C: use "Floatname List"
11170
11171 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11174         when converting LaTeX layout to insetERT.
11175         Generate a non-collapsed float when reading old float
11176
11177 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11180         ERT insets.
11181
11182 2001-08-13  Juergen Vigna  <jug@sad.it>
11183
11184         * text.C (fill): return 0 instead of 20 as this seems to be the more
11185         correct value.
11186
11187 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11188
11189         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11190         lyxrc.font_norm.
11191
11192 2001-08-13  Juergen Vigna  <jug@sad.it>
11193
11194         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11195         casesensitive off.
11196         (SearchBackward): comment out the unlocking of the inset_owner this
11197         should not be needed!
11198
11199 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11200
11201         * Many files: Remove inherit_language, and add latex_language
11202
11203         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11204         collapsible insets.
11205
11206 2001-08-10  Juergen Vigna  <jug@sad.it>
11207
11208         * text.C (prepareToPrint): fixed hfill-width in draw!
11209
11210         * BufferView2.C (selectLastWord): save the selection cursor as this
11211         now is cleared in the function LyXText::clearSelection!
11212
11213 2001-08-08  Juergen Vigna  <jug@sad.it>
11214
11215         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11216         BACKSPACE type functions.
11217
11218         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11219         is only cutted from the document but not put in the cut-buffer, where
11220         still the old stuff should be.
11221
11222         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11223
11224         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11225
11226         * tabular.C (SetWidthOfCell): fixed special case where the width
11227         was not updated!
11228         (LeftLine): handle '|' in align_special.
11229         (RightLine): ditto
11230         (LeftAlreadyDrawed): ditto
11231         (SetWidthOfCell): ditto
11232
11233 2001-08-07  Juergen Vigna  <jug@sad.it>
11234
11235         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11236
11237 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11240         * lyxlex.[hC]: ditto
11241
11242 2001-08-06  Juergen Vigna  <jug@sad.it>
11243
11244         * text.C (getVisibleRow): fix up row clearing a bit.
11245
11246 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * minibuffer.C: make sure the X server sees the changes in the input.
11249
11250 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11251
11252         * paragraph.C (getFont): split into...
11253         (getLabelFont): this
11254         (getLayoutFont): and this
11255         * paragraph_pimpl.C (realizeFont): calling this
11256
11257         * text2.C (getFont): split into...
11258         (getLayoutFont): this
11259         (getLabelFont): and this
11260         (realizeFont): all three calling this
11261
11262         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11263         files where used.
11264
11265 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11266
11267         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11268
11269 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11270
11271         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11272         layouts from the Quote inset insertion.
11273
11274 2001-08-03  Juergen Vigna  <jug@sad.it>
11275
11276         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11277
11278         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11279         only if status not is already CHANGED_IN_DRAW (second level).
11280
11281         * text.C (draw): don't set the need_break_row when inside an
11282         InsetText LyXText.
11283
11284 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * buffer.C (parseSingleLyXformat2Token): handle more latex
11287         conversion cases.
11288
11289         * bufferview_funcs.[hC]: change function names to
11290         begin with small char, adjust other files.
11291
11292 2001-08-02  André Pönitz <poenitz@gmx.net>
11293
11294         * lyxfunc.C:
11295         BufferView_pimpl.C: remove broken special code for math-greek
11296
11297 2001-08-02  Juergen Vigna  <jug@sad.it>
11298
11299         * BufferView_pimpl.C (update): redone this function so that we
11300         update the text again if there was a CHANGE_IN_DRAW.
11301
11302         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11303         (drawFromTo): added a new internal bool which is used by draw() and
11304         redraw() function.
11305         (general): some cursor drawing problems fixed.
11306
11307 2001-08-01  Juergen Vigna  <jug@sad.it>
11308
11309         * lyxfind.C (LyXFind): fixed
11310         (SearchForward): ditto
11311         (SearchBackward): ditto
11312
11313         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11314         spurius drawing of the cursor in the main area.
11315
11316         * text2.C (status): small fix which could lead to a segfault!
11317         (clearSelection): remove unneeded BufferView param.
11318
11319 2001-08-01  André Pönitz <poenitz@gmx.net>
11320
11321         * lyxfunc.C: small change due to changed mathed interface
11322
11323 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11324
11325         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11326
11327 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * lyxfunc.c: fail gracefully if file doesn't exist
11330
11331         * LyXSendto.C:
11332         * buffer.C:
11333         * lyxfunc.C:
11334         * BufferView_pimpl.C: IsDirWriteable() proto changed
11335
11336         * LyXView.C: fix updateWindowTitle() to store the last title
11337
11338 2001-07-31  Juergen Vigna  <jug@sad.it>
11339
11340         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11341         the font (wrong since using of Paragraph::highestFontInRange).
11342
11343         * paragraph.C (highestFontInRange): added a default_size parameter.
11344
11345         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11346         (setHeightOfRow): reformat
11347
11348 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * converter.[hC] + affected files: move to (inital-char)lowercase
11351         function names.
11352
11353         * ParagraphParameters.C (ParagraphParameters): remove commented code
11354
11355         * PainterBase.[Ch]: remove commented code
11356
11357         * LaTeXFeatures.h: add "bool floats" for float.sty
11358
11359         * LaTeXFeatures.C (LaTeXFeatures): init floats
11360         (require): handle float
11361         (getPackages): do it with floats
11362
11363 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11364
11365         * BufferView_pimpl.C (Dispatch): improve handling of
11366         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11367
11368         * commandtags.h: #include lyxfont.h here temporarily to avoid
11369         keybinding bug.
11370
11371         * bufferlist.h: include LString.h here.
11372
11373 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11374
11375         * text2.C (getStringToIndex): new method.
11376
11377 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11378
11379         * *: Reduced header file dependencies all over.
11380
11381 2001-07-30  Baruch Even  <baruch@lyx.org>
11382
11383         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11384
11385 2001-07-29  Baruch Even  <baruch@lyx.org>
11386
11387         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11388
11389 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * ParameterStruct.h (endif): add a default constructor to make
11392         sure that all variables is initialized.
11393
11394         * ParagraphParameters.C (ParagraphParameters): adjust
11395
11396 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11399         index; also, check that there is something to index, and that it
11400         does not span over several paragraphs.
11401         (doubleClick): use WHOLE_WORD_STRICT for double click.
11402
11403         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11404
11405         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11406         scheme.
11407
11408 2001-07-26  Baruch Even  <baruch@lyx.org>
11409
11410         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11411         an InsetFig figure, backwards compatible reading of old figure code.
11412
11413 2001-07-27  Juergen Vigna  <jug@sad.it>
11414
11415         * text2.C: font.realize function adaption.
11416
11417         * text.C (draw): add a warnings lyxerr text if needed.
11418
11419         * layout.C: font.realize function adaption.
11420
11421         * language.C: add inherit_language and implement it's handlings
11422
11423         * bufferview_funcs.C (StyleReset): remove language parameter from
11424         font creation (should be language_inherit now).
11425
11426         * bufferparams.C (writeFile): handle ignore_language.
11427
11428         * paragraph.C (getFontSettings): the language has to be resolved
11429         otherwise we have problems in LyXFont!
11430
11431         * lyxfont.C (lyxWriteChanges): added document_language parameter
11432         (update): removed unneeded language parameter
11433
11434         * paragraph.C (validate): fixed wrong output of color-package when
11435         using interface colors for certain fonts in certain environments,
11436         which should not seen as that on the final output.
11437
11438 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * BufferView_pimpl.C:
11441         * Thesaurus.h:
11442         * Thesaurus.C:
11443         * Makefile.am:
11444         * commandtags.h:
11445         * LyXAction.C: add thesaurus support
11446
11447         * lyxfind.h:
11448         * lyxfind.C: add "once" parameter, for thesaurus, to not
11449           move to the next match
11450
11451 2001-07-26  Juergen Vigna  <jug@sad.it>
11452
11453         * lyxfont.C (realize): honor ignore_language too!
11454         (resolved): ditto.
11455
11456         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11457
11458         * text.C (draw): one place more for ignore_language to not draw
11459         itself!
11460
11461 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11462
11463         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11464
11465 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11468         the minipage conversion problem.
11469
11470 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11473         insert an inset.
11474
11475 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * BufferView.h: don't forward declare WorkArea
11478
11479         * BufferView.C: don't include WorkArea.h
11480
11481 2001-07-25  André Pönitz <poenitz@gmx.net>
11482
11483         * commandtags.h:
11484         * LyXAction.C:
11485         * lyxfunc.C:  new LFUN 'math-space'
11486
11487         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11488
11489 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * text2.C (toggleInset): call open/close
11492
11493 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * lyxfunc.C (dispatch): add debug for the disabled case
11496
11497         * font.C (buttonText): make similar to rectText
11498
11499         * buffer.C (readInset): comment out parsing of insetlist and
11500         insttheorem
11501
11502         * PainterBase.C (rectText): small correction
11503
11504         * BufferView_pimpl.C: comment out insettheorem and insetlist
11505         * LyXAction.C: ditto
11506         * commandtags.h: ditto
11507
11508 2001-07-24  Juergen Vigna  <jug@sad.it>
11509
11510         * text.C (draw): honor the ignore_language.
11511
11512         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11513
11514 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11515
11516         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11517         char inset.
11518
11519 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11520
11521         * lyxtext.h: remove unused (and unimplemented) methods
11522
11523 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11524
11525         * text.C (getVisibleRow): honor background color
11526
11527         * PainterBase.h:
11528         * Painter.h: remove default color argument for fillRectangle
11529
11530         * text.C (backgroundColor): new method
11531
11532 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * text.C (getVisibleRow): adjust
11535
11536         * font.[Ch] (rectText): new method, metrics
11537         (buttonText): new method, metrics
11538
11539         * PainterBase.[hC]: make rectText and buttonText always draw and take
11540         fewer paramteres.
11541
11542 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11543
11544         * ToolbarDefaults.C (read):
11545         * MenuBackend.C (read): allow escaping in all strings
11546
11547         * BufferView_pimpl.C (insertAndEditInset): new method.
11548         (Dispatch): use insertAndEditInset whenever appropriate.
11549
11550         * BufferView_pimpl.C (insertNote): removed
11551
11552         * BufferView_pimpl.C (smartQuote): new method, moved from
11553         BufferView; if an insetquote cannot be inserted, insert a '"'
11554         character instead.
11555
11556         * BufferView2.C: remove insertCorrectQuote();
11557
11558         * lyxfunc.C (getStatus): Add support for all remaingin
11559         inset-insert lfuns.
11560
11561         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11562
11563         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11564         command (necessary to pass " as parameter of self-insert.
11565
11566         * text.C (selectWordWhenUnderCursor):
11567         (selectWord): add word_location parameter
11568         (selectWordWhenUnderCursor): same + remove special code for word
11569         boundary.
11570         (selectNextWord): use kind() to guess type of insetspecialchar,
11571         not latex().
11572
11573         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11574         (insertErtContents): create ert insets as collapsed.
11575         (readInset): better compatibility code for Info inset.
11576
11577 2001-07-20  Juergen Vigna  <jug@sad.it>
11578
11579         * lyxfunc.C (dispatch): use always LyXFind now!
11580
11581         * text2.C (init): add a reinit flag so that the LyXText can be
11582         reinited instead of deleted and reallocated (used in InsetText).
11583
11584         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11585
11586         * text.C: ditto
11587
11588         * text2.C: ditto
11589
11590 2001-07-18  Juergen Vigna  <jug@sad.it>
11591
11592         * text.C (selectNextWord): handle insets inside inset by calling
11593         always the bv->text functions so that we can go up the_locking_inset!
11594
11595         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11596         in strange locations when inside an inset!
11597
11598         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11599         handling to include insets.
11600
11601         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11602
11603 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * LyXAction.C (init):
11606         * commandtags.h:
11607         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11608         LIGATURE_BREAK, since the name is so stupid.
11609
11610 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11613         InsetInfos.
11614
11615         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11616
11617         * sp_form.[Ch]: remove.
11618
11619         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11620
11621         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11622         InsetInfo.
11623
11624         * src/buffer.C (readInset): ditto.
11625
11626 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11627
11628         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11629         menuSeparator(), endOfSentenceDot(), ldots() and
11630         hyphenationPoint(), which are therefore removed.
11631         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11632
11633         * LyXAction.C (init):
11634         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11635
11636         * paragraph.C (getWord): removed.
11637
11638         * BufferView_pimpl.C (Dispatch): use last word or selection for
11639         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11640
11641         * lyx_main.C (queryUserLyXDir): do not ask before creating
11642         user_dir, except if it has been named explicitely.
11643
11644 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11645
11646         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11647         a document of zero size.
11648
11649 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11650
11651         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11652         approriately in the c-tor and in require().
11653         (getPackages): output the appropriate LaTeX for natbib support.
11654
11655         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11656         variables "use_natbib" and "use_numerical_citations" when reading the
11657         LyX file.
11658         (readInset): read the various natbib cite commands.
11659         (validate): white-space change.
11660
11661         * bufferparams.[Ch]: new variables "bool use_natbib" and
11662         "bool use_numerical_citations".
11663         (writeFile): output them in the LyX file.
11664
11665 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11666
11667         * lyxfunc.C (getStatus): add support for all the inset insertion
11668         commands.
11669
11670         * text2.C (insertInset):
11671         * paragraph.C (insetAllowed):
11672         * BufferView_pimpl.C (insertInset): update to take in account the
11673         renaming of insertInsetAllowed
11674
11675         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11676
11677         * text2.C (getInset): new method. returns inset at cursor position.
11678
11679         * BufferView_pimpl.C (Dispatch): changes because of this.
11680
11681         * LyXAction.C (init): rename open-stuff to inset-toggle.
11682
11683         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11684
11685         * text2.C (toggleInset): renamed from openStuff; use
11686         Inset::open().
11687
11688 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11689
11690         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11691
11692         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11693
11694 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11695
11696         * buffer.C (readLyXformat2): Add filename to the error dialog
11697
11698 2001-07-18  Juergen Vigna  <jug@sad.it>
11699
11700         * tabular.C (GetCellNumber): put an assert here instead of the check!
11701
11702 2001-07-17  Juergen Vigna  <jug@sad.it>
11703
11704         * BufferView_pimpl.C (toggleSelection): adapted too.
11705
11706         * text.C (selectNextWord): adapted for use with insets.
11707         (selectSelectedWord): ditto
11708
11709 2001-07-17  Juergen Vigna  <jug@sad.it>
11710
11711         * sp_spell.C (PSpell): fix initialitation order.
11712
11713 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11714
11715         * paragraph.C: spacing
11716
11717 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11718
11719         * sp_spell.C: repair language selection for pspell
11720
11721 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11722
11723         * lyxfunc.h: change more methods to begin with lower char.
11724
11725 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11726
11727         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11728         for unknown layouts.
11729
11730 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11731
11732         * buffer.C (readLyXformat2): Generate an error dialog if there are
11733         unknown layouts.
11734
11735 2001-07-16  Juergen Vigna  <jug@sad.it>
11736
11737         * sp_spell.C: always compile ISpell part.
11738
11739         * lyxrc.C: added use_pspell entry and it's handling.
11740
11741 2001-07-13  Juergen Vigna  <jug@sad.it>
11742
11743         * sp_spell.C: removed double includes.
11744
11745 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11746
11747         Consistent use of Lsstream.h:
11748         * Lsstream.h: added using std::stringstream for consistencies sake.
11749
11750         * buffer.C: removed using std::stringstream
11751
11752         * lyxfont.C (stateText):
11753         * paragraph.C (asString):
11754         * text.C (selectNextWord, selectSelectedWord):
11755         * text2.C (setCounter):
11756         * vspace.C (asString, asLatexString):
11757         std::ostringstream -> ostringstream.
11758
11759 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11760
11761         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11762         * commandtags.h: add LFUN_HELP_ABOUTLYX
11763         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11764
11765 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11766
11767         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11768         cursorToggle()
11769         * lyx_gui_misc.C: remove spellchecker
11770         * lyxfunc.C: showSpellchecker
11771         * sp_base.h: added
11772         * sp_ispell.h: added
11773         * sp_pspell.h: added
11774         * sp_spell.C: added
11775         * sp_form.[Ch]: removed
11776         * spellchecker.[Ch]: removed
11777
11778 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11779
11780         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11781         is set.
11782         (simpleTeXSpecialChars): Simply print the input character without
11783         any special translation if pass_thru is set.
11784
11785         * layout.h: Added bool pass_thru to layout class for being able to
11786         implement pass through of a paragraph for Literate Programming.
11787
11788         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11789         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11790         * layout.C (Read): add "passthru" to list of layout tags and add
11791         code to set the pass_thru boolean when it is read.
11792
11793 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * trans_decl.h: remove allowed from KmodInfo
11796
11797         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11798         remove allowed code
11799         (Load): adjust
11800
11801         * paragraph_pimpl.C (erase): use boost::prior
11802
11803         * Painter.C (text): use data() instead of c_str() when length is
11804         also provided.
11805         * WorkArea.C (putClipboard): ditto
11806         * font.h (width): ditto
11807
11808         * BufferView2.C: use it-> instead of (*it). for iterators
11809         * texrow.C: ditto
11810         * paragraph_pimpl.C: ditto
11811         * paragraph.C: ditto
11812         * minibuffer.C: ditto
11813         * language.C: ditto
11814         * kbmap.C: ditto
11815         * encoding.C: ditto
11816         * counters.C: ditto
11817         * converter.C: ditto
11818         * chset.C: ditto
11819         * Variables.C: ditto
11820         * TextCache.C: ditto
11821         * MenuBackend.C: ditto
11822         * LyXAction.C: ditto
11823         * LColor.C: ditto
11824         * FloatList.C: ditto
11825         * DepTable.C: ditto
11826         * ColorHandler.C (LyXColorHandler): ditto
11827
11828 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11831
11832         * text2.C (openStuff): reintroduce this method (which had been
11833         nuked in NEW_INSETS frenzy).
11834
11835         * lyxfunc.C (Dispatch): when an action has not been handled, use
11836         its name in the error message, not its number.
11837
11838         * paragraph.C (inInset): change method name to begin with lowercase.
11839
11840         * undo_funcs.C:
11841         * text2.C: updates because of this.
11842
11843 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * ToolbarDefaults.C (add): add spaces in error message
11846
11847 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11850         (readLyXformat2): rename return_par to first_par, use lyxlex's
11851         pushToken and remove the manual push handling.
11852         (parseSingleLyXformat2Token): add another ert comp. variable:
11853         in_tabular, rename return_par to first_par. handle newlines better
11854
11855 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11856
11857         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11858
11859 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11860
11861         * text2.C (getParFromID): removed
11862
11863         * buffer.C (getParFromID): new method moved form lyxtext.
11864         * BufferView2.C (insertErrors): adjust
11865         (setCursorFromRow): adjust
11866         * BufferView_pimpl.C (restorePosition): adjust
11867         * lyxfunc.C (Dispatch): adjust
11868         * undo_funcs.C (textUndo): adjust
11869         (textRedo): adjust
11870         (textHandleUndo): adjust
11871         (textHandleUndo): adjust
11872
11873 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * buffer.C: up' the LYX_FORMAT
11876
11877         * lyxfont.h: turn NO_LATEX on as default
11878
11879         * buffer.C (insertErtContents): new methods of tex style compability.
11880         (parseSingleLyXformat2Token): use it several places.
11881         * tabular.C (OldFormatRead): and here
11882
11883 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * text2.C: remove some commented code.
11886         reindent file.
11887
11888         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11889         * trans.C: changes because of the above.
11890
11891 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11892
11893         * text2.C (setCounter): Fix counters bug with bibliography layout.
11894
11895 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11898         own member functions
11899         (simpleTeXSpecialChars): ditto
11900
11901 2001-07-06  Juergen Vigna  <jug@sad.it>
11902
11903         * a lot of files: changed the access to LyXText::status and the
11904         call of undo-functions.
11905
11906         * undo.[Ch]: added a inset_id to the undo informations.
11907
11908         * undo_funcs.[Ch]: added and moved here all undo functions.
11909
11910         * lyxtext.h: give the status enum a weight, made status_ a private
11911         variable and made accessor functions for it, removed the whole bunch
11912         of undo-functions as they are now in their own file, make some
11913         functions publically available. Added function ownerParagraph with
11914         int parameter.
11915
11916         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11917         made InInset() a const function, added getParFromID() function.
11918
11919         * buffer.[Ch]: added const version for inset_iterator functions,
11920         added getInsetFromID() function.
11921
11922         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11923         changed undo functions for new version.
11924
11925 2001-07-05  Juergen Vigna  <jug@sad.it>
11926
11927         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11928         unknow mechanism does not call the proper constructor but only this
11929         one also if I request the other!?
11930
11931 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11934
11935         * text2.C (LyXText): use initialization lists.
11936
11937         * lyxtext.h (Selection): initialize set_ and mark_
11938         (init): remove method
11939
11940 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11943
11944 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * screen.[Ch]: change method names to begin with lowercase
11947
11948         * BufferView_pimpl.C (updateScrollbar): simplify further and
11949         hopefully make it a bit faster.
11950
11951 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11952
11953         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11954         calling directly xforms functions.
11955
11956         * Painter.C (Painter):
11957         * lyx_cb.C (MenuWrite):
11958         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11959         fl_display.
11960
11961         * lyx_gui.C: remove bogus guiruntime extern declaration.
11962
11963 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11966         in NEW_INSETS
11967         (redoDrawingOfParagraph): ditto
11968         (redoParagraphs): ditto
11969         (cutSelection): don't create a object for CutAndPaste use the
11970         static method directly
11971         (pasteSelection): ditto
11972
11973         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11974         LyXview (+ rename)
11975
11976 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * modifications to some other files because of this.
11979
11980         * Makefile.am (lyx_SOURCES): add XFormsView
11981
11982         * XFormsView.[Ch]: new files
11983
11984         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11985         the main window. Move the gui dependent stuff to XFormsView
11986
11987 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11988
11989         * tabular.C (GetCellInset): update cur_cell also in the row/col
11990         version of this function.
11991
11992         * lyxfunc.C: no need to include figure_form.h here.
11993
11994         * FontLoader.h:
11995         * lyxfunc.h:
11996         * lyxscreen.h:
11997         * text2.C:
11998         * lyxvc.C: no need to include forms.h here.
11999
12000 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12001
12002         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12003
12004         * lyxfunc.C (Dispatch):
12005         * Spacing.C (set):
12006         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12007         constructor argument.
12008
12009 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * paragraph.C (Paragraph): dont't clear, and just set layout.
12012         (makeSameLayout): use params's copy contructor.
12013
12014         * ParagraphParameters.[Ch] (makeSame): delete method
12015
12016 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * Variables.[Ch]: fix indentation, rename set to isSet
12019
12020 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * lyxfunc.C (Dispatch): fix typo
12023
12024 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12027         upper_bound.
12028
12029         * bufferlist.C: include assert.h for emergencyWrite().
12030
12031 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12034           give up at last (bug #425202) !
12035
12036 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * lyx_gui_misc.C:
12039         * sp_form.h:
12040         * sp_form.C:
12041         * spellchecker.h:
12042         * spellchecker.C: strip spellchecker options and bring up
12043           preferences tab instead
12044
12045 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12048         the istringstream constructor
12049
12050 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * paragraph.C (getLayout): fix return value
12053
12054         * paragraph.h: do not declare getLayout as inline.
12055
12056         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12057
12058 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * lyxcursor.h (operator<): new func
12061         (operator>): new func
12062         (operator>=): new func
12063         (operator<=): new func
12064
12065         * text.C (changeCase): use selection.start and selection.end
12066         (changeRegionCase): require from to be <= to. Require par to be a
12067         valid paragraph.
12068
12069         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12070
12071 2001-06-27  Juergen Vigna  <jug@sad.it>
12072
12073         * text.C (cursorLeftOneWord): changed to return the cursor and added
12074         overlay with BufferView * parameter which calls this one.
12075         (getWord): added
12076         (selectWord): use new getWord function.
12077         (changeCase): renamed from changeWordCase as and extended to work
12078         also on selections.
12079
12080         * lyxtext.h: added enum word_location
12081
12082         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12083         changeCase as this operates now also on selections.
12084
12085 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12086
12087         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12088
12089         * many files: send debug output to Debug::INFO instead of
12090         Debug::ANY.
12091
12092         * converter.C (View):
12093         (Convert):
12094         (Move): send debug output to Debug::FILES instead of console.
12095
12096 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12097
12098         * lyxfunc.C (getStatus): use func_status
12099
12100         * func_status.h: new header, describing the results of
12101         LyXFunc::getStatus;
12102
12103         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12104         LFUN_MATH_HALIGN.
12105
12106 2001-06-25  The LyX Project  <jug@sad.it>
12107
12108         * buffer.C (sgmlOpenTag):
12109         (sgmlCloseTag):
12110         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12111
12112 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * text2.C: remove some dead code
12115
12116         * tabular.C (GetCellInset): store the last cell checked (gotten)
12117
12118         * tabular.h: add the helper for the speedup
12119
12120         * lyxtext.h: remove some dead code
12121
12122 2001-06-26  The LyX Project  <Asger>
12123
12124         * paragraph.C: Change export to LaTeX of alignment to
12125         \begin{center} and family for better roundtrip work with reLyX.
12126
12127         * Tune the math drawing a bit.
12128
12129 2001-06-25  The LyX Project  <Asger>
12130
12131         * LColor.C (LColor): New color for math background. New color
12132         for buttons.
12133
12134 2001-06-25  The LyX Project  <jug@sad.it>
12135
12136         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12137
12138         * lyxfunc.C (Open):
12139         * bufferlist.C (newFile): do not restrict to files ending with
12140         .lyx
12141
12142         * BufferView_pimpl.C (MenuInsertLyXFile):
12143
12144 2001-06-24  The LyX Project  <jug@sad.it>
12145
12146         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12147         of compare_no_case
12148
12149 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * lyxtext.h: rename most methods to begin with a small char.
12152         Lots of changes because of this.
12153
12154         * paragraph.C (Paragraph): do not call fitToSize
12155         (erase): call Pimpl::erase
12156         (insertChar): call Pimpl::insertChar
12157         (insertInset): call Pipl::insertInset
12158         (breakParagraph): do not call fitToSize
12159         (breakParagraphConservative): do not call fitToSize
12160         (fitToSize): remove method
12161
12162         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12163
12164 2001-06-24  The LyX Project  <Asger>
12165
12166         * Fix Qt compilation^2
12167
12168 2001-06-24  The LyX Project  <jug@sad.it>
12169
12170         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12171         depthHook(getDepth()-1).
12172
12173         * paragraph.h:
12174         * ParagraphParameters.h:
12175         * ParameterStruct.h: change type of depth to unsigned int ==
12176         depth_type. Many adaptations to other files before of that.
12177
12178 2001-06-24  The LyX Project  <Asger>
12179
12180         * Fix Qt compilation.
12181
12182 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * paragraph.h: renamed several methods to begin with small letter.
12185         several changes to many parts of the code because of this.
12186
12187 2001-06-23  The LyX Project  <jug@sad.it>
12188
12189         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12190         rewritten to discard all double spaces when KeepEmpty is off
12191         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12192         to only handle newlines but not fiddle with spaces and friends.
12193
12194         * lyxfunc.C (MenuNew): when doing 'new from template', use
12195         template_path as default directory
12196
12197 2001-06-23  The LyX Project  <Asger>
12198
12199         * Clean-up of header file includes all over
12200         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12201
12202 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * paragraph.h: renamed from lyxparagraph.h
12205
12206 2001-06-23  Asger  <lyx@violet.home.sad.it>
12207
12208         * Buffer.h: Removed Buffer::resize
12209         * BufferList.h: Removed BufferList::resize
12210         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12211         the document lazily when we change the width, or the font settings.
12212
12213 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12216
12217 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * buffer.h: remove out of date comment
12220
12221 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * lyxscreen.h:
12224         * screen.C: fix "theoretical" GC leak
12225
12226 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * LaTeX.C (scanAuxFile):
12229         (deplog): remove trailing \r when reading stream (useful under
12230         win32)
12231
12232 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12235         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12236         and BufferView::theLockingInset(Inset*), so should use them and not
12237         access bv_->text->the_locking_inset directly.
12238
12239         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12240
12241 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * Makefile.am:
12244         * tex-defs.h: remove old unused file
12245
12246 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * BufferView_pimpl.C: fix typo, remove minibuffer message
12249           when buffer has loaded
12250
12251 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * lyxfunc.C (Dispatch): use stringstream
12254         (MenuNew): use stringstream
12255         (Open): use stringstream
12256
12257         * importer.C (Import): use stringstream
12258
12259         * bufferview_funcs.C (CurrentState): use stringstream
12260
12261         * LaTeX.C (run): use stringstream
12262
12263         * BufferView_pimpl.C (savePosition): use stringstream
12264         (restorePosition): use stringstream
12265         (MenuInsertLyXFile): use stringstream
12266
12267 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * BufferView.C:
12270         * Bullet.C:
12271         * ColorHandler.C:
12272         * FontInfo.C:
12273         * FontLoader.C:
12274         * LColor.C:
12275         * LaTeXFeatures.C:
12276         * Painter.C:
12277         * gettext.C:
12278         * lyx_gui_misc.C:
12279         * lyxserver.C:
12280         * vspace.C: removed // -*- C++ -*- as first line.
12281
12282         * lyxfind.h:
12283         * version.h: added // -*- C++ -*- as first line.
12284
12285 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12288
12289         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12290         of string
12291
12292 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12295         of floats.
12296
12297 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12298
12299         * gettext.C: include LString.h even when --disable-nls is on.
12300
12301 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * converter.h (Get): changed argument type from int to
12304         FormatList::size_type to avoid unnecessary conversion.
12305
12306         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12307         before using it.
12308
12309 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12310
12311         * gettext.h: include LString.h even when --disable-nls is on.
12312
12313 2001-06-07  Juergen Vigna  <jug@sad.it>
12314
12315         * text.C (BreakAgain): subst spaces with tabs.
12316
12317         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12318         (resizeInsetsLyXText): set force on resizeLyXText.
12319
12320 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12321
12322         * gettext.h (gettext_init):
12323         (locale_init): use a real definition instead of a macro
12324
12325 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * Bufferview_pimpl.C:
12328         * LColor.h:
12329         * LColor.C: further lcolor tidies
12330
12331 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * BufferView_pimpl.C (updateScrollbar): simplify.
12334
12335         * BufferView2.C: don't include insets/insetinfo.h, change
12336         prototype for insertInset and call the Pimpl version. let
12337         updateInset call Pimpl version.
12338
12339         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12340         gotoInset to BufferView::Pimpl
12341
12342 2001-06-01  Juergen Vigna  <jug@sad.it>
12343
12344         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12345         inside a LockingInset (is the update needed at all?).
12346
12347 2001-05-31  Juergen Vigna  <jug@sad.it>
12348
12349         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12350         here not the old one otherwise how should we compare it afterwards
12351         if it's the same!
12352
12353 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12354
12355         * lyxfont.C:
12356         * tabular.C:
12357         * tabular-old.C:
12358         * FontInfo.C: bring C functions into global namespace when
12359         necessary
12360
12361 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * LString.h: make sure config.h has been loaded before LString.h.
12364
12365         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12366         (one for each char read by EatLine!).
12367
12368         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12369         variables.
12370
12371 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12374         to the same as the par we break from
12375
12376 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12379
12380         * MenuBackend.C (expand): also create menu entries for wide
12381         versions of the floats.
12382
12383         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12384
12385         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12386
12387         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12388         frontends/Makefile.am
12389
12390         * text2.C: adjust
12391         * text.C: adjust
12392
12393
12394         * tabular.C (getTokenValue): add std::
12395
12396         * tabular-old.C (getTokenValue): add std::
12397         (getTokenValue): ditto
12398         (getTokenValue): ditto
12399
12400         * screen.C (ToggleSelection): adjust
12401
12402         * lyxtext.h: put selection cursors inside a Selection struct.
12403
12404         * lyxfunc.C (moveCursorUpdate): adjust
12405
12406         * lyxfont.C (latexWriteStartChanges): add std::
12407
12408         * lyxfind.C: adjust
12409
12410         * font.h: delete with(char const *, LyXFont const &)
12411
12412         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12413
12414         * FontInfo.C (getFontname): add std::
12415
12416         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12417         (workAreaButtonPress): adjust
12418         (tripleClick): adjust
12419         (update): adjust
12420         (moveCursorUpdate): adjust
12421         (Dispatch): adjust
12422
12423         * BufferView2.C (gotoInset): adjust
12424
12425 2001-05-30  Juergen Vigna  <jug@sad.it>
12426
12427         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12428         to check pspell I add this as default as I now have new pspell
12429         libraries and they seem to use this.
12430
12431 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * text2.C (CutSelection): make the cursor valid before the call to
12434         ClearSelection.
12435
12436 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12437
12438         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12439         relied on 0 terminated strings and other horrors. Bug found due to
12440         the new assert in lyxstring!
12441
12442         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12443         KP_ keys.
12444
12445 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12448         to latinkeys.bind.
12449
12450         * lyxfunc.C (processKeySym): change method of getting to the
12451         self-insert char.
12452
12453         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12454         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12455         * BufferView_pimpl.[Ch]: here as private methods.
12456
12457 2001-05-28  Juergen Vigna  <jug@sad.it>
12458
12459         * text.C (SetHeightOfRow): added the update() call again as it is
12460         needed to initialize inset dimensions!
12461
12462 2001-05-16  Juergen Vigna  <jug@sad.it>
12463
12464         * text2.C (SetCharFont): Add new function with BufferView * and
12465         bool toggleall parameters for setting insets internal fonts.
12466         (SetFont): Freeze the undo as we may change fonts in Insets and
12467         all this change should be inside only one Undo!
12468
12469         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12470         setting font's in insets as for them we have the SetFont function!
12471
12472 2001-05-15  Juergen Vigna  <jug@sad.it>
12473
12474         * text2.C (ClearSelection): to be sure we REALLY don't have any
12475         selection anymore!
12476
12477         * tabular.C (TeXCellPreamble): fixed the left border problem for
12478         multicolumn cells.
12479
12480 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12481
12482         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12483         dependancy file
12484
12485 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12488         LFUN_BREAKPARAGRAPH.
12489
12490         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12491         help test to "internal only", similar for LFUN_INSERT_URL
12492
12493         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12494         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12495         auto_region_delete and deadkeys.
12496
12497 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * LColor.h:
12500         * LColor.C: remove some dead entries, tidy a little
12501
12502 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12505         commented code.
12506         (Dispatch): implement LFUN_ESCAPE
12507
12508         * commandtags.h: add LFUN_ESCAPE
12509
12510         * LyXAction.C (init): add entry for LFUN_ESCAPE
12511
12512         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12513         Remove commented code.
12514         (insertNote): moved here
12515         (open_new_inset): moved here
12516
12517         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12518         BufferView_pimpl
12519
12520 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12521
12522         * kbmap.C (findbinding): clean it up and make it work correctly.
12523
12524         * lyx_main.C (init): do not pass argc and argv as parameters
12525
12526 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12527
12528         * buffer.C: fix path for OS/2 & Win32
12529
12530         * lyx_gui.C:
12531         * lyx_main:
12532         * lyx_main.C: Added os:: class.
12533
12534         * os2_defines.h: update
12535
12536 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12539         better by trying again with reduced state.
12540
12541 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * lyxrc.C (read): print error about invalid key sequence only when
12544         debugging (because not all latinX keysyms are known to some X
12545         servers)
12546
12547         * kbsequence.C (getiso): add a few std:: qualifiers
12548         (getiso): comment out extra return statement.
12549
12550 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12553         handling.
12554         (Dispatch): enhance the accent inset a bit. (not perfect)
12555
12556 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12559
12560 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * bufferlist.C (emergencyWrite): fix assert() call
12563
12564 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12565
12566         * text.C (InsertChar): Added trivial patch to only send the "you
12567         can not do multiple spaces this way" message once during a
12568         session.
12569
12570 2001-05-08  Baruch Even  <baruch@lyx.org>
12571
12572         * Makefile.am: Changed order of libraries to get LyX to link properly
12573         with the gnome frontend.
12574
12575 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * LaTeXFeatures.h: add a std:: qualifier
12578
12579 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * paragraph.C (String): use stringstream
12582
12583 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * paragraph.C (writeFile): remove footflag arg
12586
12587         * buffer.C (makeLaTeXFile): use stringstream
12588         (latexParagraphs): remove footnot gurba
12589
12590         * LaTeXFeatures.C (getPackages): use stringstream
12591         (getMacros): likewise
12592         (getTClassPreamble): likewise
12593         (getFloatDefinitions): new method
12594
12595         * paragraph.C (writeFile): reindent
12596         (Erase): reindent
12597
12598         * WorkArea.h: revert the xpos + etc changes.
12599
12600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12601
12602         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12603
12604         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12605         (pasteSelection): likewise
12606         * text2.C (CreateUndo): likewise
12607
12608 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * minibuffer.C (peek_event): temporarily reduce the functionality
12611         of the minibuffer (to allow args on lfuns)
12612
12613         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12614         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12615
12616         * buffer.C (readInset): add compability reading of old float
12617         lists, add reading of new style float list.
12618         (readInset): avoid reevaluation of inscmd.getCmdName()
12619         (getLists): reindent
12620
12621         * MenuBackend.C (MenuItem): implement parsing of
12622         md_floatlistinsert and md_floatinsert.
12623         (expand::LastFiles): move initalizaton of iterators out of loop,
12624         avoid reevaluation.
12625         (expand::Documents): introduce typdedef vector<string> Strings,
12626         and use it.
12627         (expand::ExportFormats): introduce typedef vector<Format const *>
12628         Formats, and use it.
12629         (expand): implement FloatListInsert and FloatInsert.
12630
12631         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12632         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12633         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12634
12635         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12636         handling.
12637         (Dispatch::LFUN_FLOAT_LIST): implement
12638
12639 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12640
12641         * LaTeX.C (run): Fix problem with --export code.
12642
12643 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * BufferView.[Ch] (workarea): removed.
12646         (getClipboard) new method; wrapper for workarea()->getClipboard()
12647
12648         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12649         bug.
12650
12651         * WorkArea.h (width, height, xpos, ypos): These methods all
12652         returned the dimensions of the work_area sub-area of WorkArea,
12653         resulting in a position error if the WorkArea were resized. Now
12654         return the dimensions of the entire WorkArea.
12655
12656         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12657
12658 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * LaTeX.C (deplog): correct the syntax of regex reg1
12661
12662 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * undo.C: remove !NEW_INSETS cruft
12665
12666 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * text2.C: remove !NEW_INSETS cruft
12669
12670         * text.C: remove !NEW_INSETS cruft
12671
12672         * tabular.C: remove !NEW_INSETS cruft
12673
12674         * spellchecker.C: remove !NEW_INSETS cruft
12675
12676         * lyxtext.h: remove !NEW_INSETS cruft
12677
12678         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12679
12680         * lyxfunc.C: remove !NEW_INSETS cruft
12681
12682         * lyxfind.C: remove !NEW_INSETS cruft
12683
12684         * lyx_cb.C: remove !NEW_INSETS cruft
12685
12686         * figureForm.C: remove  !NEW_INSETS cruft
12687
12688         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12689
12690         * buffer.[Ch]: remove !NEW_INSETS cruft
12691
12692         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12693
12694         * CutAndPaste.C: remove !NEW_INSETS cruft
12695
12696         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12697
12698         * BufferView2.C: remove !NEW_INSETS cruft
12699
12700         * BufferView.h: remove !NEW_INSETS cruft
12701
12702 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12703
12704         * Lsstream.h: include LString.h before the sstream headers to
12705         fix problem with gcc 2.95.3 and lyxstring
12706
12707 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * lyx_main.C: add using directives when needed for C functions
12710         declared in std:: namespace.
12711
12712 2001-04-27  Juergen Vigna  <jug@sad.it>
12713
12714         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12715         (SetHeightOfRow): comment out the update call should not be needed!
12716
12717 2001-04-13  Juergen Vigna  <jug@sad.it>
12718
12719         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12720         (LyXTabular): tried to minimize operator= operations (and realized
12721         hopfully Lars wish).
12722
12723 2001-04-27  Juergen Vigna  <jug@sad.it>
12724
12725         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12726
12727 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12730
12731         * buffer.C (readInset): hack to make listof algorithm work
12732
12733         * BufferView_pimpl.C: hack to make listof algorithm work
12734
12735 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * LyXAction.C: removed all !NEW_INSETS cruft
12738         (init): moved lfun_item in method
12739
12740         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12741
12742 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12743
12744         * BufferView2.C (theLockingInset): white space.
12745
12746 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * minibuffer.C: include <iostream>
12749
12750         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12751
12752         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12753
12754         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12755
12756         * text.[Ch] (TransposeChars): new method
12757
12758 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * call message directly through LyXView instead of through LyXFunc
12761         * BufferView2.C: adjust
12762         * BufferView_pimpl.C: adjust
12763         * FontLoader.C: adjust
12764         * buffer.C: adjust
12765         * bufferview_funcs.C: adjust
12766         * converter.C: adjust
12767         * figureForm.C: adjust
12768         * importer.C: adjust
12769         * lyx_cb.C: adjust
12770         * lyx_gui_misc.C: adjust
12771         * lyxfunc.C: adjust
12772         * lyxvc.C: adjust
12773         * text2.C: adjust
12774         + more files in subdirs
12775
12776         * lyxparagraph.h (size): move up int file
12777         (GetLayout): ditto
12778
12779         * adjust all uses of Assert to lyx::Assert.
12780
12781         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12782         lyxfunctional in namespace lyx
12783         * layout.C (hasLayout): ditto
12784         (GetLayout): ditto
12785         (GetLayout): ditto
12786         (delete_layout): ditto
12787         (NumberOfClass): ditto
12788         * converter.C (GetFormat): ditto
12789         (GetNumber): ditto
12790         (Add): ditto
12791         (Delete): ditto
12792         (SetViewer): ditto
12793         * bufferlist.C (getFileNames): ditto
12794         (emergencyWriteAll): ditto
12795         (exists): ditto
12796         (getBuffer): ditto
12797         * MenuBackend.C (hasSubmenu): ditto
12798         (hasMenu): ditto
12799         (getMenu): ditto
12800         * BufferView_pimpl.C (getInsetByCode): ditto
12801
12802 2001-04-18  Juergen Vigna  <jug@sad.it>
12803
12804         * vspace.C (asLatexString): fixed the 100% problem.
12805
12806 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * lyxfunc.C (Dispatch):
12809         * minibuffer.C:
12810         * minibuffer.h: add a few std:: qualifiers
12811
12812 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * minibuffer.[Ch]: reimplement so that commands is initiated and
12815         run from lyxfunc, simplified som handling, and made the completion
12816         and history code for complete. wip.
12817
12818         * lyxfunc.C (processKeySym): call message
12819         (miniDispatch): new temporary method
12820         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12821         (LFUN_MESSAGE): implement
12822         (LFUN_MESSAGE_PUSH): implement
12823         (LFUN_MESSAGE_POP): implement
12824         (initMiniBuffer): the initial/defualt minibuffer message.
12825
12826         * lyxfont.[Ch]: inline some more getters
12827
12828         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12829
12830         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12831
12832         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12833         (AutoSave): use LFUN_MESSAGE
12834         (Reconfigure): ditto
12835
12836         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12837
12838         * figureForm.C: use LFUN_MESSAGE
12839
12840         * converter.C (runLaTeX): use LFUN_MESSAGE
12841
12842         * bufferview_funcs.C: use LFUN_MESSAGE
12843         (Melt): ditto
12844         (changeDepth): ditto
12845
12846         * bufferparams.h: use boost::
12847
12848         * bufferlist.h: inherit privately from noncopyable
12849
12850         * bufferlist.C (loadLyXFile): remove some commented code.
12851
12852         * buffer.C (runChktex): use LFUN_MESSAGE
12853
12854         * ShareContainer.h: inherit privately from noncopyable
12855
12856         * ParagraphParameters.[hC] (depth): inline it.
12857
12858         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12859         methods.
12860         (message): new method
12861         (messagePush): ditto
12862         (messagePop): ditto
12863         (show): init minibuffer
12864         (showState): direct call
12865
12866         * LaTeX.[Ch]: inherit privately from noncopyable
12867         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12868         instead of WriteStatus.
12869
12870         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12871
12872         * BufferView_pimpl.C (buffer): don't init minibuffer
12873         (workAreaButtonPress): use LFUN_MESSAGE
12874         (workAreaButtonRelease): ditto
12875         (savePosition): ditto
12876         (restorePosition): ditto
12877         (MenuInsertLyXFile): ditto
12878         (workAreaExpose): don't init minibuffer
12879         (update): remove commented code, simplify
12880
12881         * BufferView2.C (openStuff): use LFUN_MESSAGE
12882         (toggleFloat): ditto
12883         (menuUndo): ditto
12884         (menuRedo): ditto
12885         (copyEnvironment): ditto
12886         (pasteEnvironment): ditto
12887         (copy): ditto
12888         (cut): ditto
12889         (paste): ditto
12890         (gotoInset): ditto
12891         (updateInset): remove some commented code
12892
12893         * lastfiles.h: inherit privately from noncopyable
12894         * layout.h: ditto
12895         * lyx_gui.h: ditto
12896         * lyx_main.h: ditto
12897         * lyxlex.h: ditto
12898         * lyxlex_pimpl.h: ditto
12899
12900         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12901         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12902         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12903
12904         * LyXAction.h: inherit privately from noncopyable, add methods
12905         func_begin, func_end, returning iterators to the func map.
12906
12907         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12908         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12909         (func_begin): new method
12910         (func_end): new method
12911
12912         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12913         and not)
12914         (copySelection): ditto
12915         (pasteSelection): ditto
12916
12917         * BufferView.C: whitespace change
12918         * BufferView.h: inherit privately from noncopyable
12919
12920 2001-04-16  Allan Rae  <rae@lyx.org>
12921
12922         * tabular-old.C (l_getline):
12923         * spellchecker.C (sc_check_word):
12924         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12925         an unrecognised preprocessor directive.  So ensure they're wrapped.
12926
12927 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12928
12929         * src/exporter.C (Export): Give an error message when path to file
12930         contains spaces.
12931
12932 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12933
12934         * LaTeX.C (deplog): Always check that foundfile exists.
12935
12936 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * lyx_main.h:
12939         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12940
12941 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12942
12943         * tabular.[Ch] (getLabelList): implement new method
12944
12945         * minibuffer.h: comment ouf setTiimer
12946
12947         * minibuffer.C (ExecutingCB): constify res
12948         (peek_event): constify s
12949         (Set): constify ntext
12950         (Init): constify nicename
12951
12952         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12953
12954         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12955         (savePosition): use two params to Minibuffer::Set
12956         (restorePosition): ditto
12957
12958 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * lyx_main.C: include language.h
12961
12962         * Makefile.am (lyx_main.o): add language.h
12963
12964 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12965
12966         * exporter.C:
12967         * paragraph.C:
12968         * screen.C:
12969         * tabular.C:
12970         * CutAndPaste.C: include gettext.h
12971
12972         * lyxfont.h: remove old hack with ON and OFF.
12973
12974         * lyxparagraph.h:
12975         * lyxfont.h: do not include language.h...
12976
12977         * BufferView2.C:
12978         * LaTeXFeatures.C:
12979         * Painter.C:
12980         * bufferview_funcs.C:
12981         * font.C:
12982         * lyxfont.C:
12983         * text.C:
12984         * text2.C:
12985         * trans_mgr.C:
12986         * paragraph.C: ... but do it here instead
12987
12988 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12991
12992         * tabular.C: small reformat
12993
12994         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12995         NEW_INSETS version
12996         (GetChar): ditto
12997         (BreakParagraph): ditto
12998         (SetOnlyLayout): ditto
12999         (SetLayout): ditto
13000
13001         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13002         with one arg less.
13003
13004         * lastfiles.C: removed most using decl, add std:: where needed
13005
13006         * buffer.C: ws changes
13007
13008         * MenuBackend.C (class compare_format): put into anon namespace
13009         (expand): constify label, names, action, action2
13010         (expand):
13011
13012         * text.C (SingleWidth): constify font
13013         (IsBoundary): constify rtl2
13014         (GetVisibleRow): constify ww
13015
13016         * LaTeX.C (deplog): constify logfile
13017
13018         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13019         start_x, end_x
13020         (workAreaExpose): constify widthChange, heightChange
13021
13022         * lyxrow.C (par): moved
13023         (height): moved
13024         (next): moved
13025         * lyxrow.h: as inlines here
13026
13027         * lyxfont.h (shape): moved from lyxfont.C
13028         (emph): moved from lyxfont.C
13029
13030         * lyxfont.C (LyXFont): use initialization list for all
13031         constructors
13032         (shape): move to lyxfont.h as inline
13033         (emph): move to lyxfont.h as inline
13034
13035
13036 2001-04-04  Juergen Vigna  <jug@sad.it>
13037
13038         * vspace.C: had to include stdio.h for use of sscanf
13039
13040 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13041
13042         * BufferView.h:
13043         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13044         independent of xforms.
13045
13046 2001-04-02  Juergen Vigna  <jug@sad.it>
13047
13048         * spellchecker.C: fixed namespace placing!
13049
13050 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13053         the LyXParagraph * is 0.
13054
13055 2001-03-29  Juergen Vigna  <jug@sad.it>
13056
13057         * vspace.C: added support for %, c%, p%, l%.
13058         (stringFromUnit): added helper function.
13059         (asLatexString): changed to give right results for the %-values.
13060
13061         * buffer.C: convert the widthp in a width%.
13062
13063 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13064
13065         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13066         figureForm.[Ch].
13067
13068         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13069         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13070
13071         * lyx_cb.[Ch]: see above.
13072
13073         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13074         form1.[Ch].
13075
13076         * form1.[Ch]:
13077         * lyx.[Ch]: replaced by figure_form.[Ch].
13078
13079         * lyx_gui.C:
13080         * lyx_gui_misc.C:
13081         * lyxfunc.C: changed headers associated with above changes.
13082
13083 2001-03-27  Juergen Vigna  <jug@sad.it>
13084
13085         * BufferView_pimpl.C: set the temporary cursor right!
13086
13087 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13090
13091 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * LString.h: removed "using std::getline"!
13094
13095         * BufferView_pimpl.C (Dispatch): changes due to changes in
13096         InsetInclude::Params.
13097
13098         * buffer.C (tag_name): removed redundant break statements as they were
13099         producing lots of warnings with my compiler.
13100
13101 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * LString.h: add "using std::getline" when using the real <string>.
13104
13105 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13106
13107         * buffer.C: removed bitset usage.
13108         PAR_TAG moved to an anonymous name space.
13109         (tag_name): new funtion, also in the anonymous namespace.
13110         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13111         (makeDocBookFile): clean code. Completed transition from string arrays
13112         to string vectors.
13113         (SimpleDocBookOnePar): code clean.
13114
13115 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13116
13117         * tabular.C: add some comments.
13118
13119 2001-03-22  Juergen Vigna  <jug@sad.it>
13120
13121         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13122         compatibility read a bit and fixed bug with minipage in different
13123         depth.
13124
13125 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13126
13127         * buffer.C (pop_tag): removed.
13128         (push_tag): removed.
13129         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13130         array replaced with vector. Added support for CDATA sections.
13131         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13132         at any nest level.
13133         (makeDocBookFile): XML conformant declaration of CDATA section,
13134         fixed bug related to <emphasis> in the first paragraph char.
13135         (sgmlOpenTag): exclude empty tags.
13136         (sgmlCloseTag): ditto.
13137
13138         * buffer.h (pop_tag): removed.
13139         (push_tag): removed.
13140
13141 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13142
13143         * language.h (Languages): added size_type and size().
13144
13145 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13146
13147         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13148         response on compability reading of minipages. One probliem is that
13149         the old usage of minipages was «flertydig»
13150
13151         * several files here and in subdirs: don't use static at file
13152         scope use anon namespaces instead.
13153
13154 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13155
13156         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13157         LaTeX output. This is necessary for Literate document
13158         processing.
13159
13160 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13161
13162         * buffer.C: insert hfill when needed.
13163
13164         * tabular.C (l_getline): use string::erase, small whitespace change.
13165
13166         * BufferView_pimpl.C: try the anon namespace.
13167         * WorkArea.C: ditto
13168
13169 2001-03-16  Juergen Vigna  <jug@sad.it>
13170
13171         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13172         otherwise it won't open options-dialogs.
13173
13174         * buffer.C: honor pextraWidth(p) on converting minipages.
13175
13176         * tabular.C (l_getline): changed the functions to strip trailing \r.
13177
13178 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13179
13180         * BufferView_pimpl.C:
13181         * minibuffer..C: added "using SigC::slot" declaration.
13182
13183 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13184
13185         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13186
13187         * text2.C: ditto
13188
13189         * text.C: ditto
13190
13191         * paragraph.C: ditto
13192
13193         * lyxtext.h: NO_PEXTRA
13194
13195         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13196
13197         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13198         * ParameterStruct.h: ditto
13199         * ParagraphParameters.h: ditto
13200         * lyxparagraph.h: ditto
13201
13202 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13203
13204         * buffer.C: add compability for minipage alignment.
13205         (latexParagraphs): remove unwanted pextra check.
13206
13207         * several files: remove CXX_WORKING_NAMESPACES
13208
13209         * buffer.C (pop_tag): tie is in namespace boost
13210
13211         * BufferView.h: noncopyable is in namespace boost
13212         * lyxlex.h: ditto
13213         * lyx_main.h: ditto
13214         * lyx_gui.h: ditto
13215         * layout.h: ditto
13216         * lastfiles.h: ditto
13217         * bufferlist.h: ditto
13218         * ShareContainer.h: ditto
13219         * LyXView.h: ditto
13220         * LyXAction.h: ditto
13221         * LaTeX.h: ditto
13222
13223 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * Merging changes from BRANCH_MVC back into HEAD.
13226
13227         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13228
13229 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13230
13231         * BufferView_pimpl.C: change from intl.C
13232
13233         * combox.h:
13234         * combox.C:
13235         * Makefile.am: move combox.*
13236
13237         * form1.h:
13238         * form1.C:
13239         * lyx_gui.C:
13240         * intl.h:
13241         * intl.C: remove dialog (covered by prefs)
13242
13243 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         * lyxfunc.C (Dispatch): removed redundant break statement.
13246
13247 2001-03-14  Juergen Vigna  <jug@sad.it>
13248
13249         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13250
13251 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13252
13253         * buffer.C: add hack to fix compability reading of minipages.
13254
13255 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * buffer.C (getLists): Cleanup.
13258
13259 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * lyxfont.C (update): don't honor toggleall on font size.
13262
13263 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * bmtable.c:
13266         * bmtable.h:
13267         * Makefile.am: moved to frontends/xforms/
13268
13269         * lyx_gui_misc.C:
13270         * lyxfunc.C:
13271         * BufferView_pimpl.C: changes for moved mathpanel
13272
13273 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * gettext.h: fix gettext_init() in --disable-nls
13276
13277 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13278
13279         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13280
13281 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13282
13283         * lyx.C:
13284         * lyx.h: strip external form
13285
13286 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * BufferView_pimpl.C: add comment, destroySplash()
13289
13290 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * BufferView_pimpl.C:
13293         * LyXAction.C:
13294         * buffer.C:
13295         * commandtags.h:
13296         * lyxfunc.C: use re-worked insetinclude
13297
13298 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13299
13300         * buffer.C: add using std::stringstream.
13301
13302         * lyx_cb.C: readd using std::ios.
13303
13304         * buffer.C: add using std::map.
13305
13306         * BufferView_pimpl.C: add using std::vector.
13307
13308         * ShareContainer.h: add std:: to swap.
13309
13310         * buffer.h: add some typedefs
13311         * buffer.C (getLists): use them
13312         (getLists): renamed from getTocList.
13313         add a counter for the different float types and use it in the
13314         generated string.
13315         (getLists): use the same counter for the NEW_INSETS and the "non"
13316         NEW_INSETS
13317
13318         * lyx_cb.h: remove unused items, includes, using etc.
13319
13320         * ShareContainer.h: remove some commented code, add more comments
13321         and "documentation".
13322
13323 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13324
13325         * buffer.C (getTocList): make the list also when NEW_INSETS is
13326         defined.
13327
13328         * buffer.h: remove TocType
13329
13330         * buffer.C (getTocList): change to return a map<string,
13331         vector<TocItem> >, implement for dynamic number of list.
13332
13333         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13334         * text2.C (PasteSelection): adjust
13335         * CutAndPaste.C (pasteSelection): adjust
13336
13337         * FloatList.C (FloatList): update from the new_insets branch.
13338         * Floating.[Ch]: ditto
13339         * LaTeXFeatures.C: ditto
13340         * buffer.C: ditto
13341         * lyxlex_pimpl.C: ditto
13342
13343         * paragraph.C (Last): remove when NEW_INSETS is defined.
13344
13345         * other file: changes because of the above.
13346
13347 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13348
13349         * lyxparagraph.h: rename next to next_, previous to previous_,
13350         make them private for NEW_INSETS. Rename Next() to next(),
13351         Previous() to previous().
13352
13353         * other files: changes because of the above.
13354
13355 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13356
13357         * BufferView.h:
13358         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13359         problem.
13360
13361 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * main.C (main): pass lyx_localedir to gettext_init().
13364
13365         * gettext.h: remove locale_init and gettext_init macros
13366
13367         * gettext.C (locale_init): new function
13368         (gettext_init): new function
13369
13370         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13371         setlocale().
13372
13373 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13374
13375         * Moved credits to frontends:
13376         * credits.[Ch]: removed
13377         * credits_form.[Ch]: removed
13378         * lyx_gui_misc.C: remove credits stuff
13379         * Makefile.am:
13380
13381 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13382
13383         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13384
13385         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13386         unneeded destructor.
13387
13388         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13389         a standalone pointer again.
13390
13391         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13392
13393 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * Makefile.am:
13396         * filedlg.h:
13397         * filedlg.C:
13398         * LyXAction.C:
13399         * ToolbarDefaults.C:
13400         * bufferlist.C:
13401         * commandtags.h:
13402         * form1.C:
13403         * form1.h:
13404         * lyx_cb.C:
13405         * lyx_cb.h:
13406         * lyxfunc.h:
13407         * lyxfunc.C:
13408         * BufferView_pimpl.C: use new file dialog in GUII
13409
13410         * lyx_cb.h:
13411         * lyx_cb.C: remove LayoutsCB to Toolbar
13412
13413 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * ShareContainer.h (get): add std:: qualifier
13416
13417 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * ShareContainer.h: define a proper ShareContainer::value_type
13420         type (and use typename to please compaq cxx)
13421
13422 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13423
13424         * lyxparagraph.h: move serveral local vars to
13425         ParameterStruct/ParagraphParameters., use ShareContainer in
13426         FontTable., make vars in FontTable private and add getter and
13427         setter.
13428
13429         * paragraph.C: changes because of the above.
13430
13431         * lyxfont.h: remove copy constructor and copy assignment. (the
13432         default ones is ok), move number inside FontBits. move inlines to
13433         lyxfont.C
13434
13435         * lyxfont.C: add number to initializaton of statics, move several
13436         inlines here. constify several local vars. some whitespace
13437         cleanup. Dont hide outerscope variables.
13438
13439         * Spacing.h: add two new constructors to match the set methods.
13440
13441         * ShareContainer.h: new file, will perhaps be moved to support
13442
13443         * ParameterStruct.h: new file
13444
13445         * ParagraphParameters.h: new file
13446
13447         * ParagraphParameters.C: new file
13448
13449         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13450         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13451
13452         * BufferView_pimpl.C: ParagraphParameter changes.
13453         * buffer.C: Likewise.
13454         * bufferview_funcs.C: Likewise.
13455         * text.C: Likewise.
13456         * text2.C: Likewise.
13457
13458 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * lyxfind.C (LyXReplace): do not redefine default argument in
13461         implementation.
13462         (IsStringInText): ditto
13463         (SearchForward): ditto
13464         (SearchBackward): ditto
13465
13466 2001-03-06  Juergen Vigna  <jug@sad.it>
13467
13468         * lyxfind.C (IsStringInText): put parentes around expressions.
13469
13470 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13471
13472         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13473
13474 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13477
13478         * stl_string_fwd.h: add comment
13479
13480         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13481
13482         * tabular.h:
13483         * tabular.C: remove unused DocBook methods
13484
13485         * intl.C:
13486         * language.C:
13487         * paragraph.C:
13488         * buffer.C:
13489         killed DO_USE_DEFAULT_LANGUAGE
13490
13491 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * lyx_gui.C: do not include language.h.
13494
13495         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13496         arguments in function implementation.
13497
13498 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13499
13500         * BufferView_pimpl.C: add <ctime>
13501
13502 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13503
13504         * BufferView_pimpl.C: add using std::find_if
13505
13506 2001-02-27  José Matos  <jamatos@fep.up.pt>
13507
13508         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13509         by OnlyPath.
13510
13511 2001-02-11  José Matos  <jamatos@fep.up.pt>
13512
13513         * buffer.C (makeDocBookFile): command styles now have a parameter as
13514         "title" by default.
13515
13516 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13517
13518         * layout_forms.[Ch]: removed
13519         * lyx_cb.[Ch]: out character
13520         * lyx_gui.C: out character
13521         * lyx_gui_misc.C: out character
13522         * bufferview_funcs.C: : out character,
13523         added toggleall as parameter in ToggleAndShow
13524
13525 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13526
13527         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13528
13529         * text2.C (SetCurrentFont): Disable number property at boundary.
13530
13531 2001-02-26  Juergen Vigna  <jug@sad.it>
13532
13533         * lyxfunc.C (getStatus): added a string argument override function so
13534         that this is correctly called from LyXFunc::Dispatch if it contains a
13535         do_not_use_argument which is used!
13536         (Dispatch): added check for "custom" export and call appropriate func.
13537
13538 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13539
13540         * lyxrc.C: Add language_command_local, language_use_babel and
13541         language_global_options.
13542
13543         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13544
13545         * buffer.C (makeLaTeXFile): Use language_use_babel and
13546         language_global_options.
13547
13548 2001-02-23  Juergen Vigna  <jug@sad.it>
13549
13550         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13551         which works with LyXText and putted it inside BufferView. Here now we
13552         only call for that part the BufferView::Dispatch() function.
13553
13554         * BufferView.C (Dispatch): added.
13555
13556         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13557         functions which needs to use a LyXText over from LyXFunc.
13558         (MenuInsertLyXFile): added
13559         (getInsetByCode): added
13560         (moveCursorUpdate): added
13561         (static TEXT): added
13562
13563 2001-02-22  Juergen Vigna  <jug@sad.it>
13564
13565         * BufferView_pimpl.C (update): call a status update to see if LyXText
13566         needs it.
13567
13568 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13569
13570         * vc-backend.C (revert): implement for CVS
13571         (getLog): implement for CVS
13572
13573 2001-02-20  Juergen Vigna  <jug@sad.it>
13574
13575         * text2.C (ClearSelection): added BufferView param for inset_owner call
13576
13577         * lyxfunc.C (TEXT): added this function and use it instead of
13578         directly owner->view()-text of getLyXText().
13579
13580 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13581
13582         * src/layout_forms.C: out preamble
13583         * src/layout_forms.h: out preamble
13584         * src/lyx_cb.C: out preamble
13585         * src/lyx_cb.h: out preamble
13586         * src/lyx_gui.C: out preamble
13587         * src/lyx_gui_misc.C: out preamble
13588         * src/lyxfunc.C: connect with guii preamble
13589
13590 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13593
13594 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13597         whether to run bibtex.
13598
13599 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13602
13603 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13604
13605         * Makefile.am (lyx_SOURCES): removed bibforms.h
13606
13607         * vspace.h: doxygen
13608
13609         * text.C (GetVisibleRow): make several local vars const
13610
13611         * tabular.C: small cleanup.
13612
13613         * lyxserver.C (callback): use compare instead of strncmp
13614
13615         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13616         inlines to after class or to paragraph.C
13617
13618         * lyxfont.h: remove friend operator!=
13619
13620         * converter.h: move friend bool operator< to non friend and after
13621         class def.
13622
13623         * combox.h: small cleanup
13624
13625         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13626         to inlines after class def.
13627
13628         * buffer.C (pop_tag): use string operations instead of strcmp
13629
13630         * bmtable.c: doxygen, small cleanup
13631
13632         * LaTeX.h: remove friend operator==
13633
13634 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13635
13636         * screen.C:
13637         * lyxrc.[Ch]:
13638         * lyxfunc.C:
13639         * lyxfont.[Ch]:
13640         * lyx_cb.C:
13641         * intl.[Ch]:
13642         * commandtags.h:
13643         * buffer.C:
13644         * WorkArea.[Ch]:
13645         * LyXAction.C:
13646         * BufferView_pimpl.C:
13647         * BufferView.[Ch]: remove cruft
13648
13649 2001-02-14  Juergen Vigna  <jug@sad.it>
13650
13651         * lyxfunc.C: removed #if 0 unused code
13652
13653         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13654
13655         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13656
13657         * text2.C (SetSelection): added a BufferView * parameter
13658
13659 2001-02-13  Juergen Vigna  <jug@sad.it>
13660
13661         * lyxfunc.C (Dispatch): fixed protected blank problem.
13662         * BufferView2.C (protectedBlank): added LyxText * parameter.
13663
13664         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13665         (AppendColumn): same as above for column_info.
13666
13667         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13668         (moveCursorUpdate): use a LyXText param for support of InsetText.
13669
13670         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13671         (tripleClick): ditto
13672
13673         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13674
13675         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13676
13677         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13678
13679         * text2.C (SetSelection): set correct update status if inset_owner
13680         (ToggleFree): ditto
13681
13682 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13683
13684         * tabular.C: remove some commented code.
13685
13686 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13687
13688         * BufferView_pimpl.C: call hideSplash()
13689
13690         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13691
13692         * include_form.h:
13693         * bibforms.h: remove
13694
13695         * lyxfunc.C:
13696         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13697           add LFUN_CHILD_CREATE
13698
13699         * counters.h: fix tiny typo
13700
13701         * lyx_cb.C:
13702         * lyx.h:
13703         * lyx_gui.C:
13704         * lyx.C: move splash to frontends/xforms/
13705
13706         * lyx_gui_misc.C: move Include and Bibform to frontends
13707
13708         * lyxvc.h: clarify comment
13709
13710         * vspace.C: tiny housekeeping
13711
13712 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13713
13714         * text.C (PrepareToPrint): RTL Fix.
13715
13716         * paragraph.C (GetUChar): New method.
13717         (String):  Use GetUChar.
13718
13719         * buffer.C (asciiParagraph): Use GetUChar.
13720
13721 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13722
13723         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13724
13725 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * buffer.h:
13728         * buffer.C: rename to getLogName(), handle
13729           build log / latex log nicely
13730
13731 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * MenuBackend.C:
13734         * MenuBackend.h: remove support for reference menuitem type.
13735
13736 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * BufferView_pimpl.C: housekeeping
13739         * BufferView_pimpl.h:
13740         * LyXView.h:
13741         * Makefile.am:
13742         * Timeout.C:
13743         * Timeout.h:
13744         * minibuffer.h: move Timeout GUI-I
13745
13746 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * lyxrc.C (read): Update converters data-structures.
13749
13750 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13751
13752         * LaTeX.h (operator!=): add operator != for Aux_Info
13753
13754 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13755
13756         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13757
13758         * LaTeXLog.C: deleted, useful code moved to Buffer
13759
13760         * buffer.h:
13761         * buffer.C: new function getLatexLogName()
13762
13763         * lyx_gui_misc.C:
13764         * lyx_gui.C:
13765         * lyxvc.C:
13766         * lyxvc.h:
13767         * lyxfunc.C: use frontends for LaTeX and VC logs
13768
13769 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * LaTeX.h: yet another std:: that Allan forgot.
13772
13773         * Variables.C (set): renamed from isset(), because this clashes
13774         with some HP-UX macros (grr).
13775
13776 2001-02-06  Allan Rae  <rae@lyx.org>
13777
13778         * LaTeX.h: Another bug fix.  Missing std:: this time.
13779
13780 2001-02-04  Allan Rae  <rae@lyx.org>
13781
13782         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13783         floats problem. I've left it commented out because it's not quite
13784         correct.  It should also test that the current object is a table or
13785         figure inset.  But I haven't gotten around to figuring out how to do
13786         that.  I *think* it'll be something like: "table" == inset.type()
13787
13788         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13789         bool.
13790
13791 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13792
13793         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13794         all the citation/databases/styles in the auxilary file.
13795         (run): Rerun latex if there was a babel language error.
13796
13797 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13798
13799         * text.C (Backspace): Preserve the font when changing newline char
13800         with a space.
13801         (BreakParagraph): If the cursor is before a space, delete the space.
13802
13803         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13804
13805 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13808         new argument (code).
13809         (ChangeCitationsIfUnique): New method.
13810
13811         * paragraph.C (GetPositionOfInset): Handle bibkey.
13812
13813 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * BufferView_pimpl.h: change type of Position::par_pos to
13816         LyXParagraph::size_type.
13817
13818 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13819
13820         * BufferView_pimpl.C (savePosition, restorePosition): Write
13821         messages to minibuffer.
13822
13823 2001-01-28  José Matos  <jamatos@fep.up.pt>
13824
13825         * buffer.C (makeDocBookFile): adds support for document language.
13826         A silly restriction on the name of LatexCommand types where removed.
13827         Added support for CDATA sections, allows to chars unescaped, used
13828         among others in code, to avoid escape < and >.
13829
13830 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13831
13832         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13833         saved positions instrad of a stack. Furthermore, a position is
13834         stored using paragraph id/paragraph position.
13835
13836         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13837         Remove LFUN_REF_BACK.
13838
13839 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * converter.C (dvipdfm_options): New method.
13842
13843 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * vspace.C (isValidLength): Fix for empty input string.
13846
13847 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13848
13849         * LyXAction.C (init): change description of LFUN_FIGURE to
13850         "Insert Graphics"
13851
13852 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * LaTeX.C: add using directive
13855
13856 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13857
13858         * MenuBackend.C (expand): Fix the sorting of the formats.
13859
13860 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * lyx_main.C: tiny error message fix
13863
13864 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13865
13866         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13867         calling fl_initialize(). This fixes the problem with ',' as
13868         decimal separator in text files.
13869
13870 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13871
13872         * trans.C (process): Fix the keymap bug.
13873
13874 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13875
13876         * LaTeX.C (scanAuxFiles): New method. Provides support for
13877         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13878         (scanLogFile) Scan for "run BibTeX" messages.
13879
13880         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13881         OT1 font encoding. Also, load the aecompl package if the ae
13882         package is loaded.
13883
13884         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13885
13886 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * texrow.C (increasePos): turn two error messages into debug
13889         messages.
13890
13891 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13892
13893         * LaTeX.C (scanAux): Handle the \@input macro.
13894         (runBibTeX): Use scanAux().
13895
13896         * language.C (latex_options_): New field.
13897
13898         * LaTeXFeatures.C (getMacros): Add language macros.
13899
13900         * buffer.C (makeLaTeXFile): Small fix.
13901
13902 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13903
13904         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13905
13906         * text2.C: add a using directive.
13907
13908 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13909
13910         * BufferView2.C:
13911         * lyx_gui_misc.h:
13912         * lyxfr1.C:
13913         * lyxfunc.C: kill LyXBell.
13914
13915 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * text.C (IsBoundary): Remove the error message
13918
13919         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13920
13921         * lyxrc.C (setDefaults): Correct initialization value for
13922         font_norm_type.
13923
13924 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13925
13926         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13927         gotoError().
13928
13929         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13930         and GotoNextNote().
13931
13932         * src/LyXAction.C: Added reference-next.
13933
13934         * text.C (InsertChar): Use contains instead of strchr.
13935
13936         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13937
13938 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13941         alignment commands (when needed).
13942
13943         * text.C (InsertChar): Add ':' to number separator chars.