]> git.lyx.org Git - features.git/blob - src/ChangeLog
factorise linuxdoc and docbook output code
[features.git] / src / ChangeLog
1 2003-10-30  José Matos  <jamatos@lyx.org>
2
3         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5         factorise code for paragraph output.
6         * buffer.[Ch]:
7         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
8         move functions.
9
10 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11
12         * text3.C (dispatch): 
13         * lyxfunc.C (dispatch): 
14         * cursor.C (dispatch): 
15         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
16
17         * dispatchresult.h: make the dispatch_result_t ctor explicit
18
19 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * sgml.[Ch]:
22         * buffer.C: small refactoring of docbook stuff
23
24 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
25
26         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
27         meaning.
28
29 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
30
31         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
32         operator dispatch_result_t, and operators for == != and >=
33
34         * cursor.C (dispatch): adjust for operator dispatch_result_t
35         removal. comment out call to update
36
37         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
38
39 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
40
41         * text3.C:
42         * text2.C:
43         * text.C:
44         * lyxtext.h:
45         * lyxfunc.C:
46         * cursor.C:
47         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
48         (dispatch):
49
50         * dispatchresult.h: new file, DispatchResult broken out of
51         insets/insetbase.h
52
53         * Makefile.am (lyx_SOURCES): add dispatchresult.h
54
55 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
56
57         * text.C (rowBreakPoint): put a hack inside #if 0
58
59 2003-10-28  André Pönitz  <poenitz@gmx.net>
60
61         * lyxtext.h:
62         * metricsinfo.C:
63         * paragraph_funcs.C:
64         * rowpainter.C:
65         * text.C:
66         * text2.C: general cleanup (lots of small stuff)
67
68 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
69
70         * text2.C (cursorEnd): simple fix to the "end key goes to one
71         before the end on last row" bug
72
73 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
74
75         * text.C (backspace): fix the "zombie characters"
76
77 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
78
79         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
80
81 2003-10-27  André Pönitz  <poenitz@gmx.net>
82
83         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
84
85         * factory.C: handle new InsetPagebreak, InsetLine
86
87         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
88         and move handling into new InsetPagebreak, InsetLine
89
90         * BufferView_pimpl.C:
91         * LyXAction.C:
92         * ParagraphParameters.C:
93         * ParameterStruct.h:
94         * lyxfunc.C:
95         * lyxtext.h:
96         * paragraph.C:
97         * paragraph.h:
98         * paragraph_funcs.C:
99         * paragraph_pimpl.C:
100         * rowpainter.C:
101         * text.C:
102         * text2.C:
103         * text3.C: adjust
104
105 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
106
107         * text.C:
108         * lyxrow_funcs.[Ch]:
109         * Bidi.C:
110         * paragraph.C:
111         * lyxtext.h:
112         * rowpainter.C:
113         * text2.C:
114         * text3.C: remove lastPos uses in favour of Row::endpos
115
116 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
117
118         * undo.C (performUndoOrRedo): fix two crashes by setting a
119         cursor by hand and reordering some calls. Use bv->lockInset instead
120         of inset->edit because the latter loses cursor information
121
122 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
123
124         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
125         by Martin
126         (rowBreakPoint): fix width. change point to point + 1.
127         Add a missing check.
128
129 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
130
131         * MenuBackend.C:
132         * lyxfunc.C: fix (at least partly) the problems
133         with the Nav menu and headers inside branch insets
134         reported by Kayvan
135
136 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
137
138         * paragraph.C (getChar): add strong asserts
139
140         * lyxrow_funcs.C (lastPos): remove hideous hack
141
142         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
143         (fill): adjust to that (avoid an infinite loop)
144
145 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
146
147         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
148
149 2003-10-23  André Pönitz  <poenitz@gmx.net>
150
151         * RowList_fwd.h: change list<> to vector<> to gain speed
152         after suggestion from Alfredo
153
154 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
155
156         * lyxtext.h: move the bidi stuff from here...
157         * text.C: and here
158         * text2.C: and here
159         * Bidi.[Ch]: ... to here
160
161 2003-10-23  André Pönitz  <poenitz@gmx.net>
162
163         * lyxtext.h:
164         * text.C (isLastRow, isFirstRow): new functions
165
166         * paragraph.h: new width cache member
167
168         * rowpainter.C: replace RowList::iterator with Row & where possible
169
170         * lyxfunc.C: replace several view()->text with a single call
171
172         * toc.C: fix 'unused' warning
173
174 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
175
176         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
177         when woring with stream::pos_type
178         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
179
180 2003-10-22  André Pönitz  <poenitz@gmx.net>
181
182         * lyxtext.h:
183         * text.C: use Row & instead of RowList::iterator
184
185         * lyxrow.h: rename end() to endpos()
186
187         * rowpainter.C:
188         * text.C:
189         * text2.C: adjust
190
191 2003-10-22  Angus Leeming  <leeming@lyx.org>
192
193         * buffer.[Ch] (fully_loaded): new member function, returning true
194         only when the file has been loaded fully.
195         Used to prevent the premature generation of previews and by the
196         citation inset to prevent computation of the natbib-style label.
197
198         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
199         templates are all set up.
200
201         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
202
203 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * text.C: fixed an "oops" in the "is a bit silly"
206         bug fix
207
208 2003-10-21  André Pönitz  <poenitz@gmx.net>
209
210         * FuncStatus.[Ch]: small stuff, whitespace
211
212         * lyxfont.[Ch]: operator<<() for debug reasons
213
214         * lyxfunc.C:
215         * lyxrow_funcs.C:
216         * lyxtext.h: whitespace, spelling
217
218         * paragraph.C: naming of variables
219
220         * text.C:
221         * text2.C: small stuff
222
223
224 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
225
226         * text.C: (1) finish off the inset display() work;
227         (2) fix the "is a bit silly" bug (accessing char
228         past end of par).
229
230 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text.C: re-introduce display() for insets, fixing the
233         various bugs (stretch of line above, math inset
234         positioning, ...)
235
236 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * text.C (rightMargin): remove spurious semicolon
239
240         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
241         1415)
242
243 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * text3.C: fix one crash due to wrong cursor def
246
247 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
248
249         * vc-backend.C (scanMaster): make the regex static
250
251         * LaTeX.C (scanAuxFile): make the regexs static
252
253         * text3.C (doInsertInset, dispatch, dispatch):
254         * text2.C (cursorUp, cursorDown):
255         * text.C (selectNextWordToSpellcheck):
256         * BufferView_pimpl.C (dispatch):
257         * lyxfunc.C (dispatch):  localDispatch -> dispatch
258
259 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * lyxsocket.C: include <cerrno>
262
263 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
264
265         * lyxfunc.C (dispatch): remove textcache stuff
266
267         * bufferlist.C (release): remove textcache stuff
268         (closeAll): ditto
269
270         * TextCache.C: delete file
271         * TextCache.h: delete file
272
273         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
274
275         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
276         delete of the bv_->text.
277         (resizeCurrentBuffer): remove texcache stuff
278         (workAreaResize): ditto
279
280 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
281
282         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
283         action.
284
285 2003-10-16  André Pönitz  <poenitz@gmx.net>
286
287         * lyxrow.[Ch]:
288         * paragraph.h:
289         * rowpainter.C:
290         * text.C:
291         * text2.C:
292         * text3.C: speed up by storing y positions per paragraph plus per-row
293         offset instead of having a 'full' y position in the row.
294
295 2003-10-15  André Pönitz  <poenitz@gmx.net>
296
297         * iterators.[Ch]:
298         * iterators.[Ch]:
299         * undo.[Ch]: make undo aware of inner insets
300
301 2003-10-14  Angus Leeming  <leeming@lyx.org>
302
303         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
304         static member functions LyX::ref() and LyX::cref.
305         (lastfiles): new accessor functions for the new lastfiles_ member var.
306         (addLyXView, views_): add a new LyXView to the list of views_.
307         (updateInset): loop over all LyXViews to call their own updateInset
308         member function, returning a pointer to the Buffer owning the inset.
309
310         * BufferView_pimpl.C (loadLyXFile):
311         * MenuBackend.C (expandLastfiles):
312         * bufferlist.C (MenuWrite, QuitLyX):
313         lastfiles is no longer a global variable.
314         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
315
316         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
317         static function. Access through LyX::cref().emergencyCleanup().
318
319 2003-10-14  André Pönitz  <poenitz@gmx.net>
320
321         * iterators.[Ch]: new direct access to innermost LyXText and Inset
322
323         * undo.[Ch]: restoring part of 'undo in insets'
324
325         * Makefile.am:
326         * undo_funcs.[Ch]: merge with undo.[Ch]
327
328         * tabular.C: small cleansing stuff
329
330 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
331
332         * paragraph_funcs.C (readParToken): report unknown insets as error
333         boxes. Use the outer paragraph as location (also for unknown
334         tokens).
335
336         * factory.C (readInset): do not abort on reading an unknown inset.
337         Eat it and return 0.
338
339 2003-10-13  Angus Leeming  <leeming@lyx.org>
340
341         * lyx_main.C (LyX): remove call to setDisplayTranslator().
342
343         * lyxrc.C: displayTranslator is now a function,
344         declared in GraphicsTypes.h.
345
346 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
347
348         * format.C: new placeholder $$a to pass the socket address.
349
350         * bufferlist.[Ch]: new function getBufferFromTmp.
351
352         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
353           files in the temporary dir.
354
355 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
356
357         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
358
359         * Makefile.am: add lyxsocket.[Ch].
360
361         * lyx_main.C (error_handler): handle SIGPIPE.
362
363 2003-10-13  André Pönitz  <poenitz@gmx.net>
364
365         * BufferView_pimpl.C:
366         * lyxtext.h:
367         * text.C:
368         * text2.C:
369         * text3.C:
370         * undo_funcs.[Ch]: use paroffset_type instead of
371           ParagraphList::iterators to prevent multiple conversion
372           (and get a more robust interface)
373
374 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
375
376         * lyxfunc.C (dispatch): RESULT -> dispatch_result
377         * lyxtext.h: ditto
378         * text3.C (dispatch): ditto
379
380 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
381
382         * LaTeX.C (handleFoundFile): move the static to smaller scope,
383         move the onlyfile, use onlyfile instead of foundfile in a couple
384         of places.
385
386         * DepTable.C (update): flush the error stream a bit more
387
388 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
389
390         * lyxserver.C (callback): adjust
391
392         * lyxfunc.C (getStatus): add a missing brace in commented code
393         (ensureBufferClean): reindent
394         (dispatch): delete version taking a string
395
396 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * LaTeX.C (deplog): move found file handlig from here...
399         (handleFoundFile): .. to new function here.
400         (deplog): make sure to discover several files mentioned on the
401         same log line.
402
403 2003-10-10  André Pönitz  <poenitz@gmx.net>
404
405         * lyxfunc.C:
406         * lyxtext.h:
407         * tabular.C:
408         * text.C:
409         * text2.C:
410         * text3.C: fix some of the tabular crashes
411
412 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
413
414         * MenuBackend.C (binding): put debug message into Debug::KBMAP
415
416         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
417
418 2003-10-09  André Pönitz  <poenitz@gmx.net>
419
420         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
421
422         * BufferView.C:
423         * BufferView_pimpl.C:
424         * bufferview_funcs.C:
425         * lyx_cb.C:
426         * lyxcursor.C:
427         * lyxfind.C:
428         * lyxfunc.C:
429         * lyxtext.h:
430         * text.C:
431         * text2.C:
432         * text3.C:
433         * text_funcs.[Ch]:
434         * textcursor.[Ch]:
435         * undo_funcs.C: adjust
436
437 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
438
439         * text2.C (incrementItemDepth): new function, use a backtracking
440         algorithm to discover the correct item depth.
441         (resetEnumCounterIfNeeded): new function, use a backtracking
442         algorithm to discover if counter reset is needed.
443         (setCounter): use them. Simplify a bit. Add different labels for
444         different item depths for itemize.
445
446         * paragraph.C (Paragraph): remove initialization of enumdepth
447         (operator=): ditto
448
449         * paragraph.h: get rid of enumdepth, and use itemdepth both for
450         enumerate and itemize. Change the type of itemdepth to signed char.
451
452 2003-10-08  André Pönitz  <poenitz@gmx.net>
453
454         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
455           thing assignable.
456         * text.C:
457         * text2.C: adjust
458
459         * tabular.[Ch]: fix crash after 'row-insert'
460
461 2003-10-08  Angus Leeming  <leeming@lyx.org>
462
463         Fix doxygen warnings.
464
465         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
466         Remove CutAndPaste:: prefix from header file declaration.
467
468         * LColor.h (fill): remove LColor:: prefix from declaration.
469
470         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
471         use lyx::depth_type rather than Paragraph::depth_type so that
472         header file and .C file match.
473
474         * converter.h (intToFormat): remove Converters:: prefix from declaration.
475
476         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
477         * aspell.C: \file aspell_local.C -> \file aspell.C
478         * gettext.C: \file gettext.C -> \file src/gettext.C
479         * gettext.h: \file gettext.h -> \file src/gettext.h
480         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
481         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
482         * text.C: \file text.C -> \file src/text.C
483
484         * toc.C: move comment so that doxygen is not confused.
485
486 2003-10-07  Angus Leeming  <leeming@lyx.org>
487
488         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
489
490 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491
492         * aspell.C:
493         * aspell_local.h: add forgotten std::string's.
494
495 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
496
497         * LaTeXFeatures.C:
498         * LyXAction.C:
499         * factory.C:
500         * lfuns.h:
501         * lyxfunc.C:
502         * text3.C: The Box patch. Fancybox support, minipage, parbox
503
504 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
505
506         * CutAndPaste.h:
507         * DepTable.h:
508         * FloatList.h:
509         * LaTeXFeatures.h:
510         * ParagraphParameters.h:
511         * TextCache.h:
512         * Thesaurus.h:
513         * bufferlist.h:
514         * exporter.h:
515         * importer.h:
516         * lastfiles.h:
517         * lyxfind.h:
518         * lyxfont.h:
519         * lyxlex.h:
520         * lyxtextclasslist.h:
521         * messages.h:
522         * paragraph.h:
523         * paragraph_pimpl.C:
524         * textcursor.h: add <string> and other small fixes to make Lars'
525         std::string patch compile with STLport.
526
527 2003-10-06  Angus Leeming  <leeming@lyx.org>
528
529         * LColor.h: Add missing #include <string>.
530
531 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
532
533         * All most all file in all subdirs: Make <string> be the prefered
534         way of getting to std::string, add using declarations.
535
536 2003-10-06  André Pönitz  <poenitz@gmx.net>
537
538         * metricsinfo.C: initialize LyXFont before changing attribute.
539         (fixes the 'math in \emph is upright' bug)
540
541 2003-10-06  André Pönitz  <poenitz@gmx.net>
542
543         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
544
545 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
546
547         * graph.C:
548         * paragraph_pimpl.C: Small fixes to build using STLport
549
550 2003-10-02  André Pönitz  <poenitz@gmx.net>
551
552         * lyxfunc.C:
553         * text3.C: move handling of LFUN_DEPTH *; fix #1360
554
555 2003-10-01  André Pönitz  <poenitz@gmx.net>
556
557         * factory.C: assert early
558
559 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
560
561         * lyx_main.C: remove the global debug object
562
563         * debug.h: adjust for new debugstream
564
565         * debug.C: adjust for new debugstream and keep the global debug
566         object here.
567
568 2003-09-22  Angus Leeming  <leeming@lyx.org>
569
570         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
571         of g++ which otherwise complain that the scoped_ptr destructor can't delete
572         an incomplete class LyXFont.
573
574 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
575
576         * factory.C: bug fix in branches
577
578 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
579
580         * lyxfunc.C (processKeySym): adjust
581         (dispatch): adjust
582         (dispatch): change arg name from ev to func, adjust
583         (sendDispatchMessage): ditto
584
585         * lyx_main.C (defaultKeyBindings): adjust keybindings
586         (deadKeyBindings): ditto
587
588         * kbsequence.C (addkey): return a FuncRequest
589
590         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
591
592         * kbmap.C (bind): take a FuncRequest as arg, adjust
593         (read): adjust
594         (lookup): adjust
595         (defkey): change to take a FuncRequest as arg, adjust
596         (findbinding): take a FuncRequest as arg, adjust.
597
598         * funcrequest.h (operator=): added
599
600         * funcrequest.C (FuncRequest): default kb_action changed from
601         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
602
603         * buffer.C (dispatch): simplify
604         (dispatch): adjust to take a FuncRequest as arg, adjust
605
606         * boost.C (assertion_failed): change assertion message slightly
607
608         * ToolbarBackend.C (read): simplify
609
610         * MenuBackend.C (binding): adjust call to findbinding, add a
611         message if no binding is found.
612         (read): simplify
613         (expandToc): correct by adding a empty FuncRequest
614
615         * LyXAction.C: include <boost/assert.hpp>
616         (isPseudoAction): delete function
617         (LookupFunc): change name to...
618         (lookupFunc): this. change return type to FuncRequest.
619         (getActionName): take kb_action as arg, simplify
620         (funcHasFlag): add an assert, simplify.
621
622 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
623
624         * toc.C (action): return a FuncRequest, simplify
625
626         * lyxfunc.C (processKeySym): adjust
627         (getStatus): delete version that takes an int.
628         (getStatus): adjust
629         (dispatch): delete version that takes action as int
630         (dispatch): adjust
631         (sendDispatchMessage): simplify and adjust
632
633         * funcrequest.C (getArg): take unsigned int as arg
634
635         * ToolbarBackend.C (read): adjust
636         (add): delete version that takes func as a string.
637         (getIton): take a FuncRequest as arg
638
639         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
640         action.
641
642         * MenuBackend.C (MenuItem): add a new construct that only takes a
643         Kind, simplify the constructor use for submenus.
644         (add): adjust
645         (expandLastfiles): adjust
646         (expandDocuments): adjust
647         (expandFormats): adjust
648         (expandFloatListInsert): adjust
649         (expandFloatInsert): adjust
650         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
651
652         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
653         Remove class variables lyx_pseudo_map and lyx_arg_map
654
655         * LyXAction.C (searchActionArg): delete function
656         (getPseudoAction): delete function
657         (retrieveActionArg): delete function
658         (LookupFunc): make it return kb_action, simplify.
659         (getActionName): simplify
660
661         * factory.C (createInset): fix new bug
662
663 2003-09-19  Angus Leeming  <leeming@lyx.org>
664
665         * CutAndPaste.C (pasteSelection): remove fudge used to set the
666         masterFilename_ parameter in the include inset.
667
668         * factory.C (createInset): changes due to the changes to InsetInclude.
669
670 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
671
672         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
673
674 2003-09-18  Angus Leeming  <leeming@lyx.org>
675
676         * buffer.C:
677         * BufferView.C: pass the buffer when calling Inset::getLabelList,
678         Inset::fillWithBibKeys.
679         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
680
681 2003-09-18  Angus Leeming  <leeming@lyx.org>
682
683         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
684         variables.
685         (ctor): pass and store a 'Buffer const &'
686         (buffer): new member function.
687
688         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
689         '*this' to the LaTeXFeatures ctor.
690
691 2003-09-18  Angus Leeming  <leeming@lyx.org>
692
693         * LColor.h:
694         * lyxfont.C:
695         * lyxfont.h:
696         * lyxtext.h:
697         * text.C: rename EnumLColor as LColor_color.
698
699 2003-09-18  Angus Leeming  <leeming@lyx.org>
700
701         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
702         remove #include "insets/insetbase.h" from cursor.h.
703
704 2003-09-18  Angus Leeming  <leeming@lyx.org>
705
706         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
707         InsetOld_code to remove #include "inset.h".
708
709         * iterators.C: add #include "insets/inset.h"
710
711 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * BufferView.C: remove more locking stuff that apparently doesn't
714         do anything sensible.
715
716 2003-09-16  André Pönitz  <poenitz@gmx.net>
717
718         * paragraph.[Ch]:
719         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
720           performance boost.
721
722 2003-09-16  Angus Leeming  <leeming@lyx.org>
723
724         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
725
726         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
727         arg/return type.
728
729         * paragraph.h: remove #include "lyxfont.h". Forward declare
730         LyXFont_size.
731
732 2003-09-16  Angus Leeming  <leeming@lyx.org>
733
734         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
735         of support/textutils.h.
736         (isWord): move the contents of support/textutils.h's IsWordChar here.
737
738         * buffer.C:
739         * lyxfind.C:
740         * rowpainter.C:
741         * text.C:
742         * text2.C: add #include "paragraph.h".
743
744         * rowpainter.C:
745         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
746
747 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
748
749         * main.C:
750         * lyx_main.C:
751         * lyx_cb.C:
752         * buffer.C:
753         * LaTeX.C: use namespace alias for lyx::support::os
754
755 2003-09-16  Angus Leeming  <leeming@lyx.org>
756
757         * bufferparams.C:
758         * bufferview_funcs.C:
759         * factory.C:
760         * lyxfunc.C:
761         * paragraph_pimpl.C:
762         * rowpainter.C:
763         * text.C: add #include "LColor.h".
764
765 2003-09-16  Angus Leeming  <leeming@lyx.org>
766
767         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
768         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
769         return LyXFont &.
770         Store the FontBits::color variable as an int rather than as an
771         LColor::colorso that we can move LColor.h out of the lyxfont.h header
772         file.
773
774         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
775         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
776         string calls together.
777
778         * lyxrc.C: add #include "LColor.h".
779
780 2003-09-15  Angus Leeming  <leeming@lyx.org>
781
782         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
783         a cow_ptr.
784
785 2003-09-15  Angus Leeming  <leeming@lyx.org>
786
787         * LColor.h: add an EnumLColor wrapper for LColor::color.
788
789         * lyxfont.[Ch] (color, setColor, realColor):
790         * lyxtext.h, text.C (backgroundColor):
791         pass EnumLColor args to/from the functions, rather than LColor::color
792         ones.
793
794         * lyxfont.h:
795         * lyxtext.h: forward declare EnumLColor.
796
797         * lyx_main.C: add #include "LColor.h".
798
799 2003-09-15  Angus Leeming  <leeming@lyx.org>
800
801         * .cvsignore: add lyx-gtk.
802
803 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
804
805         * Chktex.C
806         * LaTeX.C
807         * LaTeXFeatures.C
808         * ParagraphParameters.C
809         * Spacing.C
810         * buffer.C
811         * bufferparams.C
812         * bufferview_funcs.C
813         * chset.C
814         * counters.C
815         * funcrequest.C
816         * lyxfont.C
817         * lyxgluelength.C
818         * lyxlength.C
819         * paragraph.C
820         * paragraph_funcs.C
821         * text3.C
822         * vc-backend.C: remove usage of STRCONV
823
824 2003-09-15  Angus Leeming  <leeming@lyx.org>
825
826         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
827         explicitly define the color passed to the painter.
828
829 2003-09-15  Angus Leeming  <leeming@lyx.org>
830
831         * bufferparams.C (BufferParams): reorder member initializers to avoid
832         compiler warning.
833
834 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
835
836         * CutAndPaste.C (pasteSelection): remove an outdated #warning
837         * text.C (updateRowPositions): remove an unusual nop
838
839 2003-09-12  André Pönitz  <poenitz@gmx.net>
840
841         * BufferView_pimpl.C:
842         * Bullet.C:
843         * layout.h:
844         * lyxfunc.C:
845         * lyxlayout.[Ch]:
846         * lyxtextclass.C:
847         * rowpainter.C:
848         * text.C:
849         * text2.C:
850         * Counters.[Ch]: finish the 'automatic counters' job
851
852 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
853
854         * aspell.C: include <boost/assert.cpp> (compile fix)
855
856 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
857
858         * boost.C (assertion_failed): use lyx::support::abort instead of
859         assert.
860
861 2003-09-10  Angus Leeming  <leeming@lyx.org>
862
863         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
864         with their _fwd progeny.
865
866 2003-09-09  Angus Leeming  <leeming@lyx.org>
867
868         134 files throughtout the source tree: replace 'using namespace abc;'
869         directives with the appropriate 'using abc::xyz;' declarations.
870
871 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
872
873         * boost.C (emergencyCleanup): moved here from LAssert.c
874         (assertion_failed): new function, called by BOOST_ASSERT
875
876         * several files: change Assert to BOOST_ASSERT
877
878 2003-09-09  Angus Leeming  <leeming@lyx.org>
879
880         * buffer.[Ch]: Add an Impl class and move Buffer's member
881         variables into it. As a result move several header files out of
882         buffer.h.
883
884         Add header files to lots of .C files all over the tree as a result.
885
886 2003-09-09  Angus Leeming  <leeming@lyx.org>
887
888         * buffer.[Ch]: make Buffer's member variables private. Add
889         accessor functions.
890
891         Lots of changes all over the tree as a result.
892
893 2003-09-08  Angus Leeming  <leeming@lyx.org>
894
895         * graph.C: #include <config.h>.
896
897 2003-09-08  Angus Leeming  <leeming@lyx.org>
898
899         * BranchList.C:
900         * BufferView.C:
901         * BufferView_pimpl.C:
902         * CutAndPaste.C:
903         * DepTable.C:
904         * LaTeX.C:
905         * LaTeXFeatures.C:
906         * LyXAction.C:
907         * MenuBackend.C:
908         * TextCache.C:
909         * aspell.C:
910         * buffer.C:
911         * bufferlist.C:
912         * changes.C:
913         * chset.C:
914         * converter.C:
915         * counters.C:
916         * debug.C:
917         * graph.C:
918         * ispell.C:
919         * lyx_cb.C:
920         * lyxfind.C:
921         * lyxfunc.C:
922         * lyxlex_pimpl.C:
923         * lyxrc.C:
924         * lyxrow.C:
925         * paragraph.C:
926         * rowpainter.C:
927         * texrow.C:
928         * text.C:
929         * text2.C:
930         * toc.C: remove redundant using directives.
931
932 2003-09-07  Angus Leeming  <leeming@lyx.org>
933
934         * LaTeXFeatures.h: remove #include "support/types.h".
935         * ToolbarBackend.h: remove #include <algorithm>.
936         * changes.h: remove #include <ctime>.
937         * debug.h: remove #include <iosfwd>.
938         * graph.h: remove #include "support/std_string.h".
939         * lyx_main.h: remove #include <csignal>.
940         * lyxlex_pimpl.h: remove #include <fstream>.
941         * sgml.h: remove #include <algorithm>, <utility>.
942         * toc.h: remove #include "support/std_ostream.h".
943         Add #include <iosfwd>.
944
945 2003-09-07  Angus Leeming  <leeming@lyx.org>
946
947         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
948
949         * converter.h: forward declare LatexRunParams.
950         * encoding.h: remove #include "lyxrc.h".
951         * lyxtext.h: remove #include "LColor.h".
952         * lyxtextclass.h: remove #include "support/types.h".
953         * trans.h: remove #include "tex-accent.h".
954         * trans_mgr.h: remove #include "tex-accent.h".
955         * insets/inset.h: remove #include "support/types.h", <vector>.
956         * insets/insetcollapsable.h: remove #include "LColor.h".
957         * insets/insetinclude.h: remove #include "dimension.h".
958         * insets/insetlatexaccent.h: remove #include "dimension.h".
959         * insets/insetoptarg.h:: remove #include "insettext.h".
960         * insets/insettext.h: remove #include "dimension.h",
961         <boost/shared_ptr.hpp>
962
963         * insets/renderers.h: add #include "dimension.h".
964         * insets/updatableinset.h: add #include "support/types.h".
965
966         * many .C files: Associated changes.
967
968 2003-09-06  Angus Leeming  <leeming@lyx.org>
969
970         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
971         one, inside testInvariant.
972
973         * PrinterParams.C: new file.
974         * PrinterParams.[Ch]: move the function bodies out of line.
975
976 2003-09-06  Angus Leeming  <leeming@lyx.org>
977
978         * ParagraphParameters.h: forward declare ParameterStruct rather than
979         including its header file.
980         (depth): moved out-of-line.
981
982 2003-09-06  Angus Leeming  <leeming@lyx.org>
983
984         * BufferView_pimpl.h:
985         * kbmap.h:
986         * kbsequence.h:
987         * lyxfunc.h: forward declare LyXKeySym rather than
988         #include "frontends/LyXKeySym.h".
989
990         * BufferView_pimpl.C:
991         * kbmap.C:
992         * kbsequence.C:
993         * lyxfunc.C: associated changes.
994
995 2003-09-06  Angus Leeming  <leeming@lyx.org>
996
997         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
998         As a result, can remove the #include "insets/inset.h" from BufferView.h
999
1000 2003-09-06  Angus Leeming  <leeming@lyx.org>
1001
1002         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1003         As a result, can remove the #include "insets/inset.h" from BufferView.h
1004
1005 2003-09-06  Angus Leeming  <leeming@lyx.org>
1006
1007         * buffer_funcs.C:
1008         * buffer.h:
1009         * bufferlist.C:
1010         * BufferView.C:
1011         * bufferview_funcs.C:
1012         * BufferView_pimpl.C:
1013         * CutAndPaste.C:
1014         * lyx_cb.C:
1015         * lyxfunc.C:
1016         * paragraph.h:
1017         * ParagraphParameters.C:
1018         * tabular.C:
1019         * text3.C:
1020         * toc.C:
1021         * undo_funcs.C:
1022         * frontends/controllers/ControlDocument.C:
1023         * insets/insetcaption.C: rearrange the #includes into some sort of
1024         coherent order.
1025
1026         * buffer.h: remove #includes ErrorList.h, undo.h
1027
1028 2003-09-06  Angus Leeming  <leeming@lyx.org>
1029
1030         * support/types.h: add a 'depth_type' typedef, used to store the
1031         nesting depth of a paragraph.
1032
1033         * paragraph.h:
1034         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1035         defining explicitly.
1036
1037         * buffer.h:
1038         * paragraph_funcs.h:
1039         * ParagraphParameters.h:
1040         * sgml.h: use lyx::depth_type rather than Paragraph or
1041         ParameterStruct's depth_type.
1042
1043         * buffer.h
1044         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1045
1046         * BufferView.C:
1047         * BufferView_pimpl.C:
1048         * CutAndPaste.C:
1049         * ParagraphParameters.C:
1050         * buffer_funcs.C:
1051         * bufferlist.C:
1052         * bufferview_funcs.C:
1053         * lyx_cb.C:
1054         * lyxfunc.C:
1055         * tabular.C:
1056         * text3.C:
1057         * toc.C:
1058         * undo_funcs.C:
1059         * frontends/LyXView.C:
1060         * frontends/controllers/ControlDocument.C:
1061         * frontends/controllers/ControlErrorList.C:
1062         * insets/insetbibitem.C:
1063         * insets/insetbranch.C:
1064         * insets/insetcaption.C:
1065         * insets/insetcollapsable.C:
1066         * insets/insetenv.C:
1067         * insets/insetert.C:
1068         * insets/insetfloat.C:
1069         * insets/insetfoot.C:
1070         * insets/insetfootlike.C:
1071         * insets/insetnewline.C:
1072         * insets/insetquotes.C:
1073         * insets/insettabular.C:
1074         * insets/insettext.C:
1075         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1076
1077         * frontends/controllers/ControlChanges.C: #include "changes.h".
1078
1079 2003-09-06  Angus Leeming  <leeming@lyx.org>
1080
1081         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1082         than #including paragraph.h.
1083
1084         * ParagraphList.h:
1085         * RowList.h: deleted. Superfluous.
1086
1087         * CutAndPaste.h:
1088         * iterators.h:
1089         * lyxcursor.h:
1090         * lyxtext.h:
1091         * text_funcs.h:
1092         * undo.h:
1093         * undo_funcs.h:
1094         * insets/inset.h:
1095         * insets/insettext.h: use ParagraphList_fwd.h rather than
1096         ParagraphList.h.
1097
1098         * paragraph.h: don't forward declare ParagraphList.
1099
1100         * buffer.h:
1101         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1102         rather than ParagraphList.h. paragraph.h is still needed for the
1103         Paragraph::depth_type parameters.
1104
1105         * textcursor.h: enable it to compile stand-alone in light of the
1106         above changes.
1107
1108         * bufferview_funcs.C:
1109         * iterators.C:
1110         * lyxfunc.C:
1111         * lyxrow_funcs.C:
1112         * paragraph.C:
1113         * rowpainter.C:
1114         * text.C:
1115         * text2.C:
1116         * text3.C:
1117         * text_funcs.C:
1118         * textcursor.C:
1119         * undo.C:
1120         * frontends/controllers/ControlParagraph.C:
1121         * frontends/controllers/ControlTabular.C:
1122         * insets/insetmarginal.C:
1123         * insets/insetminipage.C:
1124         * insets/insetnote.C:
1125         * insets/insetoptarg.C: add header files needed to compile again.
1126
1127 2003-09-06  Angus Leeming  <leeming@lyx.org>
1128
1129         * RowList_fwd.h: new file, forward-declaring Row rather than
1130         #including lyxrow.h.
1131
1132         * lyxrow_funcs.h:
1133         * lyxtext.h:
1134         * paragraph.h:
1135         * insets/insettext.h: use it instead of RowList.h
1136
1137         * bufferview_funcs.C:
1138         * lyxfunc.C:
1139         * lyxrow_funcs.C:
1140         * paragraph.C:
1141         * rowpainter.C:
1142         * text.C:
1143         * text2.C:
1144         * text3.C: #include "RowList.h".
1145
1146 2003-09-05  Angus Leeming  <leeming@lyx.org>
1147
1148         * factory.C (createInset):
1149         * vspace.C (c-tor): replace sscanf call with an istringstream.
1150         * ispell.C: re-add missing HP/UX headers.
1151         * lyxserver.C: re-add missing  os2 headers.
1152
1153 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * BranchList.C:
1156         * graph.C:
1157         * ispell.C:
1158         * lastfiles.C:
1159         * lyx_cb.C:
1160         * lyxserver.C:
1161         * texrow.C:
1162         * text3.C: re-add missing system headers, needed for 2.95.2.
1163
1164 2003-09-05  Angus Leeming  <leeming@lyx.org>
1165
1166         Changes most place everywhere due to the removal of using directives
1167         from support/std_sstream.h.
1168
1169 2003-09-05  Angus Leeming  <leeming@lyx.org>
1170
1171         Replace LString.h with support/std_string.h,
1172         Lsstream.h with support/std_sstream.h,
1173         support/LIstream.h with support/std_istream.h,
1174         support/LOstream.h with support/std_ostream.h.
1175
1176         Changes resulting throughout the tree.
1177
1178 2003-09-05  Angus Leeming  <leeming@lyx.org>
1179
1180         * sgml.h: ensure that the header file can be compiled stand-alone.
1181         * *.C: strip out redundant #includes. (320 in total.)
1182
1183 2003-09-04  Angus Leeming  <leeming@lyx.org>
1184
1185         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1186         here (from getPackages).
1187
1188         * debug.[Ch]: add a new EXTERNAL tag.
1189
1190 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1191
1192         * text2.C (cursorEnd): simplify
1193         (setCursor): adjust
1194         (getColumnNearX): adjust
1195
1196         * text.C (computeBidiTables): adjust
1197         (fill): adjust
1198
1199         * rowpainter.C (paintChars): adjust
1200         (paintSelection): adjust
1201         (paintChangeBar): adjust
1202         (paintText): adjust
1203
1204         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1205         lastPos instead.
1206         (numberOfSeparators): adjust
1207
1208 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1209
1210         * LyXAction.C:
1211         * box.[Ch]:
1212         * lfuns.h:
1213         * lyxfunc.C:
1214         * text3.C: Restricts the mouse click functionality
1215         of insets like bibtex, include, toc and floatlist to the visible
1216         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1217         up the dialogs. Cursor has to be in front of the inset (i.e.
1218         start of row) for this to function.
1219
1220 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1221
1222         * bufferview_funcs.C (currentState): output row information
1223
1224 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1225
1226         * bufferview_funcs.C (currentState): output paragraph position
1227
1228 2003-09-04  Angus Leeming  <leeming@lyx.org>
1229
1230         * FloatList.h: move out #include "Floating.h".
1231         * LaTeX.h: move out #include "DepTable.h".
1232         * LyXAction.h: move out #include "funcrequest.h".
1233         * buffer.h: move out #include "author.h", "iterators.h".
1234         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1235         * lyx_main.h: move out #include "errorlist.h".
1236         * lyxfunc.h: move out #include "FuncStatus.h".
1237         * lyxtext: move out #include "lyxcursor.h".
1238         * paragraph_pimpl.h: move out #include "counters.h".
1239
1240 2003-09-03  Angus Leeming  <leeming@lyx.org>
1241
1242         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1243         preamble_snippets list, enabling us to add snippets to the preamble
1244         only if the snippet was not there already.
1245
1246 2003-09-04  Angus Leeming  <leeming@lyx.org>
1247
1248         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1249
1250 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1253         update
1254
1255 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * BranchList.C: point fix, earlier forgotten
1258
1259 2003-09-02  Angus Leeming  <leeming@lyx.org>
1260
1261         * box.C (contains): renamed from 'contained' after a fantastic
1262         amount of hot air.
1263
1264 2003-09-02  John Levon  <levon@movementarian.org>
1265
1266         * BufferView.C:
1267         * lyxcursor.h:
1268         * lyxcursor.C:
1269         * lyxfunc.C:
1270         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1271
1272 2003-09-02  John Levon  <levon@movementarian.org>
1273
1274         * text2.C: simplification of cursorEnd(), including partial
1275         fix for bug 1376
1276
1277 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1278
1279         * buffer.C (readFile): add a space
1280
1281 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1282
1283         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1284
1285 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1286
1287         * buffer.C (readFile): new function, take a filename and a
1288         ParagraphList::iterator
1289         (readFile): adjust
1290         (readFile): adjust, make it private. don't use setStream, make
1291         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1292         always contain the filename.
1293
1294         * BufferView.C (insertLyXFile): simplify and make it work for
1295         gzipped files.
1296
1297 2003-08-30  John Levon  <levon@movementarian.org>
1298
1299         * Makefile.am: fix dist (from Kayvan)
1300
1301 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * most files: change to use const Buffer refs
1304
1305 2003-08-27  André Pönitz  <poenitz@gmx.net>
1306
1307         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1308         on top of ownerPar().
1309
1310 2003-08-27  John Levon  <levon@movementarian.org>
1311
1312         * funcrequest.C: properly initialise POD members
1313
1314 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1315
1316         * lyxtext.h (top_y): move top_y from here
1317         * text.C:
1318         * text2.C:
1319         * text3.C:
1320         * BufferView.[Ch]:
1321         * BufferView_pimpl.[Ch]: to here
1322         * frontends/screen.C:
1323         * insets/insettabular.C:
1324         * insets/insettext.C: adjust
1325         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1326
1327 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1328
1329         * BufferView.[Ch]:
1330         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1331
1332 2003-08-26  André Pönitz  <poenitz@gmx.net>
1333
1334         * paragraph_func.[Ch] (outerPar): new function
1335
1336         * paragraph.C:
1337         * paragraph_funcs.C:
1338         * paragraph_funcs.h:
1339         * paragraph_pimpl.C:
1340         * text2.C: remove Inset::par_owner
1341
1342 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * lyxrow_funcs.C:
1345         * lyxtext.h:
1346         * text.C:
1347         * text2.C: eliminates the needFullRow/display() stuff
1348         altogether, putting the logic in metrics/draw in the insets.
1349
1350 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1351
1352         * text2.C (redoParagraphInternal, redoParagraphs):
1353         * text.C (redoParagraph): add a call to updateRowPositions at the
1354         end of each 'metrics-like' call. Remove all others.
1355         (getRow): remove the 'y-computing' version.
1356         (getRowNearY): do not compute nor return the real y. Solve the
1357         'y < 0' problem and simplify.
1358
1359 2003-08-22  Angus Leeming  <leeming@lyx.org>
1360
1361         * *.[Ch]: clean-up of licence and author blurbs.
1362         Also move config.h out of a few .h files and into a few .C files.
1363
1364 2003-08-22  André Pönitz  <poenitz@gmx.net>
1365
1366         * lyxrow.[Ch]: add x_ and *fill_ members
1367
1368         * lyxtext.h:
1369         * text.C:
1370         * rowpainter.C:
1371         * text2.C: adjust/remove prepareToPrint() calls
1372
1373 2003-08-22  André Pönitz  <poenitz@gmx.net>
1374
1375         * lyxrow.[Ch]: add  end_ member
1376
1377         * lyxrow_funcs.C: use LyXRow::end_
1378
1379         * lyxtext.h (singleWidth): add LyXFont parameter
1380
1381         * rowpainter.C:
1382         * text2.C: adjust LyXText::singleWidth() calls
1383
1384         * text.C (redoParagraph): simplify row breaking logic
1385
1386
1387 2003-08-19  André Pönitz  <poenitz@gmx.net>
1388
1389         * funcrequest.C: initialize button_ member
1390
1391         * text3.C:
1392         * rowpainter.[Ch]: interface consolidation
1393
1394 2003-08-18  André Pönitz  <poenitz@gmx.net>
1395
1396         * BufferView.C:
1397         * BufferView_pimpl.C:
1398         * lyxfind.C:
1399         * paragraph_funcs.C:
1400         * rowpainter.C:
1401         * text3.C: remove LyXScreen::draw() and fitCursor calls
1402
1403         * BranchList.h: remove spurious semicolons
1404
1405         * MenuBackend.C: fix branchlist related crash
1406
1407 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1408
1409         * BranchList.[Ch]:
1410         * InsetList.[Ch]:
1411         * LColor.[Ch]:
1412         * LyXAction.C:
1413         * Makefile.am:
1414         * MenuBackend.[Ch]:
1415         * bufferparams.[Ch]:
1416         * factory.C:
1417         * lfuns.h:
1418         * lyxfunc.C:
1419         * text3.C: implements the 'branch inset'
1420         idea. This allows the output of various versions of a document
1421         from a single source version, selectively outputing or suppressing
1422         output of parts of the text.
1423         This implementation contains a 'branch list editor' in a separate
1424         tab of the document settings dialog. Branches are user definable
1425         and have a "display colour" to distinguish them on-screen.
1426
1427         ColorHandler was somewhat cleaned up.
1428         (1) make possible a dynamically growing LColor list by allowing
1429         the graphic context cache to grow along (vector);
1430         (2) eliminate an IMHO unnecessary step in colour allocation.
1431
1432 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1433
1434         * BufferView_pimpl.C: compile fix
1435
1436 2003-08-15  André Pönitz  <poenitz@gmx.net>
1437
1438         * rowpainter.C: remove extra metrics calls
1439
1440         * lyxtext.h: merge the two constructors into a single one,
1441           pass reference to owner's par list
1442
1443         * BufferView_pimpl.C:
1444         * text.C:
1445         * text2.C: adjust
1446
1447 2003-08-15  André Pönitz  <poenitz@gmx.net>
1448
1449         * lyxrow_funcs.[Ch]:
1450         * lyxtext.h:
1451         * paragraph.h:
1452         * paragraph_funcs.C:
1453         * rowpainter.C:
1454         * text.C:
1455         * text2.C:
1456         * text3.C:
1457         * text_funcs.C: split LyXText::rowlist_ into individual
1458         Paragraph::rows_ chunks
1459
1460         * BufferView.[Ch]:
1461         * BufferView_pimpl.[Ch]:
1462         * lyxfind.C:
1463         * lyxtext.h:
1464         * text3.C: remove toggleSelection()
1465
1466 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1467
1468         * bufferlist.C: beautify two alerts (shorter text of buttons)
1469         * buffer.C: Remove redundant ' ' from message
1470         * tabular.h:
1471         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1472         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1473         rename VALIGN_CENTER to VALIGN_MIDDLE
1474
1475 2003-08-11  André Pönitz  <poenitz@gmx.net>
1476
1477         * lyxtext.h (getPar):
1478         * text.C: new function
1479
1480 2003-08-11  André Pönitz  <poenitz@gmx.net>
1481
1482         * Makefile.am:
1483         * tracer.[Ch]: remove unneeded files
1484
1485         * InsetList.[Ch]: remove resizeInsetsLyXText()
1486
1487         * lyxtext.h:
1488         * text.C:
1489         * text2.C:
1490         * text3.C: merge insertParagraphs() and appendParagraph()
1491         remove breakAgain(), update()
1492
1493         * BufferView_pimpl.[Ch]:
1494         * bufferview_funcs.[Ch]:
1495         * lyxfunc.C:
1496         * paragraph.[Ch]:
1497         * rowpainter.C:
1498         * tabular.C: adjust after text & InsetList changes.
1499
1500 2003-08-08  André Pönitz  <poenitz@gmx.net>
1501
1502         * text.C (insertChar, backspace): replace rowlist fiddling
1503         with rebreak of full par
1504
1505         * lyxtext.h:
1506         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1507         checkParagraph, updateInset): removed
1508
1509 2003-08-07  André Pönitz  <poenitz@gmx.net>
1510
1511         * paragraph.C:
1512         * text3.C: merge some LFUN handlers, remove dead code
1513
1514 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1515
1516         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1517
1518 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1519
1520         * text2.C (DEPM): fix part of bug 1255 and 1256
1521
1522 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * BufferView_pimpl.C (workAreaDispatch): change to use
1525         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1526         that are no mouse related.
1527
1528 2003-08-05  André Pönitz  <poenitz@gmx.net>
1529
1530         * BufferView.[Ch]:
1531         * BufferView_pimpl.[Ch]:
1532         * bufferview_funcs.C:
1533         * text2.C:
1534         * text3.C: rip out "deep update"
1535
1536         * textcursor.[Ch] (last_sel_cursor): remove unused member
1537
1538 2003-08-04  André Pönitz  <poenitz@gmx.net>
1539
1540         * BufferView.[Ch]:
1541         * BufferView_pimpl.[Ch]:
1542         * ParagraphParameters.C:
1543         * bufferview_funcs.C:
1544         * lyx_cb.C:
1545         * lyxfind.C:
1546         * lyxfunc.C:
1547         * text.C:
1548         * text2.C:
1549         * text3.C: replace "complicated" BufferView::update(...) calls with
1550         simpler ones.
1551
1552         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1553
1554 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1555
1556         * Makefile.am (lyx_SOURCES): add paper.h
1557
1558 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1559
1560         * Makefile.am: move things around so that both lyx-qt and
1561         lyx-xforms can be built (according to --with-frontend). Then lyx
1562         is a symbolic link to lyx-[firstfrontend]
1563
1564 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1565
1566         * Always use std::endl with lyxerr
1567
1568 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1569
1570         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1571
1572 2003-08-01  André Pönitz  <poenitz@gmx.net>
1573
1574         * BufferView.[Ch]:
1575         * BufferView_pimpl.[Ch]:
1576         * lyxfunc.C:
1577         * text3.C: merge BufferView::repaint() and BufferView::update()
1578
1579 2003-08-01  José Matos  <jamatos@lyx.org>
1580
1581         * buffer.[Ch]: file_format is no longer a buffer data element.
1582
1583 2003-08-01  André Pönitz  <poenitz@gmx.net>
1584
1585         * BufferView.C:
1586         * lyxtext.h:
1587         * text.C:
1588         * text2.C: make redoParagraph more independent of current cursor
1589
1590         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1591         * text.C:
1592         * text2.C: remove unneeded members
1593
1594 2003-07-30  André Pönitz  <poenitz@gmx.net>
1595
1596         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1597
1598         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1599           create a single function...
1600
1601         * paragraph_funcs.C (moveItem): ... here.
1602
1603         * text.C:
1604           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1605
1606 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1607
1608         * LColor.[Ch]: Add comment and greyedout logical colors.
1609
1610 2003-07-30  André Pönitz  <poenitz@gmx.net>
1611
1612         * tabular.C: don't use Assert too heavily. This crashes where it
1613           shouldn't
1614
1615 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1616
1617         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1618         is disabled (bug 1232)
1619
1620 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1621
1622         * factory.C: limited 'arg' scope
1623
1624 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1625
1626         * factory.C: fixed Note submenu issues
1627
1628 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1629
1630         * factory.C: submenu for Note/Comment/Greyedout
1631
1632 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * lyx_main.C (LyX):
1635         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1636
1637 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1638
1639         * LaTeXFeatures.C:
1640         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1641         greyedout. Patch provided by Jürgen Spitzmüller.
1642
1643 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * kbmap.C (read): fix error message when reading bind files
1646
1647 2003-07-29  Angus Leeming  <leeming@lyx.org>
1648
1649         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1650         certainly does not do what it purports to do. I am doing it, and
1651         us, a favour by killing it.
1652
1653 2003-07-28  José Matos  <jamatos@lyx.org>
1654
1655         * buffer.C (readBody, do_writeFile):
1656         * paragraph.C(readParagraph): \end_document replaces \the_end.
1657
1658 2003-07-29  André Pönitz  <poenitz@gmx.net>
1659
1660         * BufferView.[Ch]:
1661         * BufferView_pimpl.[Ch]:
1662         * lyxfunc.C:
1663         * text2.C:
1664         * text3.C:
1665         * textcursor.[Ch]: remove toggleToggle & Co
1666
1667 2003-07-28  José Matos  <jamatos@fep.up.pt>
1668
1669         * buffer.C (readParagraph):
1670         * params_func (readParToken, readParagraph):
1671         * paragraph.C (write): \layout -> \begin_layout.
1672
1673 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1674
1675         * lyxlex_pimpl.C (setFile): clean up slightly.
1676
1677         * bufferparams.h: add compressed var
1678
1679         * buffer_funcs.C (readFile): adjust for LyXLex change
1680         (newFile): ditto + simplify
1681
1682         * buffer.C (writeFile): handle writing of compressed files
1683
1684         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1685         Check if the file is compressed and set a bufferparm if so.
1686
1687         * Makefile.am (lyx_LDADD): remove explicit -lz
1688
1689 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1692         makeDocBookFile): put the real LyX version in the first line of
1693         the file
1694
1695         * version.h:
1696         * version.C.in: remove lyx_docversion
1697
1698         * tabular.C (write_attribute): add a template-based version to
1699         write enums properly
1700
1701 2003-07-28  André Pönitz  <poenitz@gmx.net>
1702
1703         * lyxtext.h:
1704         * text.C:
1705         * text2.C:
1706         * text3.C: use doubles again for x-coordinates. They are needed.
1707
1708 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1709
1710         * messages.C (getLocaleDir): use lyx_localedir()
1711
1712         * lyxlex_pimpl.C (setFile): compress stuff
1713
1714         * buffer.C (writeFile): add some compression stuff
1715         (do_writeFile): new func, dont call expliti close... will this
1716         breake anything?
1717
1718         * Makefile.am (lyx_LDADD): add -lz
1719
1720 2003-07-28  José Matos  <jamatos@fep.up.pt>
1721
1722         * buffer.C: increment file format.
1723         * paragraph_funcs (readParagraph, readParToken):
1724         * paragraph.C (readParagraph): add \end_layout.
1725
1726 2003-07-27  Angus Leeming  <leeming@lyx.org>
1727
1728         * Makefile.am: remove special casing for configure-time setting of
1729         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1730
1731         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1732         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1733
1734 2003-07-26  André Pönitz  <poenitz@gmx.net>
1735
1736         * paragraph_func.[Ch]:
1737         * paragraph.C (realizeFont): inline it whereever it is used
1738
1739         * rowpainter.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1743
1744
1745 2003-07-26  André Pönitz  <poenitz@gmx.net>
1746
1747         *       lyxtext.h:
1748         * text.C:
1749         * text2.C: get rid of LyXText::need_break_row
1750
1751 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * toc.[Ch]: put namespace toc inside namespace lyx
1754
1755         * MenuBackend.C (expandToc2): adjust for lyx::toc
1756         (expandToc): ditto
1757
1758         * lyxfunc.C (dispatch): adjust for lyx::find
1759
1760         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1761         lyx::find instead. Reorganize a bit.
1762         (LyXReplace): rename to replace
1763         (LyXFind): rename to find
1764
1765         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1766         (dispatch): ditto
1767
1768 2003-07-26  André Pönitz  <poenitz@gmx.net>
1769
1770         * text.C (setHeightOfRow): restrict scope of temporary variable
1771
1772         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1773           code (never has been used?)
1774
1775 2003-07-27  Asger Alstrup  <alstrup@local>
1776
1777         * text.C (fill): Optimise algorithm to exploit that we can reuse
1778         the LyXFont for many characters.
1779         (setHeightOfRow): Same thing.
1780         (rowBreakPoint): Same thing.
1781
1782 2003-07-26  Asger Alstrup  <alstrup@local>
1783
1784         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1785
1786         * text.C (singleWidth): Spurious font copying in hot-spot
1787         singleWidth avoided. Reorder tests for arabic for efficiency.
1788
1789         * text.C (fill): handle empty paragraphs better.
1790
1791 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * ispell.C:
1794         * encoding.h: add includes
1795
1796         * lyxrc.C: remove reading of bind files
1797
1798         * lyx_main.C (init): setup bindings and menus only if we have a
1799         gui.
1800
1801         * kbmap.C (read): new method. Do the actual reading of bind
1802         files.
1803
1804         * converter.C (dvipdfm_options):
1805         * bufferparams.C:
1806         * lyxrc.C (read):
1807         (output): adapt PAPER_* enums.
1808
1809         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1810
1811         * bufferparams.h: remove paper-related enums from there
1812
1813         * paper.h: New file. A trivial header file to hold paper-related
1814         enums. It should later expand to contain many paper-related
1815         horrors access.
1816
1817         * lyxrc.C: declare extern displayTranslator
1818
1819 2003-07-27  José Matos  <jamatos@fep.up.pt>
1820
1821         * tabular.[Ch] (linuxdoc): add support for tables and figures
1822         (linuxdoc).
1823
1824 2003-07-27  José Matos  <jamatos@fep.up.pt>
1825
1826         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1827         consistency in both functions.
1828         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1829
1830 2003-07-26  Asger Alstrup  <alstrup@local>
1831
1832         * rowpainter.C (paintRows): Change algorithm to work directly on
1833         the insets rather than asking every character in the document
1834         whether its an inset.
1835
1836 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1837
1838         * buffer.C (openFileWrite): factorize some code
1839
1840 2003-07-26  Angus Leeming  <leeming@lyx.org>
1841
1842         * lyx_cb.C:
1843         * lyx_main.[Ch]: replace occurances of system_tempdir with
1844         os::getTmpDir().
1845
1846 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1847
1848         * rename Inset to InsetOld
1849
1850 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1851
1852         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1853         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1854         which I think is a bit clearer. EDIT is gone, since it was
1855         premature optimisation, and broken for mathed anyway.
1856         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1857         with cursor positioning in insets as well (math insets still do not
1858         work, but that's a different story anyway.) It mysteriously
1859         crashes sometimes with undo in the first paragraph, but I'm fairly
1860         confident that this is a compiler bug.
1861
1862 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * paragraph.C (Paragraph): adjust for new clone return type
1865         (operator==): ditto
1866         (copyIntoMinibuffer): ditto
1867
1868 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1869
1870         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1871         by not having a special case, and always doing a full rebreak of
1872         the document after undo.
1873
1874 2003-07-23  Angus Leeming  <leeming@lyx.org>
1875
1876         * factory.C (createInset): InsetExternal::setParams now takes a
1877         Buffer const * arg.
1878
1879 2003-07-23  Angus Leeming  <leeming@lyx.org>
1880
1881         * factory.C (createInset): changed interface to the external and
1882         graphics mailers' string2params functions.
1883
1884 2003-07-23  Angus Leeming  <leeming@lyx.org>
1885
1886         * factory.C (createInset): pass a
1887         Buffer const * parameter to InsetExternalMailer's string2params.
1888
1889 2003-07-22  John Levon  <levon@movementarian.org>
1890
1891         * Thesaurus.h: include the right aiksaurus header
1892
1893 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * MenuBackend.C (expand): check menu shortcuts unconditionally
1896
1897 2003-07-21  Angus Leeming  <leeming@lyx.org>
1898
1899         * factory.C (createInset): pass a
1900         buffer_path parameter to InsetGraphicsMailer's string2params.
1901
1902 2003-07-21  Angus Leeming  <leeming@lyx.org>
1903
1904         * BufferView_pimpl.C (buffer):
1905         * buffer.C (d-tor):
1906         * lyx_main.C (LyX):
1907         * lyxfunc.C (dispatch):
1908         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1909         rather than the grfx shortcut.
1910
1911 2003-07-21  André Pönitz  <poenitz@gmx.net>
1912
1913         * rowpainter.C: remove unused variables
1914
1915         * tabular_funcs.C:
1916         * tabular_funcs.h: move to tabular.C
1917         * Makefile.am: adjust
1918
1919         * tabular.[Ch]: basic optical cleaning
1920
1921         * author.h: pass references, not values
1922
1923 2003-07-18  André Pönitz  <poenitz@gmx.net>
1924
1925         * lyxtext.h:
1926         * metricsinfo.C:
1927         * metricsinfo.h:
1928         * rowpainter.C:
1929         * text.C:
1930         * text2.C:
1931         * text3.C: two-phase drawing for InsetText and InsetTabular
1932         some float -> int changes.
1933
1934 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * lyx_main.C: fix the fix
1937
1938 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1939
1940         * lyx_main.C: fix a crash in batch mode if no files specified
1941         * converter.C: ws
1942
1943 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * format.[Ch] (papersize): moved to BufferParams
1946         * converter.[Ch] (dvips_options): moved to BufferParams
1947         (dvipdfm_options): moved to anon namespace
1948         * bufferparams.[Ch]: added above functions.
1949
1950 2003-07-17  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxtext.h:
1953         * rowpainter.C:
1954         * text2.C: don't call inset->update() anymore
1955
1956         * metricsinfo.[Ch]: add convenience constructor
1957
1958 2003-07-16  André Pönitz  <poenitz@gmx.net>
1959
1960         * lyxcursor.[Ch]:
1961         * lyxfunc.[Ch]:
1962         * text.C:
1963         * text2.C: replace the LyXCursor::irow_ member with
1964          on-demand computation of the value
1965
1966 2003-07-16  John Levon  <levon@movementarian.org>
1967
1968         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1969
1970 2003-07-15  André Pönitz  <poenitz@gmx.net>
1971
1972         * text.C:
1973         * text2.C: remove no more needed refresh_row
1974
1975 2003-07-15  André Pönitz  <poenitz@gmx.net>
1976
1977         * lyxtext.h:
1978         * rowpainter.C:
1979         * text2.C:
1980         * text3.C: refresh_status tristate -> need_update bool
1981
1982 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1983
1984         * lyxtext.h (init): remove reinit argument (act as if always true)
1985         * text2.C: adjust to that
1986
1987 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1988
1989         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1990         * text3.C: use it to delete selections in some cases
1991         (bugs 441, 673, 702, 954).
1992
1993 2003-07-14  André Pönitz  <poenitz@gmx.net>
1994
1995         * rowpainter.[Ch]: reduce interface
1996
1997 2003-07-14  André Pönitz  <poenitz@gmx.net>
1998
1999         * BufferView_pimpl.C:
2000         * text2.C: adjust after removing unused BufferView * argument
2001
2002 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * text2.C (init): fix a crash fired on resize
2005
2006 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * buffer.[Ch]: added new closing signal
2009         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2010         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2011         BufferView::Pimpl via the closing the signal
2012
2013 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2014
2015         * buffer.[Ch]: take out all bv-related from buffer
2016         * BufferView.C:
2017         * BufferView_pimpl.[Ch]: connect to new signals
2018         * CutAndPaste.C: removed useless asserts
2019         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2020         * lyxvc.[Ch]:
2021         * vc-backend.[Ch]:
2022         * lyxfunc.C: moved view-related funciontality from vc here
2023         * paragraph.C: removed outdated comments
2024         * text.C: ws
2025
2026 2003-07-10  André Pönitz  <poenitz@gmx.net>
2027
2028         * BufferView_pimpl.C:
2029         * tabular.h:
2030         * tabular_funcs.C:
2031         * text.C:
2032         * text2.C: remove InsetText::InnerCache, clean up consequences
2033
2034 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2035
2036         * ispell.C: fix two typos in error messages
2037
2038 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2039
2040         * Extend Note inset to other forms of annotation like Comment
2041         and Greyedout. Right button click gives dialog.
2042
2043         Files modified or added (+):
2044
2045         * insetnote.[Ch]
2046         * FormNote.[Ch]      +
2047         * ControlNote.[Ch]   +
2048         * form_note.fd       +
2049         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2050         frontends/controllers
2051         * xforms/Dialogs.C
2052         * factory.C
2053
2054 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2055
2056         * aspell.C: add missing namespace lyx::support
2057
2058 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2059
2060         * BufferView.[Ch] (newFile): Add
2061         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2062         * LaTeX.[Ch] (message): added this signal and use it
2063         * buffer.[Ch] (busy, message): added these signals and use them
2064         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2065         * converter.C:
2066         * exporter.C:
2067         * format.C:
2068         * importer.C: use buffer signals instead of direct bv calling
2069         * lyx_cb.[Ch] (ShowMessage): removed
2070         * lyx_main.C:
2071         * lyxfunc.C:
2072         * paragraph_funcs.C:
2073         * text2.C: use buffer signals
2074
2075 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * introduce namespace lyx::graphics
2078
2079 2003-07-02  André Pönitz  <poenitz@gmx.net>
2080
2081         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2082
2083 2003-07-01  André Pönitz  <poenitz@gmx.net>
2084
2085         * text.C:
2086         * text2.C:
2087         * text3.C:
2088         * text_funcs.[Ch]:
2089         * textcursor.h:
2090         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2091           text*.C to text_func.C
2092
2093 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2094
2095         * introduce namespace lyx::support
2096
2097 2003-06-30  André Pönitz  <poenitz@gmx.net>
2098
2099         * Chktex.C:
2100         * funcrequest.C:
2101         * lyxtext.h:
2102         * text.C: re-enable --with-included-string
2103
2104 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * textcursor.C: add <config.h>
2107
2108         * text.C (getWord): remove const from word_location arg
2109
2110         * lyxvc.C (getLogFile): fix const type order
2111
2112         * lyxtext.h: remove const from word_location arg, add arg name
2113
2114         * lyxlayout.h: currect type on labeltype.
2115
2116         * importer.C: correct \file
2117
2118         * converter.C (intToFormat): use std:: on ret val, ws changes
2119
2120         * bufferlist.h: correct \file
2121
2122         * buffer.C (makeLinuxDocFile): fix const type order
2123         (makeDocBookFile): ditto
2124         (fillWithBibKeys): use std:: on stdlib args.
2125
2126         * CutAndPaste.C: fix authors.
2127         (availableSelections): use std:: on return vector
2128
2129 2003-06-27  André Pönitz  <poenitz@gmx.net>
2130
2131         * BufferView_pimpl.C:
2132         * bufferview_funcs.C:
2133         * lyxcursor.C:
2134         * lyxcursor.h:
2135         * lyxfunc.C:
2136         * lyxtext.h:
2137         * rowpainter.C:
2138         * text.C:
2139         * text2.C:
2140         * text3.C: remove LyXCursor::row_ member
2141
2142         * lyxtext.h:
2143         * text.C: rename fullRebreak() to partialRebreak() and implement
2144           a fullRebreak() that really bereks fully
2145
2146         * textcursor.h: new struct for cursor-related data
2147
2148 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * lyx_main.C (LyX): get full path of document loaded on the
2151         command line
2152
2153 2003-06-26  André Pönitz  <poenitz@gmx.net>
2154
2155         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2156           remove unused/broken operator>,<,>=.
2157
2158         *       text.C: remove only use of broken operator<= in an Assert().
2159
2160 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2163         moved errorlist_.clear to showErrorList
2164
2165 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * converter.C (scanLog, runLaTeX):
2168         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2169         move the bv->showErrorList call to the callers
2170         * lyxfunc.C: i.e. here...
2171         * text2.C: and here
2172         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2173         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2174         namespace, the second to...
2175         * buffer_funcs (BufferFormat, parseErrors): added
2176         * errorlist.C (ErrorList(TeXErrors const &)): removed
2177
2178 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2181
2182 2003-06-24  "Garst R. Reese" <reese@isn.net>
2183
2184         * debug.C: fix typo
2185
2186 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187
2188         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2189
2190         * version.C.in: change docversion to 1.4
2191
2192 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * buffer.C: fix a bug just introduced
2195
2196 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2197
2198         * buffer.[Ch]: added the parseError signal and use it, removed
2199         sgmlError
2200         * BufferView.[Ch] (addError): moved to ...
2201         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2202         to the Buffer::parseError signal to catch (guess what) parse errors
2203         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2204
2205 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2208         ability to create a buffer and to return an existing one from
2209         the list. Moved these functions to...
2210         * buffer_funcs.[Ch]: added
2211         * BufferView.[Ch] (loadLyXFile): added
2212         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2213         job removed from bufferlist::loadLyXFile.
2214         * buffer.C (setReadOnly): make it work without view
2215         (i.e added an if (users))
2216
2217 2003-06-19  Angus Leeming  <leeming@lyx.org>
2218
2219         * lfuns.h:
2220         * LyXAction.C (init):
2221         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2222         with LFUN_DIALOG_SHOW <name> <data>.
2223
2224 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * CutAndPaste.C (availableSelections): small compilation fix for
2227         ancient (gcc 2.9x) compilers
2228
2229 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * text3.C (cursorNext): add tmp var
2232
2233         * text2.C (updateCounters): for function calling out of for clause
2234         (replaceSelectionWithString): ditto
2235         (insertStringAsParagraphs): ditto
2236         (getColumnNearX): add tmp var
2237         (setCursorFromCoordinates): add tmp var
2238         (cursorDownParagraph): add tmp var
2239         (deleteEmptyParagraphMechanism): add tmp var
2240
2241         * text.C (insertChar): add tmp var
2242
2243         * rowpainter.C (paintDepthBar): add tmp var
2244
2245         * CutAndPaste.C (availableSelections): potentially check all
2246         paragraphs in a cut to fill the shown strings.
2247
2248 2003-06-18  André Pönitz  <poenitz@gmx.net>
2249
2250         * kbmap.[Ch]: use vector<> instead of list<>
2251
2252 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2253
2254         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2255         pasteSelection with index
2256
2257         * text2.C (pasteSelection): modify, call pasteSelection with index
2258
2259         * paragraph.C (asString): reimplement version with no interval to
2260         call the one with interval.
2261
2262         * lyxtext.h: add index arg to pasteSelection
2263
2264         * MenuBackend.C (MenuItem): handle PasteRecent
2265         (Menu::read::Menutags): add md_pasterecent
2266         (read): handle it
2267         (expandPasteRecent): new function
2268         (expand): use it
2269
2270         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2271
2272         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2273         the limited stack
2274         (availableSelections): new function
2275
2276 2003-06-17  Angus Leeming  <leeming@lyx.org>
2277
2278         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2279
2280 2003-06-17  Angus Leeming  <leeming@lyx.org>
2281
2282         * lfuns.h:
2283         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2284
2285         * lyxfunc.C (dispatch): invoke it.
2286
2287 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2288
2289         * iterators.C (operator++, ParPosition): reintroduce some
2290         const_cast for the benefit of older compilers.
2291
2292 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * text3.C (dispatch): do not modify clipboard when doing
2295         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2296         LFUN_DELETE_SKIP on a selection selection
2297
2298 2003-06-16  André Pönitz  <poenitz@gmx.net>
2299
2300         * BufferView.C:
2301         * buffer.C:
2302         * buffer.h:
2303         * paragraph.C:
2304         * tabular.[Ch]: IU of clone() and getLabelList();
2305
2306 2003-06-13  André Pönitz  <poenitz@gmx.net>
2307
2308         * tabular.h: compactification
2309
2310 2003-06-12  André Pönitz  <poenitz@gmx.net>
2311
2312         * tabular.C:
2313         * tabular.h:
2314         * tabular_funcs.h: some renaming plus whitespace
2315
2316 2003-06-12  André Pönitz  <poenitz@gmx.net>
2317
2318         * BufferView.C:
2319         * BufferView_pimpl.C:
2320         * CutAndPaste.C:
2321         * buffer.C:
2322         * iterators.[Ch]:
2323         * lyxfunc.C:
2324         * text.C:
2325         * toc.C: Return a Paragraph & for ParIterator::operator*()
2326
2327 2003-06-11  John Levon  <levon@movementarian.org>
2328
2329         * lyx_main.C:
2330         * ToolbarBackend.h:
2331         * ToolbarBackend.C: add "Toolbars" section and
2332         put the flags there
2333
2334 2003-06-10  Angus Leeming  <leeming@lyx.org>
2335
2336         * lfuns.h:
2337         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2338
2339         * lyxfunc.C (dispatch): invoke it.
2340
2341 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * main.C: protect <ios> with HAVE_IOS
2344         (main): protect sync_with_stdio with HAVE_IOS
2345
2346 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2347
2348         * text2.C (cutSelection): adjust
2349         (pasteSelection): adjust
2350
2351         * messages.C: handle get of empty string
2352
2353         * main.C (main): use sync_with_stdio(false)
2354
2355         * lyxfunc.C (dispatch): adjust
2356
2357         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2358         (WriteAs): remove unneeded BufferView arg.
2359
2360         * bufferparams.h: use correct types on papersize, papersize2 and
2361         paperpackage.
2362
2363         * bufferparams.C (readToken): adjust for type
2364         (writeLaTeX): add missing cases to switch.
2365
2366         * bufferlist.C (quitWriteBuffer): adjust
2367         (close): adjust
2368
2369         * buffer.C (asciiParagraph): remove some commented code.
2370
2371         * CutAndPaste.C: remove current_view extern variable.
2372         (cutSelection): add BufferParams arg.
2373         (eraseSelection): add BufferParams arg.
2374         (pasteSelection): add Buffer const & arg
2375
2376 2003-06-07  John Levon  <levon@movementarian.org>
2377
2378         * buffer.C:
2379         * paragraph_funcs.C:
2380         * paragraph_pimpl.C:
2381         * text.C:
2382         * text2.C:
2383         * paragraph.h:
2384         * paragraph.C: allow InsetERT to freely space lines,
2385         and some consolidation of code
2386
2387 2003-06-06  José Matos  <jamatos@fep.up.pt>
2388
2389         * buffer.C (makeDocBookFile): fix bug #821
2390
2391 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2394
2395 2003-06-04  Angus Leeming  <leeming@lyx.org>
2396
2397         * buffer.C: bump format to 224.
2398
2399 2003-06-05  André Pönitz  <poenitz@gmx.net>
2400
2401         * text2.C (redoParagraphs): remove two const_cast<>
2402
2403 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2404
2405         * ParagraphList.h: remove last remnants of NO_STD_LIST
2406
2407 2003-06-03  Angus Leeming  <leeming@lyx.org>
2408
2409         * factory.C (createInset): small change to the way InsetExternal's params
2410         are set.
2411
2412 2003-06-04  André Pönitz  <poenitz@gmx.net>
2413
2414         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2415
2416         * paragraph_pimpl.h:
2417         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2418
2419         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2420
2421         * undo_funcs.C: make some simple cases of undo work again
2422
2423 2003-06-03  John Levon  <levon@movementarian.org>
2424
2425         * ispell.C: HPUX doesn't have sys/select.h
2426         (from Albert Chin)
2427
2428 2003-06-03  John Levon  <levon@movementarian.org>
2429
2430         * CutAndPaste.C: update tabular and include inset
2431         buffer references
2432
2433         * buffer.h:
2434         * paragraph.h:
2435         * paragraph.C: remove owningBuffer(), don't pass Buffer
2436         to clone()
2437
2438         * factory.C: insetGraphicsParams changed
2439
2440 2003-06-02  John Levon  <levon@movementarian.org>
2441
2442         * LyXAction.C:
2443         * factory.C:
2444         * lfuns.h:
2445         * lyxfunc.C:
2446         * text3.C: remove insetparent
2447
2448 2003-06-02  John Levon  <levon@movementarian.org>
2449
2450         * buffer.h:
2451         * buffer.C: fix inset_iterator.end(), move out of line
2452         (bug 1149)
2453
2454 2003-06-01  John Levon  <levon@movementarian.org>
2455
2456         * text3.C: use a proper cut/paste when doing inset
2457         insert (from Jürgen Spitzmüller)
2458
2459 2003-06-01  John Levon  <levon@movementarian.org>
2460
2461         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2462
2463 2003-05-30  André Pönitz  <poenitz@gmx.net>
2464
2465         * rowpainter.C: unify second drawing phase
2466
2467 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * trans_mgr.C: remove one case of current_view
2470
2471         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2472
2473         * paragraph_funcs.h: remove paragraph.h include
2474
2475         * paragraph.h: delete NO_STD_LIST stuff
2476
2477         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2478
2479         * buffer.h: remove paragraph.h include
2480
2481         * ParagraphList.C: delete file
2482
2483         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2484
2485         * toc.C (getTocList): adjust
2486
2487         * paragraph_pimpl.C (validate): adjust
2488
2489         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2490
2491         * paragraph.C (Paragraph): adjust
2492         (getPositionOfInset): use const_iterator, adjust
2493         (bibitem): use const_iterator, adjust
2494         (setInsetOwner): adjust
2495
2496         * iterators.C (operator++): adjust
2497
2498         * InsetList.[Ch]: Replace selfmade iterator with standard
2499         vector::iterator also introduce const_iterator. Remove getPos,
2500         getInset and setInset from InsetTable. Adjust accordingly.
2501
2502         * BufferView.C (lockInset): adjust
2503         (ChangeInsets): adjust
2504
2505         * tabular.[Ch]: delete commented same_id functions
2506
2507 2003-05-28  John Levon  <levon@movementarian.org>
2508
2509         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2510
2511 2003-05-28  André Pönitz  <poenitz@gmx.net>
2512
2513         * metricsinfo.[Ch]: remove 'fullredraw' member
2514
2515 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2516
2517         * lyxtextclass.C (operator): remove caching.
2518
2519 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * text3.C: adjust
2522
2523         * text2.C (cursorBottom): adjust
2524         (setCounter): use ParagraphList::find, adjust
2525
2526         * text.C (workWidth): use ParagraphList::find, adjust
2527
2528         * lyxcursor.C (LyXCursor): adjust
2529
2530         * buffer.C (inset_iterator): adjust
2531
2532         * ParagraphList.h: make iterator(value_type) private, make
2533         ParagraphList a friend of iterator.
2534
2535         * ParagraphList.C (find): new function
2536
2537         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2538
2539 2003-05-27  André Pönitz  <poenitz@gmx.net>
2540
2541         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2542
2543 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2546
2547 2003-05-26  John Levon  <levon@movementarian.org>
2548
2549         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2550
2551 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * remove same_id from function signatures, adjust.
2554
2555 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2556
2557         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2558
2559         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2560
2561         * paragraph.C (Paragraph): get rid of same_ids parameter
2562
2563         * ParagraphList.C (insert): adjust
2564         (push_back): adjust
2565
2566 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * paragraph_funcs.C (breakParagraph): adjust
2569         (breakParagraphConservative): adjust
2570
2571         * buffer.C (readParagraph): adjust
2572
2573         * ParagraphList.C (insert): take a reference instead of a pointer
2574         (insert): adjust
2575
2576         * paragraph.[Ch] (id): new function
2577
2578         * bufferlist.C (newFile): adjust
2579
2580         * ParagraphList.C (ParagraphList): adjust
2581         (assign): adjust
2582         (push_back): take a reference instead of a pointer.
2583
2584         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2585
2586         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2587         instead.
2588
2589         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2590         set else use old code.
2591
2592         * ParagraphList.C: remove all NO_NEXT code and only compile this
2593         code of NO_STD_LIST is set.
2594
2595 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2596
2597         * BufferView_pimpl.C:
2598         * TextCache.C:
2599         * TextCache.h:
2600         * bufferlist.C:
2601         * errorlist.h:
2602         * format.C:
2603         * format.h:
2604         * graph.C:
2605         * lyxfunc.C:
2606         * lyxrc.C:
2607         * graphics/GraphicsConverter.C:
2608         * graphics/PreviewLoader.C: header adjustment
2609
2610 2003-05-23  Angus Leeming  <leeming@lyx.org>
2611
2612         * LaTeXFeatures.[Ch] (useBabel): new method.
2613         * bufferparams.C (writeLaTeX): use it.
2614
2615 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * ParagraphList.h (set): remove unused function.
2618
2619 2003-05-23  André Pönitz  <poenitz@gmx.net>
2620
2621         * BufferView.C:
2622         * BufferView_pimpl.C:
2623         * buffer.C:
2624         * buffer.h:
2625         * lyxfunc.C:
2626         * undo_funcs.C: setUndo reworked
2627
2628         * iterators.[Ch]: add access to topmost ParagraphList
2629
2630         * lyxtext.[Ch] (workWidth): add a const
2631
2632 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * texrow.[Ch] (increasePos): remove function
2635         * exporter.C (export): removed unused var and outdated comment
2636
2637 2003-05-23  Angus Leeming  <leeming@lyx.org>
2638
2639         * latexrunparams.h: rename fragile as moving_arg.
2640         * paragraph.C (simpleTeXOnePar): ditto.
2641         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2642
2643 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2646         (createUndo): ditto
2647         (textUndoOrRedo): comment out a currently unused var.
2648
2649         * paragraph.h (NO_NEXT): enable NO_NEXT
2650
2651         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2652
2653         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2654
2655         * exporter.C (Export): adjust for removeAutoInsets removal.
2656
2657         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2658
2659         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2660
2661         * BufferView.[Ch] (removeAutoInsets): delete function
2662
2663 2003-05-22  Angus Leeming  <leeming@lyx.org>
2664
2665         * latexrunparams.h: add a free_spacing variable.
2666
2667         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2668         to pass moving_arg, as the data is stored in runparams.fragile.
2669
2670         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2671         to Inset::latexOptional or to simpleTeXOnePar.
2672
2673         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2674         free_spacing arg to Inset::latexOptional.
2675
2676         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2677         free_spacing arg.
2678
2679 2003-05-22  Angus Leeming  <leeming@lyx.org>
2680
2681         * latexrunparams.h: add fragile and use_babel variables.
2682
2683         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2684         * buffer.C (makeLaTeXFile): store this returned value in
2685         runparams.use_babel, thus passing it to the inset::latex methods.
2686
2687         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2688         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2689
2690         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2691         longer has a fragile arg, as it is stored in runparams.fragile.
2692
2693         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2694         moving_arg parameter as the data is stored in runparams.fragile.
2695
2696         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2697         a fragile parameter as the data is stored in runparams.fragile.
2698
2699 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2702
2703 2003-05-22  Angus Leeming  <leeming@lyx.org>
2704
2705         * latexrunparams.h: add a 'bool nice' which defaults to false.
2706
2707         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2708         now encapsulated within runparams.
2709
2710         * bufferlist.C (updateIncludedTeXfiles):
2711         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2712
2713 2003-05-22  Angus Leeming  <leeming@lyx.org>
2714
2715         * latexrunparams.h: new file containing struct LatexRunParams.
2716         * Makefile.am: add new file.
2717
2718         * LaTeX.[Ch] (c-tor, run):
2719         * buffer.[Ch] (makeLaTeXFile):
2720         * bufferlist.[Ch] (updateIncludedTeXfiles):
2721         * converter.C (convert, scanLog):
2722         * converter.[Ch] (runLaTeX):
2723         * exporter.C (Export):
2724         * paragraph.[Ch] (simpleTeXOnePar):
2725         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2726         * paragraph_funcs.[Ch] (latexParagraphs):
2727         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2728         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2729         pass around a LatexRunParams parameter.
2730
2731 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * paragraph.[Ch]: remove unused constructor
2734
2735         * ParagraphList.C (erase): new function, taking two iterators
2736
2737 2003-05-22  André Pönitz  <poenitz@gmx.net>
2738
2739         * undo_funcs.C: remove duplicated code
2740
2741         * iterator.[Ch]: operator=
2742
2743 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * tabular.C (SetMultiColumn): ws changes
2746
2747         * rowpainter.C (paintFirst): get rid of a ->previous
2748
2749         * lyx_cb.C (getPossibleLabel): parlist simplification
2750
2751         * BufferView.C (ChangeInsets): simplify slightly.
2752
2753 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2754
2755         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2756         * lfuns.h: new LFUN_SPACE
2757         * lyxfunc.C: protected space has a new lfun
2758         * paragraph_funcs.C: read new space insets
2759         * text3.C:
2760         * factory.C: handle new space insets
2761
2762 2003-05-22  André Pönitz  <poenitz@gmx.net>
2763
2764         * BufferView.C:
2765         * BufferView_pimpl.C:
2766         * buffer.[Ch]:
2767         * lyxfunc.C:
2768         * undo_funcs.C: return a ParIterator from getParFromID.
2769
2770         * iterators.[Ch]: add two const's
2771
2772 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * toc.C (getTocList): adjust
2775
2776         * iterators.[Ch]: rework for parlist
2777
2778         * buffer.C (par_iterator_begin): adjust
2779         (par_iterator_end): adjust
2780
2781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2782
2783         * BufferView.C (removeAutoInsets): adjust
2784         (ChangeInsets): adjust
2785
2786 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2787
2788         * text.C (top_y): fix bug 1110
2789
2790 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2791
2792         * errorlist.[Ch]: added
2793         * buffer.C:
2794         * BufferView.[Ch]:
2795         * BufferView_pimpl.C:
2796         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2797         instead
2798
2799 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * Makefile.am: ensure that lyx is relinked upon changes to the
2802         various "convenience" libs.
2803
2804 2003-05-20  Angus Leeming  <leeming@lyx.org>
2805
2806         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2807         files are compiled in alphabetical order again.
2808
2809         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2810
2811 2003-05-19  Angus Leeming  <leeming@lyx.org>
2812
2813         * gettext.[Ch]: remove "char const * _(char const *)".
2814
2815 2003-05-19  André Pönitz  <poenitz@gmx.net>
2816
2817         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2818
2819         * Makefile.am:
2820         * BufferView.C:
2821         * DepTable.h:
2822         * LaTeXFeatures.C:
2823         * buffer.C:
2824         * lyxfont.C:
2825         * lyxlex.h:
2826         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2827
2828 2003-05-19  André Pönitz  <poenitz@gmx.net>
2829
2830         * buffer.C:
2831         * lyxlayout.[Ch]:
2832         * lyxtextclass.[Ch]:
2833         * paragraph.C:
2834         * paragraph_funcs.[Ch]:
2835         * text2.C:
2836         * text3.C: more insetenv work
2837
2838 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * ParagraphParameters.C (params2string): small bug fixed
2841
2842 2003-05-16  André Pönitz  <poenitz@gmx.net>
2843
2844         * debug.C:
2845         * bufferview_funcs.C: patch from Kornel Benko to prevent
2846           crash when _(...) is called twice in a statement
2847
2848 2003-05-16  André Pönitz  <poenitz@gmx.net>
2849
2850         * BufferView.C:
2851         * lyxfunc.C:
2852         * text.C:
2853         * text2.C:
2854         * text3.C:
2855         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2856
2857 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * lyx_main.C (init): remove spurious static_cast
2860
2861 2003-05-14  André Pönitz  <poenitz@gmx.net>
2862
2863         * BufferView.C: fix format string
2864
2865 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * BufferView.[Ch] (insertErrors): removed
2868         * BufferView.[Ch] (showErrorList): added
2869         * buffer.C (runChkTeX):
2870         * converter.C (scanLog): call showErrorList instead of inserterrors
2871
2872 2003-05-13  André Pönitz  <poenitz@gmx.net>
2873
2874         * BufferView_pimpl.C:
2875         * buffer.C:
2876         * bufferview_func.C:
2877         * MenuBackend.C:
2878         * lyxfunc.C:
2879         * lyxrc.C:
2880         * tex-accent.C:
2881         * text3.C:
2882         * toc.C:
2883         * tabular_funcs.h: tostr() from its own header
2884
2885         * ParagraphParameters.C:
2886         * ToolbarBackend.C:
2887         * bufferparams.C:
2888         * format.C:
2889         * lyxlex_pimpl.C:
2890         * text3.C: STRCONV()
2891
2892 2003-05-12  André Pönitz  <poenitz@gmx.net>
2893
2894         * BufferView.C:
2895         * BufferView_pimpl.C:
2896         * CutAndPaste.C:
2897         * LaTeX.C:
2898         * LaTeXFeatures.C:
2899         * ParagraphParameters.C:
2900         * buffer.C:
2901         * bufferlist.C:
2902         * bufferparams.C:
2903         * bufferview_funcs.C:
2904         * converter.C:
2905         * counters.C:
2906         * debug.C:
2907         * exporter.C:
2908         * format.C:
2909         * importer.C:
2910         * lyx_cb.C:
2911         * lyx_main.C:
2912         * lyxfont.C:
2913         * lyxfunc.C:
2914         * lyxvc.C:
2915         * paragraph.C:
2916         * paragraph_funcs.C:
2917         * tabular.C:
2918         * tabular_funcs.C:
2919         * text2.C:
2920         * text3.C:  boost::format -> bformat  all over the place
2921
2922
2923 2003-05-09  André Pönitz  <poenitz@gmx.net>
2924
2925         * LColor.[Ch]: Pimpl the #include <map> away
2926
2927 2003-05-09  John Levon  <levon@movementarian.org>
2928
2929         * bufferlist.C: never remove emergency saves
2930
2931 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * Makefile.am: better lib building
2934
2935 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2938         instead.
2939         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2940         (simpleTeXSpecialChars): adjust
2941         (simpleTeXSpecialChars): adjust
2942         * paragraph.C (simpleTeXOnePar): adjust
2943         * buffer.C (makeLaTeXFile): adjust
2944
2945         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2946
2947         * text2.C (changeDepth): parlist cleanup
2948         (getColumnNearX): ditto
2949
2950         * rowpainter.C (getLabelFont): parlist cleanup
2951
2952         * bufferlist.C (newFile): parlist cleanup
2953
2954         * CutAndPaste.C (eraseSelection): parlist cleanup
2955
2956         * BufferView_pimpl.C (trackChanges): parlist cleanup
2957         (dispatch): ditto
2958
2959         * BufferView.C (lockInset): parlist cleanup.
2960         (ChangeInsets): ditto
2961
2962 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * CutAndPaste.h: Update file header.
2965
2966         * CutAndPaste.C: Update file header.
2967         Store the parts cut out of the Document in a limited_stack.
2968         (copySelection): adjust
2969         (pasteSelection): new function, takes the index in the limited stack.
2970         (nrOfParagraphs): adjust
2971         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2972         simplify error inset insertion.
2973         (checkPastePossible): adjust
2974
2975 2003-05-06  John Levon  <levon@movementarian.org>
2976
2977         * text2.C: don't cast wrap inset to float
2978
2979 2003-05-05  André Pönitz  <poenitz@gmx.net>
2980
2981         * iterator.C:
2982         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2983
2984         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2985           few naked Paragraph *.
2986
2987 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2988
2989         * bufferparams.C: Output warning if a document with missing
2990         TeX document class is loaded
2991         * exporter.C: Disable TeX exports if the document class is missing
2992         * lyxtextclass.C:
2993         * lyxtextclass.h:
2994         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2995         isTeXClassAvailable()
2996
2997 2003-05-03  John Levon  <levon@movementarian.org>
2998
2999         * BufferView.h:
3000         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3001         explicit cursor show/hide
3002
3003         * BufferView_pimpl.h:
3004         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3005         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3006
3007         * lyxfunc.C: hide cursor before dispatching.
3008
3009         * lyx_cb.C:
3010         * lyxfind.C:
3011         * text.C:
3012         * text3.C: remove explicit cursor hides
3013
3014 2003-05-02  André Pönitz  <poenitz@gmx.net>
3015
3016         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3017
3018         * undo_funcs.C:
3019         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3020           linked lists
3021
3022         * text2.C: tiny whitespace
3023
3024 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * undo_funcs.C: almost only ws changes.
3027
3028         * ParagraphList.C (splice): just return if pl is empty.
3029
3030 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * ParagraphList.C (splice): new function.
3033
3034         * CutAndPaste.C (pasteSelection): use it
3035
3036 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * CutAndPaste.C (pasteSelection): remove the last next and
3039         previous from this file.
3040
3041 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * CutAndPaste.C (pasteSelection): more clean up, user proper
3044         ParagraphList functions for pasteing.
3045
3046         * ParagraphList.C (insert): new function, three arg insert
3047
3048 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * ParagraphList.C (insert): new function, three arg insert
3051
3052         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3053         not on paragraphs.
3054
3055 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3058
3059 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3062
3063 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3066         (copySelection): clean up a bit.
3067         (pasteSelection): use make_pair
3068
3069         * ParagraphList.C (ParagraphList): implement copy constructor
3070         (operator=): implement, base on copy constructor.
3071         (assign): new func
3072
3073         * paragraph.C (erase): return a bool
3074
3075         * paragraph_pimpl.C (erasePos): remove function, move contents...
3076         (erase): ... here. Return a bool.
3077         (erase): call erase instead of erasePos.
3078
3079 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * ParagraphList.h: define PitPosPair
3082         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3083         ParagraphList, fix a bug on pasting multiple pars
3084         * text2.C: change interface to C&P
3085
3086 2003-04-30  André Pönitz  <poenitz@gmx.net>
3087
3088         * undo_func.C: revert part of yesterday's patch 2
3089
3090 2003-04-30  John Levon  <levon@movementarian.org>
3091
3092         * LColor.C: s/tabular/table/
3093
3094 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * text3.C (dispatch): do not convert iterator -> pointer
3097         * undo_funcs.C (setCursorParUndo): ditto
3098         * text_funcs.C (transposeChars): ditto
3099
3100         * text2.C (setLayout): ws changes only
3101
3102         * text.C (breakParagraph): do not convert iterator -> pointer
3103         (insertChar): ditto
3104         (acceptChange): ditto
3105         (rejectChange): ditto
3106         (changeCase): ditto
3107         (Delete): ditto
3108         (backspace): ditto
3109
3110         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3111         pointer
3112
3113 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text3.C (gotoInset): YABG (yet another bad getChar)
3116
3117 2003-04-29  André Pönitz  <poenitz@gmx.net>
3118
3119         * paragraph.h: make operator= private unimplemented as long as
3120           it is unusable
3121
3122         * ParagraphList.C: whitespace
3123
3124         * paragraph.[Ch]:
3125         * paragraph_pimpl.[Ch]:
3126         * paragraph_funcs.C:
3127         * CutAndPaste.C:
3128         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3129
3130         * text2.C:
3131           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3132
3133 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3134
3135         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3136         * paragraph.[Ch] (erase):
3137         * paragraph_pimpl.[Ch] (erase): change return type and value
3138         * text2.C (cutSelection): some rework
3139
3140 2003-04-28  John Levon  <levon@movementarian.org>
3141
3142         * bufferlist.C: changes for unsaved changes dialog
3143
3144 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * bufferlist.C (newFile): set language (messages_) for new
3147         documents also.
3148
3149         * buffer.C (readFile): ws changes only.
3150
3151 2003-04-28  André Pönitz  <poenitz@gmx.net>
3152
3153         * undo_funcs.C:
3154         * lyxfunc.C:
3155         * buffer.[Ch]:
3156         * BufferView_pimpl.C:
3157         * BufferView.C: getParFromID related ParagraphList::iterator changes
3158
3159 2003-04-28  André Pönitz  <poenitz@gmx.net>
3160
3161         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3162           Changes
3163
3164 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * messages.C: remove one more localedir class variable.
3167
3168 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * messages.C (getLocaleDir): singleton generation function
3171         (Pimpl): use it.
3172         (Messages): add a default constructor.
3173
3174         * main.C (main): do not setup localedir here, do not call
3175         gettext_init.
3176
3177         * gettext.C (_): use it.
3178         (gettext_init): delete funciton
3179
3180 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * gettext.C (getLyXMessages): new singleton generating function.
3183
3184         * buffer.C (updateDocLang): adjust
3185
3186         * Makefile.am (messages.o): add target
3187         (main.o): remove target
3188
3189 2003-04-27  John Levon  <levon@movementarian.org>
3190
3191         * bufferlist.C:
3192         * lyx_cb.C:
3193         * lyxfunc.C:
3194         * lyxvc.C: specify cancel button in Alert::prompt
3195
3196 2003-04-26  John Levon  <levon@movementarian.org>
3197
3198         * text3.C:
3199         * lyxfunc.C:
3200         * lfuns.h:
3201         * LyXAction.C: add LFUN_INSET_SETTINGS
3202
3203         * lyxfunc.C: don't enable tabular-feature when there's
3204         just any locking inset
3205
3206 2003-04-26  John Levon  <levon@movementarian.org>
3207
3208         * bufferlist.C: re-add Cancel to buffer close question
3209
3210         * lyxfunc.C: fix import UI a bit
3211
3212 2003-04-25  John Levon  <levon@movementarian.org>
3213
3214         * gettext.C: remove the broken asserts for now
3215
3216 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3217
3218         * messages.C: make case where setlocale cannot comply work better.
3219
3220         * buffer.C (updateDocLang): new function
3221         (changeLanguage): use it
3222         (readFile): use it
3223
3224         * text2.C (setCounter): use B_ a bit.
3225
3226         * lyxlayout.C (Read): be sure to trim the label strings.
3227
3228         * messages.C (Messages): fix typo in comment
3229
3230         * buffer.C (readFile): set message_ after file is loaded.
3231         (makeDocBookFile): remove double return
3232         (changeLanguage): reset message_ upon language change.
3233         (B_): new func, use this to get translated buffer strings.
3234
3235         * main.C: add myself and Jean Marc as authors.
3236
3237 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * messages.[hC]: pimplify Messages, and three different pimpls to be
3240         used in different circumstances.
3241
3242         * gettext.[Ch]: change for use with new message code.
3243
3244 2003-04-24 André Pönitz <poenitz@gmx.net>
3245
3246         * factory.C: support for eqref
3247
3248 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * messages.[Ch]: add missing char
3251
3252         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3253
3254         * messages.[Ch]: New files
3255
3256 2003-04-18  John Levon  <levon@movementarian.org>
3257
3258         * BufferView.h:
3259         * BufferView.C:
3260         * BufferView_pimpl.C:
3261         * lfuns.h:
3262         * LyXAction.C:
3263         * lyxtext.h:
3264         * text2.C: remove layout-copy/paste (bug 778)
3265
3266 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3267
3268         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3269
3270 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3271
3272         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3273         if they succeed. Act accordingly.
3274
3275 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * text2.C (setCharFont): adjust
3278         (setCounter): adjust
3279         (insertStringAsLines): adjust
3280
3281         * text.C (leftMargin): adjust
3282         (setHeightOfRow): adjust
3283
3284         * rowpainter.C (paintFirst): adjust
3285         (paintLast): adjust
3286
3287         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3288         (outerHook): ditto
3289         (isFirstInSequence): ditto
3290         (getEndLabel): ditto
3291         (outerFont): adjust
3292
3293         * paragraph.C (getParLanguage): comment out some hard stuff.
3294
3295         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3296         (sgmlError): ditto
3297         (simpleDocBookOnePar): ditto
3298         (makeDocBookFile): use ParagraphList::iterator
3299
3300         * CutAndPaste.C (pasteSelection): adjust
3301
3302 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * text2.C (getFont): adjust
3305         (getLayoutFont): adjust
3306         (getLabelFont): adjust
3307
3308         * paragraph_funcs.C (TeXOnePar): adjust
3309
3310         * buffer.C (simpleLinuxDocOnePar): adjust
3311         (simpleDocBookOnePar): adjust
3312
3313         * CutAndPaste.C (pasteSelection): adjust
3314
3315         * BufferView.C (getEncoding): adjust
3316
3317         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3318
3319 2003-04-16  John Levon  <levon@movementarian.org>
3320
3321         * lyxfind.C: use parlist stuff for search/changes
3322
3323 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3326
3327         * text2.C (deleteEmptyParagraphMechanism): adjust
3328
3329         * text2.[Ch] (ownerParagraph): delete func (both of them
3330
3331 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3334
3335 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * ParagraphList.C: prepare for NO_NEXT
3338
3339 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3340
3341         * text2.C (getFont): adjust
3342         (getLayoutFont): adjust
3343         (getLabelFont): adjust
3344
3345         * paragraph.C (getFont): adjust
3346         (getLabelFont): adjust
3347         (getLayoutFont): adjust
3348
3349         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3350
3351 2003-04-15  John Levon  <levon@movementarian.org>
3352
3353         From Angus Leeming
3354
3355         * lyx_main.C: handle Include in .ui files
3356
3357 2003-04-15  John Levon  <levon@movementarian.org>
3358
3359         * MenuBackend.C: make the doc files length shorter
3360
3361         * ToolbarBackend.h:
3362         * ToolbarBackend.C: handle toolbar placement flags,
3363         Minibuffer
3364
3365 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3368         adjust
3369
3370         * paragraph_funcs.C (TeXOnePar): adjust
3371
3372         * paragraph.C (getLabelFont): add outerfont arg, adjust
3373         (getLayoutFont): ditto
3374         (simpleTeXOnePar): adjust
3375
3376         * paragraph_pimpl.C (realizeFont): delete func
3377
3378 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3381         row argument, constify cur argument.
3382
3383 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * text2.C (getFont): adjust
3386         (getLayoutFont): adjust
3387         (getLabelFont): adjust
3388
3389         * paragraph_funcs.C (TeXOnePar): adjust
3390         (outerFont): new func...
3391         (realizeFont): ...moved out from here, changed this to facilitate
3392         transition
3393
3394         * paragraph.C (getFont): take outerfont as arg, adjust
3395         (simpleTeXOnePar): add outerfont arg, adjust
3396
3397         * buffer.C (simpleLinuxDocOnePar): adjust
3398         (simpleDocBookOnePar): adjust
3399
3400         * CutAndPaste.C (pasteSelection): adjust
3401
3402         * BufferView.C (getEncoding): adjust
3403
3404 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * text2.C (setCharFont): adjust
3407         (setCounter): adjust
3408
3409         * text.C (leftMargin): adjust
3410         (setHeightOfRow): adjust
3411
3412         * rowpainter.C (paintFirst): adjust
3413         (paintLast): adjust
3414
3415         * paragraph_pimpl.C (realizeFont): adjust
3416
3417         * paragraph.C (isFirstInSequence): move from here...
3418         * paragraph_funcs.C (isFirstInSequence): ...to here
3419
3420         * paragraph.C (outerHook): move from here...
3421         * paragraph_funcs.C (outerHook): ...to here
3422
3423         * paragraph.C (depthHook): move from here...
3424         * paragraph_funcs.C (depthHook): ...to here
3425
3426         * paragraph.C (getEndLabel): move from here...
3427         * paragraph_funcs.C (getEndLabel): ...to here
3428
3429         * text2.C (realizeFont): move from here...
3430         * paragraph_funcs.C (realizeFont): ...to here
3431
3432 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3435
3436 2003-04-14  Angus Leeming  <leeming@lyx.org>
3437
3438         * LColor.[Ch]: scrap LColor mathcursor.
3439
3440 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * lyxlex.[Ch] (text): delete function
3443         * trans.C (Load): adjust
3444         * paragraph_funcs.C (readParToken): adjust
3445
3446 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3449         vector<char> instead of a char[].
3450
3451         * lyxlex_pimpl.C (getString): adjust
3452         (next): adjust
3453         (lex): use getString
3454         (eatLine): adjust
3455         (nextToken): adjust
3456
3457         * lyxlex.C (text): use pimpl_->getString()
3458         (getBool): ditto
3459         (findToken): ditto
3460
3461 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3464         (makeFontEntriesLayoutSpecific): temp var for par.size()
3465         (setLayout): temp var for ownerParagraphs().end()
3466         (fullRebreak): temp var for rows().end()
3467         (selectionAsString): temp var for boost::next(startpit), realize
3468         that the while really is a regular for loop.
3469         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3470         setCursor in one place.
3471         (setParagraph): temp vr for ownerParagraphs().end()
3472         (updateCounters): make the while loop a for loop
3473         (cutSelection): temp var for ownerParagraphs().end()
3474         (updateInset): make the do {} while() a regular for loop
3475         (getCursorX): use temp vars
3476         (setCurrentFont): use temp vars
3477         (getColumnNearX): use temp vars
3478
3479 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * text.C (transformChar): use temp var for getChar
3482         (computeBidiTables): use temp var for row->par()
3483         (fill): move temp vars for row->par() and pit->layout() earlier in
3484         the function.
3485         (labelFill): use temp var for row->par()
3486         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3487         asc and desc, realize that pit never changes and that firstpit is
3488         just a duplicate and not needed. Exchange rit->par() with pit in a
3489         lot of places.
3490         (breakAgain): use a temp var for boost::next(rit)
3491         (breakAgainOneRow): ditto
3492         (breakParagraph): use a temp var for rows().begin()
3493         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3494         (cursorRightOneWord): use temp var for cursor.par() and
3495         cursor.pos(), remove usage of tmpcursor.
3496         (cursorLeftOneWord): use temp var for cursor.par() and
3497         cursor.pos() only set cur at end of function.
3498
3499 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3500
3501         * text.C, text2.C: exchange all usage of Paragraph::next with
3502         boost::next(ParagraphList::iterator)
3503
3504         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3505
3506         * text2.C (cursorTop): simplify implementation
3507         (cursorBottom): ditto
3508         (setParagraph): use ParagraphList::iterator
3509         (setCurrentFont): adjust
3510         (getColumnNearX): adjust
3511         (cursorRight): adjust
3512         (cursorLeft): remove usage of Paragraph::previous
3513         (cursorUpParagraph): ditto
3514         (deleteEmptyParagraphMechanism): slight cleanup
3515
3516         * text.C (isBoundary): take a Paragraph const & instead of a
3517         pointer as arg.
3518         (addressBreakPoint): ditto
3519         (leftMargin): remove usage of Paragraph::previous.
3520         (setHeightOfRow): ditto
3521         (cursorLeftOneWord): ditto
3522         (selectNextWordToSpellcheck): ditto
3523         (Delete): ditto
3524         (backspace): ditto
3525         (breakParagraph): remove one usage of Paragraph::next
3526         (redoParagraph): ditto
3527         (acceptChange): ditto
3528         (insertChar): adjust
3529         (rowBreakPoint): adjust
3530
3531         * bufferview_funcs.C (toggleAndShow): adjust
3532
3533 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3536         methods to access it.
3537         * lyxtext.h:
3538         * text.C: Added updateRowPositions to compute all row positions.
3539         Make top_y and getRowNearY() to use the cached y position
3540
3541 2003-04-11  John Levon  <levon@movementarian.org>
3542
3543         * text.C (rowBreakPoint): reintroduce the labelEnd
3544         checks, code copied from the row fill stuff. Deep voodoo.
3545
3546         * text.C (fill): add a comment and debugging for the
3547         next poor soul.
3548
3549 2003-04-11  John Levon  <levon@movementarian.org>
3550
3551         * text.C: make sure fullrow insets get wrapped to the next line,
3552         even when they're in a manual label
3553
3554 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * text2.C (insertParagraph): make it take ParagraphList::iterator
3557         as arg.
3558         (setLayout): make it return ParagraphList::iterator
3559         (redoParagraphs): ditto
3560         (setCounter): ditto
3561         (checkParagraph): ditto
3562
3563         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3564
3565         * text2.C: adjust several funcs.
3566         (realizeFont): take a ParagraphList::iterator as arg.
3567         (getLayoutFont): ditto
3568         (getLabelFont): ditto
3569         (setCharFont): ditto
3570
3571         * text.C: adjust several funcs.
3572
3573 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3574
3575         * text.C (selectNextWordToSpellcheck): don't accidentally
3576         skip insets
3577
3578 2003-04-10  John Levon  <levon@movementarian.org>
3579
3580         * ToolbarBackend.C (getIcon): special handling for
3581         LFUN_MATH_DELIM
3582
3583 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * text2.C (cursorRight): a getChar assert fixed
3586
3587 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * text2.C (getFont): change to take a ParagraphList::iterator
3590         instead of Paragraph*
3591         Adjust several functions.
3592
3593         * text.C (transformChar): change to take a ParagraphList::iterator
3594         instead of Paragraph*
3595         (singleWidth): ditto
3596         Adjust several functions.
3597
3598         * rowpainter.C: adjust several functions
3599         * rowpainter.h:store a ParagraphList::iterator and not a
3600         Paragraph&.
3601
3602
3603 2003-04-09  John Levon  <levon@movementarian.org>
3604
3605         * lyxfunc.C:
3606         * lfuns.h:
3607         * LyXAction.h:
3608         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3609         and the "help" bits as well
3610
3611 2003-04-09  John Levon  <levon@movementarian.org>
3612
3613         * ToolbarBackend.h:
3614         * ToolbarBackend.C: allow multiple toolbars
3615
3616 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * undo_funcs.C (setCursorParUndo): adjust
3619
3620         * text_funcs.C (transposeChars): adjust
3621
3622         * text3.C (gotoNextInset): adjust
3623         (dispatch): adjust
3624
3625         * text2.C (setLayout): adjust
3626         (changeDepth): adjust
3627         (setFont): adjust
3628         (redoParagraphs): adjust
3629         (selectionAsString): adjust
3630         (setParagraph): adjust
3631         (insertInset): adjust
3632         (cutSelection): adjust
3633         (copySelection): adjust
3634         (pasteSelection): adjust
3635         (insertStringAsLines): adjust
3636         (updateInset): adjust
3637         (setCursor): change to take a ParagraphList::iterator parameter
3638         (setCursorIntern): change to take a ParagraphList::iterator parameter
3639         (setCurrentFont): adjust
3640         (cursorLeft): adjust
3641         (cursorRight): adjust
3642         (deleteEmptyParagraphMechanism): adjust
3643
3644         * text.C (breakParagraph): adjust
3645         (insertChar): adjust
3646         (acceptChange): adjust
3647         (rejectChange): adjust
3648         (selectNextWordToSpellcheck): adjust
3649         (changeCase): adjust
3650         (Delete): adjust
3651         (backspace): adjust
3652
3653         * lyxfind.C (SearchForward): adjust
3654         (SearchBackward): adjust
3655         (nextChange): adjust
3656
3657         * lyxcursor.C (par): adjust
3658
3659         * lyxcursor.h: store a ParagraphList::iterator instead of a
3660         Paragraph*
3661
3662         * lyx_cb.C (getPossibleLabel): adjust
3663
3664         * bufferview_funcs.C (toggleAndShow): adjust
3665
3666         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3667         (dispatch): adjust
3668
3669         * BufferView.C (removeAutoInsets): adjust
3670         (lockedInsetStoreUndo): adjust
3671
3672 2003-04-09  John Levon  <levon@movementarian.org>
3673
3674         * ToolbarBackend.C: try icon without argument
3675         if with argument fails
3676
3677 2003-04-08  John Levon  <levon@movementarian.org>
3678
3679         * ToolbarBackend.h:
3680         * ToolbarBackend.C: add getIcon(), handle tooltip,
3681         and change from "Icon" to "Item".
3682
3683 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * BufferView.C (lockInset): another bad getchar crunched
3686
3687 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3690         again)
3691
3692 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * lyxfind.C (searchForward, searchBackwards): bug 782
3695
3696 2003-04-07  John Levon  <levon@movementarian.org>
3697
3698         * paragraph.C: remove dead comment
3699
3700         * text.C: remove troublesome depth-fiddling code
3701         in leftMargin() and rightMargin() (bug 1017)
3702
3703         * text.C: fix breaking of rows in nested lists
3704         (bug 1004)
3705
3706         * text2.C (updateCounters): fix up depth values
3707         (bug 1013)
3708
3709 2003-04-07  John Levon  <levon@movementarian.org>
3710
3711         * BufferView_pimpl.C: clear message when doc finishes resizing,
3712         and after a mouse event
3713
3714         * lyxfunc.C: clear message after exiting inset
3715
3716 2003-04-07  John Levon  <levon@movementarian.org>
3717
3718         * bufferview_funcs.C: show math status not outside
3719         status in the statusbar
3720
3721 2003-04-07  John Levon  <levon@movementarian.org>
3722
3723         * lyxfunc.C: note status changed after a depth change
3724
3725 2003-04-04  Angus Leeming  <leeming@lyx.org>
3726
3727         * LaTeX.h: move AuxInfo operator==, != out of line.
3728         Remove LaTeX virtual destructor; nothing derives from it.
3729         Move operator()() out of public area and rename it startscript().
3730         Change protected for private.
3731
3732 2003-04-04  Angus Leeming  <leeming@lyx.org>
3733
3734         * lyxfunc.C:
3735         * text2.C: remove unneeded #includes.
3736
3737 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * text2.C (dEPM): fix the heigth of the next row
3740
3741 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * text.C: squashed an invalid getChar requester + some ws changes
3744
3745 2003-04-03  John Levon  <levon@movementarian.org>
3746
3747         * bufferview_funcs.h:
3748         * bufferview_funcs.C:
3749         * lyxfunc.C:
3750         * lyxtext.h:
3751         * text2.C: make getStatus work for the env depth lfuns
3752
3753 2003-04-03  John Levon  <levon@movementarian.org>
3754
3755         * bufferview_funcs.h:
3756         * bufferview_funcs.C:
3757         * lyxfunc.C:
3758         * lyxtext.h:
3759         * text2.C: parlistize decDepth(), by merging it with incDepth()
3760
3761 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * lyxrow.h: store a ParagraphList::iterator instead of a
3764         Paragraph* and adjust other class functions to suit.
3765
3766         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3767         above.
3768
3769 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * text2.C (setCursor): do not anchor to cursor row for the time being
3772
3773 2003-04-02  John Levon  <levon@movementarian.org>
3774
3775         * LyXAction.C:
3776         * lfuns.h:
3777         * lyx_main.C:
3778         * lyxtext.h:
3779         * text.C:
3780         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3781
3782 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * paragraph.h: make ParagraphList and ParagraphList::iterator
3785         friends of Paragraph.
3786
3787         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3788
3789         * ParagraphList.C: Use the private next_ and previous_ from
3790         Paragraph.
3791
3792 2003-04-01  John Levon  <levon@movementarian.org>
3793
3794         * ToolbarBackend.h:
3795         * ToolbarBackend.C:
3796         * Makefile.am: rename, remove defaults gunk
3797
3798         * MenuBackend.h:
3799         * MenuBackend.C: remove defaults gunk
3800
3801         * Languages.h:
3802         * Languages.C: remove defaults gunk
3803
3804         * lyx_main.h:
3805         * lyx_main.C: error out if files couldn't be found.
3806
3807 2003-04-02  John Levon  <levon@movementarian.org>
3808
3809         * text2.C: make incDepth() use parlist
3810
3811 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * undo_funcs.C (firstUndoParagraph): adjust
3814
3815         * text3.C (gotoInset): adjust
3816         (dispatch): adjust, and rewrite loop.
3817
3818         * text2.C (init): adjust, and rewrite loop.
3819         (redoParagraphs): adjust
3820         (updateInset): adjust, and rewrite loop.
3821         (deleteEmptyParagraphMechanism): adjust
3822
3823         * tabular.C (LyXTabular): adjust
3824         (SetMultiColumn): adjust
3825         (TeXRow): adjust
3826
3827         * lyxtext.[Ch] (ownerParagraph): delete function
3828         (ownerParagraphs): new function returns a ParagraphList.
3829
3830         * BufferView.C (removeAutoInsets): adjust
3831         (insertErrors): adjust
3832         (setCursorFromRow): adjust
3833
3834 2003-04-01  Angus Leeming  <leeming@lyx.org>
3835
3836         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3837         in the frontends.
3838
3839 2003-04-02  John Levon  <levon@movementarian.org>
3840
3841         * lyxtext.h:
3842         * text.C:
3843         * Makefile.am:
3844         * text_funcs.h:
3845         * text_funcs.C: make transposeChars a free function
3846
3847         * lyxrow_funcs.C: remove wrong comment
3848
3849 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * lyxtext.h: adjust
3852         * rowpainter.C: adjust
3853         * text.C: adjust
3854         * text2.C: adjust
3855         * text3.C: adjust
3856
3857         * lyxrow_funcs. [Ch]: new files
3858
3859         * lyxrow.[Ch]: remove next and previous pointers
3860         (next,previous): remove accessor functions
3861         (isParEnd): move to lyxrow_funcs
3862         (lastPos): move to lyxrow_funcs
3863         (nextRowIsAllInset): move to lyxrow_funcs
3864         (lastPrintablePos): move to lyxrow_funcs
3865         (numberOfSeparators): move to lyxrow_funcs
3866         (numberOfHfills): move to lyxrow_funcs
3867         (numberOfLabelHfills): move to lyxrow_funcs
3868         (hfillExpansion): move to lyxrow_funcs
3869
3870         * lyxfunc.C: adjust
3871
3872         * bufferview_funcs.C (toggleAndShow): adjust
3873
3874         * RowList.h: Remove class RowList from file leave just a
3875         std::list<Row>.
3876
3877         * RowList.C: delete file
3878
3879         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3880         and lyxrow_funcs.h
3881
3882 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * text3.C (cursorPrevious): adjust
3885         (cursorNext): adjust
3886         (dispatch): adjust
3887
3888         * text2.C (redoHeightOfParagraph): adjust
3889         (redoDrawingOfParagraph): adjust
3890         (setCursor): adjust
3891
3892         * text.C (breakParagraph): adjust
3893         (insertChar): adjust
3894         (backspace): adjust
3895
3896         * rowpainter.C (RowPainter): adjust
3897         (leftMargin): simplify and adjust
3898         (most rowpainter functions): adjust.
3899
3900         * rowpainter.h: store the row as RowList::iterator not as Row*
3901
3902         * lyxcursor.C (row): taka RowList::iterator as arg
3903         (irow): ditto
3904
3905         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3906         of Row*.
3907
3908 2003-04-01  Angus Leeming  <leeming@lyx.org>
3909
3910         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3911         stuff like bool Bool.
3912
3913 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3914
3915         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3916         rewrite a loop
3917
3918 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3921         RowList::iterator.
3922
3923         * lyxtext.h (rows): drop one version and leve a const variant that
3924         returns a RowList::iterator.
3925
3926 2003-03-31  Angus Leeming  <leeming@lyx.org>
3927
3928         * text.C (fill): ensure that the signature is the same as that in the
3929         header file.
3930
3931 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * text2.C (redoParagraphs): adjust
3934         (updateCounters): adjust
3935         (checkParagraph): adjust
3936         (getColumnNearX): adjust and reformat a bit.
3937
3938         * text.C (top_y): adjust
3939         (workWidth): adjust
3940         (leftMargin): adjust
3941         (prepareToPrint): adjust
3942         (getRow): adjust
3943         (getRowNearY): adjust
3944
3945         * lyxtext.h: make rowlist_ mutable.
3946
3947         * RowList.h: add const_iterator
3948         * RowList.C: adjust for RowList::const_iterator.
3949
3950         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3951         adjust.
3952
3953 2003-03-31  John Levon  <levon@movementarian.org>
3954
3955         * lyxrc.h:
3956         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3957
3958         * lyx_main.C: set default fonts from using lyx_gui funcs
3959
3960         * exporter.C: pdf_mode moved from lyxrc
3961
3962         * lyx_cb.C:
3963         * lyxfunc.C: changes from above
3964
3965 2003-03-31  John Levon  <levon@movementarian.org>
3966
3967         * lyx_main.C: fix to the last fix
3968
3969 2003-03-31  John Levon  <levon@movementarian.org>
3970
3971         * bufferlist.C: "Load original" -> "Load Original"
3972
3973         * converter.C:
3974         * exporter.C:
3975         * importer.C:
3976         * lyx_main.C:
3977         * format.C: more Alert cleanups
3978
3979 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * text2.C (removeParagraph): make it take a RowList::iterator as
3982         arg, adjust.
3983         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3984         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3985
3986         * text.C (anchor_row): make it take a RowList::iterator as arg,
3987         adjust.
3988         (computeBidiTables): make it take a const reference to Row instead
3989         of Row pointer, adjust.
3990         (leftMargin): make it take a RowList::iterator as arg, adjust.
3991         (rowBreakPoint): adjust
3992         (breakAgainOneRow): make it take a RowList::iterator as arg,
3993         adjust.
3994         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3995
3996         * bufferview_funcs.C (toggleAndShow): adjust
3997
3998 2003-03-30  John Levon  <levon@movementarian.org>
3999
4000         * Makefile.am:
4001         * BoostFormat.h:
4002         * boost-inst.C: moved to support
4003
4004         * several files: changes as a result
4005
4006 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * text2.C (LyXText): adjust.
4009         (init): adjust
4010         (removeRow): make it take a RowList::iterator as arg, adjust.
4011         (fullRebreak): adjust
4012         (deleteEmptyParagraphMechanism): adjust
4013         (clearPaint): adjust
4014         (postPaint): adjust
4015
4016         * text.C (top_y): adjust
4017         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4018         (breakAgain): make it take a RowList::iterator as arg, adjust.
4019         (breakParagraph): adjust
4020         (insertChar): adjust
4021         (backspace): adjust
4022
4023         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4024         need_break_row, and refresh_row.
4025
4026         * text3.C (dispatch): adjust
4027
4028         * text2.C (checkParagraph): adjust
4029         (setCursor): adjust
4030         (setCursorFromCoordinates): adjust
4031
4032         * text.C (top_y): adjust
4033         (workWidth): adjust
4034         (getRow): make it return a RowList::iterator, adjust
4035         (getRowNearY): make it return a RowList::iterator, adjust
4036
4037         * text2.C (init): adjust
4038         (insertRow): remove function
4039         (insertParagraph): adjust
4040         (redoParagraphs): adjust
4041         (fullRebreak): adjust
4042         (updateCounters): adjust
4043
4044         * text.C (top_y): rewrite to use RowList iterators.
4045         (top_y): adjust
4046         (setHeightOfRow): rewrite to sue RowList iterators.
4047         (appendParagraph): adjust
4048         (breakAgain): adjust
4049         (breakAgainOneRow): adjust
4050         (breakParagraph): adjust
4051         (getRow): adjust
4052         (getRowNearY): adjust, and remove commented code.
4053
4054         * lyxtext.h (firstRow): delete function
4055         (lastRow): delete function
4056         (rows): new function (const and non-const versions.)
4057         (insertRow): delete function
4058
4059         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4060
4061 2003-03-29  John Levon  <levon@movementarian.org>
4062
4063         * BufferView_pimpl.C: always update scrollbar top
4064         because pasting text when we're anchored could mean we
4065         miss an update altogether
4066
4067 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * text2.C (init): use rowlist_.end() and not 0.
4070         (insertRow): change to take a RowList::iterator as arg, adjust
4071         for this.
4072         (insertParagraph): change to take a RowList::iterator as arg,
4073         adjust for this.
4074         (redoParagraphs): remove some debug msgs.
4075
4076         * text.C (appendParagraph): change to take a RowList::iterator
4077         arg, adjust for this.
4078         (breakAgain): add an assert
4079         (breakAgainOneRow): ditto
4080
4081 2003-03-29  John Levon  <levon@movementarian.org>
4082
4083         * text2.C: do not clear selection after inc/decDepth
4084         (bug 550)
4085
4086 2003-03-29  John Levon  <levon@movementarian.org>
4087
4088         * BufferView.C:
4089         * buffer.C: fix broken strerrors according to Lars
4090
4091 2003-03-29  John Levon  <levon@movementarian.org>
4092
4093         * converters.C: more Alert cleanups
4094
4095 2003-03-29  John Levon  <levon@movementarian.org>
4096
4097         * bufferview_funcs.C: remove pointless Alert
4098
4099         * buffer.C: fix confusing error message when
4100         a template is chmoded 000
4101
4102 2003-03-29  John Levon  <levon@movementarian.org>
4103
4104         * BufferView.C:
4105         * BufferView.h:
4106         * BufferView_pimpl.C: Alert fixes
4107
4108         * Makefile.am:
4109         * tabular.C:
4110         * tabular-old.C: remove unused table compat reading
4111
4112 2003-03-29  John Levon  <levon@movementarian.org>
4113
4114         * BufferView.C:
4115         * buffer.C:
4116         * lyx_cb.h:
4117         * lyx_cb.C: more Alert cleanups
4118
4119         * lyxfunc.C: don't allow chktex if not latex document
4120
4121 2003-03-29  John Levon  <levon@movementarian.org>
4122
4123         * lyx_cb.C:
4124         * BufferView.C:
4125         * buffer.C: warnings pushed down from support/,
4126         kill err_alert
4127
4128 2003-03-29  John Levon  <levon@movementarian.org>
4129
4130         * lyxfunc.C: safety check for C-r (revert)
4131
4132 2003-03-29  John Levon  <levon@movementarian.org>
4133
4134         * bufferlist.h:
4135         * bufferlist.C: several UI fixes using Alert::prompt.
4136         Fix the pointless looping quit code. Fix stupid revert
4137         behaviour (bug 938)
4138
4139         * lyxvc.h:
4140         * lyxvc.C:
4141         * lyx_cb.C: use Alert::prompt
4142
4143         * lyx_main.C: remove a silly question
4144
4145         * lyxfunc.C: remove a couple of silly questions,
4146         use Alert::prompt
4147
4148 2003-03-28  John Levon  <levon@movementarian.org>
4149
4150         * text2.C: fix bug 974 (End on empty par)
4151
4152 2003-03-28  John Levon  <levon@movementarian.org>
4153
4154         * BufferView_pimpl.C:
4155         * LyXAction.C:
4156         * lfuns.h: remove do-nothing math greek lfuns
4157
4158 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * lyxgluelength.h (isValidGlueLength): add default arg on
4161         parameter 2. Remove default arg from friend in class.
4162
4163         * lyxlength.h (isValidLength): add default arg on parameter 2.
4164         Remove default arg from friend in class.
4165
4166         * text2.C (LyXText): adjust, initialize refresh_row.
4167         (init): adjust
4168         (removeRow): adjust
4169         (insertRow): adjust
4170         (insertParagraph): adjst
4171         (redoParagraphs): adjust
4172         (fullRebreak): adjust
4173         (updateCounters): adjust
4174         (deleteEmptyParagraphMechanism): first attempt at fixing a
4175         crashing bug.
4176
4177         * text.C (top_y): adjust
4178         (setHeightOfRow): adjust
4179         (getRow): adjust
4180         (getRowNearY): adjust
4181
4182         * lyxtext.h: include RowList.h
4183         (~LyXText): not needed anymore, deleted.
4184         (firstRow): modify for RowList
4185         (lastRow): new function
4186         Delete firstrow and lastrow class variables, add a Rowlist
4187         rowlist_ class variable.
4188
4189         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4190         paragraph is empty.
4191
4192         * RowList.C (insert): fix case where it == begin().
4193
4194 2003-03-26  Angus Leeming  <leeming@lyx.org>
4195
4196         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4197         the thesaurus dialog.
4198
4199 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4202
4203         * RowList.[Ch]: new files
4204
4205         * ParagraphList.C (erase): handle the case where it == begin
4206         correctly.
4207
4208 2003-03-25  John Levon  <levon@movementarian.org>
4209
4210         * Makefile.am:
4211         * aspell_local.h:
4212         * aspell.C: add new aspell support
4213
4214         * lyxrc.h:
4215         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4216         have it accessible.
4217
4218 2003-03-25  Angus Leeming  <leeming@lyx.org>
4219
4220         * lfuns.h:
4221         * LyXAction.C (init): new LFUN_INSET_INSERT.
4222
4223         * BufferView_pimpl.C (dispatch): split out part of the
4224         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4225
4226         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4227         LFUN_INSET_APPLY.
4228
4229 2003-03-25  Angus Leeming  <leeming@lyx.org>
4230
4231         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4232
4233 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * text2.C:
4236         * text3.C: remove useless row->height(0)
4237
4238 2003-03-25  John Levon  <levon@movementarian.org>
4239
4240         * lyxtext.h:
4241         * text2.C:
4242         * text3.C: rename the refreshing stuff to better names
4243
4244 2003-03-24  John Levon  <levon@movementarian.org>
4245
4246         * BufferView_pimpl.h:
4247         * BufferView_pimpl.C: update layout choice on a mouse
4248         press/release
4249
4250 2003-03-23  John Levon  <levon@movementarian.org>
4251
4252         * Makefile.am: fix commandtags.h reference
4253
4254 2003-03-22  John Levon  <levon@movementarian.org>
4255
4256         * BufferView_pimpl.C:
4257         * lyxtext.h:
4258         * rowpainter.C:
4259         * rowpainter.h:
4260         * text.C:
4261         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4262
4263 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * lyxtext.h:
4266         * text.C: take the rtl methods out of line
4267
4268 2003-03-21 André Pönitz <poenitz@gmx.net>
4269
4270         * metricsinfo.[Ch]: new files containing structures to be passed around
4271         during the two-phase-drawing...
4272
4273 2003-03-21 André Pönitz <poenitz@gmx.net>
4274
4275         * lyxtextclass.C: read 'environment' tag.
4276
4277 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4278
4279         * text2.C (removeRow): fix bug 964
4280
4281 2003-03-20  John Levon  <levon@movementarian.org>
4282
4283         * rowpainter.C:
4284         * text.C:
4285         * text2.C: paint cleanups. Inset::update() dropped font
4286         parameter
4287
4288 2003-03-19  John Levon  <levon@movementarian.org>
4289
4290         * lyxfunc.C: only fitcursor/markDirty if available()
4291
4292 2003-03-19  John Levon  <levon@movementarian.org>
4293
4294         * commandtags.h: rename to ...
4295
4296         * lfuns.h: ... this, and renumber / cleanup
4297
4298 2003-03-19  John Levon  <levon@movementarian.org>
4299
4300         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4301         fit the cursor after an lfun
4302
4303         * BufferView.h:
4304         * BufferView.C:
4305         * BufferView_pimpl.h:
4306         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4307
4308         * LyXAction.C: layout-character should have ReadOnly
4309
4310         * ParagraphParameters.C:
4311         * buffer.C:
4312         * bufferview_funcs.C:
4313         * lyx_cb.C:
4314         * lyxfind.C:
4315         * lyxtext.h:
4316         * text.C:
4317         * text2.C:
4318         * text3.C:
4319         * undo_funcs.C: changes from above
4320
4321 2003-03-18  John Levon  <levon@movementarian.org>
4322
4323         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4324         remove it from update()
4325
4326         * lyxfunc.C: update layout choice after an lfun
4327
4328         * text3.C: remove extra updateLayoutChoice()s
4329
4330 2003-03-18  John Levon  <levon@movementarian.org>
4331
4332         * text.C: top_y change means full repaint, fix
4333         a drawing bug with cursor movement
4334
4335 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C: anchor row on setCursor
4340
4341 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * lyxtext.h: remove almost all mutable keywords
4344         * text.C:
4345         * text2.C:
4346         * text3.C: remove const keywords accordingly
4347
4348 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4349
4350         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4351         anon namespace
4352         (TeXEnvironment): ditto
4353         (TeXOnePar): ditto
4354
4355 2003-03-17  John Levon  <levon@movementarian.org>
4356
4357         * text.C (rowBreakPoint): remove attempt to fix displayed
4358         math insets inside a manual label
4359
4360 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * lyxtext.h: remove BufferView* as first arg from almost all class
4363         functions.
4364         * other files: adjust.
4365
4366 2003-03-17  John Levon  <levon@movementarian.org>
4367
4368         * lyxtext.h:
4369         * undo_funcs.C:
4370         * text2.C: more paint cleanups
4371
4372         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4373
4374         * rowpainter.h:
4375         * rowpainter.C: remove "smart" background painting code
4376
4377 2003-03-16  John Levon  <levon@movementarian.org>
4378
4379         * lyxtext.h:
4380         * text.C:
4381         * text2.C:
4382         * text3.C: add helper functions for setting refresh_row/y
4383
4384 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4385
4386         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4387         newline inset which *can* get inserted in the pass_thru layouts.
4388         This is primarily for literate documents.
4389
4390 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4391
4392         * buffer.C: increment LYX_FORMAT to 223
4393
4394 2003-03-14 André Pönitz <poenitz@gmx.net>
4395
4396         * textclass.h: prepare for environment handling, ws changes
4397         * lyxlayout.C: read latexheader and latexfooter tags
4398
4399 2003-03-14  John Levon  <levon@movementarian.org>
4400
4401         * text2.C: rewrite ::status() a bit
4402
4403 2003-03-13  John Levon  <levon@movementarian.org>
4404
4405         * lyxtext.h: add some docs
4406
4407 2003-03-13  John Levon  <levon@movementarian.org>
4408
4409         * lyxtext.h:
4410         * text.C:
4411         * text2.C:
4412         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4413
4414 2003-03-13  John Levon  <levon@movementarian.org>
4415
4416         * text3.C: fix appendix redrawing
4417
4418 2003-03-13  John Levon  <levon@movementarian.org>
4419
4420         * text.C (setHeightOfRow):
4421         * rowpainter.h:
4422         * rowpainter.C: make appendix mark have the text
4423           "Appendix" so the user knows what it is
4424
4425         * LColor.h:
4426         * LColor.C: s/appendixline/appendix/ from above
4427
4428 2003-03-13  John Levon  <levon@movementarian.org>
4429
4430         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4431
4432         * text.C: fix a getChar(pos) bug properly
4433
4434 2003-03-13  Angus Leeming  <leeming@lyx.org>
4435
4436         * commandtags.h:
4437         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4438         Probably only temporary. Let's see how things pan out.
4439
4440         * BufferView.C (unlockInset):
4441         * BufferView_pimpl.C (fitCursor):
4442         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4443
4444         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4445         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4446
4447         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4448         new functions that convert ParagraphParameters to and from a string.
4449
4450         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4451         BufferView::Pimpl's dispatch.
4452         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4453
4454 2003-03-13 André Pönitz <poenitz@gmx.net>
4455
4456         * lyxfunc.C:
4457         * text3.C:
4458         * factory.C: make it aware of InsetEnv
4459
4460 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * text2.C (setCursor): never ask for one past last
4463         (setCursor): add some debugging messages.
4464
4465         * text.C (singleWidth): never ask for one past last
4466         (singleWidth): ditto
4467         (leftMargin): ditto
4468         (rightMargin): ditto
4469         (rowBreakPoint): ditto
4470         (setHeightOfRow): ditto
4471         (prepareToPrint): ditto
4472
4473         * rowpainter.C (paintBackground): never ask for one past last
4474         (paintText): never ask for one past last
4475
4476         * paragraph_pimpl.C (getChar): make the assert stricter, never
4477         allow the one past last pos to be taken
4478
4479         * paragraph.C (getChar): ws changes only
4480
4481         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4482         (numberOfSeparators): ditto
4483         (numberOfHfills): ditto
4484
4485 2003-03-12  John Levon  <levon@movementarian.org>
4486
4487         * author.h:
4488         * author.C:
4489         * bufferparams.h:
4490         * bufferparams.C:
4491         * paragraph_funcs.C: fix per-buffer authorlists
4492
4493 2003-03-12  John Levon  <levon@movementarian.org>
4494
4495         * text.C: fix newline in right address
4496
4497 2003-03-12  Angus Leeming  <leeming@lyx.org>
4498
4499         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4500         duplicate those in LyXFunc::dispatch.
4501
4502         * commandtags.h:
4503         * LyXAction.C:
4504         * ToolbarDefaults.C:
4505         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4506         Add LFUN_FONTFREE_UPDATE.
4507
4508         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4509         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4510
4511         * bufferview_func.[Ch]: several new functions to facilliate
4512         transfer of data to and from the character dialog.
4513
4514 2003-03-12  John Levon  <levon@movementarian.org>
4515
4516         * buffer.C:
4517         * paragraph.h:
4518         * paragraph.C:
4519         * paragraph_funcs.C:
4520         * paragraph_pimpl.C:
4521         * sgml.C:
4522         * tabular.C:
4523         * text.C:
4524         * text3.C: remove META_NEWLINE in favour of an inset
4525
4526         * rowpainter.h:
4527         * rowpainter.C: remove paintNewline (done by inset)
4528
4529 2003-03-12  John Levon  <levon@movementarian.org>
4530
4531         * paragraph_pimpl.C: complain about bad getChar()s
4532         for a while at least
4533
4534 2003-03-12  John Levon  <levon@movementarian.org>
4535
4536         * buffer.h:
4537         * buffer.C: move paragraph read into a separate function,
4538         a little renaming to reflect that.
4539
4540         * bufferparams.h:
4541         * bufferparams.C: remove the author_ids map, not necessary now
4542
4543         * factory.h:
4544         * factory.C: moved Buffer::readInset to here
4545
4546         * paragraph_funcs.h:
4547         * paragraph_funcs.C: readParagraph free function moved from
4548         buffer.C
4549
4550         * tabular.C: name change
4551
4552 2003-03-12  John Levon  <levon@movementarian.org>
4553
4554         * buffer.C:
4555         * ParagraphParameters.C: move par params input to
4556         a read() method
4557
4558         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4559         behave like a normal read from the stream wrt reading
4560         a line vs. a \\token
4561
4562 2003-03-12  John Levon  <levon@movementarian.org>
4563
4564         * paragraph.C:
4565         * ParagraphParameters.h:
4566         * ParagraphParameters.C: move output code to a
4567         ::write() method
4568
4569 2003-03-12  John Levon  <levon@movementarian.org>
4570
4571         * BufferView.C (insertLyXFile):
4572         * buffer.h:
4573         * buffer.C:
4574         * tabular.C: use a parlist iterator for creating the
4575           document.
4576
4577 2003-03-12  John Levon  <levon@movementarian.org>
4578
4579         * buffer.C: make current_change static local not
4580           static file-scope
4581
4582 2003-03-12  John Levon  <levon@movementarian.org>
4583
4584         * buffer.C: fix insertStringAsLines for change tracking
4585
4586 2003-03-12  John Levon  <levon@movementarian.org>
4587
4588         * BufferView.C:
4589         * tabular.C:
4590         * buffer.h:
4591         * buffer.C:
4592         * bufferparams.h:
4593         * bufferparams.C: move author list into params. Rename some
4594           functions. Move the header reading into a separate token
4595           loop. Move the header token reading into BufferParams.
4596
4597 2003-03-12  John Levon  <levon@movementarian.org>
4598
4599         * changes.C: put debug inside lyxerr.debugging() checks
4600
4601 2003-03-11 André Pönitz <poenitz@gmx.net>
4602
4603         * factory.C: make it aware of InsetHFill
4604
4605 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4606
4607         * buffer.C (latexParagraphs): move function from here...
4608         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4609         args.
4610
4611 2003-03-10  Angus Leeming  <leeming@lyx.org>
4612
4613         * LyXAction.C (init): fix bug in poplating array with multiple entries
4614         with the same LFUN (spotted by JMarc).
4615
4616 2003-03-10  John Levon  <levon@movementarian.org>
4617
4618         * text.C:
4619         * text2.C: move getColumnNearX() near its
4620         only call site
4621
4622 2003-03-10  John Levon  <levon@movementarian.org>
4623
4624         * text.C: fix break before a minipage
4625
4626 2003-03-10  John Levon  <levon@movementarian.org>
4627
4628         * text.C: fix the last commit
4629
4630 2003-03-09  John Levon  <levon@movementarian.org>
4631
4632         * lyxtext.h:
4633         * text.C:
4634         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4635         bug 365 (don't break before insets unless needed). Don't
4636         return a value > last under any circumstances.
4637
4638 2003-03-09  Angus Leeming  <leeming@lyx.org>
4639
4640         * BufferView_pimpl.C (trackChanges, dispatch): call
4641         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4642
4643 2003-03-09  Angus Leeming  <leeming@lyx.org>
4644
4645         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4646         than Dialogs::showAboutlyx().
4647
4648 2003-03-09  Angus Leeming  <leeming@lyx.org>
4649
4650         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4651         than Dialogs::showTabularCreate().
4652
4653 2003-03-09  John Levon  <levon@movementarian.org>
4654
4655         * lyxtext.h:
4656         * text.C:
4657         * text2.C: 3rd arg to nextBreakPoint was always the same.
4658           Use references.
4659
4660 2003-03-08  John Levon  <levon@movementarian.org>
4661
4662         * lyxrow.C:
4663         * paragraph.C:
4664         * paragraph.h:
4665         * rowpainter.C:
4666         * text.C:
4667         * text2.C: Remove the "main" bit from the "main body"
4668           notion.
4669
4670 2003-03-08  John Levon  <levon@movementarian.org>
4671
4672         * text.C (leftMargin): The left margin of an empty
4673         manual label paragraph should not include the label width
4674         string length.
4675
4676         * text.C (prepareToPrint): don't attempt to measure hfills
4677         for empty manual label paragraphs - the answer should be 0
4678
4679 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * CutAndPaste.C: remove commented code and reindent.
4682
4683 2003-03-08  John Levon  <levon@movementarian.org>
4684
4685         * lyxfunc.h:
4686         * lyxfunc.C: move reloadBuffer()
4687
4688         * BufferView.h:
4689         * BufferView.C: to here
4690
4691         * lyxvc.C: add comment
4692
4693         * vc-backend.h:
4694         * vc-backend.C: call bv->reload() to avoid
4695           getStatus() check on MENURELOAD
4696
4697 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4698
4699         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4700         to an old format .dep file.
4701
4702 2003-03-07  Angus Leeming  <leeming@lyx.org>
4703
4704         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4705         when the LFUN_MOUSE_RELEASE should have been handled by
4706         inset->localDispatch.
4707
4708 2003-03-07  Angus Leeming  <leeming@lyx.org>
4709
4710         * BufferView_pimpl.C (dispatch):
4711         * LyXAction.C (init):
4712         * ToolbarDefaults.C (init):
4713         * commandtags.h:
4714         * lyxfunc.C (getStatus):
4715         remove LFUN_INSET_GRAPHICS.
4716
4717         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4718
4719 2003-03-07  Angus Leeming  <leeming@lyx.org>
4720
4721         * commandtags.h:
4722         * LyXAction.C (init):
4723         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4724
4725         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4726
4727         * commandtags.h:
4728         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4729
4730         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4731         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4732
4733 2003-03-07  Angus Leeming  <leeming@lyx.org>
4734
4735         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4736         remove "ert".
4737
4738 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * ParagraphList.C (front): new function
4741         (back): implement
4742
4743 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4744
4745         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4746         and top_row_offset_. removed var first_y.
4747         * text.C (top_y):
4748         * text2.C (LyXText, removeRow):
4749         * text3.C:
4750         * BufferView_pimpl.C:
4751         use these methods instead of using first_y
4752
4753 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * text2.C (pasteSelection): adjust for checkPastePossible
4756
4757         * CutAndPaste.C: remove Paragraph * buf and replace with
4758         ParagraphList paragraphs.
4759         (DeleteBuffer): delete
4760         (cutSelection): change the tc type to textclass_type
4761         (copySelection): change the tc type to textclass_type
4762         (copySelection): adjust for ParagraphList
4763         (pasteSelection): change the tc type to textclass_type
4764         (pasteSelection): adjust for Paragraphlist
4765         (nrOfParagraphs): simplify for ParagraphList
4766         (checkPastePossible): simplify for ParagraphList
4767         (checkPastePossible): remove unused arg
4768
4769         * ParagraphList.C (insert): handle the case where there are no
4770         paragraphs yet.
4771
4772         * CutAndPaste.h: make CutAndPaste a namespace.
4773
4774         * text3.C (dispatch): adjust
4775
4776         * text.C (breakParagraph): add a ParagraphList as arg
4777
4778         * paragraph_funcs.C (breakParagraph): change to take a
4779         BufferParams and a ParagraphList as args.
4780         (breakParagraphConservative): ditto
4781         (mergeParagraph): ditto
4782         (TeXDeeper): add a ParagraphList arg
4783         (TeXEnvironment): ditto
4784         (TeXOnePar): ditto
4785
4786         * buffer.C (readLyXformat2): adjust
4787         (insertStringAsLines): adjust
4788         (latexParagraphs): adjust
4789
4790         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4791         (cutSelection): adjust
4792         (pasteSelection): adjust
4793
4794         * BufferView_pimpl.C (insertInset): adjust
4795
4796 2003-03-05  Angus Leeming  <leeming@lyx.org>
4797
4798         * commandtags.h:
4799         * LyXAction.C (init):
4800         * BufferView_pimpl.C (dispatch):
4801         * lyxfunc.C (getStatus):
4802         remove LFUN_CHILD_INSERT.
4803
4804         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4805
4806 2003-03-05  Angus Leeming  <leeming@lyx.org>
4807
4808         * commandtags.h:
4809         * LyXAction.C (init):
4810         * src/factory.C (createInset):
4811         * lyxfunc.C (getStatus):
4812         * text3.C (dispatch):
4813         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4814
4815         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4816
4817 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * ParagraphList.C (insert): handle insert right before end()
4820         (erase): fix cases where it can be first or last paragraph.
4821
4822 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4825         Paragraph::next and Paragraph::previous
4826         (TeXOnePar): ditto
4827
4828         * text.C (breakParagraph): adjust
4829
4830         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4831         BufferParams& as arg.
4832         (breakParagraph): use ParagraphList::insert
4833         (breakParagraphConservative): take a Buffer* instead of a
4834         BufferParams& as arg.
4835         (breakParagraphConservative): use ParagraphList::insert.
4836
4837         * buffer.C (insertStringAsLines): un-const it
4838         (insertStringAsLines): adjust
4839
4840         * ParagraphList.C (insert): new function
4841
4842         * CutAndPaste.C (pasteSelection): adjust
4843
4844         * text.C (backspace): adjust
4845
4846         * tabular.C (SetMultiColumn): adjust
4847
4848         * CutAndPaste.C (cutSelection): adjust
4849         (pasteSelection): adjust
4850
4851         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4852         Buffer const * as arg
4853
4854         * ParagraphList.C (erase): new function
4855         * paragraph_funcs.C (mergeParagraph): use it
4856         (mergeParagraph): make it take a Buffer* instead of a
4857         BufferParams* as arg
4858
4859         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4860         as arg
4861         (breakParagraphConservative): ditto
4862
4863         * paragraph.h: remove the breakParagraph friend
4864
4865         * paragraph.C (eraseIntern): new function
4866         (setChange): new function
4867
4868         * paragraph_funcs.C (mergeParagraph): make it take a
4869         ParagraphList::iterator instead of a Paragraph *, adjust
4870         accordingly.
4871
4872         * paragraph.h: move an #endif so that the change tracking stuff
4873         also works in the NO_NEXT case.
4874
4875 2003-03-04  Angus Leeming  <leeming@lyx.org>
4876
4877         * commandtags.h:
4878         * LyXAction.C: new LFUN_INSET_MODIFY.
4879
4880         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4881         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4882
4883 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * several files: ws changes only
4886
4887         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4888         (TeXEnvironment): ditto
4889         (TeXDeeper): ditto
4890
4891         * buffer.C (makeLaTeXFile): adjust
4892         (latexParagraphs): make it take ParagraphList::iterator as args
4893
4894 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * buffer.C (latexParagraphs): adjust
4897
4898         * paragraph.C (TeXOnePar): move function...
4899         (optArgInset): move function...
4900         (TeXEnvironment): move function...
4901         * paragraph_pimpl.C (TeXDeeper): move function...
4902         * paragraph_funcs.C: ...here
4903
4904         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4905
4906 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * buffer.C (readInset): remove compability code for old Figure and
4909         InsetInfo insets
4910
4911 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * buffer.C: ws changes
4914         (readInset):
4915
4916         * BufferView_pimpl.C: ditto
4917         * author.C: ditto
4918         * buffer.h: ditto
4919         * bufferlist.h: ditto
4920         * changes.h: ditto
4921         * lyxfunc.C: ditto
4922
4923 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4924
4925         * converter.[Ch]: split into itself +
4926         * graph.[Ch]
4927         * format.[Ch]
4928         * Makefile.am: += graph.[Ch] + format.[Ch]
4929         * MenuBackend.C
4930         * buffer.C
4931         * exporter.C
4932         * importer.C
4933         * lyx_main.C
4934         * lyxfunc.C
4935         * lyxrc.C: added #include "format.h"
4936
4937 2003-02-27  Angus Leeming  <leeming@lyx.org>
4938
4939         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4940           a label.
4941
4942         * factory.C (createInset): add "label" to the factory.
4943
4944         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4945           string and do no more.
4946
4947 2003-02-27  Angus Leeming  <leeming@lyx.org>
4948
4949         * commandtags.h:
4950         * LyXAction.C (init):
4951         * factory.C (createInset):
4952         * BufferView_pimpl.C (dispatch):
4953           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4954
4955         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4956
4957         * lyxfunc.C (dispatch):
4958         * text3.C (dispatch): pass name to params2string.
4959
4960 2003-02-26  Angus Leeming  <leeming@lyx.org>
4961
4962         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4963           blocks together.
4964           Rearrange the ~includes. Strip out the unnecessary ones.
4965
4966         * factory.C (createInset): reformat.
4967           create new insets for the various LFUN_XYZ_APPLY lfuns.
4968
4969 2003-02-26  John Levon  <levon@movementarian.org>
4970
4971         * lyxrow.h:
4972         * lyxrow.C: add isParStart,isParEnd helpers
4973
4974         * paragraph.h: make isInserted/DeletedText take refs
4975
4976         * paragraph_funcs.h:
4977         * paragraph_funcs.C: remove #if 0'd code
4978
4979         * lyxtext.h:
4980         * text3.C:
4981         * text2.C:
4982         * text.C: use lyxrow helpers above.
4983           Move draw and paint routines to RowPainter.
4984           Make several methods use refs not pointers.
4985           Make backgroundColor() const.
4986           Add markChangeInDraw(), isInInset().
4987           Merge changeRegionCase into changeCase.
4988           Make workWidth() shouldn't-happen code into an Assert.
4989
4990         * rowpainter.h:
4991         * rowpainter.C: new class for painting a row.
4992
4993         * vspace.h:
4994         * vspace.C: make inPixels take a ref
4995
4996 2003-02-26  Angus Leeming  <leeming@lyx.org>
4997
4998         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4999         LFUN_REF_APPLY.
5000
5001 2003-02-25  John Levon  <levon@movementarian.org>
5002
5003         * ispell.C: give the forked command a more accurate name
5004
5005 2003-02-22  John Levon  <levon@movementarian.org>
5006
5007         * toc.h:
5008         * toc.C: make TocItem store an id not a Paragraph *
5009           (bug #913)
5010
5011 2003-02-21  Angus Leeming  <leeming@lyx.org>
5012
5013         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5014           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5015           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5016           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5017           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5018           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5019
5020         * BufferView_pimpl.C (dispatch):
5021         * LyXAction.C (init):
5022         * factory.C (createInset):
5023         * lyxfunc.C (getStatus, dispatch):
5024         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5025
5026 2003-02-21  Angus Leeming  <leeming@lyx.org>
5027
5028         * BufferView_pimpl.C (MenuInsertLyXFile):
5029         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5030         * lyxfunc.C (menuNew, open, doImport):
5031           no longer pass a LyXView & to fileDlg.
5032
5033 2003-02-21  Angus Leeming  <leeming@lyx.org>
5034
5035         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5036         * LyXAction.C: change, BIBKEY to BIBITEM.
5037         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5038         Change InsetBibKey to InsetBibitem.
5039         Change BIBKEY_CODE to BIBITEM_CODE.
5040         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5041         * factory.C: replace insetbib.h with insetbibitem.h.
5042         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5043         * paragraph.C: replace insetbib.h with insetbibitem.h.
5044         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5045         Change bibkey() to bibitem().
5046         * text.C: remove insetbib.h.
5047         * text2.C: replace insetbib.h with insetbibitem.h.
5048         change bibkey() to bibitem().
5049         * text3.C: remove insetbib.h.
5050         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5051
5052 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5053
5054         * lyxrc.C (output): enclose user email in quotes (in case there are
5055         several words)
5056
5057 2003-02-18  John Levon  <levon@movementarian.org>
5058
5059         * buffer.h: add std::
5060
5061 2003-02-17  John Levon  <levon@movementarian.org>
5062
5063         * SpellBase.h:
5064         * ispell.h:
5065         * ispell.C:
5066         * pspell.h:
5067         * pspell.C: reworking. Especially in ispell, a large
5068           number of clean ups and bug fixes.
5069
5070         * lyxfunc.C: fix revert to behave sensibly
5071
5072 2003-02-17 André Pönitz <poenitz@gmx.net>
5073
5074         * LyXAction.C:
5075         * commandtags.h: new LFUN_INSERT_BIBKEY
5076
5077         * layout.h:
5078         * lyxlayout.C:
5079         * buffer.C:
5080         * factory.C:
5081         * text.C:
5082         * text2.C:
5083         * text3.C:
5084         * paragraph.[Ch]:
5085         * paragraph_func.C: remove special bibkey handling
5086
5087 2003-02-17  John Levon  <levon@movementarian.org>
5088
5089         * text.C (Delete): fix case where delete at the end of
5090           the very first paragraph would not merge the pars
5091
5092 2003-02-17  John Levon  <levon@movementarian.org>
5093
5094         * lyxrow.C: fix lastPrintablePos()
5095
5096 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5097
5098         * bufferparams.C (writeLaTeX): add a std:here
5099
5100         * buffer.C: and remove a using directive there
5101
5102 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5103
5104         * buffer.C (makeLaTeXFile): move the code that generates the
5105           preamble...
5106
5107         * bufferparams.C (writeLaTeX): ... in this new method
5108
5109         * LaTeXFeatures.C (getEncodingSet): make const
5110           (getLanguages): make const
5111
5112         * MenuBackend.C (binding): returns the binding associated to this
5113           action
5114           (add): sets the status of each item by calling getStatus. Adds
5115           some intelligence.
5116           (read): add support for OptSubMenu
5117           (expand): remove extra separator at the end of expanded menu
5118
5119 2003-02-15  John Levon  <levon@movementarian.org>
5120
5121         * BufferView.C:
5122         * BufferView_pimpl.C:
5123         * bufferlist.h:
5124         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5125           inset code that had no actual effect. Remove unneeded status
5126           code.
5127
5128 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5129
5130         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5131           in preamble
5132
5133 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5134
5135         * text.C (drawLengthMarker): also draw an arrow marker for
5136           symbolic lengths (medskip...)
5137
5138 2003-02-14  John Levon  <levon@movementarian.org>
5139
5140         * tabular.h:
5141         * tabular.C: better method names
5142
5143 2003-02-14  John Levon  <levon@movementarian.org>
5144
5145         * BufferView_pimpl.C:
5146         * bufferlist.C:
5147         * buffer.C:
5148         * converter.C:
5149         * lyx_cb.C:
5150         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5151           it's a more accurate name. Remove some pointless uses.
5152
5153 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5154
5155         * text2.C (LyXText): change order of initilizers to shut off
5156           warnings
5157
5158 2003-02-14  John Levon  <levon@movementarian.org>
5159
5160         * buffer.C: use ParIterator for getParFromID()
5161
5162         * paragraph.h:
5163         * paragraph.C:
5164         * paragraph_pimpl.h:
5165         * paragraph_pimpl.C: remove unused getParFromID()
5166
5167 2003-02-14  John Levon  <levon@movementarian.org>
5168
5169         * buffer.C: remove some very old #if 0'd parse code
5170
5171 2003-02-13  John Levon  <levon@movementarian.org>
5172
5173         * text.h:
5174         * text.C:
5175         * text2.C: move hfillExpansion(), numberOfSeparators(),
5176           rowLast(), rowLastPrintable(), numberofHfills(),
5177           numberOfLabelHfills() ...
5178
5179         * lyxrow.h:
5180         * lyxrow.C: ... to member functions here.
5181
5182         * paragraph.h:
5183         * paragraph.C:
5184         * lyxtext.h:
5185         * text.C: remove LyXText::beginningOfMainBody(), and call
5186           p->beginningOfMainBody() directly. Move the check for
5187           LABEL_MANUAL into the latter.
5188
5189         * text.h:
5190         * text.C:
5191         * text2.C:
5192         * vspace.C:
5193         * BufferView.h:
5194         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5195
5196         * text.h:
5197         * text.C:
5198         * text2.C:
5199         * text3.C:
5200         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5201           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5202
5203 2003-02-13  John Levon  <levon@movementarian.org>
5204
5205         * CutAndPaste.C: remove debug
5206
5207 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5208
5209         * paragraph.C (asString): remove two unused variables
5210
5211         * lyxtextclass.C (readTitleType):
5212           (Read):
5213           (LyXTextClass): handle new members titletype_ and titlename_
5214
5215         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5216
5217 2003-02-09  John Levon  <levon@movementarian.org>
5218
5219         * buffer.h:
5220         * buffer.C: replace hand-coded list with a map for the dep clean
5221
5222 2003-02-08  John Levon  <levon@movementarian.org>
5223
5224         * LaTeX.C: consolidate code into showRunMessage() helper
5225
5226 2003-02-08  John Levon  <levon@movementarian.org>
5227
5228         * lyxfind.C:
5229         * lyxtext.h:
5230         * text2.C:
5231         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5232           and pass the size in explicitly
5233
5234         * BufferView_pimpl.h:
5235         * BufferView_pimpl.C:
5236         * BufferView.h:
5237         * BufferView.C: add getCurrentChange()
5238
5239         * BufferView_pimpl.h:
5240         * BufferView_pimpl.C: handle change lfuns
5241
5242         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5243           for changes. Mark pasted paragraphs as new.
5244
5245         * support/lyxtime.h:
5246         * support/lyxtime.C:
5247         * DepTable.C: abstract time_t as lyx::time_type
5248
5249         * LColor.h:
5250         * LColor.C: add colours for new text, deleted text, changebars
5251
5252         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5253           package use "usenames" option.
5254
5255         * commandtags.h:
5256         * lyxfunc.C:
5257         * LyXAction.C: add change lfuns
5258
5259         * Makefile.am:
5260         * author.h:
5261         * author.C: author handling
5262
5263         * buffer.h:
5264         * buffer.C: add a per-buffer author list, with first entry as
5265           current author. Handle new .lyx tokens for change tracking. Output
5266           author list to .lyx file. Output dvipost stuff to .tex preamble.
5267           Bump lyx format to 222.
5268
5269         * bufferlist.h:
5270         * bufferlist.C: add setCurrentAuthor() to reset current author details
5271           in all buffers.
5272
5273         * bufferparams.h:
5274         * bufferparams.C: add param for tracking
5275
5276         * bufferview_funcs.C: output change info in minibuffer
5277
5278         * Makefile.am:
5279         * changes.h:
5280         * changes.C: add change-tracking structure
5281
5282         * debug.h:
5283         * debug.C: add CHANGES debug flag
5284
5285         * lyxfind.h:
5286         * lyxfind.C: add code for finding the next change piece
5287
5288         * lyxrc.h:
5289         * lyxrc.C: add user_name and user_email
5290
5291         * lyxrow.h:
5292         * lyxrow.C: add a metric for the top of the text line
5293
5294         * lyxtext.h:
5295         * text.C: implement accept/rejectChange()
5296
5297         * lyxtext.h:
5298         * text.C: paint changebars. Paint new/deleted text in the chosen
5299         colours. Strike through deleted text.
5300
5301         * paragraph.h:
5302         * paragraph.C:
5303         * paragraph_pimpl.h:
5304         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5305           in the current change to the insert functions. Rework erase to
5306           mark text as deleted, adding an eraseIntern() and a range-based
5307           erase(). Implement per-paragraph change lookup and
5308           accept/reject.
5309
5310         * paragraph_funcs.C: Fixup paste for change tracking.
5311
5312         * tabular.C: mark added row/columns as new.
5313
5314         * text.C: fix rowLast() to never return -1. Don't allow
5315           spellchecking of deleted text. Track transpose changes. Don't
5316           allow paragraph break or merge where appropriate.
5317
5318         * text2.C: leave cursor at end of selection after a cut.
5319
5320 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5321
5322         * text.C (getLengthMarkerHeight):
5323         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5324         visible on screen too.
5325
5326 2003-02-07  John Levon  <levon@movementarian.org>
5327
5328         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5329
5330 2003-02-05  Angus Leeming  <leeming@lyx.org>
5331
5332         * lyxserver.C (read_ready): revert my patch of 11 September last year
5333         as it sends PC cpu through the roof. Presumably this means that
5334         the lyxserver will no longer run on an Alpha...
5335
5336 2003-01-30  Angus Leeming  <leeming@lyx.org>
5337
5338         * factory.C (createInset): create an InsetCommandParam of type "index"
5339         and use it to 'do the right thing'.
5340
5341         * text2.C (getStringToIndex): ensure that cursor position is always
5342         reset to the reset_cursor position.
5343
5344 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5345
5346         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5347         disabled.
5348
5349 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5350
5351         * bufferview.C:
5352         * lyxcb.C:
5353         * lyxfunc.C: Output messages with identical spelling, punctuation,
5354         and spaces
5355
5356 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5357
5358         * MenuBackend.C (expandFormats): List only viewable export formats
5359         in "View" menu
5360
5361         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5362         message
5363
5364         * lyxfunc.C (getStatus): Make sure that formats other than
5365         "fax" can also be disabled
5366
5367 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5368
5369         * text3.C (dispatch): put the lfuns that insert insets in 3
5370         groups, and call doInsertInset with appropriate arguments.
5371         (doInsertInset): new function, that creates an inset and inserts
5372         it according to some boolean parameters.
5373
5374 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * buffer.C (readFile): remember to pass on 'par' when calling
5377         readFile recursively.
5378
5379 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5380
5381         * MenuBackend.C (expandFormats): add "..." to import formats.
5382
5383 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5384
5385         * paragraph.C (asString): Remove XForms RTL hacks.
5386
5387 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5388         * buffer.C: fix typo
5389
5390 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * Makefile.am (LIBS): delete var
5393         (lyx_LDADD): add @LIBS@ here instead.
5394
5395 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5396
5397         * Clarify the meaning of "wheel mouse jump"
5398
5399 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5400
5401         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5402         tabular in a float
5403
5404 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5405
5406         * importer.C (Loaders): do not preallocate 3 elements in the
5407         vector, since one ends up with 6 elements otherwise
5408
5409 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5410
5411         * DepTable.C (write): write the file name as last element of the
5412         .dep file (because it may contain spaces)
5413         (read): read info in the right order
5414
5415 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5416
5417         * paragraph_pimpl.C (simpleTeXBlanks):
5418         (simpleTeXSpecialChars):
5419         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5420
5421         * tabular.C (latex): add some missing case statements. Reindent.
5422
5423         * MenuBackend.C (expandToc): remove unused variable.
5424
5425 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5426
5427         * LColor.C:
5428         * LaTeX.C:
5429         * LyXAction.C:
5430         * MenuBackend.C:
5431         * buffer.C:
5432         * exporter.C:
5433         * lyxfunc.C:
5434         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5435         and the like.
5436
5437 2003-01-05  John Levon  <levon@movementarian.org>
5438
5439         * BufferView.h:
5440         * BufferView.C: add getEncoding()
5441
5442         * kbsequence.h:
5443         * kbsequence.C: do not store last keypress
5444
5445         * lyxfunc.h:
5446         * lyxfunc.C: store last keypress here instead. Pass encoding
5447           to getISOEncoded()
5448
5449 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5450
5451         * lyx_main.C (init): remove annoying error message when following
5452         symbolic links (bug #780)
5453
5454 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5455
5456         * text.C (insertChar):
5457         * lyxrc.C (getDescription): remove extra spaces
5458
5459 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5460
5461         * lyxrc.C (getDescription): remove extra spaces
5462
5463 2002-12-20  John Levon  <levon@movementarian.org>
5464
5465         * text3.C: hack fix for page up/down across tall rows
5466
5467 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5468
5469         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5470         not been invoked
5471
5472 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5473
5474         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5475         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5476         thesaurus is not compiled in
5477
5478 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5479
5480         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5481
5482 2002-12-16  Angus Leeming  <leeming@lyx.org>
5483
5484         * lyxrc.[Ch]:
5485         * lyx_main.C (init): remove override_x_deadkeys stuff.
5486
5487 2002-12-12  John Levon  <levon@movementarian.org>
5488
5489         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5490           insert. Only remove shift modifier under strict
5491           circumstances.
5492
5493 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * MenuBackend.C (expandToc): fix crash.
5496
5497 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * MenuBackend.C (expandToc): gettext on float names.
5500
5501 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5502
5503         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5504         implement bool empty() [bug 490]
5505
5506 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5509
5510 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * several files: ws changes
5513
5514 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * text2.C (setCounter): clean up a bit, use boost.format.
5517         (updateCounters): initialize par upon declaration.
5518
5519         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5520         if the layout exists. We do not just store the layout any more.
5521         (SwitchLayoutsBetweenClasses): use boost.format
5522
5523 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5524
5525         * converter.C (convert): if from and to files are the same, use a
5526         temporary files as intermediary
5527
5528 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5529
5530         * commandtags.h:
5531         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5532
5533 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5534
5535         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5536
5537 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * tabular.C (asciiPrintCell): use string(size, char) instead of
5540         explicit loop.
5541
5542         * sgml.C (openTag): fix order of arguments to string constructor
5543         (closeTag): ditto
5544
5545         * lyxfunc.C (dispatch): use boost.format
5546
5547         * lots of files: change "c" -> 'c'
5548
5549 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5550
5551         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5552
5553 2002-11-25  Angus Leeming  <leeming@lyx.org>
5554
5555         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5556
5557         * lyx_main.C (init): compile fix.
5558
5559 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * lyx_cb.C (start): boost.formatify
5562         do not include <iostream>
5563
5564         * lengthcommon.C: ws only
5565
5566         * boost-inst.C,BoostFormat.h: add more explict instantations
5567
5568 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * lots of files: handle USE_BOOST_FORMAT
5571
5572 2002-11-21  John Levon  <levon@movementarian.org>
5573
5574         * pspell.C: fix compile
5575
5576 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5577
5578         * lyxfunc.C (dispatch): use boost::format
5579         (open): ditto
5580         (doImport): ditto
5581
5582         * lyxfont.C (stateText): use boost::format
5583
5584         * lyx_main.C (LyX): use boost::format
5585         (init): ditto
5586         (queryUserLyXDir): ditto
5587         (readRcFile): ditto
5588         (parse_dbg): ditto
5589         (typedef boost::function): use the recommened syntax.
5590
5591         * importer.C (Import): use boost::format
5592
5593         * debug.C (showLevel): use boost::format
5594
5595         * converter.C (view): use boost::format
5596         (convert): ditto
5597         (move): ditto
5598         (scanLog): ditto
5599
5600         * bufferview_funcs.C (currentState): use boost::format
5601
5602         * bufferlist.C (emergencyWrite): use boost::format
5603
5604         * buffer.C (readLyXformat2): use boost::format
5605         (parseSingleLyXformat2Token): ditto
5606
5607         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5608
5609         * LaTeX.C (run): use boost::format
5610
5611         * Chktex.C (scanLogFile): use boost::format
5612
5613         * BufferView_pimpl.C (savePosition): use boost::format
5614         (restorePosition): ditto
5615         (MenuInsertLyXFile): ditto
5616
5617         * BoostFormat.h: help file for explicit instation.
5618
5619 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5620
5621         * tabular.C (latex): Support for block alignment in fixed width
5622         columns.
5623
5624 2002-11-17  John Levon  <levon@movementarian.org>
5625
5626         * BufferView_pimpl.C:
5627         * lyx_cb.C:
5628         * lyxfunc.C: split filedialog into open/save
5629
5630 2002-11-08  Juergen Vigna  <jug@sad.it>
5631
5632         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5633         by my last patch (hopefully).
5634
5635 2002-11-08  John Levon  <levon@movementarian.org>
5636
5637         * iterators.h:
5638         * iterators.C:
5639         * buffer.h:
5640         * buffer.C:
5641         * paragraph.h:
5642         * paragraph.C:
5643         * toc.h:
5644         * toc.C: ParConstIterator, and use it (from Lars)
5645
5646 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5647
5648         * lyxtextclass.[Ch]: revise and add doxygen comments
5649
5650 2002-11-07  John Levon  <levon@movementarian.org>
5651
5652         * text.C: fix progress value for spellchecker
5653
5654         * toc.C: fix navigate menu for insetwrap inside minipage
5655
5656         * paragraph_funcs.C: added FIXME for suspect code
5657
5658 2002-11-07  John Levon  <levon@movementarian.org>
5659
5660         * BufferView_pimpl.C: fix redrawing of insets
5661           on buffer switch
5662
5663 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5664
5665         * text2.C (updateCounters): fix bug 668
5666
5667 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5668
5669         * text3.C (dispatch): Do not make the buffer dirty when moving the
5670         cursor.
5671
5672 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * vc-backend.C: STRCONV
5675         (scanMaster): ditto
5676
5677         * text2.C (setCounter): STRCONV
5678
5679         * paragraph.C (asString): STRCONV
5680
5681         * lyxlength.C (asString): STRCONV
5682         (asLatexString): ditto
5683
5684         * lyxgluelength.C (asString): STRCONV
5685         (asLatexString): ditto
5686
5687         * lyxfunc.C (dispatch): STRCONV
5688         (open): ditto
5689
5690         * lyxfont.C (stateText): STRCONV
5691
5692         * importer.C (Import): STRCONV
5693
5694         * counters.C (labelItem): STRCONV
5695         (numberLabel): ditto
5696         (numberLabel): remove unused ostringstream o
5697
5698         * chset.C: STRCONV
5699         (loadFile): ditto
5700
5701         * bufferview_funcs.C (currentState): STRCONV
5702
5703         * buffer.C (readFile): STRCONV
5704         (asciiParagraph): ditto
5705         (makeLaTeXFile): ditto
5706
5707         * Spacing.C (writeEnvirBegin): STRCONV
5708
5709         * LaTeXFeatures.C (getLanguages): STRCONV
5710         (getPackages): ditto
5711         (getMacros): ditto
5712         (getBabelOptions): ditto
5713         (getTClassPreamble): ditto
5714         (getLyXSGMLEntities): ditto
5715         (getIncludedFiles): ditto
5716
5717         * LaTeX.C: STRCONV
5718         (run): ditto
5719         (scanAuxFile): ditto
5720         (deplog): ditto
5721
5722         * LString.h: add the STRCONV macros
5723
5724         * BufferView_pimpl.C (savePosition): STRCONV
5725         (restorePosition): ditto
5726         (MenuInsertLyXFile): ditto
5727
5728         * vc-backend.C (scanMaster): change from submatch[...] to
5729         submatch.str(...)
5730
5731         * funcrequest.C: include config.h
5732
5733         * factory.C: include config.h
5734
5735         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5736
5737         * box.C: include config.h
5738
5739         * LaTeX.C (scanAuxFile): change from submatch[...] to
5740         submatch.str(...)
5741         (deplog): ditto
5742
5743 2002-10-25  Angus Leeming  <leeming@lyx.org>
5744
5745         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5746
5747         * ispell.[Ch] (setError): new method.
5748         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5749         Use setError() insetead of goto END.
5750
5751         * lyx_cb.C (AutoSave): move out child process into new class
5752         AutoSaveBuffer.
5753
5754 2002-10-30  John Levon  <levon@movementarian.org>
5755
5756         * text3.C: make start appendix undoable
5757
5758 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5759
5760         * lyxlength.C (inPixels): Fix returned value.
5761
5762         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5763         environment.
5764
5765 2002-10-24  Angus Leeming  <leeming@lyx.org>
5766
5767         * lyxgluelength.h: no need to forward declare BufferParams
5768         or BufferView, so don't.
5769
5770 2002-10-21  John Levon  <levon@movementarian.org>
5771
5772         * BufferView.C: menuUndo ->undo, redo
5773
5774         * BufferView.h: document, remove dead, make some methods private
5775
5776         * paragraph_funcs.h:
5777         * paragraph_funcs.C:
5778         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5779
5780         * buffer.h:
5781         * buffer.C:
5782         * sgml.h:
5783         * sgml.C: move sgml open/close tag into sgml.C
5784
5785         * bufferview_funcs.h: unused prototype
5786
5787         * lyxfunc.h:
5788         * lyxfunc.C: remove unused
5789
5790         * lyxtext.h:
5791         * text.C: remove unused
5792
5793 2002-10-21  John Levon  <levon@movementarian.org>
5794
5795         * BufferView.h:
5796         * BufferView.C:
5797         * BufferView_pimpl.h:
5798         * BufferView_pimpl.C: fix mouse wheel handling based on
5799           patch from Darren Freeman
5800
5801 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5802
5803         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5804
5805 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5806
5807         * lyxlength.C (inPixels): Fix hanfling of negative length.
5808         Fix LyXLength::MU case.
5809
5810 2002-10-16  John Levon  <levon@movementarian.org>
5811
5812         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5813
5814 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5815
5816         * converter.C (view): add support for $$i (file name) and $$p
5817         (file path) for the viewer command. If $$i is not specified, then
5818         it is appended to the command (for compatibility with old syntax)
5819
5820 2002-10-14  Juergen Vigna  <jug@sad.it>
5821
5822         * undo_funcs.C (textHandleUndo): alter the order in which the
5823         new undopar is added to the LyXText, as we have to set first
5824         the right prev/next and then add it as otherwise the rebuild of
5825         LyXText is not correct. Also reset the cursor to the right paragraph,
5826         with this IMO we could remove the hack in "redoParagraphs()".
5827
5828 2002-10-09  Angus Leeming  <leeming@lyx.org>
5829
5830         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5831         to turn off an optimisation if a new inset is to be inserted.
5832
5833 2002-10-11 André Pönitz <poenitz@gmx.net>
5834
5835         * lyxtext.h: make some functions public to allow access
5836         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5837
5838 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5839
5840         * text3.C (dispatch): when changing layout, avoid an infinite loop
5841         [bug #652]
5842
5843 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5844
5845         * lyxrc.C (read): treat a viewer or converter command of "none" as
5846         if it were empty.
5847
5848         * MenuBackend.C (expandFormats): for an update, also allow the
5849         formats that are not viewable
5850
5851         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5852         script if it is newer than the lyxrc.defaults in user directory
5853
5854 2002-10-07 André Pönitz <poenitz@gmx.net>
5855
5856         * text.C: Vitaly Lipatov's small i18n fix
5857
5858 2002-09-25  Angus Leeming  <leeming@lyx.org>
5859
5860         * ispell.h: doxygen fix.
5861
5862 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5863
5864         * buffer.h (readFile): Add a new argument to the method, to allow
5865         reading of old-format templates.
5866
5867 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5868
5869         * toc.C (getTocList): Get TOC from InsetWrap.
5870
5871 2002-09-16  John Levon  <levon@movementarian.org>
5872
5873         * lyxfunc.C: check tabular for cut/copy too
5874
5875 2002-09-12  John Levon  <levon@movementarian.org>
5876
5877         * LyXAction.C: tidy
5878
5879         * factory.h:
5880         * factory.C: add header
5881
5882         * paragraph_funcs.h:
5883         * paragraph_funcs.C: cleanup
5884
5885 2002-09-11  John Levon  <levon@movementarian.org>
5886
5887         * PrinterParams.h: odd/even default to true
5888
5889 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5890
5891         * PrinterParams.h: update printer parameters for new xforms dialog
5892
5893 2002-09-11  Angus Leeming  <leeming@lyx.org>
5894
5895         * lyxserver.C (read_ready): re-write to make it more transparent
5896         and to make it work in coherent fashion under Tru64 Unix.
5897
5898 2002-09-11  André Pönitz <poenitz@gmx.net>
5899
5900         * commandtags.h:
5901         * LyXAction.C:
5902         * text3.C: implement LFUN_WORDSEL
5903
5904 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5907         make floatlist_ a boost::shared_ptr<FloatList>
5908
5909         * lyxtextclass.C: include FloatList.h
5910         (LyXTextClass): initialize floatlist_
5911         (TextClassTags): add TC_NOFLOAT
5912         (Read): match "nofloat" to TC_NOFLOAT and use it.
5913         (readFloat): modify call to floatlist_
5914         (floats): ditto
5915         (floats): ditto
5916
5917         * FloatList.[Ch] (FloatList): remove commented out float
5918         initialization.
5919         (erase): new function
5920
5921 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5922
5923         * MenuBackend.C (expandToc): fix crash when there is no document
5924         open
5925
5926 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5927
5928         * many files: Add insetwrap.
5929
5930 2002-09-09  John Levon  <levon@movementarian.org>
5931
5932         * text2.C: remove confusing and awkward depth wraparound
5933
5934 2002-09-09  John Levon  <levon@movementarian.org>
5935
5936         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5937
5938         * buffer.h:
5939         * buffer.C: remove getIncludeonlyList()
5940
5941         * paragraph.C:
5942         * lyxfunc.C: remove headers
5943
5944 2002-09-09  Juergen Vigna  <jug@sad.it>
5945
5946         * text.C (getColumnNearX): fix form Michael this is most
5947         probably a cut&paste bug.
5948
5949 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5952
5953         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5954         references, ws changes.
5955
5956         * text2.C (init): update counters after init
5957         (insertParagraph): no need to set counter on idividual paragraphs.
5958         (setCounter): access the counters object in the textclass object
5959         on in the buffer object.
5960         (updateCounters): ditto
5961
5962         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5963         shared_ptr<Counters> to avoid loading counters.h in all
5964         compilation units.
5965         (LyXTextClass): initialize ctrs_
5966         (TextClassTags): add TC_COUNTER, and ...
5967         (Read): use it here.
5968         (CounterTags): new tags
5969         (readCounter): new function
5970         (counters): new funtion
5971         (defaultLayoutName): return a const reference
5972
5973         * counters.C (Counters): remove contructor
5974         (newCounter): remove a couple of unneeded statements.
5975         (newCounter): simplify a bit.
5976         (numberLabel): some small formatting changes.
5977
5978         * buffer.[Ch]: remove all traces of counters, move the Counters
5979         object to the LyXTextClass.
5980
5981 2002-09-06  Alain Castera  <castera@in2p3.fr>
5982
5983         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5984         package to set the horizontal alignment on fixed width columns.
5985
5986         * lyx_sty.C:
5987         * lyx_sty.h: added tabularnewline macro def.
5988
5989         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5990
5991 2002-09-06  John Levon  <levon@movementarian.org>
5992
5993         * LyXAction.C: tooltips for sub/superscript
5994
5995         * MenuBackend.C: a bit more verbose
5996
5997         * lyxfunc.C: tiny clean
5998
5999         * undo_funcs.C: document undo_frozen
6000
6001 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * counters.C (Counters): add missing algorithm counter.
6004
6005         * text2.C (setCounter): lookup the counter with layouts latexname
6006         instead of by section number.
6007         (setCounter): use a hackish way to lookup the correct enum
6008         counter.
6009         a float name->type change
6010         reset enum couners with counter name directly instead of depth value.
6011
6012         * counters.C (Counters): remove the push_backs, change to use the
6013         float type not the float name.
6014         (labelItem): remove unused string, float name->type change
6015
6016         * counters.h: don't include vector, loose the enums and sects vectors
6017
6018 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6021         (Read): add float->TC_FLOAT to textclassTags
6022         (Read): and handle it in the switch
6023         (readFloat): new function
6024
6025         * FloatList.C (FloatList): comment out the hardcoded float
6026         definitions.
6027
6028         * lyxlayout.h: ws change.
6029
6030 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6031
6032         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6033
6034 2002-09-03  Angus Leeming  <leeming@lyx.org>
6035
6036         * BufferView_pimpl.h: qualified name is not allowed in member
6037         declaration: WorkArea & Pimpl::workarea() const;
6038
6039         * factory.C: added using std::endl directive.
6040
6041         * text3.C: added using std::find and std::vector directives.
6042
6043 2002-08-29  André Pönitz <poenitz@gmx.net>
6044
6045         * lyxtext.h:
6046         * text2.C: remove unused member number_of_rows
6047
6048         * Makefile.am:
6049         * BufferView2.C: remove file, move contents to...
6050         * BufferView.C: ... here
6051
6052         * BufferView_pimpl.C:
6053         * factory.C: move more inset creation to factory
6054
6055         * vspace.C: avoid direct usage of LyXText, ws changes
6056
6057         * BufferView.[Ch]:
6058                 don't provide direct access to WorkArea, use two simple
6059                 acessors haveSelction() and workHeight() instead
6060
6061
6062 2002-08-29  John Levon  <levon@movementarian.org>
6063
6064         * BufferView_pimpl.C (dispatch): do not continue when
6065           no buffer
6066
6067 2002-08-28  André Pönitz <poenitz@gmx.net>
6068
6069         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6070
6071         * BufferView.h:
6072         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6073
6074 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6075
6076         * buffer.C: increment LYX_FORMAT to 221
6077
6078         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6079         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6080
6081         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6082
6083         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6084
6085 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6086
6087         * factory.C (createInset): use LyXTextClass::floats
6088
6089         * MenuBackend.C (expandFloatListInsert):
6090         (expandFloatInsert):
6091         (expandToc):
6092
6093         * text2.C (setCounter):
6094
6095         * LaTeXFeatures.C (useFloat):
6096         (getFloatDefinitions):
6097
6098         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6099
6100         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6101         floatlist_, with accessor floats().
6102
6103         * FloatList.h: remove global FloatList
6104
6105 2002-08-26  André Pönitz <poenitz@gmx.net>
6106
6107         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6108
6109         * BufferView.h:
6110         * BufferView2.C:
6111         * BufferView_pimpl.C:
6112         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6113
6114 2002-08-25  John Levon  <levon@movementarian.org>
6115
6116         * LyXAction.C: fix margin note description
6117
6118 2002-08-24  John Levon  <levon@movementarian.org>
6119
6120         * buffer.C:
6121         * bufferlist.C:
6122         * bufferview_funcs.C:
6123         * lyxfont.C:
6124         * undo_funcs.C: cleanups
6125
6126         * lyxfunc.C: disable CUT/COPY when no selection
6127
6128 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6129
6130         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6131         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6132
6133         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6134         Add backward compatibility to "mono", "gray" and "no".
6135
6136 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6137
6138         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6139         (and file_format >= 200).
6140
6141 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6142
6143         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6144
6145 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6146
6147         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6148
6149 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6150
6151         * BufferView_pimpl.C:
6152         * LyXAction.C:
6153         * buffer.C:
6154         * commandtags.h:
6155         * lyxfunc.C:
6156         * paragraph.[Ch]:
6157         * text2.C:
6158         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6159         inset and code to make it  work with the paragraph code. The inset
6160         can be anywhere in the paragraph, but will only do the expected
6161         thing in LaTeX if the layout file contains the parameter line
6162                         OptionalArgs    1
6163         (or more generally, a nonzero value) for that layout.
6164
6165 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * paragraph.h: remove the declaration of undefined counters class
6168         function.
6169
6170 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6171
6172         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6173         Dr. Richard Hawkins.
6174
6175 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6176
6177         * paragraph_funcs.h: remove some unneeded includes
6178
6179         * text.C (backspace): pasteParagraph now in global scipe
6180
6181         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6182         (pasteSelection): ditto
6183
6184         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6185         * paragraph_funcs.C (pasteParagraph): ... here
6186
6187 2002-08-20  André Pönitz <poenitz@gmx.net>
6188
6189         * commandtags.h: new LFUNs for swapping/copying table row/colums
6190
6191         * LyXAction.C:
6192         * lyxfunc.C: support for new lfuns
6193
6194 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * tabular.C:
6197         * buffer.[Ch]: remove NO_COMPABILITY stuff
6198
6199 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * boost.C (throw_exception): new file, with helper function for
6202         boost compiled without exceptions.
6203
6204         * paragraph.h:
6205         * lyxlength.C:
6206         * buffer.C:
6207         * ParameterStruct.h:
6208         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6209
6210         * bufferlist.C (emergencyWriteAll): use boost bind
6211
6212         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6213
6214         * text.C: include paragraph_funcs.h
6215         (breakParagraph): breakParagraph is now in global scope
6216
6217         * paragraph_funcs.[Ch]: new files
6218
6219         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6220         global scope
6221
6222         * buffer.C: include paragraph_funcs.h
6223         (insertStringAsLines): breakParagraph is now in global scope
6224
6225         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6226         paragraph_funcs.C
6227
6228         * CutAndPaste.C: include paragraph_funcs.h
6229         (cutSelection): breakParagraphConservative is now in global scope
6230         (pasteSelection): ditto
6231
6232         * buffer.h: declare oprator== and operator!= for
6233         Buffer::inset_iterator
6234
6235         * bufferlist.C (emergencyWrite): don't use fmt(...)
6236
6237         * text3.C: add using std::endl
6238
6239         * BufferView.C (moveCursorUpdate): remove default arg
6240
6241 2002-08-20  André Pönitz <poenitz@gmx.net>
6242
6243         * buffer.[Ch]: move inline functions to .C
6244
6245         * BufferView2.C:
6246         * BufferView_pimpl.C:
6247         * text.C:
6248         * buffer.[Ch]: use improved inset_iterator
6249
6250         * buffer.C:
6251         * paragraph.[Ch]: write one paragraph at a time
6252
6253 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6254
6255         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6256         style if style is not specified.
6257
6258 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6259
6260         * text2.C (setCounter): when searching for right label for a
6261         caption, make sure to recurse to parent insets (so that a caption
6262         in a minipage in a figure float works) (bug #568)
6263
6264 2002-08-20  André Pönitz <poenitz@gmx.net>
6265
6266         * text3.C: new file for LyXText::dispatch() and helpers
6267
6268         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6269
6270         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6271
6272 2002-08-19  André Pönitz <poenitz@gmx.net>
6273
6274         * lyxtext.h:
6275         * text.C: new LyXText::dispatch()
6276
6277         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6278
6279 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6280
6281         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6282
6283         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6284         Hebrew text.
6285
6286 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6287
6288         * Makefile.am: use $(variables) instead of @substitutions@
6289
6290 2002-08-15  André Pönitz <poenitz@gmx.net>
6291
6292         * lyxfunc.C:
6293         * BufferView_pimpl.C: streamlining mathed <-> outer world
6294         interaction
6295
6296         * commandtags.h:
6297         * LyXAction.C: remove unused LFUN_MATH
6298
6299 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6300
6301         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6302
6303 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * paragraph.C (Paragraph): reformat a bit
6306         (cutIntoMinibuffer): use builtin InsetList function instad of
6307         doing it manually.
6308         (getInset): ditto
6309
6310         * buffer.C: include boost/bind.hpp, add using std::for_each
6311         (writeFileAscii): use ParagraphList iterators
6312         (validate): use for_each for validate traversal of paragraphs
6313         (getBibkeyList): use ParagraphList iterators
6314         (resizeInsets): use for_each to resizeInsetsLyXText for all
6315         paragraphs.
6316         (getParFromID): use ParagraphList iterators
6317
6318         * BufferView2.C (lockInset): use paragraph list and iterators
6319
6320 2002-08-14  John Levon  <levon@movementarian.org>
6321
6322         * lyxserver.C: remove spurious xforms include
6323
6324 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6325
6326         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6327
6328 2002-08-13  André Pönitz <poenitz@gmx.net>
6329
6330         * LyXAction.[Ch]:
6331         * lyxfunc.C: further cleaning
6332
6333 2002-08-13  André Pönitz <poenitz@gmx.net>
6334
6335         * funcrequest.h: new constructor
6336
6337         * funcrequest.C: move stuff here from .h
6338
6339         * Makefile.am:
6340         * BufferView_pimpl.C:
6341         * LyXAction.C:
6342         * toc.C:
6343         * lyxfunc.C: subsequent changes
6344
6345         * lyxfunc.h: new view() member function
6346
6347         * lyxfunc.C: subsequent changes
6348
6349 2002-08-13  Angus Leeming  <leeming@lyx.org>
6350
6351         * BufferView2.C:
6352         * BufferView_pimpl.C:
6353         * buffer.C:
6354         * converter.C:
6355         * importer.C:
6356         * lyxfunc.C:
6357         * lyxvc.C:
6358         * toc.C:
6359         * vc-backend.C:
6360         changes due to the changed LyXView interface that now returns references
6361         to member variables not pointers.
6362
6363 2002-08-13  Angus Leeming  <leeming@lyx.org>
6364
6365         * WordLangTuple (word, lang_code): return references to strings,
6366         not strings.
6367
6368         * BufferView.h:
6369         * SpellBase.h:
6370         * lyxtext.h: forward-declare WordLangTuple.
6371
6372         * BufferView2.C:
6373         * ispell.C:
6374         * pspell.C:
6375         * text.C: #include "WordLangTuple.h".
6376
6377         * lyxtext.h:
6378         * text.C: (selectNextWordToSpellcheck): constify return type.
6379
6380 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6381
6382         * buffer.C:
6383         * buffer.h:
6384         * lyxtext.h:
6385         * paragraph.C:
6386         * paragraph_pimpl.h:
6387         * text.C:
6388         * text2.C:
6389         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6390         suggested by Angus.
6391         Made updateCounter always count from start of buffer, and removed
6392         second argument (par).
6393         Reverted floats number display to '#'. Perhaps I'll try again when the
6394         code base is sanitized a bit.
6395
6396 2002-08-12  Angus Leeming  <leeming@lyx.org>
6397
6398         * buffer.[Ch] (getLabelList): constify.
6399
6400 2002-08-07  André Pönitz <poenitz@gmx.net>
6401
6402         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6403
6404         * funcrequest.h: extension to keep mouse (x,y) position
6405
6406 2002-08-12  Juergen Vigna  <jug@sad.it>
6407
6408         * BufferView2.C (insertErrors): forbid undo when inserting error
6409         insets.
6410
6411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6412
6413 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * ParagraphList.[Ch]: new files
6416
6417         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6418
6419         * BufferView2.C (lockInset): ParagraphList changes
6420         * toc.C: ditto
6421         * text2.C: ditto
6422         * bufferlist.C: ditto
6423         * buffer.h: ditto
6424         * buffer.C: ditto
6425
6426 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6429         unused class variable counter_,
6430
6431         * paragraph.[Ch] (getFirstCounter): delete unused function
6432
6433         * counters.C: include LAssert.h
6434         (reset): add a new function with no arg, change other version to
6435         not have def. arg and to not allow empty arg.
6436
6437         * text2.C (setCounter): remove empty arg from call to Counters::reset
6438
6439 2002-08-11  John Levon  <levon@movementarian.org>
6440
6441         * Makefile.am: add WordLangTuple.h
6442
6443 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6446         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6447
6448         * insets/insettext.C: InsetList changes
6449
6450         * graphics/GraphicsSupport.C (operator()): InsetList changes
6451
6452         * toc.C (getTocList): InsetList changes
6453
6454         * paragraph_pimpl.[Ch]: InsetList changes
6455
6456         * paragraph.[Ch]: InsetList changes
6457
6458         * buffer.C (inset_iterator): InsetList changes
6459         (setParagraph): ditto
6460         * buffer.h (inset_iterator): ditto
6461         * iterators.C (operator++): ditto
6462         * iterators.h: ditto
6463
6464         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6465
6466         * InsetList.[Ch]: new files, most InsetList handling moved out of
6467         paragraph.C.
6468
6469         * BufferView2.C (removeAutoInsets): InsetList changes
6470         (lockInset): ditto
6471         (ChangeInsets): ditto
6472
6473 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * paragraph_pimpl.h (empty): new function
6476
6477         * paragraph.[Ch] (empty): new function
6478
6479         * other files: use the new Paragraph::empty function
6480
6481 2002-08-09  John Levon  <levon@movementarian.org>
6482
6483         * lyxtext.h: remove unused refresh_height
6484
6485 2002-08-09  John Levon  <levon@movementarian.org>
6486
6487         * Makefile.am:
6488         * sgml.h:
6489         * sgml.C:
6490         * buffer.C:
6491         * paragraph.h:
6492         * paragraph.C: move sgml char escaping out of paragraph
6493
6494         * paragraph.h:
6495         * paragraph.C: remove id setter
6496
6497         * buffer.C:
6498         * paragraph.C:
6499         * paragraph_pimpl.C: remove dead tex_code_break_column
6500
6501         * bufferview_funcs.C: small cleanup
6502
6503         * lyxfunc.C: remove dead proto
6504
6505         * lyxtext.h: make some stuff private. Remove some dead stuff.
6506
6507         * lyxgluelength.C: make as[LyX]String() readable
6508
6509 2002-08-08  John Levon  <levon@movementarian.org>
6510
6511         * LyXAction.h:
6512         * LyXAction.C:
6513         * MenuBackend.C:
6514         * ToolbarDefaults.C:
6515         * lyxfunc.C:
6516         * lyxrc.C:
6517         * toc.C: lyxaction cleanup
6518
6519 2002-08-08  John Levon  <levon@movementarian.org>
6520
6521         * BufferView2.C: small cleanup
6522
6523         * lyxfind.h:
6524         * lyxfind.C: move unnecessary header into the .C
6525
6526 2002-08-08  John Levon  <levon@movementarian.org>
6527
6528         * funcrequest.h: just tedious nonsense
6529
6530         * lyx_main.h:
6531         * lyx_main.C: cleanups
6532
6533         * buffer.C:
6534         * vspace.C: remove dead header lyx_main.h
6535
6536 2002-08-07  Angus Leeming  <leeming@lyx.org>
6537
6538         * Paragraph.[Ch]:
6539         * paragraph_pimpl.h:
6540         Forward declare class Counters in paragraph.h by moving the ctrs member
6541         variable into Paragraph::Pimpl.
6542         (counters): new method, returning a reference to pimpl_->ctrs.
6543
6544         * text2.C: ensuing changes.
6545
6546 2002-08-07  John Levon  <levon@movementarian.org>
6547
6548         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6549
6550         * BufferView_pimpl.C: announce X selection on double/triple
6551           click
6552
6553         * lyx_main.C: use correct bool in batch dispatch
6554
6555         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6556
6557 2002-08-07  André Pönitz <poenitz@gmx.net>
6558
6559         * funcrequest.h: new class to wrap a kb_action and its argument
6560
6561         * BufferView.[Ch]:
6562         * BufferView_pimpl[Ch]:
6563         * LaTeX.C:
6564         * LyXAction.[Ch]:
6565         * lyxfunc.[Ch]:
6566         * lyxrc.C: subsequent changes
6567
6568
6569 2002-08-07  John Levon  <levon@movementarian.org>
6570
6571         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6572           document options change.
6573
6574 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6575
6576         * counters.[Ch]
6577         * text2.C
6578         * paragraph.[Ch]
6579         * makefile.am: move counters functionality over from
6580         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6581
6582 2002-08-06  John Levon  <levon@movementarian.org>
6583
6584         * WordLangTuple.h: new file for word + language code tuple
6585
6586         * SpellBase.h:
6587         * pspell.h:
6588         * pspell.C:
6589         * ispell.h:
6590         * ispell.C:
6591         * lyxtext.h:
6592         * text.C:
6593         * text2.C:
6594         * BufferView.h:
6595         * BufferView2.C: use WordLangTuple
6596
6597         * layout.h:
6598         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6599
6600 2002-08-06  John Levon  <levon@movementarian.org>
6601
6602         * lyx_main.C: fix cmdline batch handling
6603
6604 2002-08-06  André Pönitz <poenitz@gmx.net>
6605
6606         * lyxrc.C: set default for show_banner to true
6607
6608 2002-08-06  John Levon  <levon@movementarian.org>
6609
6610         * pspell.C: fix a crash, and allow new aspell to work
6611
6612 2002-08-06  John Levon  <levon@movementarian.org>
6613
6614         * lyxfunc.C:
6615         * kbmap.C: small cleanup
6616
6617         * vspace.h:
6618         * vspace.C: add const
6619
6620 2002-08-05  John Levon  <levon@movementarian.org>
6621
6622         * LyXAction.C: back to tabular-insert
6623
6624 2002-08-04  John Levon  <levon@movementarian.org>
6625
6626         * BufferView.h:
6627         * BufferView.C: cosmetic change
6628
6629         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6630
6631         * bufferlist.C:
6632         * buffer.h:
6633         * buffer.C:
6634         * lyxcb.h:
6635         * lyxcb.C:
6636         * lyxserver.C:
6637         * lyxvc.C:
6638         * vc-backend.C:
6639         * BufferView2.C: purge all "Lyx" not "LyX" strings
6640
6641         * lyxcursor.h:
6642         * lyxcursor.C: attempt to add some documentation
6643
6644         * lyxfunc.C:
6645         * commandtags.h:
6646         * LyXAction.C:
6647         * ToolbarDefaults.C:
6648         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6649           merge with LFUN_TABULAR_INSERT
6650
6651         * Makefile.am:
6652         * SpellBase.h:
6653         * ispell.h:
6654         * ispell.C:
6655         * pspell.h:
6656         * pspell.C: split up i/pspell implementations into separate
6657           files, many cleanups
6658
6659         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6660
6661         * text2.C: some cleanup
6662
6663         * lyxfunc.C: don't check for isp_command == "none" any more, it
6664           didn't make any sense
6665
6666 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6667
6668         * counters.[Ch]
6669         * text2.C
6670         * paragraph.[Ch]
6671         * makefile.am: move counters functionality over
6672         from text2.C/paragraph.[Ch] to counters.[Ch], and
6673         make proper C++.
6674 2002-08-02  John Levon  <levon@movementarian.org>
6675
6676         * buffer.C: s/lyxconvert/lyx2lyx/
6677
6678 2002-08-02  Angus Leeming  <leeming@lyx.org>
6679
6680         * lyxlex.C: revert John's change as it breaks reading of the user
6681         preamble.
6682
6683 2002-08-02  Angus Leeming  <leeming@lyx.org>
6684
6685         * importer.C (Import):
6686         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6687         changes due to LyXView::view() now returning a boost::shared_ptr.
6688
6689 2002-08-02  John Levon  <levon@movementarian.org>
6690
6691         * lyxlex.C: small cleanup
6692
6693 2002-08-02  John Levon  <levon@movementarian.org>
6694
6695         * text2.C (status): small cleanup, no logic change
6696
6697 2002-08-01  John Levon  <levon@movementarian.org>
6698
6699         * buffer.h:
6700         * buffer.C (writeFile): don't output alerts, caller
6701           handles this
6702
6703         * bufferlist.C:
6704         * lyx_cb.C: from above
6705
6706         * lyxfunc.C: allow to open non-existent files
6707
6708 2002-07-31  John Levon  <levon@movementarian.org>
6709
6710         * lyxserver.C: don't let incidental errors get
6711           in the way (errno)
6712
6713 2002-07-30  John Levon  <levon@movementarian.org>
6714
6715         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6716
6717 2002-07-30  John Levon  <levon@movementarian.org>
6718
6719         * lyxserver.h:
6720         * lyxserver.C: remove I/O callback too
6721
6722 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6725         log.
6726
6727 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * many files: strip,frontStrip -> trim,ltrim,rtrim
6730
6731 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * PrinterParams.h: remove extern containsOnly, and include
6734         support/lstrings.h instead.
6735
6736         * LaTeX.C (scanAuxFile): modify because of strip changes
6737         (deplog): ditto
6738         * buffer.C (makeLaTeXFile): ditto
6739         * bufferparams.C (writeFile): ditt
6740         * lyxfont.C (stateText): ditto
6741         * lyxserver.C (read_ready): ditto
6742         * vc-backend.C (scanMaster): ditto
6743
6744         * BufferView_pimpl.h: ws changes
6745
6746         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6747
6748 2002-07-26  André Pönitz <poenitz@gmx.net>
6749
6750         * kb_sequence.C: remove unnedred usings
6751
6752 2002-07-26  Juergen Vigna  <jug@sad.it>
6753
6754         * lyxfind.C (LyXReplace): we have to check better if the returned
6755         text is not of theLockingInset()->getLockingInset().
6756
6757 2002-07-25  Juergen Vigna  <jug@sad.it>
6758
6759         * lyxfind.C (LyXReplace): don't replace if we don't get the
6760         right LyXText.
6761
6762         * undo_funcs.C (createUndo): remove debugging code.
6763
6764 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6765
6766         * buffer.C (parseSingleLyXformat2Token): Use default placement
6767         when reading old floats.
6768
6769         * FloatList.C (FloatList): Change the default placement of figure
6770         and tables to "tbp".
6771
6772 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6773
6774         * MenuBackend.C: using std::max
6775
6776 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6777
6778         * MenuBackend.C (expandToc):
6779         (expandToc2): code moved from xforms menu frontend. It is now
6780         generic and TOCs are transparent to menu frontends.
6781
6782 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6783
6784         * toc.C (getTocList): protect against buf=0
6785
6786         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6787         Menu as first parameter. Now, this calls itself recursively to
6788         expand a whole tree (this will be useful for TOC handling)
6789         (expandFloatInsert): remove 'wide' version of floats
6790
6791         * MenuBackend.h (submenuname): returns the name of the submenu.
6792         (submenu): returns the submenu itself, provided it has been
6793         created by MenuBackend::expand
6794
6795 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6796
6797         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6798         insets which have noFontChange == true. (bug #172)
6799
6800 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6801
6802         * BufferView_pimpl.C: add connection objects and use them...
6803         (Pimpl): here.
6804
6805 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6806
6807         * MenuBackend.C (expandLastfiles):
6808         (expandDocuments):
6809         (expandFormats):
6810         (expandFloatListInsert):
6811         (expandFloatInsert):
6812         (expand): split expand in parts
6813
6814 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6815
6816         * lyx_gui.C: use lyx_gui::exit()
6817
6818 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6819
6820         * LyXAction.C: show the failing pseudo action
6821
6822 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6823
6824         * buffer.C (readFile): Run the lyxconvert script in order to read
6825         old files.
6826
6827 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6828
6829         * LyXAction.C:
6830         * commandtags.h:
6831         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6832
6833 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6834
6835         * LyXAction.C:
6836         * commandtags.h:
6837         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6838
6839 2002-07-22  Herbert Voss  <voss@lyx.org>
6840
6841         * lengthcommon.C:
6842         * lyxlength.[Ch]: add support for the vertical lengths
6843
6844 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6845
6846         * toc.[Ch]: std:: fixes
6847
6848 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6849
6850         * lyxrc.C: do not include lyx_main.h
6851
6852         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6853         for layouts
6854
6855         * lyxrc.C:
6856         * encoding.C:
6857         * bufferlist.C:
6858         * BufferView2.C: include "lyxlex.h"
6859
6860         * tabular.h:
6861         * bufferparams.h: do not #include "lyxlex.h"
6862
6863         * lyxtextclasslist.C (Add): remove method
6864         (classlist): renamed to classlist_
6865
6866         * paragraph_pimpl.C:
6867         * paragraph.C:
6868         * text2.C:
6869         * CutAndPaste.C:
6870         * bufferview_funcs.C:
6871         * bufferlist.C:
6872         * text.C:
6873         * LaTeXFeatures.C:
6874         * buffer.C:
6875         * toc.C (getTocList): use BufferParams::getLyXTextClass
6876
6877         * toc.C (getTocList): use InsetFloat::addToToc
6878
6879         * toc.[Ch]: new files, containing helper functions to handle table
6880         of contents
6881
6882         * lyxfunc.C (dispatch): no need to remove spaces around command
6883         given as a string
6884         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6885         first command of the sequence; it is not very clever, but I do not
6886         have a better idea, actually
6887
6888         * LyXAction.C (LookupFunc): make sure to remove space at the
6889         beginning and end of the command
6890
6891 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6892
6893         * MenuBackend.C (getMenubar): new method: return the menubar of
6894         this menu set
6895         (read): treat differently reading of menu and menubar (in
6896         particular, the menubar has no name now)
6897         (Menu::menubar): remove
6898
6899         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6900         saving is finished
6901
6902 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6903
6904         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6905         a bibitem inset in a RTL paragraph.
6906
6907 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6908
6909         * paragraph_pimpl.C: constify
6910
6911         * BufferView_pimpl.C:
6912         * LaTeX.C:
6913         * lyxfunc.C: fix dispatch in a nicer way
6914
6915 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6916
6917         * lyxfunc.C (dispatch):
6918         * BufferView_pimpl.C:
6919         * BufferView_pimpl.h:
6920         * BufferView.C:
6921         * BufferView.h: rename Dispatch() to dispatch()
6922
6923         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6924
6925         * lyxlayout.C (Read): honor DependsOn tag
6926
6927         * lyxlayout.[Ch] (depends_on): new method
6928
6929         * version.C.in: update lyx_docversion
6930
6931         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6932
6933         * paragraph.C (validate): remove from here...
6934         * paragraph_pimpl.C (validate): ... and move here
6935         (isTextAt): make it const
6936
6937         * buffer.C (getLists): ws cleanup
6938
6939 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6940
6941         * language.C (read): Use iso8859-1 encoding in latex_lang
6942         (this prevents LyX from crashing when using iso10646-1 encoding).
6943
6944 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6945
6946         * text2.C (toggleInset): if cursor is inside an inset, close the
6947         inset and leave cursor _after_ it
6948
6949 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * lyxfunc.C: move minibuffer completion handling out of here
6952
6953 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6954
6955         * BufferView_pimpl.C:
6956         * LaTeX.C: fix dispatch calls
6957
6958 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6959
6960         * text.C (drawChars): Fix Arabic text rendering.
6961
6962 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6963
6964         * LyXAction.C:
6965         * commandtags.h:
6966         * lyxfunc.C: remove message-push/pop
6967
6968         * lyxserver.C:
6969         * lyxfunc.h:
6970         * lyxfunc.C: rationalise some code by removing verboseDispatch
6971           in favour of a bool argument to dispatch()
6972
6973 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6974
6975         * lyx_main.C (init): make sure to read symlinks as absolute paths
6976
6977 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * lyxfunc.h:
6980         * lyxfunc.C: no need for commandshortcut to be a member
6981
6982 2002-07-15  André Pönitz <poenitz@gmx.net>
6983
6984         * converter.C: add support for $$s (scripts from lib/scripts dir)
6985         * lyx_main.C: white space
6986
6987 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6988
6989         * bufferlist.C:
6990         * lyxrc.h:
6991         * lyxrc.C: remove second exit confirmation
6992
6993 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6994
6995         * BufferView.h:
6996         * BufferView.C:
6997         * BufferView2.C:
6998         * BufferView_pimpl.h:
6999         * BufferView_pimpl.C:
7000         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7001
7002 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7003
7004         * MenuBackend.C (expand): add numeric shortcuts to document menu
7005
7006         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7007
7008 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7009
7010         * lyxfont.C (setLyXFamily):
7011         (setLyXSeries):
7012         (setLyXShape):
7013         (setLyXSize):
7014         (setLyXMisc):
7015         (lyxRead):
7016         * debug.C (value):
7017         * buffer.C (asciiParagraph): use ascii_lowercase
7018
7019 2002-07-15  Mike Fabian  <mfabian@suse.de>
7020
7021         * lyxlex_pimpl.C (search_kw):
7022         * lyxlex.C (getLongString):
7023         * converter.h (operator<):
7024         * converter.C (operator<):
7025         * buffer.C (parseSingleLyXformat2Token):
7026         (asciiParagraph):
7027         * ToolbarDefaults.C (read):
7028         * MenuBackend.C (checkShortcuts):
7029         (read):
7030         * LColor.C (getFromGUIName):
7031         (getFromLyXName): use the compare_ascii_no_case instead of
7032         compare_no_case, because in turkish, 'i' is not the lowercase
7033         version of 'I', and thus turkish locale breaks parsing of tags.
7034
7035 2002-07-16  Angus Leeming  <leeming@lyx.org>
7036
7037         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7038         now takes a Buffer const & argument.
7039
7040 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * BufferView.C (resize): check there's a buffer to resize
7043
7044 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7045
7046         * lyxfunc.C: remove dead code
7047
7048         * lyxserver.h:
7049         * lyxserver.C: use lyx_guii::set_read_callback
7050
7051 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7052
7053         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7054         an inset in a RTL paragraph.
7055
7056 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7057
7058         * lyxfunc.C: repaint after a font size update
7059
7060 2002-07-15  André Pönitz <poenitz@gmx.net>
7061
7062         * lyxlength.C: inBP should be able to return negative values
7063
7064 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7065
7066         * lyxfunc.C: use lyx_gui::update_fonts()
7067
7068 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7069
7070         * lyxfunc.C: use lyx_gui::update_color()
7071
7072 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7073
7074         * bufferlist.C:
7075         * lyxfunc.h:
7076         * lyxfunc.C:
7077         * lyxrc.h:
7078         * lyxrc.C: remove file->new asks for name option, and let
7079           buffer-new take an argument
7080
7081 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7082
7083         * BufferView_pimpl.C: remove unneeded extra repaint()
7084
7085 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * LyXAction.C: allow command-sequence with NoBuffer
7088
7089         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7090
7091 2002-07-10  Angus Leeming  <leeming@lyx.org>
7092
7093         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7094
7095 2002-07-09  Angus Leeming  <leeming@lyx.org>
7096
7097         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7098
7099 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7100
7101         * lengthcommon.h: whitespace
7102
7103         * lyxfunc.C: update scrollbar after goto paragraph
7104
7105         * lyxtext.h: factor out page break drawing, and fix it so
7106           page break/added space paints as selected nicely
7107
7108 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7109
7110         * BufferView_pimpl.C: add FIXMEs, clean up a little
7111
7112 2002-07-09  André Pönitz <poenitz@gmx.net>
7113
7114         * lyxfont.[Ch]: support for wasy symbols
7115
7116 2002-07-08  André Pönitz <poenitz@gmx.net>
7117
7118         * BufferView_pimpl.C: apply John's patch for #93.
7119
7120 2002-07-05  Angus Leeming  <leeming@lyx.org>
7121
7122         * BufferView_pimpl.C (buffer): generate previews if desired.
7123
7124         * LColor.h: add "preview" to the color enum.
7125
7126         * LColor.C (LColor): add a corresponding entry to the items array.
7127
7128         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7129         with this buffer.
7130
7131 2002-07-05  Angus Leeming  <leeming@lyx.org>
7132
7133         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7134         The body of the code is now in the method that is passed an ostream &
7135         rather than a file name.
7136         Pass an additional only_preamble parameter, useful for the forthcoming
7137         preview stuff.
7138
7139 2002-07-03  André Pönitz <poenitz@gmx.net>
7140
7141         * lyxfunc.C: simplify getStatus() a bit for math stuff
7142
7143 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7144
7145         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7146
7147 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7148
7149         * text.C (changeRegionCase): do not change case of all the
7150         document when region ends at paragraph end (bug #461)
7151
7152 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7153
7154         * paragraph.C (startTeXParParams):
7155         (endTeXParParams): add \protect when necessary
7156
7157 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7158
7159         * BufferView_pimpl.C (workAreaExpose): remove warning
7160
7161 2002-06-27  Angus Leeming  <leeming@lyx.org>
7162
7163         * Makefile.am: add lyxlayout_ptr_fwd.h.
7164
7165 2002-06-26  André Pönitz <poenitz@gmx.net>
7166
7167         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7168
7169 2002-06-25  Angus Leeming  <leeming@lyx.org>
7170
7171         * lyxfunc.C (dispatch): Comment out the call to
7172         grfx::GCache::changeDisplay. The method no longer exists now that the
7173         pixmap generation part of the graphics loader has been moved into
7174         InsetGraphics.
7175
7176 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7177
7178         * text2.C: layout as layout
7179
7180         * text.C: layout as layout
7181
7182         * tabular.C (OldFormatRead): layout as layout
7183
7184         * paragraph_pimpl.C (TeXDeeper): layout as layout
7185         (realizeFont): layout as layout
7186
7187         * paragraph.C (writeFile): layout as layout
7188         (validate): layout as layout
7189         (getFont): layout as layout
7190         (getLabelFont): layout as layout
7191         (getLayoutFont): layout as layout
7192         (breakParagraph): layout as layout
7193         (stripLeadingSpaces): layout as layout
7194         (getEndLabel): layout as layout
7195         (getMaxDepthAfter): layout as layout
7196         (applyLayout): layout as layout
7197         (TeXOnePar): layout as layout
7198         (simpleTeXOnePar): layout as layout
7199         (TeXEnvironment): layout as layout
7200         (layout): layout as layout
7201         (layout): layout as layout
7202
7203         * lyxtextclass.C (compare_name): new functor to work with
7204         shared_ptr, layout as layout
7205         (Read): layout as layout
7206         (hasLayout): layout as layout
7207         (operator): layout as layout
7208         (delete_layout): layout as layout
7209         (defaultLayout): layout as layout
7210
7211         * lyxlayout_ptr_fwd.h: new file
7212
7213         * lyxlayout.C (Read): layout as layout
7214
7215         * lyx_cb.C (MenuInsertLabel): layout as layout
7216
7217         * bufferlist.C (newFile): layout as layout
7218
7219         * buffer.C (readLyXformat2): layout as layout
7220         (parseSingleLyXformat2Token): layout as layout
7221         (insertStringAsLines): layout as layout
7222         (asciiParagraph): layout as layout
7223         (latexParagraphs): layout as layout
7224         (makeLinuxDocFile): layout as layout
7225         (simpleLinuxDocOnePar): layout as layout
7226         (makeDocBookFile): layout as layout
7227         (simpleDocBookOnePar): layout as layout
7228         (getLists): layout as layout
7229
7230         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7231
7232         * CutAndPaste.C (cutSelection): layout as layout
7233         (pasteSelection): layout as layout
7234         (SwitchLayoutsBetweenClasses): layout as layout
7235
7236         * BufferView_pimpl.C (Dispatch): layout as layout
7237         (smartQuote): layout as layout
7238
7239         * BufferView2.C (unlockInset): layout as layout
7240
7241 2002-06-24  André Pönitz <poenitz@gmx.net>
7242
7243         * lyxfunc.C: fix #487
7244
7245 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7246
7247         * lyxrc.h:
7248         * lyxrc.C:
7249         * lyxfunc.C: remove display_shortcuts, show_banner
7250
7251 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7252
7253         * Buffer_pimpl.C: oops, update on resize
7254
7255 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * buffer.C:
7258         * converter.C:
7259         * exporter.C:
7260         * lyxfunc.C:
7261         * BufferView.h:
7262         * BufferView.C: use repaint()
7263
7264         * BufferView_pimpl.h:
7265         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7266           as it's a clearer description. Remove superfluous
7267           redraws.
7268
7269 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7270
7271         * text.C: fix bug 488. Not ideal, but getting
7272           getWord() to work properly for the insets that
7273           matter is more difficult ...
7274
7275 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7276
7277         * BufferView_pimpl.C:
7278         * LyXAction.C:
7279         * commandtags.h:
7280         * lyxfunc.C: remove the six million index lyxfuncs to just
7281           one, and DTRT (bug 458)
7282
7283 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7284
7285         * BufferView.h:
7286         * BufferView.C:
7287         * BufferView_pimpl.h:
7288         * BufferView_pimpl.C: clean up resize() stuff,
7289           and unnecessary updateScreen()s
7290
7291 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7292
7293         * BufferView.h:
7294         * BufferView.C:
7295         * BufferView_pimpl.h:
7296         * BufferView_pimpl.C:
7297         * lyxfind.h:
7298         * lyxfind.C:
7299         * minibuffer.C: remove focus management of workarea,
7300           not needed. Use screen's greyOut()
7301
7302 2002-06-17  Herbert Voss  <voss@lyx.org>
7303
7304         * converter.C: (convert) do not post a message, when converting
7305         fails, let the calling function decide what to do in this case
7306
7307 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7308
7309         * lyxfunc.C: tidy up a little
7310
7311 2002-06-16    <alstrup@diku.dk>
7312
7313         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7314         Got rid of FORMS_H_LOCATION include. Now we are
7315         GUII.
7316
7317 2002-06-15  LyX Development team  <lyx@rilke>
7318
7319         * buffer.[Ch] (sgmlOpenTag):
7320         (sgmlCloseTag): Added support for avoiding pernicious mixed
7321         content. Return number of lines written.
7322
7323         (makeLinuxDocFile):
7324         (makeDocBookFile): Fixed calls to sgml*Tag.
7325         Simple white space clean.
7326
7327         (simpleDocBookOnePar): Simple white space clean.
7328
7329         * tabular.[Ch] (docBook): Renamed to docbook and got another
7330         argument to related with the pernicious mixed content.
7331
7332         (docbookRow): Fixed calls for docbook inset method.
7333
7334 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7335
7336         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7337         so it's X11 independent.
7338
7339         * kb*.[Ch]: ditto.
7340
7341         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7342
7343 2002-06-15  Lyx Development team  <lyx@electronia>
7344
7345         * intl.h: Renamed getTrans to getTransManager.
7346
7347 2002-06-14  Angus Leeming  <leeming@lyx.org>
7348
7349         * Makefile.am: nuke forgotten stl_string_fwd.h.
7350
7351 2002-06-12  Angus Leeming  <leeming@lyx.org>
7352
7353         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7354
7355 2002-06-13  Angus Leeming  <leeming@lyx.org>
7356
7357         * LaTeX.C:
7358         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7359
7360 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7361
7362         * kbmap.C (getiso): add support for cyrillic and greek
7363
7364 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7365
7366         * BufferView.h:
7367         * BufferView.C:
7368         * BufferView_pimpl.h:
7369         * BufferView_pimpl.C: move bogus scrolling logic
7370           to xforms
7371
7372 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * lyxfunc.C:
7375         * BufferView_pimpl.C: view->resize() change
7376
7377 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7378
7379         * BufferView_pimpl.C: topCursorVisible
7380           prototype change
7381
7382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7383
7384         * Makefile.am:
7385         * lyx_gui.h:
7386         * lyx_gui.C: move to frontends/
7387
7388         * main.C:
7389         * lyx_main.h:
7390         * lyx_main.C: changes from above
7391
7392 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * intl.C:
7395         * intl.h:
7396         * kbmap.C:
7397         * kbsequence.C:
7398         * lyx_cb.C:
7399         * lyx_main.C: minor tidy
7400
7401 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7402
7403         * BufferView_pimpl.h:
7404         * BufferView_pimpl.C:
7405         * BufferView.h:
7406         * BufferView.C: make painter() const,
7407           remove dead code
7408
7409         * BufferView2.C: use screen() accessor
7410
7411         * lyx_main.h:
7412         * lyx_main.C: some minor cleanup
7413
7414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7415
7416         * BufferView_pimpl.h:
7417         * BufferView_pimpl.C: remove enter/leaveView,
7418           use workHeight()
7419
7420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7421
7422         * BufferView.h:
7423         * BufferView.C:
7424         * BufferView2.C:
7425         * BufferView_pimpl.h:
7426         * BufferView_pimpl.C: only construct screen once,
7427           rename
7428
7429         * lyxrc.C: remove pointless comment
7430
7431 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * BufferView.h:
7434         * BufferView.C: remove active() and belowMouse()
7435
7436         * BufferView_pimpl.h:
7437         * BufferView_pimpl.C: use workarea() not workarea_,
7438           and make it use a scoped_ptr instead
7439
7440 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7441
7442         * lyx_gui.C: add debug message on BadWindow
7443
7444 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7445
7446         * sp_spell.C: fdopen is not part of the C++ standard.
7447
7448         * paragraph.C (InsetIterator): use >= instead of ==
7449
7450 2002-06-07  Angus Leeming  <leeming@lyx.org>
7451
7452         Fixes needed to compile with Compaq cxx 6.5.
7453         * BufferView_pimpl.C:
7454         * DepTable.C:
7455         * buffer.C:
7456         * converter.C:
7457         * encoding.C:
7458         * lyx_gui.C:
7459         * lyx_main.C:
7460         * lyxtextclasslist.C:
7461         * minibuffer.C:
7462         * sp_spell.C:
7463         * tabular_funcs.C:
7464         * vc-backend.C:
7465         all c-library variables have been moved into namespace std. Wrap
7466         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7467
7468         * lyxlength.C:
7469         * tabular-old.C:
7470         * tabular.C:
7471         Add a using std::abs declaration.
7472
7473         * kbmap.h (modifier_pair):
7474         * paragraph.h (InsetTable, InsetList):
7475         * lyxfont.h (FontBits):
7476         type definition made public.
7477
7478         * bufferlist.C (emergencyWriteAll): the compiler complains that
7479         there is more than one possible lyx::class_fun template to choose from.
7480         I re-named the void specialisation as lyx::void_class_fun.
7481
7482         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7483
7484         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7485         the compiler is is unable to find tostr in write_attribute.
7486
7487 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7488
7489         * buffer.C (sgmlError): hide #warning
7490
7491 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7492
7493         * xtl/*: get rid of xtl, which is not in use anyway
7494
7495         * LyXAction.C (init):
7496         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7497         were unimplemented xtl experimentation
7498
7499 2002-06-04  André Pönitz <poenitz@gmx.net>
7500
7501         * lyxfunc.C: disable array operation on simple formulae
7502
7503 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7504
7505         * converter.C: constify a bit
7506
7507 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7508
7509         * lyx_gui.C: check xforms version correctly
7510
7511 2002-04-30  Herbert Voss  <voss@lyx.org>
7512
7513         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7514         "keep" option
7515
7516 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7517
7518         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7519           attempt to register it with a VCS)
7520
7521 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * lyx_main.C (init): honor variables LYX_DIR_13x and
7524         LYX_USERDIR_13x
7525
7526 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * buffer.h:
7529         * buffer.C:
7530         * lyx_main.C: fix a crash on bad command line,
7531           and give a useful exit status on error
7532
7533         * lyxfunc.C (doImport): allow -i lyx to work
7534
7535 2002-03-30  André Pönitz <poenitz@gmx.net>
7536
7537         * lyxfunc.C: mathed font changes
7538
7539 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * LaTeX.C:
7542         * importer.h:
7543         * importer.C:
7544         * lyx_sty.h:
7545         * lyx_sty.C:
7546         * lyxlex.C:
7547         * lyxrow.h:
7548         * lyxtext.h:
7549         * paragraph.h:
7550         * paragraph.C:
7551         * texrow.h:
7552         * texrow.C:
7553         * text.C:
7554         * trans_mgr.h: srcdocs, and some minor cleanups
7555
7556 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7559         call getFont all the time)
7560
7561 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7562
7563         * switch from SigC signals to boost::signals
7564
7565 2002-05-29  André Pönitz <poenitz@gmx.net>
7566
7567         * paragraph_pimpl.C (getChar): don't call size() too often...
7568
7569 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7570
7571         * paragraph_pimpl.C (insertChar): do not try to update tables when
7572         appending (pos == size())
7573
7574         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7575         in order to reduce drastically the number of comparisons needed to
7576         parse a large document
7577
7578 2002-05-29  André Pönitz <poenitz@gmx.net>
7579
7580         * text.C:
7581         * text2.C:
7582         * lyxtextclass.C:
7583         * sp_pspell.h:
7584         * textclasslist.[Ch]:
7585         * sp_ispell.h: whitespace change
7586
7587 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7588
7589         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7590         lyxaction directly now.
7591
7592 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7593
7594         * trans.C:
7595         * lyxfont.C:
7596         * lyxvc.C: remove unused headers
7597
7598 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7599
7600         * Makefile.am:
7601         * buffer.h:
7602         * undostack.h:
7603         * undostack.C:
7604         * undo_funcs.h:
7605         * undo_funcs.C: some cleanups. Use shared_ptr
7606           and a template for the undo stacks.
7607
7608 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * BufferView_pimpl.h:
7611         * BufferView_pimpl.C:
7612         * kbmap.h:
7613         * kbmap.C:
7614         * kbsequence.h:
7615         * kbsequence.C:
7616         * lyxfunc.h:
7617         * lyxfunc.C:
7618         * text2.C: use key_state/mouse_state
7619
7620 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7621
7622         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7623         and LSubstring
7624
7625         * chset.C: change include order
7626         (loadFile): use boost regex and get rid of LRegex and LSubstring
7627
7628         * Makefile.am (BOOST_LIBS): new variable
7629         (lyx_LDADD): use it
7630
7631         * LaTeX.C: change include order.
7632         (scanAuxFile): use boost regex and get rid of LRegex and
7633         LSubstring
7634         (deplog): ditto
7635
7636 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7637
7638         * ColorHandler.h:
7639         * ColorHandler.C:
7640         * FontInfo.h:
7641         * FontInfo.C: moved to frontends/xforms/
7642
7643         * FontLoader.h:
7644         * FontLoader.C: moved into frontends for GUIIzation
7645
7646         * Makefile.am:
7647         * lyx_gui.C:
7648         * lyxfont.C:
7649         * lyxfunc.C: changes from above
7650
7651 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * LColor.C: remove spurious X include
7654
7655         * BufferView_pimpl.C:
7656         * Makefile.am:
7657         * font.h:
7658         * font.C:
7659         * text.C:
7660         * text2.C: move font metrics to frontends/
7661
7662 2002-05-24  Juergen Vigna  <jug@sad.it>
7663
7664         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7665         setting the undo_cursor.
7666
7667         * ParagraphParameters.h: include local includes first.
7668
7669 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7670
7671         * BufferView_pimpl.C:
7672         * BufferView_pimpl.h:
7673         * Makefile.am:
7674         * WorkArea.h:
7675         * WorkArea.C:
7676         * screen.C: move WorkArea into frontends/
7677
7678         * lyxscreen.h:
7679         * screen.C:
7680         * text.C:
7681         * BufferView.C:
7682         * BufferView2.C: move LyXScreen into frontends/
7683
7684         * lyxlookup.h:
7685         * lyxlookup.C:
7686         * lyx_gui.C: move lyxlookup into frontends/xforms/
7687
7688 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * BufferView2.C:
7691         * BufferView_pimpl.C:
7692         * FontLoader.C:
7693         * LyXView.h:
7694         * LyXView.C:
7695         * Makefile.am:
7696         * WorkArea.C:
7697         * XFormsView.h:
7698         * XFormsView.C:
7699         * buffer.C:
7700         * bufferlist.C:
7701         * bufferview_funcs.C:
7702         * converter.C:
7703         * importer.C:
7704         * lyx_cb.C:
7705         * lyx_gui.C:
7706         * lyx_main.C:
7707         * lyx_find.C:
7708         * lyxfunc.C:
7709         * lyxvc.C:
7710         * minibuffer.C:
7711         * text.C:
7712         * text2.C:
7713         * trans.C:
7714         * vc-backend.C: move LyX/XFormsView into frontends/
7715
7716 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * Makefile.am:
7719         * PainterBase.C:
7720         * PainterBase.h:
7721         * Painter.C:
7722         * Painter.h:
7723         * WorkArea.C:
7724         * WorkArea.h:
7725         * screen.C:
7726         * tabular.C:
7727         * text.C:
7728         * text2.C: move Painter to frontends/
7729
7730 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7731
7732         * buffer.C: comment out some some code that depend upon lyx_format
7733         < 220
7734
7735         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7736         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7737
7738         * buffer.h (NO_COMPABILITY): turn off compability
7739
7740         * ColorHandler.C: include scoped_array.hpp
7741
7742         * font.C: Use more specific smart_ptr header.
7743         * Painter.C: ditto
7744         * gettext.C: ditto
7745         * ShareContainer.h: ditto
7746         * lyx_main.h: ditto
7747         * kbmap.h: ditto
7748         * FontInfo.h: ditto
7749         * BufferView_pimpl.h: ditto
7750         * ColorHandler.h: ditto
7751
7752         * kbmap.C (defkey): change call to shared_ptr::reset
7753
7754 2002-05-21  Juergen Vigna  <jug@sad.it>
7755
7756         * buffer.C (insertErtContents): fix to insert ert asis if it is
7757         non empty. Skip it completely if it contains only whitespaces.
7758
7759 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * BufferView_pimpl.C:
7762         * BufferView2.C: clear selection on paste (bug 393)
7763
7764 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7765
7766         * DepTable.C: include ctime
7767
7768 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7769
7770         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7771
7772 2002-05-14  Juergen Vigna  <jug@sad.it>
7773
7774         * text.C (breakParagraph): fixed function to honor the keepempty
7775         layout in the right maner and also to permit the right breaking
7776         algorithm on empty or non empyt keepempty paragraphs.
7777
7778         * paragraph.C (breakParagraph): we have to check also if the par
7779         is really empty (!size()) for isempty otherwise we do the wrong
7780         paragraph break.
7781
7782 2002-05-10  Juergen Vigna  <jug@sad.it>
7783
7784         * buffer.[Ch] : The following are only changes to the ert
7785         compatibility read reading old LaTeX layout and font stuff and
7786         convert it to ERTInsets.
7787
7788         * buffer.h: added isErtInset().
7789
7790         * buffer.C (struct ErtComp): add a fromlayout bool to check
7791         if we're inside a LaTeX layout.
7792         (isErtInset): new helper function.
7793         (insertErtContents): look for other ert insets before this one
7794         and insert the contents there, so that we don't have subsequent
7795         ERT insets with nothing between them. This way we create only one
7796         inset with multiple paragraphs. Also check if we don't insert only
7797         spaces ' ' as they are ignored anyway afterwards in the .tex file
7798         so if we have only spaces we will ignore this latex part in the
7799         new file.
7800         (parseSingleLyXformat2Token \\layout): better compatibility when
7801         reading layout-latex stuff.
7802         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7803         language tag.
7804         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7805         stuff after reading the inset only get the information back from
7806         the stack.
7807
7808 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7809
7810         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7811
7812         * LaTeXFeatures.C (getBabelOptions): New method.
7813
7814 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7815
7816         * BufferView_pimpl.C (Dispatch): work around missing argument for
7817         'layout'
7818
7819 2002-05-08  Juergen Vigna  <jug@sad.it>
7820
7821         * text.C (leftMargin): handle paragraph leftindent.
7822
7823         * paragraph.C (writeFile): write the new \\leftindent tag.
7824         (validate): handle leftindent code.
7825         (TeXEnvironment): handle paragraphleftindent code again.
7826
7827         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7828
7829         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7830         for paragrap_extra indent code and new token \\leftindent.
7831         (latexParagraphs): handle the leftindent as environment.
7832
7833         * ParameterStruct.h: added leftindent support.
7834
7835         * ParagraphParameters.C (leftIndent): added support functions for
7836         the paragraph left indent.
7837
7838         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7839         more appropriate.
7840
7841 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7842
7843         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7844         inside insetERT.
7845
7846         * text.C (computeBidiTables): No bidi in insetERT.
7847
7848         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7849         in RTL documents.
7850
7851 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7852
7853         * version.C.in: pre 5
7854
7855 2002-05-02  José Matos  <jamatos@fep.up.pt>
7856         * buffer.C (makeDocBookFile): white space changes, add newline to
7857         command styles.
7858         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7859
7860         * tabular.C (docBook): fix typo.
7861
7862 2002-05-03  Juergen Vigna  <jug@sad.it>
7863
7864         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7865         change in LyXText as we can not be sure it was not freed.
7866         (drawOneRow): remove unused code.
7867
7868         * text.C (drawInset): redo the calculation of the need_break_row as
7869         it could have a row which was already freed.
7870         (draw): look at the return value of drawInset and return false if
7871         it also returned false.
7872         (paintRowText): look at the return value of draw and return false if
7873         it also returned false.
7874
7875         * lyxtext.h: added bool return type to drawInset() and draw() so that
7876         if we have a change in the row so that the rowbreak has to be redone
7877         we abort drawing as it will be called again.
7878
7879 2002-05-02  Juergen Vigna  <jug@sad.it>
7880
7881         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7882         a change in the maintext also if we're inside an inset.
7883         (Dispatch): set the cursor again after a break line and after the
7884         screen has been updated as it could be we're in a different row.
7885
7886         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7887         to set the cursor behind the pargraph with > size().
7888         (setCursor): check also for the same paragraph when checking where
7889         to put the cursor if we have a NFR inset.
7890
7891         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7892         parts of layout read further up as it still was in the wrong
7893         position.
7894
7895 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7896
7897         * screen.C (drawFromTo): change sine fullRebreak always return
7898         true.
7899
7900         * buffer.C (parseSingleLyXformat2Token): reindent some
7901
7902         * BufferView_pimpl.C (update): change since fullRebreak always
7903         return true.
7904         (Dispatch): git rid of the last hardcoded "Standard"s.
7905
7906 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7907
7908         * text2.[Ch] (fullRebreak): make it return void now that we always
7909         returned true.
7910
7911 2002-04-30  Juergen Vigna  <jug@sad.it>
7912
7913         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7914         ert compatibility check for "latex" layout.
7915
7916 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7917
7918         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7919         minipages: use col% instead of p%, and also use the current font.
7920         (makeLaTeXFile): Fix use babel condition.
7921         (parseSingleLyXformat2Token): Correct font when reading old floats.
7922
7923 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7924
7925         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7926         inserting list of floats.
7927
7928 2002-04-25  Herbert Voss  <voss@lyx.org>
7929
7930         * MenuBackend.C (expand): don't add the graphics extensions to the
7931         export menu
7932
7933 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7936         non-existing layout, do not complain if it was the default layout
7937         of the original class (bug #342)
7938
7939 2002-04-24  Juergen Vigna  <jug@sad.it>
7940
7941         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7942         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7943
7944 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7945
7946         * buffer.C (getBibkeyList): If using \bibliography, return the
7947         option field with the reference itself. Enables us to provide natbib
7948         support when using \bibliography.
7949
7950 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7951
7952         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7953
7954         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7955         natbib is provided by the LaTeX class.
7956
7957 2002-04-23  Juergen Vigna  <jug@sad.it>
7958
7959         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7960         Wakeup functions.
7961
7962         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7963
7964 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7965
7966         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7967
7968         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7969         ensuremath around textordmasculine, textordfeminine and
7970         textdegree.
7971
7972 2002-04-19  Juergen Vigna  <jug@sad.it>
7973
7974         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7975         reinitializing the buffer otherwise row-dimensions may be wrong.
7976         (update): reset also the selection cursors if they do exits otherwise
7977         their x/y positions may be wrong.
7978
7979         * text2.C (cursorDown): don't enter the inset if we came from a row
7980         above and are one row over the inset.
7981
7982         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7983         really leaving an inset.
7984
7985 2002-04-18  Juergen Vigna  <jug@sad.it>
7986
7987         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7988         of the selected paragraph does not have the selected layout also if
7989         the last one had!
7990
7991         * text2.C (setLayout): fixed bug which did not change last selected
7992         paragraph.
7993
7994         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7995         changed the read and substituted \\end_float with \\end_inset!
7996
7997         * BufferView_pimpl.C (cursorPrevious):
7998         (cursorNext): fixed to make it work with rows heigher than the work
7999         area without moving the cursor only the draw of the row.
8000         (workAreaMotionNotify): fix jumping over high rows.
8001
8002 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8003
8004         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8005         Ressler.
8006
8007 2002-04-16  Juergen Vigna  <jug@sad.it>
8008
8009         * text2.C (setCursor): set also the irow().
8010         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8011         (cursorUp):
8012         (cursorDown): support for locking an inset if the x_fix value goes
8013         inside it. That way I can transverse insets too with cursor up/down.
8014
8015         * lyxrow.h: added irow helper function same as other (i) functions.
8016
8017         * BufferView_pimpl.C (cursorPrevious):
8018         (cursorNext): fixed for insets!
8019
8020 2002-04-15  Juergen Vigna  <jug@sad.it>
8021
8022         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8023         position otherwise it is wrong in some cases.
8024
8025         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8026         inside the inset before the call.
8027
8028 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8029
8030         * buffer.[Ch] (getBibkeyList): make it const.
8031
8032 2002-04-12  Juergen Vigna  <jug@sad.it>
8033
8034         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8035
8036         * text2.C (getCursorX): new helper function
8037         (setCursor): compute also ix_
8038         (setCursorFromCoordinates): set also ix.
8039
8040         * lyxcursor.h: added ix_ and helper functions.
8041
8042         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8043
8044         * buffer.C (insertStringAsLines): dont break paragraph if the this
8045         paragraph is inside an inset which does not permit it!
8046
8047         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8048         also with no chars on this paragraph.
8049         (paintRowText): only paint stuff if it's inside the workarea!
8050
8051         * paragraph.C (breakParagraph): honor keepempty flag and break the
8052         paragraph always below not above.
8053
8054         * BufferView2.C (unlockInset): update the paragraph layout on inset
8055         unlock as we changed paragraph in such a case.
8056
8057         * lyxfind.C (LyXFind): clear the former selection if not found!
8058
8059         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8060         again called in insertChar().
8061
8062         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8063         an inset which uses the whole row!
8064         (rightMargin): ditto.
8065         (insertChar): force a rebreak if we inserted an inset!
8066
8067 2002-03-28  Herbert Voss  <voss@lyx.org>
8068
8069         * lyxlength.[Ch]: add inBP() to get the right PS-point
8070         units (BigPoint). With inPixels we have rounding errors
8071
8072 2002-04-11  Juergen Vigna  <jug@sad.it>
8073
8074         * text2.C (setCursorFromCoordinates): set iy to the right value.
8075         (setCursor): add check if row->previous exists!
8076
8077         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8078         an old float_type as this was the case in the old code!
8079
8080         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8081
8082         * BufferView2.C (showLockedInsetCursor): use iy
8083         (fitLockedInsetCursor): ditto
8084
8085         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8086         locked insets as there we have the right value now.
8087
8088         * lyxcursor.C: added iy_ variable and iy functions to set to the
8089         baseline of cursor-y of the locked inset.
8090
8091         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8092         (setCursor): fixed for insets which need a full row.
8093
8094         * text.C (rowLastPrintable): don't ignore the last space when before
8095         an inset which needs a full row.
8096         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8097         as last character of a row when before a inset which needs a full row.
8098
8099 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8100
8101         * version.C.in: update date
8102
8103         * text2.C (fullRebreak): try to always return true and see what
8104         happens...
8105
8106 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * MenuBackend.C (expand): use Floating::listName
8109
8110         * FloatList.C (FloatList): add listName argument to the built-in
8111         floats
8112
8113         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8114         text associated with the float.
8115
8116 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8117
8118         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8119
8120 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * ShareContainer.h: add a couple of missing typenames.
8123
8124 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8125
8126         * lyxrc.C (getDescription): use _() correctly rather than N_().
8127
8128 2002-03-28  Herbert Voss  <voss@lyx.org>
8129
8130         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8131         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8132
8133 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8134
8135         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8136         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8137
8138 2002-03-29  Juergen Vigna  <jug@sad.it>
8139
8140         * lyxfunc.C (dispatch): add a missing fitCursor call.
8141
8142         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8143         it was scrolled by a cursor move, so return the bool status.
8144
8145         * BufferView.C (fitCursor): return the bool flag also to the outside
8146         world as this is needed.
8147
8148         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8149
8150         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8151         call the edit() as it is not needed (and wrong) IMO.
8152         (workAreaButtonPress): set the screen_first variable before evt.
8153         unlock the inset as this may change screen_first and then we have
8154         a wrong y position for the click!
8155
8156 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8157
8158         * MenuBackend.C (expand): another translation that I missed
8159
8160 2002-03-28  Juergen Vigna  <jug@sad.it>
8161
8162         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8163
8164         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8165
8166 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8169
8170         * MenuBackend.C (expand): fix export/view/update when there is no
8171         document open.
8172
8173 2002-03-27  Herbert Voss  <voss@lyx.org>
8174
8175         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8176         and text%
8177
8178 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * bufferview_funcs.C (currentState): only show paragraph number
8181         for is DEVEL_VERSION is set.
8182
8183         * lyxfunc.C (dispatch): put warning in INFO channel
8184
8185         * MenuBackend.C (expand): translate the name of floats
8186
8187         * FloatList.C (FloatList): mark the float names for translation
8188
8189         * converter.C (convert): use LibScriptSearch
8190
8191 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8192
8193         * MenuBackend.C (defaults): fix default menu (we might as well get
8194         rid of it...)
8195
8196 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8197
8198         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8199         directory.
8200
8201 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8202
8203         * lyxvc.C: reorder includes.
8204
8205 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8208           properly
8209
8210 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * CutAndPaste.C: change layouts earlier on paste
8213           to avoid crashing when calling getFont()
8214
8215 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8216
8217         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8218         irritating #error.
8219
8220 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8221
8222         * WorkArea.C: remove 'Pending' debug message.
8223
8224         * most files: ws cleanup
8225
8226         * buffer.[Ch]: ws changes
8227
8228         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8229
8230 2002-03-21  Juergen Vigna  <jug@sad.it>
8231
8232         * tabular.C (SetMultiColumn): collapse also the contents of the
8233         cells and set the last border right. Added a Buffer const * param.
8234
8235 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8236
8237         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8238         linking or not.
8239
8240 2002-03-19  Juergen Vigna  <jug@sad.it>
8241
8242         * text2.C (clearSelection): reset also xsel_cache.
8243
8244         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8245         where it needs to be called (John tells us to do so too :)
8246         (selectionLost): reset sel_cache.
8247
8248         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8249
8250 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8251
8252         * text2.C (setCursorIntern): put debuging code in INSETS channel
8253
8254 2002-03-19  André Pönitz <poenitz@gmx.net>
8255
8256         * lyxfunc.C: tiny whitespace change
8257
8258 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8259
8260         * ToolbarDefaults.C (init):
8261         * LyXAction.C (init):
8262         * commandtags.h:
8263         * BufferView_pimpl.C (Dispatch):
8264         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8265
8266 2002-03-19  Allan Rae  <rae@lyx.org>
8267
8268         * exporter.C (Export): removeAutoInsets before doing anything else.
8269         While I've just introduced a dependency on BufferView this really is
8270         the best place to clean the buffer otherwise you need to cleanup in
8271         a dozen places before calling export or cleanup in a dozen functions
8272         that export calls.
8273
8274         * converter.C (runLaTeX):
8275         (scanLog): Better handling of removeAutoInsets and screen updates.
8276
8277         * lyxfunc.C (dispatch): small whitespace changes
8278
8279 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * WorkArea.C (C_WorkAreaEvent): return a value.
8282         (event_cb): return 1 if we handled the event, 0 otherwise.
8283
8284         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8285
8286 2002-03-18  Juergen Vigna  <jug@sad.it>
8287
8288         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8289         (GetAdditionalWidth): ditto.
8290         (RightLine): ditto.
8291         (LeftLine): ditto.
8292
8293         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8294         inset if we're there actually (probably not used right now but this
8295         is the direction to go for unifying code).
8296         (paste): disable code to clear the selection.
8297
8298         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8299         inside an InsetText and move the check further up as it is in the
8300         wrong place.
8301
8302         * text2.C (pasteSelection): set a selection over the pasted text.
8303
8304 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8305
8306         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8307         and libgraphics to build on Cygwin.
8308
8309 2002-03-15  Juergen Vigna  <jug@sad.it>
8310
8311         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8312         inserting an Inset into the paragraph. I know this is not the best
8313         fix but we already use current_view in CutAndPaste so we will remove
8314         all of it's using at the same time.
8315
8316         * buffer.C (sgmlError): deactivated function till it is rewritten in
8317         the right mode, now it can create problems.
8318
8319         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8320         before accessing it.
8321
8322 2002-03-14  Juergen Vigna  <jug@sad.it>
8323
8324         * undo_funcs.C (textHandleUndo): do the right thing when updating
8325         the inset after the undo/redo.
8326
8327         * text2.C (setCursor): just some testcode for #44 not ready yet.
8328
8329         * undo_funcs.C (textHandleUndo): set the next() and previous()
8330         pointers of the paragraph to 0 before deleting otherwise we have
8331         problems with the Paragraph::[destructor].
8332
8333         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8334         on a paragraph insertion.
8335
8336 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8337
8338         * buffer.C (asciiParagraph): use += operator for char append to
8339         string.
8340
8341         * paragraph.C (getFontSettings): compare >= not just >
8342         (highestFontInRange): ditto
8343         (setFont): ditto
8344
8345 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8346
8347         * paragraph.C: change several algorithm to be more appripriate for
8348         the problem domain. This is lookip in FontList and in the InsetList.
8349
8350 2002-03-13  André Pönitz <poenitz@gmx.net>
8351
8352         * commandtags.h:
8353         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8354
8355 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8356
8357         * commandtags.h:
8358         * LyXAction.C:
8359         * lyxfunc.C:
8360         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8361
8362 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8363
8364         * Painter.C (display): anon helper function, adjust code for this
8365         change.
8366         (pixmap): remove function.
8367
8368         * Painter.h: remove private display variable.
8369
8370         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8371
8372 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8373
8374         * WorkArea.[Ch]: remove figinset_canvas cruft.
8375
8376 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8377
8378         * lyxtextclass.C (operator): add one item cache optimization.
8379
8380         * bufferlist.h: doxy changes
8381
8382         * bufferlist.C: ws changes
8383
8384         * DepTable.[Ch] (ext_exist): place const in the right spot.
8385
8386         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8387         call resizeInsets.
8388         (workAreaExpose): call resizeInsets when the with BufferView changes.
8389         (Dispatch): adjust for protectedBlank removal
8390         (specialChar): call updateInset if the insert went ok.
8391
8392         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8393         specialChar instead.
8394
8395         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8396
8397         * BufferView.h: doxy change
8398
8399         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8400
8401         * lyxtextclass.C (operator[]): remove non-const version
8402         (defaultLayout): remove non-const version
8403
8404 2002-03-12  Juergen Vigna  <jug@sad.it>
8405
8406         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8407         did resize the LyXText too.
8408
8409         * buffer.C (readLyXformat2): set layout information on newly allocated
8410         paragraphs.
8411
8412         * tabular.C (OldFormatRead): set layout information on the paragraph.
8413
8414 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8415
8416         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8417
8418 2002-03-11  Juergen Vigna  <jug@sad.it>
8419
8420         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8421         plainly wrong.
8422         (resizeCurrentBuffer): force also the insets to resize themselfes.
8423         (moveCursorUpdate): fixed up for InsetText.
8424
8425 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8426
8427         * commandtags.h:
8428         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8429         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8430         value of Dialogs::tooltipsEnabled().
8431         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8432
8433 2002-03-08  Juergen Vigna  <jug@sad.it>
8434
8435         * BufferView_pimpl.C (updateInset): update inset inside inset also
8436         if it isn't inside theLockingInset().
8437
8438 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8439
8440         * buffer.C (asciiParagraph): redo some of the word and line length
8441         handling.
8442         (getLists): look for Caption instead of caption.
8443
8444 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * buffer.C (Buffer): initialize niceFile to true
8447         (makeLaTeXFile):
8448         (makeLinuxDocFile):
8449         (makeDocBookFile): make sure niceFile is true on exit
8450
8451 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8454
8455 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8456
8457         * LyXSendto.C: remove.
8458         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8459         * lyx_gui.C: remove now-redundant comment.
8460         * ColorHandler.h: remove forward declaration of class WorkArea.
8461         * lyxfunc.C: remove #include "WorkArea.h".
8462
8463 2002-03-07  Juergen Vigna  <jug@sad.it>
8464
8465         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8466         got moved away with the DEPM and also set the inset_owner always
8467         right which before could have been omitted.
8468
8469 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8470
8471         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8472         wanted layout is not found.
8473
8474 2002-03-07  Juergen Vigna  <jug@sad.it>
8475
8476         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8477
8478 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * paragraph.C (breakParagraph): use default layout not layout of
8481         prev paragraph.
8482         (Paragraph): clear ParagraphParameters.
8483
8484 2002-03-06  Juergen Vigna  <jug@sad.it>
8485
8486         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8487         otherwise it would not be a valid lenght. Fixed a special case in
8488         the minipage compatibility read where we end the document with a
8489         minipage.
8490
8491         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8492         was set as it could be 0 for InsetTexts first entry.
8493
8494 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * paragraph.C (writeFile): if layout is empty write out
8497         defaultLayoutName().
8498
8499         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8500         file without named layout we set layout to defaultLayoutName().
8501
8502 2002-03-06  Juergen Vigna  <jug@sad.it>
8503
8504         * CutAndPaste.C (copySelection): set layout for new paragraph.
8505
8506         * text.C (prepareToPrint): leave ERT inset left aligned
8507         (leftMargin): don't indent paragraphs inside ERT insets
8508
8509 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * paragraph.C (breakParagraph): dont call clear do the work manually
8512
8513         * paragraph.[Ch] (clear): remove function
8514
8515 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8516
8517         * paragraph.C (Paragraph): dont call clear, the work has already
8518         been done.
8519
8520         * lyxtextclass.C (operator): assert if n is empty
8521
8522         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8523         work manually instead.
8524
8525 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * BufferView_pimpl.C: protect selectionLost against text == 0
8528
8529 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8530
8531         * text.C (breakParagraph): fix a setting layout to '0' problem.
8532
8533 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8534
8535         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8536         final location of file, for the included files, and graphics.
8537
8538 2002-03-05  Juergen Vigna  <jug@sad.it>
8539
8540         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8541
8542 2002-03-04  Juergen Vigna  <jug@sad.it>
8543
8544         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8545
8546         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8547         last column of multicolumn cells.
8548         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8549
8550 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8551
8552         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8553         file if it doesn't go to a temporary file.
8554
8555         * buffer.C (sgmlOpenTag):
8556         (sgmlCloseTag):  remove extra newline insertion.
8557
8558 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8559
8560         * text.C (getRowNearY): comment out debug msg
8561
8562 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * text2.C: first -> first_y
8565
8566         * text.C (getRowNearY): add some attemts at a possible
8567         optimization, not working.
8568
8569         * tabular.[Ch]: add BufferParams to several function so that newly
8570         created paragraph can be initialized to he default layotu for the
8571         buffers textclass.
8572
8573         * tabular-old.C (ReadOld): add buf->params to call of Init
8574
8575         * screen.C: rename text->first to text->first_y
8576
8577         * paragraph.C (breakParagraph): always set layout in the broken
8578         paragraph
8579
8580         * lyxtextclass.C (Read): remove lowercase
8581         (hasLayout): ditto
8582         (operator): ditto
8583         (delete_layout): ditto
8584
8585         * lyxtext.h: rename first -> first_y
8586
8587         * lyxlayout.C (Read): remove lowercase
8588         (name): ditto
8589         (setName): ditto
8590         (obsoleted_by): ditto
8591
8592         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8593
8594         * buffer.C (insertErtContents): add params are to InsetERT
8595         (parseSingleLyXformat2Token): add code to check if a paragraphs
8596         layout really exist.
8597         (parseSingleLyXformat2Token): add params to several inset
8598         constructors
8599         (asciiParagraph): remove lowercase, do the layout comparisons with
8600         no_case
8601
8602         * BufferView_pimpl.C (cursorNext): first -> first_y
8603         (resizeCurrentBuffer): first -> first_y
8604         (updateScrollbar): first -> first_y
8605         (scrollCB): first -> first_y
8606         (workAreaMotionNotify): first -> first_y
8607         (workAreaButtonPress): first -> first_y
8608         (checkInsetHit): first -> first_y
8609         (cursorPrevious): first -> first_y
8610         (cursorNext): first -> first_y
8611         (Dispatch): add buffer_->params to severl inset contructors
8612
8613 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * lyxlayout.C (Read): remove some debug info that I forgot.
8616
8617         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8618         clean up the code slightly.
8619         (makeLinuxDocFile): ditto
8620         (makeDocBookFile): ditto
8621
8622         * text2.C: layout as string
8623
8624         * text.C: layout as string
8625
8626         * paragraph_pimpl.C: layout as string
8627
8628         * paragraph.[Ch]: layout as string
8629
8630         * lyxtextclasslist.[Ch]: layout as string
8631
8632         * lyxtextclass.[Ch]: layout as string
8633
8634         * lyxtext.h: layout as string
8635
8636         * lyxlayout.[Ch]: layout as string
8637
8638         * lyx_cb.C: layout as string
8639
8640         * bufferview_funcs.C: layout as string
8641
8642         * bufferparams.C: layout as string
8643
8644         * buffer.C: layout as string
8645
8646         * LyXView.[Ch]: layout as string
8647
8648         * LaTeXFeatures.[Ch]: layout as string
8649
8650         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8651
8652         * BufferView_pimpl.C: change current_layout to string, remove
8653         lyx::layout_type.
8654         (Dispatch):
8655         (smartQuote):
8656         (insertInset):
8657         (workAreaButtonRelease): layout as string
8658
8659         * BufferView2.C (unlockInset): adjust
8660
8661         * vspace.C (asLatexCommand): use an explict temp variable.
8662
8663 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8664
8665         * Makefile.am: use FRONTEND_*
8666
8667 2002-03-01  Juergen Vigna  <jug@sad.it>
8668
8669         * tabular.C (SetWidthOfMulticolCell): changed to something better
8670         I hope but still work in progress.
8671         (recalculateMulticolumnsOfColumn): renamed function from
8672         recalculateMulticolCells as it is more appropriate now.
8673         (SetWidthOfCell): calculate multicols better.
8674
8675 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8676
8677         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8678
8679         * lyxfunc.C (processKeySym): print sequence also if it is
8680         `deleted' (complete)
8681
8682         * kbsequence.C (print): print sequence even if it is deleted
8683         (complete would be a better word, actually).
8684
8685         * lyxfunc.C (dispatch): print complete options after a prefix key
8686
8687         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8688
8689 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8690
8691         * text2.C (setCharFont): eliminate setCharFont code duplication.
8692
8693 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8696         LFUN_TABULAR_FEATURE (bug #177)
8697
8698 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8699
8700         * Makefile.am: remove figure.h
8701
8702 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8703
8704         * Bufferview_pimpl.C:
8705         * CutAndPasteC:
8706         * LaTeX.C:
8707         * LyXSendto.C:
8708         * buffer.C:
8709         * bufferlist.C:
8710         * converter.C:
8711         * language.C:
8712         * lyxfunc.C:
8713         * lyxvc.C:
8714         * paragraph.C:
8715         * text.C:
8716         * text2.C: remove #include "lyx_gui_misc.h".
8717
8718         * LaTeX.C: added #include <cstdio>
8719
8720 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8723         that the paragraph following this one can have.
8724
8725         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8726
8727         * vspace.C (asLatexCommand): fix bogus gcc warning
8728
8729         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8730
8731 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8732
8733         * text2.C (setLayout): get rid of redundant code
8734
8735 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8736
8737         * text2.C (incDepth): make sure depth cannot be increased beyond
8738         reasonable values.
8739
8740 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8741
8742         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8743         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8744
8745         * PainterBase.h (image):
8746         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8747         a LyXImage const *.
8748
8749 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * BufferView.C:
8752         * BufferView.h:
8753         * BufferView_pimpl.C:
8754         * BufferView_pimpl.h:
8755         * LaTeXFeatures.C:
8756         * LyXAction.C:
8757         * LyXView.C:
8758         * Makefile.am:
8759         * UpdateList.h:
8760         * UpdateList.C:
8761         * buffer.C:
8762         * figure.h:
8763         * figureForm.C:
8764         * figureForm.h:
8765         * figure_form.C:
8766         * figure_form.h:
8767         * lyx_cb.C:
8768         * lyx_gui.C:
8769         * lyx_gui_misc.C:
8770         * lyxfunc.C:
8771         * sp_base.h:
8772         * sp_ispell.h:
8773         * sp_pspell.h:
8774         * sp_spell.C: remove fig inset, and the crap house of
8775           cards that follows it
8776
8777 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * Makefile.am:
8780         * lyxserver.C:
8781         * os2_defines.h:
8782         * os2_errortable.h:
8783         * nt_defines.h: move .h into support/
8784
8785         * vms_defines.h: remove
8786
8787         * WorkArea.C: add space in debug output
8788
8789         * text2.C:
8790         * paragraph.C:
8791         * buffer.C: add WITH_WARNINGS
8792
8793         * vc-backend.h:
8794         * vc-backend.C:
8795         * bufferlist.C: s/retrive/retrieve/, add docs
8796
8797         * vspace.h:
8798         * vspace.C:
8799         * kbmap.h:
8800         * lyxlength.h:
8801         * lyxgluelength.h:
8802         * length_common.h:
8803         * chset.h:
8804         * chset.C: add docs
8805
8806         * lyxgui.C: add ID to X error handler
8807
8808         * lyxtestclass.c: fix typo
8809
8810 2002-02-26  Juergen Vigna  <jug@sad.it>
8811
8812         * tabular_funcs.C (write_attribute): changed so that some default
8813         attributes are not written at all.
8814         (getTokenValue): set default values before trying to read the
8815         value so we have the return value always set as default if we don't
8816         find the token we search for.
8817
8818         * tabular.C (Write): write bools as bools not as strings!
8819
8820 2002-02-22  Juergen Vigna  <jug@sad.it>
8821
8822         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8823         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8824
8825         * text.C (leftMargin): don't add an indent for paragraphs inside
8826         tabular cells (fix #208).
8827
8828 2002-02-21  José Matos  <jamatos@fep.up.pt>
8829
8830         * tabular.C (docBook): fixed support for long tables.
8831
8832 2002-02-20  Juergen Vigna  <jug@sad.it>
8833
8834         * text2.C (getFont): get the drawing font of the Inset if this
8835         paragraph is inside an inset (only important for InsetERT for now).
8836
8837         * buffer.C (insertErtContents): use new lanugage params in ERT
8838         constructor.
8839
8840         * CutAndPaste.C: commenting out seemingly uneeded code.
8841
8842 2002-02-19  Allan Rae  <rae@lyx.org>
8843
8844         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8845         Iterators might be simple to use but they also get invalidated.
8846         (removeAutoInsets): renamed saved cursor tracking variables and added
8847         some comments to clarify what everything does.
8848
8849 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8850
8851         * Chktex.C:
8852         * LaTeX.C:
8853         * LyXSendto.C:
8854         * converter.C:
8855         * lyx_cb.C:
8856         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8857         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8858
8859         * lyxfunc.C:
8860         * vc-backend.h: remove #include "support/syscall.h"
8861
8862         * LaTeX.C:
8863         * LyXSendto.C:
8864         * converter.C: rearrange #includes in Lars' approved fashion.
8865
8866         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8867         forward declare class Timeout in the header file.
8868
8869         * XFormsView.C: changes due to the above.
8870
8871         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8872         similar to LyXView.
8873
8874         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8875         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8876
8877 2002-02-18  José Matos  <jamatos@fep.up.pt>
8878
8879         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8880         insets contents.
8881
8882 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8883
8884         * a lot of small ws changes
8885         * add a lot of using std::XXX
8886         * use std construcs some places where approp.
8887         * use some exisint stuff from lyxfunctional where approp.
8888         * Make file changes to use partial linking (lets test this now...)
8889
8890 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8891
8892         * Chktex.C:
8893         * buffer.C:
8894         remove #include "support/syscontr.h" as it's redundant. Always has been.
8895
8896         * Chktex.C:
8897         * LaTeX.C:
8898         * LyXSendto.C:
8899         * converter.C:
8900         * lyx_cb.C:
8901         * vc-backend.C:
8902         change Systemcalls::System to Systemcalls::Wait and
8903         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8904         No change of functionality, just reflects the stripped down Systemcalls
8905         class.
8906
8907 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8908
8909         * debug.[Ch]: add a GRAPHICS type to the enum.
8910
8911 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8914
8915         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8916         there is an inset.
8917
8918 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8919
8920         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8921         match the changes below.
8922
8923         * text2.C (toggleInset): if there is not editable inset at cursor
8924         position, try to see if cursor is _inside_ a collapsable inset
8925         and close it.
8926
8927 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8930         document menu has a nice checkbox
8931
8932 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * lyxlength.C (asLatexString): change PW to output as percent of
8935         \textwidth.
8936
8937         * lengthcommon.C: change '%' to 't%'
8938
8939         * lyxfunc.C (dispatch): a few comments from Martin
8940
8941 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * WorkArea.h:
8944         * WorkArea.C:
8945         * BufferView_pimpl.h:
8946         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8947           the X selection.
8948
8949 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * vspace.C (inPixels): fix compiler warning
8952
8953 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * lyxfunc.C (getStatus): fix status message for disabled commands.
8956
8957 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * BufferView_pimpl.C: fix crash on close buffer
8960         during selection (#227)
8961
8962 2002-01-27  Herbert Voss  <voss@lyx.org>
8963
8964         * buffer.C: link old Figure to new graphic inset
8965
8966 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8967
8968         * FontLoader.C (getFontinfo): Change the latex font names in order
8969         to match the names of type1inst.
8970
8971 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8972
8973         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8974
8975         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8976         (extchanged): ditto
8977         (ext_exist): ditto
8978         (remove_files_with_extension): ditto
8979         (remove_file): ditto
8980         (write): ditto
8981
8982         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8983         document is smaller than the work area height. Do not initialize
8984         static variables to 0.
8985
8986 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8987
8988         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8989
8990         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8991         LFUN_LAYOUT_PARAGRAPHS.
8992
8993         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8994         tabular. It is possible to provide a possible cell, which will
8995         typically be the actcell from the corresponding insettabular
8996
8997         * lyxfunc.C (getStatus): small cleanup; disable
8998         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8999         true
9000
9001 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9004
9005         * paragraph.C (startTeXParParams):
9006         (endTeXParParams): new methods. The LaTeX code to
9007         start/end paragraph formatting
9008         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9009         empty (fixes bug #200)
9010
9011         * vspace.C (inPixels): adapt to the change below
9012         (inPixels): [later] more cleanups (remove unused variables)
9013
9014         * lyxlength.C (inPixels): change to use a width and a height as
9015         parameter.
9016
9017 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9018
9019         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9020         Replaced with \paperwidth
9021
9022         * DepTable.C (insert): add std:: qualifier
9023
9024 2002-01-18  Allan Rae  <rae@lyx.org>
9025
9026         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9027         updated also?
9028
9029         * text.C (drawInset): Turned out I didn't know enough about how
9030         rebreaking worked.  This fixes most of the redraw problems.  I see
9031         an occasional cursor trail when a line is broken now and the cursor
9032         placement can seem out by a few pixels also after a rebreak.
9033
9034 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9035
9036         * buffer.C (parseSingleLyXformat2Token): update because minipage
9037         width is now a LyXLength
9038
9039         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9040
9041         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9042         math insets
9043
9044 2002-01-17  Juergen Vigna  <jug@sad.it>
9045
9046         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9047
9048         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9049         is set correctly and the inset is updated correctly.
9050
9051 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9052
9053         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9054         the beginning of the loop.
9055
9056 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9057
9058         * lyxrc.C: improve help for use_scalable_fonts
9059
9060 2002-01-17  Allan Rae  <rae@lyx.org>
9061
9062         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9063
9064 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9065
9066         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9067         make sure to set their inset_owner to the right value (bug #171)
9068
9069 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9070
9071         * DepTable.h
9072         * DepTable.C: Implement mtime checking to reduce time spent doing
9073         CRCs.
9074
9075 2002-01-16  Juergen Vigna  <jug@sad.it>
9076
9077         * tabular.C (GetAdditionalHeight): one of error fixed.
9078
9079         * lyxrc.C (output): small fix in writing use_pspell.
9080
9081 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9082
9083         * sp_base.h: #include LString.h
9084
9085 2002-01-16  Allan Rae  <rae@lyx.org>
9086
9087         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9088         Can someone check this please?
9089
9090         * text.C (drawInset): It was possible that p.row would be removed by
9091         breakAgainOneRow upsetting a few other settings.  There may be another
9092         small tweak possible by setting need_break_row = 0 when p.row has been
9093         removed but I don't know enough about the logic here.
9094
9095 2002-01-15  Allan Rae  <rae@lyx.org>
9096
9097         * text.C (insertChar): removed conditional truism.
9098
9099         * BufferView2.C (removeAutoInsets): More tweaks.
9100         cur_par_prev could be a stray pointer.  Check for trailing empty line
9101         in case last line was cur_par and only had an error inset on it.
9102
9103 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9106         absolute
9107
9108         * vc-backend.C (most methods):
9109         * exporter.C (Export):
9110         * converter.C (convert):
9111         (runLaTeX):
9112         * LyXSendto.C (SendtoApplyCB):
9113         * lyxfunc.C (dispatch):
9114         (menuNew):
9115         (open):
9116         (doImport):
9117         * lyx_cb.C (AutoSave):
9118         (InsertAsciiFile):
9119         * BufferView_pimpl.C (MenuInsertLyXFile):
9120         * buffer.C (runChktex): use Buffer::filePath().
9121
9122         * buffer.h: rename filename to filename_; rename filepath to
9123         filepath_ and make it private
9124         (filePath): new method
9125
9126         * buffer.C (writeFile): use fileName()
9127         (getLatexName):
9128
9129         * lyx_main.C (init): fix starting  of LyX when the binary is a
9130         link from so,ewhere else.
9131
9132         * minibuffer.C: include <cctype> for isprint
9133
9134 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9135
9136         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9137         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9138         name clash with InsetCollapsable's width function.
9139
9140 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9141
9142         * lastfiles.C: include <iterator>
9143
9144 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9145
9146         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9147         std::count.
9148
9149         * buffer.C (makeLaTeXFile): ditto.
9150         Also make loop operation more transparent.
9151
9152 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9153
9154         * ToolbarDefaults.C: remove trailing comma closing namespace.
9155
9156         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9157
9158         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9159         as in WorkArea.
9160
9161         * trans.C (Load): comment out unused variable, allowed.
9162
9163 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9164
9165         * minibuffer.[Ch] (append_char): new method to recieve input from the
9166         drop-down completion browser. If a key was pressed, then recieve this
9167         char and append it to the existing string.
9168         (peek_event): modify the positioning data passed to the completion
9169         browser so that it can be placed above the minibuffer rather than below.
9170 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9171
9172         * LyXAction.C (init): alloe error-next for readonly documents.
9173
9174         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9175         count.
9176
9177 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9178
9179         * bufferlist.C (readFile): create the buffer _after_ checking that
9180         the file exists.
9181
9182         * lyxfunc.C (verboseDispatch): fix handling of arguments
9183
9184         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9185
9186         * lyxrc.C: use string::erase() instead of initializing to "".
9187
9188
9189 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * BufferView_pimpl.h:
9192         * BufferView_pimpl.C:
9193         * WorkArea.h:
9194         * WorkArea.C:
9195         * text2.C: tell X when we have made a selection for copying
9196
9197 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * BufferView_pimpl.C (MenuInsertLyXFile):
9200         * lyxfunc.C (menuNew):
9201         (open):
9202         (doImport): add shortcuts to directory buttons
9203
9204         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9205         open a float)
9206
9207         * lyxfunc.C (setStatusMessage):
9208         (getStatusMessage): new methods
9209         (getStatus):use setStatusMessage instead of setErrorMessage
9210         (dispatch): when function is disabled, set error message here
9211         [instead of in getStatus previously]
9212
9213         * BufferView_pimpl.C (workAreaButtonRelease): update
9214         toolbar/menubar here too.
9215
9216 2002-01-13  Allan Rae  <rae@lyx.org>
9217
9218         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9219         Now seems indestructible.  Remaining task is to audit all other
9220         code affected by deleteEmptyParagraphMechanism.  One small quirk
9221         left is that an empty document with an error in the preamble can
9222         be made to report an error but no error box appears.  I don't know
9223         where it goes.
9224         (removeAutoInsets): Improved comments.
9225
9226 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * Thesaurus.h:
9229         * Thesaurus.C: update for Aiksaurus 0.14
9230
9231 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9232
9233         * text2.C (firstParagraph): removed member function, all uses
9234         replaces with ownerParagraph
9235         (redoParagraphs): here
9236         (updateInset): here
9237         (toggleAppendix): here
9238         * BufferView2.C (insertErrors): here
9239         (setCursorFromRow): here
9240
9241 2002-01-13  Allan Rae  <rae@lyx.org>
9242
9243         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9244         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9245         There is still a way to segfault this although you may have to do this
9246         multiple times: Have an InsetERT with an unknown command in it.
9247         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9248         <down-arrow>, <Enter> again, View->DVI, BANG!
9249
9250         * text2.C (setCursor):
9251         (deleteEmptyParagraphMechanism):
9252         * lyxtext.h (setCursor):
9253         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9254         Making use of the return value may help fix other bugs.
9255
9256 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9259
9260         * LyXView.C (updateMenubar): call MenuBar::update here
9261         (updateToolbar): but not here
9262         (showState): do not update toolbar/menubar
9263
9264         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9265         should need to care about that.
9266
9267         * lyxfunc.C (verboseDispatch): simplify a bit
9268         (getStatus): have a version which takes a pseudoaction, and
9269         another which requires a (kb_action,string).
9270
9271         * LyXAction.C (retrieveActionArg): make it work also when action
9272         is not a pseudo-action.
9273         (getActionName): simplify a bit
9274         (helpText):
9275
9276 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9277
9278         * lyxfunc.C (verboseDispatch): new families of methods with
9279         several ways to specify a command and a bool to indicate whether
9280         the command name and shortcut should be displayed in minibuffer
9281         (eventually, we could extend that to a finer bitmask like
9282         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9283         (dispatch): the pristine dispatch command which just, well,
9284         dispatchs! Note it still sets its result to minibuffer; I'm not
9285         sure we want that.
9286
9287         * lyxfunc.h: remove setHintMessage
9288
9289         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9290
9291 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * BufferView_pimpl.C (specialChar): delete new inset if we have
9294         not been able to insert it.
9295
9296         * kbmap.C: revert to using int instead of kb_action, since all we
9297         are dealing with is pseudo-actions.
9298
9299         * LyXAction.C (searchActionArg): change to return int instead of
9300         kb_action, since the result is a pseudoaction.
9301
9302 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9303
9304         * buffer.C (insertErtContents): Fix (partially) the font bug.
9305
9306 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9307
9308         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9309         as the other one is broken on my machine!
9310
9311 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9312
9313         * commandtags.h:
9314         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9315
9316 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9317
9318         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9319         reflect their actual use. Provide compatibility code for older lyxrc
9320         files.
9321
9322         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9323         FL_NORMAL_STYLE.
9324         change names of popup font variables in line with the changes to lyxrc.C
9325
9326 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * buffer.C (asciiParagraph): avoid outputing a word twice after
9329         an inset.
9330
9331         * lyxrc.C (getDescription): document that document_path and
9332         template_path can be empty.
9333
9334 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9335
9336         * LaTeXFeatures.C (getMacros):
9337         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9338
9339         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9340
9341         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9342         getPackages.
9343         (getPackages): rename feature "floats" to "float". Use an array to
9344         iterate over 'simple' features (i.e. just a \usepackage). Add
9345         handling of "amsmath" (renamed from "amsstyle").
9346
9347 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9348
9349         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9350         features list.
9351
9352 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9353
9354         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9355         FuncStaus::FuncStatus & FuncStaus::some_method().
9356
9357 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9358
9359         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9360         of the func_satus stuff. Edited and massaged in various ways by
9361         JMarc.
9362
9363         * lyxfunc.C (getStatus): use FuncStatus
9364
9365 2002-01-08  Juergen Vigna  <jug@sad.it>
9366
9367         * text.C (nextBreakPoint): use function Inset::isChar().
9368
9369         * paragraph.C (TeXOnePar): use function
9370         Inset::forceDefaultParagraphs.
9371
9372         * buffer.C (latexParagraphs): use function
9373         Inset::forceDefaultParagraphs.
9374
9375 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9376
9377         * lyx_gui.C (init): set the style of the menu popups to
9378         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9379
9380 2002-01-07  Juergen Vigna  <jug@sad.it>
9381
9382         * text.C (setHeightOfRow): small fix
9383         (prepareToPrint): don't look at alignment if we don't have the place
9384         for doing it.
9385
9386 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9387
9388         * box.C: New file. Move the Box methods and functions out of box.h,
9389         following Lars' suggestion.
9390
9391 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9392
9393         * box.h: #include "support/LOstream.h", needed for inlined function.
9394
9395         * lyxtextclass.C:
9396         * lyxtextclasslist.C: added some using std declarations.
9397
9398 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9399
9400         * box.h: make signed dimensions to allow insets wider than
9401           the screen (bug #162)
9402
9403         * BufferView_pimpl.C: add some insetHit debug
9404
9405 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * vc-backend.C: add FIXME
9408
9409 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9410
9411         * lyxfunc.C (getStatus): enable code for showing math font status
9412         in toolbar/menu.
9413
9414 2002-01-07  Juergen Vigna  <jug@sad.it>
9415
9416         * text.C (nextBreakPoint): removed debug output not needed anymore.
9417
9418 2002-01-06  Juergen Vigna  <jug@sad.it>
9419
9420         * text.C (nextBreakPoint): fixed up this function we had this bug
9421         since ever but now hopefully we break row better.
9422         (insertChar): we have to check if an inset is the next char as it
9423         could now happen that a large inset is causing a break.
9424
9425 2002-01-05  Juergen Vigna  <jug@sad.it>
9426
9427         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9428         if it doesn't like to be drawed.
9429
9430 2002-01-04  Juergen Vigna  <jug@sad.it>
9431
9432         * BufferView2.C (lockInset): forgot to set a cursor.
9433
9434         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9435
9436 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9437
9438         * FormMathsPanel.C:
9439         * FormMathsPanel.h
9440         * MathsSymbols.C:
9441         * form_maths_panel.C:
9442         * form_maths_panel.h:
9443         * form_maths_panel.fd: implemented sub- and super- buttons in math
9444         panel.
9445
9446         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9447         (or ^ space) to be used as in TeX (req'd by André).
9448
9449         * lyxfunc.C: Allow ^ and _ again to be used both as
9450         super/subscript (mathed) and as themselves (in text).
9451
9452 2002-01-03  Allan Rae  <rae@lyx.org>
9453
9454         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9455         "LyX" or the filename of the current buffer if it has one.  This is a
9456         modified form of John Levon's patch.
9457
9458         * XFormsView.C (setWindowTitle): also set icon title.
9459
9460         * LyXView.h (setWindowTitle): signature changed.
9461         * XFormsView.h (setWindowTitle): ditto.
9462
9463 2002-01-02  Juergen Vigna  <jug@sad.it>
9464
9465         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9466
9467 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9468
9469         * screen.C (topCursorVisible): introduce a temp var for
9470         text->cursor.row(), handle the case where this row is null. (kindo
9471         hachish)
9472
9473         * text2.C (setCursor): add a couple of asserts.
9474
9475         * paragraph.h (inset_iterator): add -> operator
9476
9477         * paragraph.[Ch] (autoDeleteInsets): remove member function
9478
9479         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9480         cursor pos correctly and handle inset deletion by itself.
9481         (insertErrors): move iterator declaration out of for expression
9482
9483         * lyxtextclass.C: add <algorithm>
9484
9485         * Makefile.am: added the new files to sources, removed layout.C
9486
9487         * layout.C: removed file
9488
9489         * layout.h: remove LYX_DUMMY_LAYOUT
9490
9491         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9492         layout.
9493
9494         * lyxlayout.[Ch]:
9495         * lyxtextclass.[Ch]:
9496         * lyxtextclasslist.[Ch]: new files
9497
9498         * include order changes to a lot of files, also changes because of
9499         the six new files.
9500
9501 2001-12-27  Juergen Vigna  <jug@sad.it>
9502
9503         * buffer.C (asciiParagraph): more fixes.
9504
9505         * tabular.C (ascii): make ascii export support export of only the
9506         data separated by a column-delimiter.
9507         (ascii): better support for ascii export.
9508
9509         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9510
9511 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9512
9513         * tabular_funcs.C: use a "using std::getline" instead of the
9514         previous fix from Angus (necessary for cxx + lyxstring)
9515
9516 2001-12-24  Juergen Vigna  <jug@sad.it>
9517
9518         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9519
9520         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9521         problems. First check a minipage also if we have some ert-contents
9522         (not only on par->size(), second set the right depth of the paragraph
9523         on the relink to the root-paragraph-list!
9524
9525         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9526         which then did not anymore update the main paragraphs on undo/redo!
9527
9528 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9531         code. Support all font-changing funcs (even those which are not in
9532         menu currently). Support for reporting font settings in
9533         mathed (disabled until Andre provides a function on mathed's side).
9534
9535         * func_status.h (toggle): small helper function to set toggle
9536         state on a flag.
9537
9538 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9539
9540         * tabular_funcs.C: getline -> std::getline
9541
9542 2001-12-21  Juergen Vigna  <jug@sad.it>
9543
9544         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9545         accessed and could be 0 (I couldn't generate this but it seems
9546         Michael could!).
9547
9548 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9549
9550         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9551         * tabular_funcs.h: here and include iosfwd
9552
9553 2001-12-20  Juergen Vigna  <jug@sad.it>
9554
9555         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9556         inside inset but undo_par was.
9557
9558 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * Thesaurus.C: always include <config.h> in sources.
9561
9562         * Painter.h:
9563         * lyxlookup.h:
9564         * box.h: do not include <config.h> in header files
9565
9566         * text.C (paintLastRow): remove unused variable
9567
9568         * text.C (transformChar):
9569         (insertChar):
9570         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9571
9572         * Painter.C (text):
9573         * font.C (width): rewrite to use uppercase() instead of
9574         islower/toupper.
9575
9576         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9577
9578 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9579
9580         * lyxfind.C: clean up of find failure position change
9581
9582 2001-12-20  Juergen Vigna  <jug@sad.it>
9583
9584         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9585
9586         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9587         (TeXRow): added to LaTeX a single tabular row.
9588         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9589         (Latex): simplified and finally good LT-h/f support.
9590         (various_functions): just small adaptions for LT-h/f support.
9591
9592         * tabular_funcs.[hC]: added and moved here all not classfunctions
9593         of LyXTabular.
9594
9595 2001-12-19  Juergen Vigna  <jug@sad.it>
9596
9597         * tabular.[Ch]: better support for longtabular options (not finished
9598         yet!)
9599
9600 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * text.C (paintLastRow): use the label font instead of the font of
9603         the last character to compute the size of *_BOX. This makes more
9604         sense and avoids a crash with empty paragraphs.
9605         Use Painter::rectangle to draw EMPTY_BOX.
9606
9607 2001-12-19  Juergen Vigna  <jug@sad.it>
9608
9609         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9610         the paragraphs if the replaced paragraph is not the first one!
9611         Tried to delete not used paragraphs but does not work yet so for
9612         now it's inside #ifdef's and by default off!
9613
9614 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * MenuBackend.C: include "lyx_main.h" instead of declaring
9617         lastfiles (actually was declared as LastFiles* instead of a
9618         scoped_ptr).
9619
9620 2001-12-17  Juergen Vigna  <jug@sad.it>
9621
9622         * tabular.C (AppendColumn): applied John's fix
9623
9624 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * BufferView.h:
9627         * BufferView.C:
9628         * BufferView_pimpl.h:
9629         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9630
9631         * Makefile.am:
9632         * box.h: new start of class for above
9633
9634         * lyxfunc.C: ignore space-only minibuffer dispatches.
9635           Show the command name when it doesn't exist
9636
9637         * minibuffer.C: don't add empty lines to the history
9638
9639         * minibuffer.C: add a space on dropdown completion
9640
9641 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * text.C: fix line above/below drawing in insets
9644
9645 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9646
9647         * lyxlength.C (LyXLength): Initialize private variables.
9648
9649 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9650
9651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9652         when inserting error insets.
9653
9654 2001-12-13  Juergen Vigna  <jug@sad.it>
9655
9656         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9657         actually sometimes the before-paragraph.
9658         (setUndo): don't clear the redostack if we're not actually undoing!
9659
9660 2001-12-06  Juergen Vigna  <jug@sad.it>
9661
9662         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9663         and fixed redoing of main paragraph, so we can use it now ;)
9664
9665         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9666
9667 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9668
9669         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9670         Juergen's request
9671
9672 2001-12-13  André Pönitz <poenitz@gmx.net>
9673
9674         * undostack.[Ch]:
9675         * undo_func.C: minor cleanup
9676
9677 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9680         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9681         font in urw-fonts package which is marked as -urw-fontspecific and
9682         does not work (incidentally, changing the encoding in the
9683         fonts.dir of this package to -adobe-fontspecific fixes the
9684         problem).
9685
9686         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9687         is a crash when undoing first paragraph (Juergen, please take a
9688         look). THis does not mean the undo fix is wrong, just that it
9689         uncovers problems.
9690
9691         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9692         the (Paragraph*) version when needed instead of duplicating the
9693         code.
9694
9695         * text.C (workWidth): use Inset::parOwner to find out where the
9696         inset has been inserted. This is a huge performance gain for large
9697         documents with lots of insets. If Inset::parOwner is not set, fall
9698         back on the brute force method
9699
9700         * paragraph_pimpl.C (insertInset):
9701         * paragraph.C (Paragraph):
9702         (cutIntoMinibuffer): set parOwner of insets when
9703         inserting/removing them
9704
9705         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9706
9707 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9708
9709         * commandtags.h:
9710         * LyXAction.C:
9711         * lyx_main.C:
9712         * lyxfunc.C:
9713         * mathed/formulabase.C:
9714         * mathed/math_cursor.[Ch]:
9715         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9716
9717
9718 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9719
9720         * lyxlength.[Ch] (operator!=): new function
9721
9722 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * text.C (workWidth): use Inset::parOwner to find out where the
9725         inset has been inserted. This is a huge performance gain for large
9726         documents with lots of insets. If Inset::parOwner is not set, fall
9727         back on the brute force method
9728
9729         * paragraph_pimpl.C (insertInset):
9730         * paragraph.C (Paragraph):
9731         (cutIntoMinibuffer): set parOwner of insets when
9732         inserting/removing them
9733
9734         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9735
9736 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * tabular-old.C (getTokenValue):
9739         * tabular.C (getTokenValue):
9740         (write_attribute): new versions for LyXLength
9741         (everywhere): adjust the use of widths
9742
9743         * tabular.h: change the type of widths from string to LyXLength
9744
9745 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9746
9747         * paragraph.C: fixed missing line number count when exporting
9748         Environments to LaTeX file
9749
9750         * buffer.C: added informational message for checking line numbers.
9751
9752 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9755         paragraph, do the 'double space' part, but not the 'empty
9756         paragraph' one.
9757
9758         * text.C (workWidth): small optimization
9759         (getLengthMarkerHeight): use minimal size for negative lengths.
9760
9761 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9762
9763         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9764
9765         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9766
9767 2001-12-11  André Pönitz <poenitz@gmx.net>
9768
9769         * FontLoader.C:
9770         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9771
9772 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * text2.C: keep selection on a setFont()
9775
9776 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * lyx_cb.C: another bv->text misuse, from insert label
9779
9780 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * kbsequence.h:
9783         * kbsequence.C: re-instate nmodifier mask
9784
9785 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9786
9787         * lyx_main.h: make lyxGUI private.
9788
9789 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * lyxfind.C: place the cursor correctly on failed search
9792
9793 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9794
9795         * text.C (getLengthMarkerHeight): for small heights, the arrows
9796         are not always on top/bottom of the text
9797         (drawLengthMarker): smaller arrows; take the left margin in
9798         account; draw also vfills.
9799         (paintFirstRow):
9800         (paintLastRow): remove special code for vfill and standard spaces,
9801         since everything is handled in drawLengthMarker now.
9802
9803 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9804
9805         * buffer.C (insertErtContents): try to handle font and language
9806         interaction a bit better.g
9807
9808         * ColorHandler.C (updateColor): change the hash to cover the whole
9809         LColor enum, ws cleanup
9810         (getGCLinepars): ditto
9811         (getGCLinepars): only lookup in the linecache once.
9812
9813 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9814
9815         * iterators.C (operator++): Make the iterator more robust
9816
9817         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9818         (John's patch)
9819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9820
9821 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9822
9823         * lyxtext.h:
9824         * text.C: better added space drawing
9825
9826 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * LyXView.C:
9829         * BufferView2.C: fix layout combo update on inset unlock
9830
9831 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * Makefile.am: don't compile unused files
9834
9835 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * lyxfunc.C:
9838         * commandtags.h:
9839         * LyXAction.C: remove old LFUN_LAYOUTNO
9840
9841 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * paragraph_pimpl.h:
9844         * paragraph_pimpl.C: isTextAt() doesn't need font param
9845
9846 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * lyxlex.h:
9849         * lyxlex.C: little cleanup
9850
9851 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView_pimpl.C: fix insertAscii for insets
9854
9855 2001-12-05  Juergen Vigna  <jug@sad.it>
9856
9857         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9858         set the right font on the "multi" paragraph paste!
9859
9860 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * trans_decl.h:
9863         * trans_mgr.[Ch]:
9864         * trans.[Ch]:
9865         * lyxgluelength.C:
9866         * lyxlength.C: remove out-commented code.
9867
9868         * BufferView_pimpl:
9869         * CutAndPaste.C:
9870         * DepTable.C:
9871         * buffer.C:
9872         * chset.C:
9873         * lastfiles.C:
9874         * lyxlex.C:
9875         * lyxlex_pimpl.C:
9876         * lyxserver.C:
9877         * screen.C:
9878         * tabular-old.C:
9879         * tabular.C:
9880         * text.C:
9881         * trans_mgr.C:
9882         * vc-backend.C: change "while(" to "while ("
9883
9884         * lyxlength.[Ch]: add zero function to check if length is zero or
9885         not
9886         * lyxgluelength.C: use it
9887
9888 2001-12-05  Allan Rae  <rae@lyx.org>
9889
9890         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9891         Works for 2.95.3, from what I understand of Garst's reports this should
9892         work for other g++ versions.  We're screwed if the abs(int) definition
9893         changed between bugfix releases of gcc.
9894
9895 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * text.C: fix chapter label offset !
9898
9899 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * lyxtext.h:
9902         * text.C: fix hfill at end of line, clean up
9903
9904 2001-12-04  Juergen Vigna  <jug@sad.it>
9905
9906         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9907         that we force an update of the inset and it's owners if neccessary.
9908
9909 2001-12-03  Juergen Vigna  <jug@sad.it>
9910
9911         * text.C (rowLast): simplified code
9912
9913 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * lyxfunc.C: fix show options on timeout
9916
9917 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9918
9919         * screen.C (topCursorVisible): scroll half a page when the cursor
9920         reached top of bottom of screen
9921
9922 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * minibuffer.C: deactivate on loss of focus
9925
9926 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9927
9928         * vspace.[Ch] (operator!=): add operator.
9929
9930 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * BufferView_pimpl.C: refuse to open an inset when
9933         there's a selection.
9934
9935 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * BufferView_pimpl.C: allow to click on RHS of full row insets
9938
9939 2001-11-30  Juergen Vigna  <jug@sad.it>
9940
9941         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9942         insets for undo reasons.
9943
9944 2001-11-28  André Pönitz <poenitz@gmx.net>
9945
9946         * vspace.[Ch]: cosmetical changes
9947
9948 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * LyXAction.h:
9951         * LyXAction.C:
9952         * lyxfunc.h:
9953         * lyxfunc.C:
9954         * kbmap.h:
9955         * kbmap.C:
9956         * lyxrc.C:
9957         * kbsequence.h:
9958         * kbsequence.C: part re-write of old kb code
9959
9960         * Painter.C:
9961         * WorkArea.C: remove Lgb_bug_find_hack
9962
9963 2001-11-30  José Matos <jamatos@fep.up.pt>
9964
9965         * buffer.C (makeDocBookFile): add a comment to point a hack.
9966         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9967         Fixed a double write of labels.
9968
9969 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9970
9971         * LaTeX.C:
9972         * LaTeX.h Fixed bug in LaTeX class where it would not
9973         re-run latex if no depfiles were changed, but the .dvi was removed.
9974
9975 2001-11-28  André Pönitz <poenitz@gmx.net>
9976
9977         * all the files from the change on 2001/11/26:
9978         use lyx::layout_type instead of LyXTextClass::size_type
9979         use lyx::textclass_type instead of LyXTextClassList::size_type
9980
9981 2001-11-29  Juergen Vigna  <jug@sad.it>
9982
9983         * text.C: added support for paragraph::isFreeSpacing()
9984
9985         * buffer.C: same as above
9986
9987         * paragraph.h: inserted isFreeSpacing() function to enable
9988         FreeSpacing inside InsetERT.
9989
9990         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9991         of the paragraph's in the cut/copy buffer to 0!
9992
9993         * text2.C (removeRow): remove the assert as it can!
9994
9995         * lyxtext.h: added helper function firstRow returning firstrow and
9996         made firstrow private again.
9997
9998         * BufferView2.C (lockInset): don't relock if we're already locked!
9999
10000         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10001         the only paragraph.
10002         (removeRow): added Assert::(firstrow)
10003
10004         * debug.C: forgot to add INSETTEXT here.
10005
10006 2001-11-28  Juergen Vigna  <jug@sad.it>
10007
10008         * sp_spell.C (initialize): changed error text to more general
10009         spellchecker command use (not only ispell!)
10010
10011         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10012
10013         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10014
10015 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * vspace.C: initialise lyxgluelength on failure
10018
10019 2001-11-28  Allan Rae  <rae@lyx.org>
10020
10021         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10022         declaration & definition that looks like a function declaration.
10023
10024 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10025
10026         * BufferView2.C (copy):
10027         (copyEnvironment): do not clear the selection when doing a copy.
10028
10029         * text.C (paintFirstRow): compilation fix
10030
10031 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10032
10033         * tabular.C (Latex): correct line count when writing latex.
10034
10035 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * paragraph_pimpl.h:
10038         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10039           bug a bit
10040
10041 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10042
10043         * text.C:
10044         * LColor.h:
10045         * LColor.C: change vfillline->added_space
10046
10047         * text.C: add markers and text for added space
10048
10049         * vspace.C: fix comment
10050
10051 2001-11-28  André Pönitz <poenitz@gmx.net>
10052
10053         * paragraph.C: whitespace changes
10054         * all the other files from the change on 2001/11/26:
10055         change *::pos_type into lyx::pos_type
10056
10057 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10058
10059         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10060         language of the document when inserting error insets.
10061
10062 2001-11-26  André Pönitz <poenitz@gmx.net>
10063
10064         * BufferView_pimpl.[Ch]:
10065         *       CutAndPaste.C:
10066         * buffer.[Ch]:
10067         * lyxcursor.[Ch]:
10068         * lyxfind.C:
10069         * lyxfunc.C:
10070         * lyxrow.[Ch]:
10071         * paragraph.[Ch]:
10072         * paragraph_pimpl.[Ch]:
10073         * sp_spell.C:
10074         * text.C:
10075         * text2.C: reduce header dependencies, introduce type for positions
10076
10077 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * <various>: change to use Alert.h
10080
10081 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10084         when encountering an unknown token.
10085         (readLyXformat2): Show an error message if there were unknown tokens.
10086
10087 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * BufferView2.C:
10090         * BufferView_pimpl.C:
10091         * buffer.C:
10092         * paragraph.h:
10093         * text.C:
10094         * text2.C: use par->isInset()
10095
10096 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * paragraph_pimpl.h:
10099         * paragraph_pimpl.C: cleanup
10100
10101 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * text2.C (removeRow):
10104         * text.C (setHeightOfRow): remove useless (and costly) call to
10105         getRow.
10106
10107 2001-11-20  Allan Rae  <rae@lyx.org>
10108
10109         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10110         Now need Inset*::checkInsertChar() to return true for appropriate
10111         cases so that the characters in the minibuffer will actually be
10112         inserted.
10113
10114 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10115
10116         * text.C: change the order of the includes.
10117         (workWidth): initialize it at once.
10118         (workWidth): make maxw unsigned
10119         (setHeightOfRow): remove unused variable (inset)
10120         (selectSelectedWord): remove unused variable (inset)
10121         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10122
10123 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10126         server is not running.
10127         (openConnection):
10128         (closeConnection): add debug info when server is disabled.
10129
10130         * ColorHandler.C (getGCForeground): send debug message to GUI
10131         channel.
10132
10133         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10134
10135         * kbmap.C (bind): modify because return conventions of
10136         kb_sequence::parse have changed.
10137
10138         * kbsequence.C (parse): only ignore spaces and not any stupid
10139         control character. This avoids tests like s[i] <= ' ', which are
10140         guaranteed to fail with 8bit characters and signed chars.
10141         Change return code to string::npos when there have been no error
10142         (0 was a bad idea when error is at first character)
10143
10144 2001-11-14  José Matos  <jamatos@fep.up.pt>
10145
10146         * buffer.h:
10147         * buffer.C (simpleDocBookOnePar): removed unused argument.
10148
10149 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10150
10151         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10152         insets which are part of a word. Paragraph::isLetter takes care of
10153         that now. Use Paragraph::isInset to identify insets.
10154         (selectSelectedWord): do not test for hyphenation break.
10155
10156         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10157         that protected spaces are considered as spaces.
10158
10159         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10160         Inset::isLetter.
10161
10162 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * lyxserver.h:
10165         * lyxserver.C: fix it. and small cleanup.
10166
10167 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * BufferView_pimpl.C: use inline helpers
10170
10171         * LaTeXFeatures.h:
10172         * LaTeXFeatures.C: fix typos
10173
10174         * Spacing.h:
10175         * Spacing.C: move spacing_string into class
10176
10177         * ToolbarDefaults.C: move stuff into namespace anon
10178
10179         * layout.h: update enum
10180
10181         * lyxfunc.C: use better debug
10182
10183         * minibuffer.h: fix typo
10184
10185         * debug.h:
10186         * debug.C:
10187         * WorkArea.C: add and use Debug::WORKAREA
10188
10189         * lyxtext.h:
10190         * text.C:
10191         * text2.C: code re-organisation, inline helpers
10192
10193 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10194
10195         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10196         std::vector.empty().
10197
10198 2001-11-09  Allan Rae  <rae@lyx.org>
10199
10200         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10201         '\n's after tables.  Tabular and ERT inset work now makes this no
10202         longer necessary.
10203
10204 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * minibuffer.h:
10207         * minibuffer.C: fix crash, improve drop-down completion
10208
10209 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * lyxserver.h:
10212         * lyxserver.C: invalidate fd's when doing endPipe()
10213
10214 2001-11-08  José Matos  <jamatos@fep.up.pt>
10215
10216         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10217         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10218
10219         * paragraph.h:
10220         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10221
10222 2001-11-07  José Matos  <jamatos@fep.up.pt>
10223
10224         * buffer.h:
10225         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10226         const qualifier.
10227
10228         * buffer.C (sgmlOpenTag):
10229         * buffer.C (sgmlCloseTag): removed debug info.
10230
10231         * buffer.h (sgmlOpenTag):
10232         * buffer.h (sgmlCloseTag): made public.
10233
10234 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10235
10236         * buffer.C (saveParamsAsDefaults):
10237         * lyx_cb.C (MenuLayoutSave): remove
10238
10239         * LyXAction.C (init):
10240         * commandtags.h:
10241         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10242
10243 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * buffer.C (setPaperStuff): removed from here...
10246
10247         * bufferparams.C (setPaperStuff): ... and moved there.
10248
10249 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * minibuffer.h:
10252         * minibuffer.C:
10253         * XFormsView.C: add support for drop-down completion
10254
10255 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10258         commands.
10259
10260 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10261
10262         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10263         disabled.
10264
10265 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * lyx_main.C: change ref to known bugs
10268
10269 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10270
10271         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10272         to work around older babel problems.
10273
10274 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10275
10276         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10277
10278 2001-10-24  Juergen Vigna  <jug@sad.it>
10279
10280         * tabular-old.C (ReadOld): below variable changes reflected.
10281
10282         * tabular.[Ch]: added ltType struct for longtable header/footer
10283         defines and changed all instances where they are used. Added
10284         future support for double top/bottom rows.
10285
10286 2001-10-24  José Matos  <jamatos@fep.up.pt>
10287
10288         * buffer.h (docbookHandleCaption):
10289         * buffer.C (docbookHandleCaption): removed unused function.
10290         (makeDocBookFile): moved docbook supported version to v4.1.
10291
10292 2001-10-24  José Matos  <jamatos@fep.up.pt>
10293
10294         * tabular.h:
10295         * tabular.C (docbookRow): new function to export docbook code of a row.
10296         (DocBook): now honors the longtable flags.
10297
10298 2001-10-23  José Matos  <jamatos@fep.up.pt>
10299
10300         * LaTeXFeatures.h:
10301         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10302         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10303
10304         * buffer.C (makeLinuxDocFile):
10305         (makeDocBookFile): reworked the preamble, more clean, and with
10306         support for lyx defined entities. Changed the document declaration
10307         to be more XML friendly.
10308
10309         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10310         if we need to output XML that should be done with a filter.
10311
10312 2001-10-22  Juergen Vigna  <jug@sad.it>
10313
10314         * sp_pspell.h (class PSpell): add alive function needed in the
10315         controller to see if the spellchecker could be started.
10316
10317 2001-10-22  Juergen Vigna  <jug@sad.it>
10318
10319         * buffer.C (insertStringAsLines): modify the font for inserting
10320         chars in certain conditions by calling checkInsertChar(font).
10321
10322 2001-10-19  Juergen Vigna  <jug@sad.it>
10323
10324         * text.C (workWidth): use getRow instead of wrong algorithm.
10325         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10326
10327 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10328
10329         * lyxserver.h:
10330         * lyxserver.C:
10331         * lyx_main.h:
10332         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10333
10334 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10335
10336         * text.C (workWidth): do not search for the exact row when
10337         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10338         optimization for big documents.
10339
10340 2001-10-18  Juergen Vigna  <jug@sad.it>
10341
10342         * text.C (workWidth): new function with added Inset * parameter.
10343
10344 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10347
10348         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10349         change return type of getColumnNearX.
10350
10351
10352         * text.C (changeRegionCase): use uppercase/lowercase instead of
10353         toupper/tolower.
10354         (leftMargin):
10355         (rightMargin): simplify code by factoring out the uses of
10356         textclasslist.
10357         (labelFill):
10358         (numberOfHfills):
10359         (setHeightOfRow):
10360         (appendParagraph): use Paragraph::size_type
10361
10362 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * vspace.C (asLatexString): add a missing break
10365
10366 2001-10-15  Herbert Voss  <voss@perce.de>
10367
10368         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10369
10370 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10371
10372         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10373         is not available.
10374
10375 2001-10-10  André Pönitz <poenitz@gmx.net>
10376
10377         * lyxfunc.C: removed greek_kb_flag.
10378
10379 2001-10-10  Herbert Voss  <voss@perce.de>
10380
10381         * lyx_main.C: delete global string help_lyxdir.
10382
10383 2001-10-09  Herbert Voss  <voss@perce.de>
10384
10385         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10386
10387         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10388
10389         * lyx_main.C: added global string help_lyxdir.
10390
10391         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10392
10393 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10394
10395         * lyxrc.C (set_font_norm_type): support iso8859-4
10396
10397 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10398
10399         * LaTeX.C (deplog): add another regex for MikTeX
10400
10401 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10402
10403         * lyxrc.C (set_font_norm_type): support iso8859-3
10404
10405 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10408
10409         * LaTeXFeatures.C: remove special case of french and index
10410
10411         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10412         before \begin{document}). This solves several incompatibilities.
10413
10414 2001-10-03  Garst Reese  <reese@isn.net>
10415
10416         * lyx_cb.C: change CheckTex error msg.
10417
10418 2001-10-03  José Matos  <jamatos@fep.up.pt>
10419
10420         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10421
10422 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10423
10424         * .cvsignore: update
10425
10426         * lyx_main.C (commandLineVersionInfo): use new style version info.
10427
10428         * buffer.C (writeFile):
10429         (makeLaTeXFile):
10430         (makeLinuxDocFile):
10431         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10432
10433         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10434
10435         * version.h: update to use stuff in version.C
10436
10437         * version.C.in: new file. Contains version information determined
10438         at compile time. This is a merging of version.h and
10439         version_info.h.in.
10440
10441 2001-10-03  Juergen Vigna  <jug@sad.it>
10442
10443         * BufferView_pimpl.C (update): don't change "dirty" status in
10444         updateInset call.
10445
10446 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * WorkArea.C (c-tor): re-position version string slightly.
10449
10450 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10451
10452         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10453         revert to previous code.
10454
10455         WorkArea.[Ch]: (show, destroySplash): methods removed.
10456
10457         WorkArea.C: rework code so that it's an amalgam of the codes before and
10458         after the splash screen was moved to WorkArea.
10459
10460 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * lyxrc.C (read):
10463         * vspace.C (inPixels):
10464         (lyx_advance):
10465         * kbmap.C (bind):
10466         * buffer.C (insertStringAsLines):
10467         (asciiParagraph): fix types to be large enough
10468
10469         * lyxlex_pimpl.h: change member status from short to int
10470
10471         * layout.h: fix type of endlabeltype
10472
10473         * kbmap.C (bind):
10474         * kbsequence.C (parse): change return type to string::size_type
10475
10476         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10477         variable
10478
10479         * Bullet.C (bulletSize):
10480         (bulletEntry): do not use short ints as parameters
10481
10482         * BufferView2.C (insertLyXFile): change a char to an int.
10483
10484         * WorkArea.C (WorkArea): remove unneeded floats in computation
10485
10486 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10489
10490         * paragraph.C (asString): Do not ignore newline/hfill chars when
10491         copying to the clipboard.
10492
10493 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10494
10495         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10496         after a multi-line inset.
10497
10498 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * paragraph.C (validate): Set NeedLyXFootnoteCode
10501
10502 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10505         and decrease-error to decrease.
10506
10507 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10508
10509         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10510         it more readable (should be equivalent)
10511
10512 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10513
10514         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10515
10516 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10517
10518         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10519         of a cursor (row, etc.) after a character has been deleted
10520         (deleteEmptyParagraphMechanism): call the method above on _all_
10521         cursors held by the LyXText when a double space has been
10522         detected/deleted.
10523
10524 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10525
10526         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10527         pixmap.
10528         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10529
10530         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10531         background. Use greyOut() and the new show() methods to toggle between
10532         the foreground and background. Add code to remove the splash after
10533         its initial showing.
10534
10535         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10536         (create_forms): no longer call Dialogs::showSplash.
10537
10538 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10539
10540         * .cvsignore: add version_info.h
10541
10542 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10543
10544         * version_info.h.in: new file
10545
10546         * Makefile.am: add version_info.h.in
10547
10548         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10549         version_info.h instead of VERSION_INFO
10550
10551 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10552
10553         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10554         The ERT inset now returns string().
10555
10556 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10557
10558         * lyxtext.h, text.C (selectNextWord): renamed as
10559         selectNextWordToSpellcheck.
10560
10561         * text.C (selectNextWordToSpellcheck): Modified to not select
10562         words inside an ERT inset.
10563
10564 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * lyx_cb.C (MenuLayoutSave): change a bit the question
10567
10568         * sp_base.h: include <sys/types.h>
10569
10570 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10571
10572         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10573
10574 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10575
10576         * several files: fix typos in user-visible strings
10577
10578 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * text2.C (pasteSelection): do not set the selection, since it
10581         will be cleared later. Actually, the intent was to fix the way the
10582         selection was set, but I figured rmoving the code was just as good.
10583
10584 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10585
10586         * FontLoader.C (available): Check if font is available without
10587         loading the font.
10588
10589 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10590
10591         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10592
10593 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10594
10595         * lyxrc.[Ch]: added display_graphics variable and associated code.
10596
10597 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10598
10599         * bufferparams.C (hasClassDefaults): new method. Returns true if
10600         the buffer parameters correspond to known class defaults
10601
10602 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * XFormsView.C (show): set minimum size to the main window.
10605
10606 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * text2.C (copySelection):
10609         (cutSelection):
10610         * lyxfind.C (LyXReplace):
10611         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10612         LyXText::selectionAsString.
10613
10614         * paragraph.C (asString): add "label" argument to the second form
10615
10616         * text2.C (selectionAsString): add "label" argument and pass it to
10617         Paragraph::asString.
10618
10619 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * lyx_main.C (commandLineHelp): remove version information
10622
10623 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10624
10625         * lyx_main.C: add -version commandline option
10626
10627 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * paragraph.h: make the optional constructor arg required instead.
10630         some modifications to other files because of this.
10631
10632         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10633
10634         * lyxserver.C (C_LyXComm_callback): make it static
10635
10636         * lyx_main.C (error_handler): make it static
10637
10638         * lyx_gui.C (LyX_XErrHandler): make it static
10639
10640         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10641
10642         * WorkArea.C: make the extern "C" methods static.
10643
10644         * Makefile.am (lyx_LDADD): simplify
10645
10646 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10647
10648         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10649         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10650
10651         * LyXAction.C (init):
10652         * lyxfunc.C (dispatch): associated code removal.
10653
10654 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10655
10656         * lyxfont.h (isSymbolFont): shut off warning
10657
10658         * text.C (setHeightOfRow):
10659         (getVisibleRow): fix crash with empty paragraphs which have a
10660         bottom line
10661
10662 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10663
10664         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10665         code.
10666
10667 2001-09-04  José Matos  <jamatos@fep.up.pt>
10668         * buffer.C
10669         * buffer.h
10670         * tabular.C (docbook): rename docBook method to docbook.
10671
10672 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10673
10674         * Makefile.am: add dependencies to main.o.
10675
10676 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10677
10678         * FontLoader.C (available): Return false if !lyxrc.use_gui
10679
10680 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10681
10682         * FontInfo.C (query):
10683         * converter.C (view):
10684         * importer.C (Import):
10685         * exporter.C (Export): Can not -> cannot.
10686
10687 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * BufferView_pimpl.C: allow to create index inset even if
10690           string is empty
10691
10692 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * buffer.C (getLists): replace boost::tie code with an explicit pair
10695         as boost::tie can break some compilers.
10696
10697         * iterators.h: Added a std:: declaration to the return type of
10698         ParIterator::size.
10699
10700 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10703           case.
10704
10705 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * iterators.[Ch]: New files. Provide paragraph iterators.
10708
10709         * buffer.C (changeLanguage): Use paragraph iterators.
10710         (isMultiLingual): ditto
10711
10712         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10713
10714 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * FontLoader.C: Support for cmr font.
10717
10718 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10719
10720         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10721         (available): New method.
10722
10723         * FontInfo.C (getFontname): Use scalable fonts even when
10724         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10725         found.
10726
10727 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10728
10729         * converter.C (Formats::view): reverted! Incorrect fix.
10730
10731 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * converter.C (Formats::view): only output the -paper option
10734         if the dvi viewer is xdvi, thereby fixing bug #233429.
10735
10736 2001-08-23  Herbert Voss  <voss@perce>
10737
10738         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10739
10740 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10741
10742         * Spacing.h (Spacing): Set space to Default on in the default
10743         constructor.
10744
10745 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10746
10747         * vc-backend.h (RCS::versionString): add RCS to version
10748         (CVS::versionString): add CVS to version
10749
10750         * vc-backend.C (scanMaster): do not add CVS to version.
10751         (scanMaster): do not add RCS to version
10752
10753         * lyxvc.C (versionString): new method
10754
10755         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10756
10757 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * Spacing.C (set): initialize fval
10760
10761 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10762
10763         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10764         " or \.
10765
10766 2001-08-16  Juergen Vigna  <jug@sad.it>
10767
10768         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10769
10770 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * BufferView_pimpl.C:
10773         * figureForm.C:
10774         * lyxtext.h:
10775         * text2.C: setParagraph takes linespacing now
10776
10777 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * LyxAction.C: add internal LFUN_CITATION_INSERT
10780
10781         * LyXView.C: actually apply fix
10782
10783         * bufferlist.C: fix open non-existent file
10784
10785         * lyxfind.C: fix indentation
10786
10787         * lyxfunc.C: remove unneeded assert, fix typo
10788
10789 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * MenuBackend.C: use "Floatname List"
10792
10793 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10794
10795         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10796         when converting LaTeX layout to insetERT.
10797         Generate a non-collapsed float when reading old float
10798
10799 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10802         ERT insets.
10803
10804 2001-08-13  Juergen Vigna  <jug@sad.it>
10805
10806         * text.C (fill): return 0 instead of 20 as this seems to be the more
10807         correct value.
10808
10809 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10812         lyxrc.font_norm.
10813
10814 2001-08-13  Juergen Vigna  <jug@sad.it>
10815
10816         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10817         casesensitive off.
10818         (SearchBackward): comment out the unlocking of the inset_owner this
10819         should not be needed!
10820
10821 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * Many files: Remove inherit_language, and add latex_language
10824
10825         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10826         collapsible insets.
10827
10828 2001-08-10  Juergen Vigna  <jug@sad.it>
10829
10830         * text.C (prepareToPrint): fixed hfill-width in draw!
10831
10832         * BufferView2.C (selectLastWord): save the selection cursor as this
10833         now is cleared in the function LyXText::clearSelection!
10834
10835 2001-08-08  Juergen Vigna  <jug@sad.it>
10836
10837         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10838         BACKSPACE type functions.
10839
10840         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10841         is only cutted from the document but not put in the cut-buffer, where
10842         still the old stuff should be.
10843
10844         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10845
10846         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10847
10848         * tabular.C (SetWidthOfCell): fixed special case where the width
10849         was not updated!
10850         (LeftLine): handle '|' in align_special.
10851         (RightLine): ditto
10852         (LeftAlreadyDrawed): ditto
10853         (SetWidthOfCell): ditto
10854
10855 2001-08-07  Juergen Vigna  <jug@sad.it>
10856
10857         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10858
10859 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10862         * lyxlex.[hC]: ditto
10863
10864 2001-08-06  Juergen Vigna  <jug@sad.it>
10865
10866         * text.C (getVisibleRow): fix up row clearing a bit.
10867
10868 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * minibuffer.C: make sure the X server sees the changes in the input.
10871
10872 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10873
10874         * paragraph.C (getFont): split into...
10875         (getLabelFont): this
10876         (getLayoutFont): and this
10877         * paragraph_pimpl.C (realizeFont): calling this
10878
10879         * text2.C (getFont): split into...
10880         (getLayoutFont): this
10881         (getLabelFont): and this
10882         (realizeFont): all three calling this
10883
10884         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10885         files where used.
10886
10887 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10890
10891 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10892
10893         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10894         layouts from the Quote inset insertion.
10895
10896 2001-08-03  Juergen Vigna  <jug@sad.it>
10897
10898         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10899
10900         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10901         only if status not is already CHANGED_IN_DRAW (second level).
10902
10903         * text.C (draw): don't set the need_break_row when inside an
10904         InsetText LyXText.
10905
10906 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10907
10908         * buffer.C (parseSingleLyXformat2Token): handle more latex
10909         conversion cases.
10910
10911         * bufferview_funcs.[hC]: change function names to
10912         begin with small char, adjust other files.
10913
10914 2001-08-02  André Pönitz <poenitz@gmx.net>
10915
10916         * lyxfunc.C:
10917         BufferView_pimpl.C: remove broken special code for math-greek
10918
10919 2001-08-02  Juergen Vigna  <jug@sad.it>
10920
10921         * BufferView_pimpl.C (update): redone this function so that we
10922         update the text again if there was a CHANGE_IN_DRAW.
10923
10924         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10925         (drawFromTo): added a new internal bool which is used by draw() and
10926         redraw() function.
10927         (general): some cursor drawing problems fixed.
10928
10929 2001-08-01  Juergen Vigna  <jug@sad.it>
10930
10931         * lyxfind.C (LyXFind): fixed
10932         (SearchForward): ditto
10933         (SearchBackward): ditto
10934
10935         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10936         spurius drawing of the cursor in the main area.
10937
10938         * text2.C (status): small fix which could lead to a segfault!
10939         (clearSelection): remove unneeded BufferView param.
10940
10941 2001-08-01  André Pönitz <poenitz@gmx.net>
10942
10943         * lyxfunc.C: small change due to changed mathed interface
10944
10945 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10946
10947         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10948
10949 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxfunc.c: fail gracefully if file doesn't exist
10952
10953         * LyXSendto.C:
10954         * buffer.C:
10955         * lyxfunc.C:
10956         * BufferView_pimpl.C: IsDirWriteable() proto changed
10957
10958         * LyXView.C: fix updateWindowTitle() to store the last title
10959
10960 2001-07-31  Juergen Vigna  <jug@sad.it>
10961
10962         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10963         the font (wrong since using of Paragraph::highestFontInRange).
10964
10965         * paragraph.C (highestFontInRange): added a default_size parameter.
10966
10967         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10968         (setHeightOfRow): reformat
10969
10970 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * converter.[hC] + affected files: move to (inital-char)lowercase
10973         function names.
10974
10975         * ParagraphParameters.C (ParagraphParameters): remove commented code
10976
10977         * PainterBase.[Ch]: remove commented code
10978
10979         * LaTeXFeatures.h: add "bool floats" for float.sty
10980
10981         * LaTeXFeatures.C (LaTeXFeatures): init floats
10982         (require): handle float
10983         (getPackages): do it with floats
10984
10985 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10986
10987         * BufferView_pimpl.C (Dispatch): improve handling of
10988         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10989
10990         * commandtags.h: #include lyxfont.h here temporarily to avoid
10991         keybinding bug.
10992
10993         * bufferlist.h: include LString.h here.
10994
10995 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10996
10997         * text2.C (getStringToIndex): new method.
10998
10999 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11000
11001         * *: Reduced header file dependencies all over.
11002
11003 2001-07-30  Baruch Even  <baruch@lyx.org>
11004
11005         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11006
11007 2001-07-29  Baruch Even  <baruch@lyx.org>
11008
11009         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11010
11011 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * ParameterStruct.h (endif): add a default constructor to make
11014         sure that all variables is initialized.
11015
11016         * ParagraphParameters.C (ParagraphParameters): adjust
11017
11018 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11019
11020         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11021         index; also, check that there is something to index, and that it
11022         does not span over several paragraphs.
11023         (doubleClick): use WHOLE_WORD_STRICT for double click.
11024
11025         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11026
11027         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11028         scheme.
11029
11030 2001-07-26  Baruch Even  <baruch@lyx.org>
11031
11032         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11033         an InsetFig figure, backwards compatible reading of old figure code.
11034
11035 2001-07-27  Juergen Vigna  <jug@sad.it>
11036
11037         * text2.C: font.realize function adaption.
11038
11039         * text.C (draw): add a warnings lyxerr text if needed.
11040
11041         * layout.C: font.realize function adaption.
11042
11043         * language.C: add inherit_language and implement it's handlings
11044
11045         * bufferview_funcs.C (StyleReset): remove language parameter from
11046         font creation (should be language_inherit now).
11047
11048         * bufferparams.C (writeFile): handle ignore_language.
11049
11050         * paragraph.C (getFontSettings): the language has to be resolved
11051         otherwise we have problems in LyXFont!
11052
11053         * lyxfont.C (lyxWriteChanges): added document_language parameter
11054         (update): removed unneeded language parameter
11055
11056         * paragraph.C (validate): fixed wrong output of color-package when
11057         using interface colors for certain fonts in certain environments,
11058         which should not seen as that on the final output.
11059
11060 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * BufferView_pimpl.C:
11063         * Thesaurus.h:
11064         * Thesaurus.C:
11065         * Makefile.am:
11066         * commandtags.h:
11067         * LyXAction.C: add thesaurus support
11068
11069         * lyxfind.h:
11070         * lyxfind.C: add "once" parameter, for thesaurus, to not
11071           move to the next match
11072
11073 2001-07-26  Juergen Vigna  <jug@sad.it>
11074
11075         * lyxfont.C (realize): honor ignore_language too!
11076         (resolved): ditto.
11077
11078         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11079
11080         * text.C (draw): one place more for ignore_language to not draw
11081         itself!
11082
11083 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11086
11087 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11090         the minipage conversion problem.
11091
11092 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11095         insert an inset.
11096
11097 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * BufferView.h: don't forward declare WorkArea
11100
11101         * BufferView.C: don't include WorkArea.h
11102
11103 2001-07-25  André Pönitz <poenitz@gmx.net>
11104
11105         * commandtags.h:
11106         * LyXAction.C:
11107         * lyxfunc.C:  new LFUN 'math-space'
11108
11109         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11110
11111 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * text2.C (toggleInset): call open/close
11114
11115 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * lyxfunc.C (dispatch): add debug for the disabled case
11118
11119         * font.C (buttonText): make similar to rectText
11120
11121         * buffer.C (readInset): comment out parsing of insetlist and
11122         insttheorem
11123
11124         * PainterBase.C (rectText): small correction
11125
11126         * BufferView_pimpl.C: comment out insettheorem and insetlist
11127         * LyXAction.C: ditto
11128         * commandtags.h: ditto
11129
11130 2001-07-24  Juergen Vigna  <jug@sad.it>
11131
11132         * text.C (draw): honor the ignore_language.
11133
11134         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11135
11136 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11137
11138         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11139         char inset.
11140
11141 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11142
11143         * lyxtext.h: remove unused (and unimplemented) methods
11144
11145 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11146
11147         * text.C (getVisibleRow): honor background color
11148
11149         * PainterBase.h:
11150         * Painter.h: remove default color argument for fillRectangle
11151
11152         * text.C (backgroundColor): new method
11153
11154 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11155
11156         * text.C (getVisibleRow): adjust
11157
11158         * font.[Ch] (rectText): new method, metrics
11159         (buttonText): new method, metrics
11160
11161         * PainterBase.[hC]: make rectText and buttonText always draw and take
11162         fewer paramteres.
11163
11164 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11165
11166         * ToolbarDefaults.C (read):
11167         * MenuBackend.C (read): allow escaping in all strings
11168
11169         * BufferView_pimpl.C (insertAndEditInset): new method.
11170         (Dispatch): use insertAndEditInset whenever appropriate.
11171
11172         * BufferView_pimpl.C (insertNote): removed
11173
11174         * BufferView_pimpl.C (smartQuote): new method, moved from
11175         BufferView; if an insetquote cannot be inserted, insert a '"'
11176         character instead.
11177
11178         * BufferView2.C: remove insertCorrectQuote();
11179
11180         * lyxfunc.C (getStatus): Add support for all remaingin
11181         inset-insert lfuns.
11182
11183         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11184
11185         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11186         command (necessary to pass " as parameter of self-insert.
11187
11188         * text.C (selectWordWhenUnderCursor):
11189         (selectWord): add word_location parameter
11190         (selectWordWhenUnderCursor): same + remove special code for word
11191         boundary.
11192         (selectNextWord): use kind() to guess type of insetspecialchar,
11193         not latex().
11194
11195         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11196         (insertErtContents): create ert insets as collapsed.
11197         (readInset): better compatibility code for Info inset.
11198
11199 2001-07-20  Juergen Vigna  <jug@sad.it>
11200
11201         * lyxfunc.C (dispatch): use always LyXFind now!
11202
11203         * text2.C (init): add a reinit flag so that the LyXText can be
11204         reinited instead of deleted and reallocated (used in InsetText).
11205
11206         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11207
11208         * text.C: ditto
11209
11210         * text2.C: ditto
11211
11212 2001-07-18  Juergen Vigna  <jug@sad.it>
11213
11214         * text.C (selectNextWord): handle insets inside inset by calling
11215         always the bv->text functions so that we can go up the_locking_inset!
11216
11217         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11218         in strange locations when inside an inset!
11219
11220         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11221         handling to include insets.
11222
11223         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11224
11225 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * LyXAction.C (init):
11228         * commandtags.h:
11229         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11230         LIGATURE_BREAK, since the name is so stupid.
11231
11232 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11235         InsetInfos.
11236
11237         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11238
11239         * sp_form.[Ch]: remove.
11240
11241         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11242
11243         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11244         InsetInfo.
11245
11246         * src/buffer.C (readInset): ditto.
11247
11248 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11249
11250         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11251         menuSeparator(), endOfSentenceDot(), ldots() and
11252         hyphenationPoint(), which are therefore removed.
11253         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11254
11255         * LyXAction.C (init):
11256         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11257
11258         * paragraph.C (getWord): removed.
11259
11260         * BufferView_pimpl.C (Dispatch): use last word or selection for
11261         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11262
11263         * lyx_main.C (queryUserLyXDir): do not ask before creating
11264         user_dir, except if it has been named explicitely.
11265
11266 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11269         a document of zero size.
11270
11271 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11272
11273         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11274         approriately in the c-tor and in require().
11275         (getPackages): output the appropriate LaTeX for natbib support.
11276
11277         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11278         variables "use_natbib" and "use_numerical_citations" when reading the
11279         LyX file.
11280         (readInset): read the various natbib cite commands.
11281         (validate): white-space change.
11282
11283         * bufferparams.[Ch]: new variables "bool use_natbib" and
11284         "bool use_numerical_citations".
11285         (writeFile): output them in the LyX file.
11286
11287 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11288
11289         * lyxfunc.C (getStatus): add support for all the inset insertion
11290         commands.
11291
11292         * text2.C (insertInset):
11293         * paragraph.C (insetAllowed):
11294         * BufferView_pimpl.C (insertInset): update to take in account the
11295         renaming of insertInsetAllowed
11296
11297         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11298
11299         * text2.C (getInset): new method. returns inset at cursor position.
11300
11301         * BufferView_pimpl.C (Dispatch): changes because of this.
11302
11303         * LyXAction.C (init): rename open-stuff to inset-toggle.
11304
11305         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11306
11307         * text2.C (toggleInset): renamed from openStuff; use
11308         Inset::open().
11309
11310 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11311
11312         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11313
11314         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11315
11316 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * buffer.C (readLyXformat2): Add filename to the error dialog
11319
11320 2001-07-18  Juergen Vigna  <jug@sad.it>
11321
11322         * tabular.C (GetCellNumber): put an assert here instead of the check!
11323
11324 2001-07-17  Juergen Vigna  <jug@sad.it>
11325
11326         * BufferView_pimpl.C (toggleSelection): adapted too.
11327
11328         * text.C (selectNextWord): adapted for use with insets.
11329         (selectSelectedWord): ditto
11330
11331 2001-07-17  Juergen Vigna  <jug@sad.it>
11332
11333         * sp_spell.C (PSpell): fix initialitation order.
11334
11335 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * paragraph.C: spacing
11338
11339 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11340
11341         * sp_spell.C: repair language selection for pspell
11342
11343 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * lyxfunc.h: change more methods to begin with lower char.
11346
11347 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11350         for unknown layouts.
11351
11352 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * buffer.C (readLyXformat2): Generate an error dialog if there are
11355         unknown layouts.
11356
11357 2001-07-16  Juergen Vigna  <jug@sad.it>
11358
11359         * sp_spell.C: always compile ISpell part.
11360
11361         * lyxrc.C: added use_pspell entry and it's handling.
11362
11363 2001-07-13  Juergen Vigna  <jug@sad.it>
11364
11365         * sp_spell.C: removed double includes.
11366
11367 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11368
11369         Consistent use of Lsstream.h:
11370         * Lsstream.h: added using std::stringstream for consistencies sake.
11371
11372         * buffer.C: removed using std::stringstream
11373
11374         * lyxfont.C (stateText):
11375         * paragraph.C (asString):
11376         * text.C (selectNextWord, selectSelectedWord):
11377         * text2.C (setCounter):
11378         * vspace.C (asString, asLatexString):
11379         std::ostringstream -> ostringstream.
11380
11381 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11382
11383         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11384         * commandtags.h: add LFUN_HELP_ABOUTLYX
11385         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11386
11387 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11388
11389         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11390         cursorToggle()
11391         * lyx_gui_misc.C: remove spellchecker
11392         * lyxfunc.C: showSpellchecker
11393         * sp_base.h: added
11394         * sp_ispell.h: added
11395         * sp_pspell.h: added
11396         * sp_spell.C: added
11397         * sp_form.[Ch]: removed
11398         * spellchecker.[Ch]: removed
11399
11400 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11401
11402         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11403         is set.
11404         (simpleTeXSpecialChars): Simply print the input character without
11405         any special translation if pass_thru is set.
11406
11407         * layout.h: Added bool pass_thru to layout class for being able to
11408         implement pass through of a paragraph for Literate Programming.
11409
11410         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11411         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11412         * layout.C (Read): add "passthru" to list of layout tags and add
11413         code to set the pass_thru boolean when it is read.
11414
11415 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * trans_decl.h: remove allowed from KmodInfo
11418
11419         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11420         remove allowed code
11421         (Load): adjust
11422
11423         * paragraph_pimpl.C (erase): use boost::prior
11424
11425         * Painter.C (text): use data() instead of c_str() when length is
11426         also provided.
11427         * WorkArea.C (putClipboard): ditto
11428         * font.h (width): ditto
11429
11430         * BufferView2.C: use it-> instead of (*it). for iterators
11431         * texrow.C: ditto
11432         * paragraph_pimpl.C: ditto
11433         * paragraph.C: ditto
11434         * minibuffer.C: ditto
11435         * language.C: ditto
11436         * kbmap.C: ditto
11437         * encoding.C: ditto
11438         * counters.C: ditto
11439         * converter.C: ditto
11440         * chset.C: ditto
11441         * Variables.C: ditto
11442         * TextCache.C: ditto
11443         * MenuBackend.C: ditto
11444         * LyXAction.C: ditto
11445         * LColor.C: ditto
11446         * FloatList.C: ditto
11447         * DepTable.C: ditto
11448         * ColorHandler.C (LyXColorHandler): ditto
11449
11450 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11451
11452         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11453
11454         * text2.C (openStuff): reintroduce this method (which had been
11455         nuked in NEW_INSETS frenzy).
11456
11457         * lyxfunc.C (Dispatch): when an action has not been handled, use
11458         its name in the error message, not its number.
11459
11460         * paragraph.C (inInset): change method name to begin with lowercase.
11461
11462         * undo_funcs.C:
11463         * text2.C: updates because of this.
11464
11465 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11466
11467         * ToolbarDefaults.C (add): add spaces in error message
11468
11469 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11472         (readLyXformat2): rename return_par to first_par, use lyxlex's
11473         pushToken and remove the manual push handling.
11474         (parseSingleLyXformat2Token): add another ert comp. variable:
11475         in_tabular, rename return_par to first_par. handle newlines better
11476
11477 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11480
11481 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * text2.C (getParFromID): removed
11484
11485         * buffer.C (getParFromID): new method moved form lyxtext.
11486         * BufferView2.C (insertErrors): adjust
11487         (setCursorFromRow): adjust
11488         * BufferView_pimpl.C (restorePosition): adjust
11489         * lyxfunc.C (Dispatch): adjust
11490         * undo_funcs.C (textUndo): adjust
11491         (textRedo): adjust
11492         (textHandleUndo): adjust
11493         (textHandleUndo): adjust
11494
11495 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * buffer.C: up' the LYX_FORMAT
11498
11499         * lyxfont.h: turn NO_LATEX on as default
11500
11501         * buffer.C (insertErtContents): new methods of tex style compability.
11502         (parseSingleLyXformat2Token): use it several places.
11503         * tabular.C (OldFormatRead): and here
11504
11505 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * text2.C: remove some commented code.
11508         reindent file.
11509
11510         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11511         * trans.C: changes because of the above.
11512
11513 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * text2.C (setCounter): Fix counters bug with bibliography layout.
11516
11517 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11520         own member functions
11521         (simpleTeXSpecialChars): ditto
11522
11523 2001-07-06  Juergen Vigna  <jug@sad.it>
11524
11525         * a lot of files: changed the access to LyXText::status and the
11526         call of undo-functions.
11527
11528         * undo.[Ch]: added a inset_id to the undo informations.
11529
11530         * undo_funcs.[Ch]: added and moved here all undo functions.
11531
11532         * lyxtext.h: give the status enum a weight, made status_ a private
11533         variable and made accessor functions for it, removed the whole bunch
11534         of undo-functions as they are now in their own file, make some
11535         functions publically available. Added function ownerParagraph with
11536         int parameter.
11537
11538         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11539         made InInset() a const function, added getParFromID() function.
11540
11541         * buffer.[Ch]: added const version for inset_iterator functions,
11542         added getInsetFromID() function.
11543
11544         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11545         changed undo functions for new version.
11546
11547 2001-07-05  Juergen Vigna  <jug@sad.it>
11548
11549         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11550         unknow mechanism does not call the proper constructor but only this
11551         one also if I request the other!?
11552
11553 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11556
11557         * text2.C (LyXText): use initialization lists.
11558
11559         * lyxtext.h (Selection): initialize set_ and mark_
11560         (init): remove method
11561
11562 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11565
11566 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * screen.[Ch]: change method names to begin with lowercase
11569
11570         * BufferView_pimpl.C (updateScrollbar): simplify further and
11571         hopefully make it a bit faster.
11572
11573 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11576         calling directly xforms functions.
11577
11578         * Painter.C (Painter):
11579         * lyx_cb.C (MenuWrite):
11580         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11581         fl_display.
11582
11583         * lyx_gui.C: remove bogus guiruntime extern declaration.
11584
11585 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11588         in NEW_INSETS
11589         (redoDrawingOfParagraph): ditto
11590         (redoParagraphs): ditto
11591         (cutSelection): don't create a object for CutAndPaste use the
11592         static method directly
11593         (pasteSelection): ditto
11594
11595         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11596         LyXview (+ rename)
11597
11598 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * modifications to some other files because of this.
11601
11602         * Makefile.am (lyx_SOURCES): add XFormsView
11603
11604         * XFormsView.[Ch]: new files
11605
11606         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11607         the main window. Move the gui dependent stuff to XFormsView
11608
11609 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11610
11611         * tabular.C (GetCellInset): update cur_cell also in the row/col
11612         version of this function.
11613
11614         * lyxfunc.C: no need to include figure_form.h here.
11615
11616         * FontLoader.h:
11617         * lyxfunc.h:
11618         * lyxscreen.h:
11619         * text2.C:
11620         * lyxvc.C: no need to include forms.h here.
11621
11622 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11623
11624         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11625
11626         * lyxfunc.C (Dispatch):
11627         * Spacing.C (set):
11628         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11629         constructor argument.
11630
11631 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * paragraph.C (Paragraph): dont't clear, and just set layout.
11634         (makeSameLayout): use params's copy contructor.
11635
11636         * ParagraphParameters.[Ch] (makeSame): delete method
11637
11638 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * Variables.[Ch]: fix indentation, rename set to isSet
11641
11642 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11643
11644         * lyxfunc.C (Dispatch): fix typo
11645
11646 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11649         upper_bound.
11650
11651         * bufferlist.C: include assert.h for emergencyWrite().
11652
11653 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11656           give up at last (bug #425202) !
11657
11658 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * lyx_gui_misc.C:
11661         * sp_form.h:
11662         * sp_form.C:
11663         * spellchecker.h:
11664         * spellchecker.C: strip spellchecker options and bring up
11665           preferences tab instead
11666
11667 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11668
11669         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11670         the istringstream constructor
11671
11672 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11673
11674         * paragraph.C (getLayout): fix return value
11675
11676         * paragraph.h: do not declare getLayout as inline.
11677
11678         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11679
11680 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * lyxcursor.h (operator<): new func
11683         (operator>): new func
11684         (operator>=): new func
11685         (operator<=): new func
11686
11687         * text.C (changeCase): use selection.start and selection.end
11688         (changeRegionCase): require from to be <= to. Require par to be a
11689         valid paragraph.
11690
11691         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11692
11693 2001-06-27  Juergen Vigna  <jug@sad.it>
11694
11695         * text.C (cursorLeftOneWord): changed to return the cursor and added
11696         overlay with BufferView * parameter which calls this one.
11697         (getWord): added
11698         (selectWord): use new getWord function.
11699         (changeCase): renamed from changeWordCase as and extended to work
11700         also on selections.
11701
11702         * lyxtext.h: added enum word_location
11703
11704         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11705         changeCase as this operates now also on selections.
11706
11707 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11708
11709         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11710
11711         * many files: send debug output to Debug::INFO instead of
11712         Debug::ANY.
11713
11714         * converter.C (View):
11715         (Convert):
11716         (Move): send debug output to Debug::FILES instead of console.
11717
11718 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11719
11720         * lyxfunc.C (getStatus): use func_status
11721
11722         * func_status.h: new header, describing the results of
11723         LyXFunc::getStatus;
11724
11725         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11726         LFUN_MATH_HALIGN.
11727
11728 2001-06-25  The LyX Project  <jug@sad.it>
11729
11730         * buffer.C (sgmlOpenTag):
11731         (sgmlCloseTag):
11732         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11733
11734 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * text2.C: remove some dead code
11737
11738         * tabular.C (GetCellInset): store the last cell checked (gotten)
11739
11740         * tabular.h: add the helper for the speedup
11741
11742         * lyxtext.h: remove some dead code
11743
11744 2001-06-26  The LyX Project  <Asger>
11745
11746         * paragraph.C: Change export to LaTeX of alignment to
11747         \begin{center} and family for better roundtrip work with reLyX.
11748
11749         * Tune the math drawing a bit.
11750
11751 2001-06-25  The LyX Project  <Asger>
11752
11753         * LColor.C (LColor): New color for math background. New color
11754         for buttons.
11755
11756 2001-06-25  The LyX Project  <jug@sad.it>
11757
11758         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11759
11760         * lyxfunc.C (Open):
11761         * bufferlist.C (newFile): do not restrict to files ending with
11762         .lyx
11763
11764         * BufferView_pimpl.C (MenuInsertLyXFile):
11765
11766 2001-06-24  The LyX Project  <jug@sad.it>
11767
11768         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11769         of compare_no_case
11770
11771 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * lyxtext.h: rename most methods to begin with a small char.
11774         Lots of changes because of this.
11775
11776         * paragraph.C (Paragraph): do not call fitToSize
11777         (erase): call Pimpl::erase
11778         (insertChar): call Pimpl::insertChar
11779         (insertInset): call Pipl::insertInset
11780         (breakParagraph): do not call fitToSize
11781         (breakParagraphConservative): do not call fitToSize
11782         (fitToSize): remove method
11783
11784         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11785
11786 2001-06-24  The LyX Project  <Asger>
11787
11788         * Fix Qt compilation^2
11789
11790 2001-06-24  The LyX Project  <jug@sad.it>
11791
11792         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11793         depthHook(getDepth()-1).
11794
11795         * paragraph.h:
11796         * ParagraphParameters.h:
11797         * ParameterStruct.h: change type of depth to unsigned int ==
11798         depth_type. Many adaptations to other files before of that.
11799
11800 2001-06-24  The LyX Project  <Asger>
11801
11802         * Fix Qt compilation.
11803
11804 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11805
11806         * paragraph.h: renamed several methods to begin with small letter.
11807         several changes to many parts of the code because of this.
11808
11809 2001-06-23  The LyX Project  <jug@sad.it>
11810
11811         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11812         rewritten to discard all double spaces when KeepEmpty is off
11813         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11814         to only handle newlines but not fiddle with spaces and friends.
11815
11816         * lyxfunc.C (MenuNew): when doing 'new from template', use
11817         template_path as default directory
11818
11819 2001-06-23  The LyX Project  <Asger>
11820
11821         * Clean-up of header file includes all over
11822         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11823
11824 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * paragraph.h: renamed from lyxparagraph.h
11827
11828 2001-06-23  Asger  <lyx@violet.home.sad.it>
11829
11830         * Buffer.h: Removed Buffer::resize
11831         * BufferList.h: Removed BufferList::resize
11832         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11833         the document lazily when we change the width, or the font settings.
11834
11835 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11838
11839 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * buffer.h: remove out of date comment
11842
11843 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * lyxscreen.h:
11846         * screen.C: fix "theoretical" GC leak
11847
11848 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * LaTeX.C (scanAuxFile):
11851         (deplog): remove trailing \r when reading stream (useful under
11852         win32)
11853
11854 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11857         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11858         and BufferView::theLockingInset(Inset*), so should use them and not
11859         access bv_->text->the_locking_inset directly.
11860
11861         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11862
11863 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * Makefile.am:
11866         * tex-defs.h: remove old unused file
11867
11868 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * BufferView_pimpl.C: fix typo, remove minibuffer message
11871           when buffer has loaded
11872
11873 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * lyxfunc.C (Dispatch): use stringstream
11876         (MenuNew): use stringstream
11877         (Open): use stringstream
11878
11879         * importer.C (Import): use stringstream
11880
11881         * bufferview_funcs.C (CurrentState): use stringstream
11882
11883         * LaTeX.C (run): use stringstream
11884
11885         * BufferView_pimpl.C (savePosition): use stringstream
11886         (restorePosition): use stringstream
11887         (MenuInsertLyXFile): use stringstream
11888
11889 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11890
11891         * BufferView.C:
11892         * Bullet.C:
11893         * ColorHandler.C:
11894         * FontInfo.C:
11895         * FontLoader.C:
11896         * LColor.C:
11897         * LaTeXFeatures.C:
11898         * Painter.C:
11899         * gettext.C:
11900         * lyx_gui_misc.C:
11901         * lyxserver.C:
11902         * vspace.C: removed // -*- C++ -*- as first line.
11903
11904         * lyxfind.h:
11905         * version.h: added // -*- C++ -*- as first line.
11906
11907 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11908
11909         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11910
11911         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11912         of string
11913
11914 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11917         of floats.
11918
11919 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * gettext.C: include LString.h even when --disable-nls is on.
11922
11923 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11924
11925         * converter.h (Get): changed argument type from int to
11926         FormatList::size_type to avoid unnecessary conversion.
11927
11928         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11929         before using it.
11930
11931 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11932
11933         * gettext.h: include LString.h even when --disable-nls is on.
11934
11935 2001-06-07  Juergen Vigna  <jug@sad.it>
11936
11937         * text.C (BreakAgain): subst spaces with tabs.
11938
11939         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11940         (resizeInsetsLyXText): set force on resizeLyXText.
11941
11942 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11943
11944         * gettext.h (gettext_init):
11945         (locale_init): use a real definition instead of a macro
11946
11947 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * Bufferview_pimpl.C:
11950         * LColor.h:
11951         * LColor.C: further lcolor tidies
11952
11953 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * BufferView_pimpl.C (updateScrollbar): simplify.
11956
11957         * BufferView2.C: don't include insets/insetinfo.h, change
11958         prototype for insertInset and call the Pimpl version. let
11959         updateInset call Pimpl version.
11960
11961         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11962         gotoInset to BufferView::Pimpl
11963
11964 2001-06-01  Juergen Vigna  <jug@sad.it>
11965
11966         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11967         inside a LockingInset (is the update needed at all?).
11968
11969 2001-05-31  Juergen Vigna  <jug@sad.it>
11970
11971         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11972         here not the old one otherwise how should we compare it afterwards
11973         if it's the same!
11974
11975 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * lyxfont.C:
11978         * tabular.C:
11979         * tabular-old.C:
11980         * FontInfo.C: bring C functions into global namespace when
11981         necessary
11982
11983 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * LString.h: make sure config.h has been loaded before LString.h.
11986
11987         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11988         (one for each char read by EatLine!).
11989
11990         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11991         variables.
11992
11993 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11994
11995         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11996         to the same as the par we break from
11997
11998 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12001
12002         * MenuBackend.C (expand): also create menu entries for wide
12003         versions of the floats.
12004
12005         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12006
12007         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12008
12009         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12010         frontends/Makefile.am
12011
12012         * text2.C: adjust
12013         * text.C: adjust
12014
12015
12016         * tabular.C (getTokenValue): add std::
12017
12018         * tabular-old.C (getTokenValue): add std::
12019         (getTokenValue): ditto
12020         (getTokenValue): ditto
12021
12022         * screen.C (ToggleSelection): adjust
12023
12024         * lyxtext.h: put selection cursors inside a Selection struct.
12025
12026         * lyxfunc.C (moveCursorUpdate): adjust
12027
12028         * lyxfont.C (latexWriteStartChanges): add std::
12029
12030         * lyxfind.C: adjust
12031
12032         * font.h: delete with(char const *, LyXFont const &)
12033
12034         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12035
12036         * FontInfo.C (getFontname): add std::
12037
12038         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12039         (workAreaButtonPress): adjust
12040         (tripleClick): adjust
12041         (update): adjust
12042         (moveCursorUpdate): adjust
12043         (Dispatch): adjust
12044
12045         * BufferView2.C (gotoInset): adjust
12046
12047 2001-05-30  Juergen Vigna  <jug@sad.it>
12048
12049         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12050         to check pspell I add this as default as I now have new pspell
12051         libraries and they seem to use this.
12052
12053 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * text2.C (CutSelection): make the cursor valid before the call to
12056         ClearSelection.
12057
12058 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12059
12060         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12061         relied on 0 terminated strings and other horrors. Bug found due to
12062         the new assert in lyxstring!
12063
12064         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12065         KP_ keys.
12066
12067 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12070         to latinkeys.bind.
12071
12072         * lyxfunc.C (processKeySym): change method of getting to the
12073         self-insert char.
12074
12075         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12076         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12077         * BufferView_pimpl.[Ch]: here as private methods.
12078
12079 2001-05-28  Juergen Vigna  <jug@sad.it>
12080
12081         * text.C (SetHeightOfRow): added the update() call again as it is
12082         needed to initialize inset dimensions!
12083
12084 2001-05-16  Juergen Vigna  <jug@sad.it>
12085
12086         * text2.C (SetCharFont): Add new function with BufferView * and
12087         bool toggleall parameters for setting insets internal fonts.
12088         (SetFont): Freeze the undo as we may change fonts in Insets and
12089         all this change should be inside only one Undo!
12090
12091         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12092         setting font's in insets as for them we have the SetFont function!
12093
12094 2001-05-15  Juergen Vigna  <jug@sad.it>
12095
12096         * text2.C (ClearSelection): to be sure we REALLY don't have any
12097         selection anymore!
12098
12099         * tabular.C (TeXCellPreamble): fixed the left border problem for
12100         multicolumn cells.
12101
12102 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12103
12104         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12105         dependancy file
12106
12107 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12110         LFUN_BREAKPARAGRAPH.
12111
12112         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12113         help test to "internal only", similar for LFUN_INSERT_URL
12114
12115         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12116         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12117         auto_region_delete and deadkeys.
12118
12119 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * LColor.h:
12122         * LColor.C: remove some dead entries, tidy a little
12123
12124 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12127         commented code.
12128         (Dispatch): implement LFUN_ESCAPE
12129
12130         * commandtags.h: add LFUN_ESCAPE
12131
12132         * LyXAction.C (init): add entry for LFUN_ESCAPE
12133
12134         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12135         Remove commented code.
12136         (insertNote): moved here
12137         (open_new_inset): moved here
12138
12139         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12140         BufferView_pimpl
12141
12142 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12143
12144         * kbmap.C (findbinding): clean it up and make it work correctly.
12145
12146         * lyx_main.C (init): do not pass argc and argv as parameters
12147
12148 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12149
12150         * buffer.C: fix path for OS/2 & Win32
12151
12152         * lyx_gui.C:
12153         * lyx_main:
12154         * lyx_main.C: Added os:: class.
12155
12156         * os2_defines.h: update
12157
12158 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12161         better by trying again with reduced state.
12162
12163 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12164
12165         * lyxrc.C (read): print error about invalid key sequence only when
12166         debugging (because not all latinX keysyms are known to some X
12167         servers)
12168
12169         * kbsequence.C (getiso): add a few std:: qualifiers
12170         (getiso): comment out extra return statement.
12171
12172 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12175         handling.
12176         (Dispatch): enhance the accent inset a bit. (not perfect)
12177
12178 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12181
12182 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * bufferlist.C (emergencyWrite): fix assert() call
12185
12186 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12187
12188         * text.C (InsertChar): Added trivial patch to only send the "you
12189         can not do multiple spaces this way" message once during a
12190         session.
12191
12192 2001-05-08  Baruch Even  <baruch@lyx.org>
12193
12194         * Makefile.am: Changed order of libraries to get LyX to link properly
12195         with the gnome frontend.
12196
12197 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12198
12199         * LaTeXFeatures.h: add a std:: qualifier
12200
12201 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * paragraph.C (String): use stringstream
12204
12205 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * paragraph.C (writeFile): remove footflag arg
12208
12209         * buffer.C (makeLaTeXFile): use stringstream
12210         (latexParagraphs): remove footnot gurba
12211
12212         * LaTeXFeatures.C (getPackages): use stringstream
12213         (getMacros): likewise
12214         (getTClassPreamble): likewise
12215         (getFloatDefinitions): new method
12216
12217         * paragraph.C (writeFile): reindent
12218         (Erase): reindent
12219
12220         * WorkArea.h: revert the xpos + etc changes.
12221
12222         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12223
12224         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12225
12226         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12227         (pasteSelection): likewise
12228         * text2.C (CreateUndo): likewise
12229
12230 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * minibuffer.C (peek_event): temporarily reduce the functionality
12233         of the minibuffer (to allow args on lfuns)
12234
12235         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12236         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12237
12238         * buffer.C (readInset): add compability reading of old float
12239         lists, add reading of new style float list.
12240         (readInset): avoid reevaluation of inscmd.getCmdName()
12241         (getLists): reindent
12242
12243         * MenuBackend.C (MenuItem): implement parsing of
12244         md_floatlistinsert and md_floatinsert.
12245         (expand::LastFiles): move initalizaton of iterators out of loop,
12246         avoid reevaluation.
12247         (expand::Documents): introduce typdedef vector<string> Strings,
12248         and use it.
12249         (expand::ExportFormats): introduce typedef vector<Format const *>
12250         Formats, and use it.
12251         (expand): implement FloatListInsert and FloatInsert.
12252
12253         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12254         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12255         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12256
12257         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12258         handling.
12259         (Dispatch::LFUN_FLOAT_LIST): implement
12260
12261 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12262
12263         * LaTeX.C (run): Fix problem with --export code.
12264
12265 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12266
12267         * BufferView.[Ch] (workarea): removed.
12268         (getClipboard) new method; wrapper for workarea()->getClipboard()
12269
12270         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12271         bug.
12272
12273         * WorkArea.h (width, height, xpos, ypos): These methods all
12274         returned the dimensions of the work_area sub-area of WorkArea,
12275         resulting in a position error if the WorkArea were resized. Now
12276         return the dimensions of the entire WorkArea.
12277
12278         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12279
12280 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12281
12282         * LaTeX.C (deplog): correct the syntax of regex reg1
12283
12284 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12285
12286         * undo.C: remove !NEW_INSETS cruft
12287
12288 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12289
12290         * text2.C: remove !NEW_INSETS cruft
12291
12292         * text.C: remove !NEW_INSETS cruft
12293
12294         * tabular.C: remove !NEW_INSETS cruft
12295
12296         * spellchecker.C: remove !NEW_INSETS cruft
12297
12298         * lyxtext.h: remove !NEW_INSETS cruft
12299
12300         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12301
12302         * lyxfunc.C: remove !NEW_INSETS cruft
12303
12304         * lyxfind.C: remove !NEW_INSETS cruft
12305
12306         * lyx_cb.C: remove !NEW_INSETS cruft
12307
12308         * figureForm.C: remove  !NEW_INSETS cruft
12309
12310         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12311
12312         * buffer.[Ch]: remove !NEW_INSETS cruft
12313
12314         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12315
12316         * CutAndPaste.C: remove !NEW_INSETS cruft
12317
12318         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12319
12320         * BufferView2.C: remove !NEW_INSETS cruft
12321
12322         * BufferView.h: remove !NEW_INSETS cruft
12323
12324 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * Lsstream.h: include LString.h before the sstream headers to
12327         fix problem with gcc 2.95.3 and lyxstring
12328
12329 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * lyx_main.C: add using directives when needed for C functions
12332         declared in std:: namespace.
12333
12334 2001-04-27  Juergen Vigna  <jug@sad.it>
12335
12336         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12337         (SetHeightOfRow): comment out the update call should not be needed!
12338
12339 2001-04-13  Juergen Vigna  <jug@sad.it>
12340
12341         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12342         (LyXTabular): tried to minimize operator= operations (and realized
12343         hopfully Lars wish).
12344
12345 2001-04-27  Juergen Vigna  <jug@sad.it>
12346
12347         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12348
12349 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12352
12353         * buffer.C (readInset): hack to make listof algorithm work
12354
12355         * BufferView_pimpl.C: hack to make listof algorithm work
12356
12357 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * LyXAction.C: removed all !NEW_INSETS cruft
12360         (init): moved lfun_item in method
12361
12362         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12363
12364 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12365
12366         * BufferView2.C (theLockingInset): white space.
12367
12368 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * minibuffer.C: include <iostream>
12371
12372         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12373
12374         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12375
12376         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12377
12378         * text.[Ch] (TransposeChars): new method
12379
12380 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * call message directly through LyXView instead of through LyXFunc
12383         * BufferView2.C: adjust
12384         * BufferView_pimpl.C: adjust
12385         * FontLoader.C: adjust
12386         * buffer.C: adjust
12387         * bufferview_funcs.C: adjust
12388         * converter.C: adjust
12389         * figureForm.C: adjust
12390         * importer.C: adjust
12391         * lyx_cb.C: adjust
12392         * lyx_gui_misc.C: adjust
12393         * lyxfunc.C: adjust
12394         * lyxvc.C: adjust
12395         * text2.C: adjust
12396         + more files in subdirs
12397
12398         * lyxparagraph.h (size): move up int file
12399         (GetLayout): ditto
12400
12401         * adjust all uses of Assert to lyx::Assert.
12402
12403         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12404         lyxfunctional in namespace lyx
12405         * layout.C (hasLayout): ditto
12406         (GetLayout): ditto
12407         (GetLayout): ditto
12408         (delete_layout): ditto
12409         (NumberOfClass): ditto
12410         * converter.C (GetFormat): ditto
12411         (GetNumber): ditto
12412         (Add): ditto
12413         (Delete): ditto
12414         (SetViewer): ditto
12415         * bufferlist.C (getFileNames): ditto
12416         (emergencyWriteAll): ditto
12417         (exists): ditto
12418         (getBuffer): ditto
12419         * MenuBackend.C (hasSubmenu): ditto
12420         (hasMenu): ditto
12421         (getMenu): ditto
12422         * BufferView_pimpl.C (getInsetByCode): ditto
12423
12424 2001-04-18  Juergen Vigna  <jug@sad.it>
12425
12426         * vspace.C (asLatexString): fixed the 100% problem.
12427
12428 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * lyxfunc.C (Dispatch):
12431         * minibuffer.C:
12432         * minibuffer.h: add a few std:: qualifiers
12433
12434 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * minibuffer.[Ch]: reimplement so that commands is initiated and
12437         run from lyxfunc, simplified som handling, and made the completion
12438         and history code for complete. wip.
12439
12440         * lyxfunc.C (processKeySym): call message
12441         (miniDispatch): new temporary method
12442         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12443         (LFUN_MESSAGE): implement
12444         (LFUN_MESSAGE_PUSH): implement
12445         (LFUN_MESSAGE_POP): implement
12446         (initMiniBuffer): the initial/defualt minibuffer message.
12447
12448         * lyxfont.[Ch]: inline some more getters
12449
12450         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12451
12452         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12453
12454         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12455         (AutoSave): use LFUN_MESSAGE
12456         (Reconfigure): ditto
12457
12458         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12459
12460         * figureForm.C: use LFUN_MESSAGE
12461
12462         * converter.C (runLaTeX): use LFUN_MESSAGE
12463
12464         * bufferview_funcs.C: use LFUN_MESSAGE
12465         (Melt): ditto
12466         (changeDepth): ditto
12467
12468         * bufferparams.h: use boost::
12469
12470         * bufferlist.h: inherit privately from noncopyable
12471
12472         * bufferlist.C (loadLyXFile): remove some commented code.
12473
12474         * buffer.C (runChktex): use LFUN_MESSAGE
12475
12476         * ShareContainer.h: inherit privately from noncopyable
12477
12478         * ParagraphParameters.[hC] (depth): inline it.
12479
12480         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12481         methods.
12482         (message): new method
12483         (messagePush): ditto
12484         (messagePop): ditto
12485         (show): init minibuffer
12486         (showState): direct call
12487
12488         * LaTeX.[Ch]: inherit privately from noncopyable
12489         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12490         instead of WriteStatus.
12491
12492         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12493
12494         * BufferView_pimpl.C (buffer): don't init minibuffer
12495         (workAreaButtonPress): use LFUN_MESSAGE
12496         (workAreaButtonRelease): ditto
12497         (savePosition): ditto
12498         (restorePosition): ditto
12499         (MenuInsertLyXFile): ditto
12500         (workAreaExpose): don't init minibuffer
12501         (update): remove commented code, simplify
12502
12503         * BufferView2.C (openStuff): use LFUN_MESSAGE
12504         (toggleFloat): ditto
12505         (menuUndo): ditto
12506         (menuRedo): ditto
12507         (copyEnvironment): ditto
12508         (pasteEnvironment): ditto
12509         (copy): ditto
12510         (cut): ditto
12511         (paste): ditto
12512         (gotoInset): ditto
12513         (updateInset): remove some commented code
12514
12515         * lastfiles.h: inherit privately from noncopyable
12516         * layout.h: ditto
12517         * lyx_gui.h: ditto
12518         * lyx_main.h: ditto
12519         * lyxlex.h: ditto
12520         * lyxlex_pimpl.h: ditto
12521
12522         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12523         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12524         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12525
12526         * LyXAction.h: inherit privately from noncopyable, add methods
12527         func_begin, func_end, returning iterators to the func map.
12528
12529         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12530         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12531         (func_begin): new method
12532         (func_end): new method
12533
12534         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12535         and not)
12536         (copySelection): ditto
12537         (pasteSelection): ditto
12538
12539         * BufferView.C: whitespace change
12540         * BufferView.h: inherit privately from noncopyable
12541
12542 2001-04-16  Allan Rae  <rae@lyx.org>
12543
12544         * tabular-old.C (l_getline):
12545         * spellchecker.C (sc_check_word):
12546         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12547         an unrecognised preprocessor directive.  So ensure they're wrapped.
12548
12549 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12550
12551         * src/exporter.C (Export): Give an error message when path to file
12552         contains spaces.
12553
12554 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12555
12556         * LaTeX.C (deplog): Always check that foundfile exists.
12557
12558 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12559
12560         * lyx_main.h:
12561         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12562
12563 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12564
12565         * tabular.[Ch] (getLabelList): implement new method
12566
12567         * minibuffer.h: comment ouf setTiimer
12568
12569         * minibuffer.C (ExecutingCB): constify res
12570         (peek_event): constify s
12571         (Set): constify ntext
12572         (Init): constify nicename
12573
12574         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12575
12576         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12577         (savePosition): use two params to Minibuffer::Set
12578         (restorePosition): ditto
12579
12580 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * lyx_main.C: include language.h
12583
12584         * Makefile.am (lyx_main.o): add language.h
12585
12586 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12587
12588         * exporter.C:
12589         * paragraph.C:
12590         * screen.C:
12591         * tabular.C:
12592         * CutAndPaste.C: include gettext.h
12593
12594         * lyxfont.h: remove old hack with ON and OFF.
12595
12596         * lyxparagraph.h:
12597         * lyxfont.h: do not include language.h...
12598
12599         * BufferView2.C:
12600         * LaTeXFeatures.C:
12601         * Painter.C:
12602         * bufferview_funcs.C:
12603         * font.C:
12604         * lyxfont.C:
12605         * text.C:
12606         * text2.C:
12607         * trans_mgr.C:
12608         * paragraph.C: ... but do it here instead
12609
12610 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12613
12614         * tabular.C: small reformat
12615
12616         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12617         NEW_INSETS version
12618         (GetChar): ditto
12619         (BreakParagraph): ditto
12620         (SetOnlyLayout): ditto
12621         (SetLayout): ditto
12622
12623         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12624         with one arg less.
12625
12626         * lastfiles.C: removed most using decl, add std:: where needed
12627
12628         * buffer.C: ws changes
12629
12630         * MenuBackend.C (class compare_format): put into anon namespace
12631         (expand): constify label, names, action, action2
12632         (expand):
12633
12634         * text.C (SingleWidth): constify font
12635         (IsBoundary): constify rtl2
12636         (GetVisibleRow): constify ww
12637
12638         * LaTeX.C (deplog): constify logfile
12639
12640         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12641         start_x, end_x
12642         (workAreaExpose): constify widthChange, heightChange
12643
12644         * lyxrow.C (par): moved
12645         (height): moved
12646         (next): moved
12647         * lyxrow.h: as inlines here
12648
12649         * lyxfont.h (shape): moved from lyxfont.C
12650         (emph): moved from lyxfont.C
12651
12652         * lyxfont.C (LyXFont): use initialization list for all
12653         constructors
12654         (shape): move to lyxfont.h as inline
12655         (emph): move to lyxfont.h as inline
12656
12657
12658 2001-04-04  Juergen Vigna  <jug@sad.it>
12659
12660         * vspace.C: had to include stdio.h for use of sscanf
12661
12662 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12663
12664         * BufferView.h:
12665         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12666         independent of xforms.
12667
12668 2001-04-02  Juergen Vigna  <jug@sad.it>
12669
12670         * spellchecker.C: fixed namespace placing!
12671
12672 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12675         the LyXParagraph * is 0.
12676
12677 2001-03-29  Juergen Vigna  <jug@sad.it>
12678
12679         * vspace.C: added support for %, c%, p%, l%.
12680         (stringFromUnit): added helper function.
12681         (asLatexString): changed to give right results for the %-values.
12682
12683         * buffer.C: convert the widthp in a width%.
12684
12685 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12688         figureForm.[Ch].
12689
12690         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12691         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12692
12693         * lyx_cb.[Ch]: see above.
12694
12695         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12696         form1.[Ch].
12697
12698         * form1.[Ch]:
12699         * lyx.[Ch]: replaced by figure_form.[Ch].
12700
12701         * lyx_gui.C:
12702         * lyx_gui_misc.C:
12703         * lyxfunc.C: changed headers associated with above changes.
12704
12705 2001-03-27  Juergen Vigna  <jug@sad.it>
12706
12707         * BufferView_pimpl.C: set the temporary cursor right!
12708
12709 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12712
12713 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * LString.h: removed "using std::getline"!
12716
12717         * BufferView_pimpl.C (Dispatch): changes due to changes in
12718         InsetInclude::Params.
12719
12720         * buffer.C (tag_name): removed redundant break statements as they were
12721         producing lots of warnings with my compiler.
12722
12723 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * LString.h: add "using std::getline" when using the real <string>.
12726
12727 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12728
12729         * buffer.C: removed bitset usage.
12730         PAR_TAG moved to an anonymous name space.
12731         (tag_name): new funtion, also in the anonymous namespace.
12732         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12733         (makeDocBookFile): clean code. Completed transition from string arrays
12734         to string vectors.
12735         (SimpleDocBookOnePar): code clean.
12736
12737 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12738
12739         * tabular.C: add some comments.
12740
12741 2001-03-22  Juergen Vigna  <jug@sad.it>
12742
12743         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12744         compatibility read a bit and fixed bug with minipage in different
12745         depth.
12746
12747 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12748
12749         * buffer.C (pop_tag): removed.
12750         (push_tag): removed.
12751         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12752         array replaced with vector. Added support for CDATA sections.
12753         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12754         at any nest level.
12755         (makeDocBookFile): XML conformant declaration of CDATA section,
12756         fixed bug related to <emphasis> in the first paragraph char.
12757         (sgmlOpenTag): exclude empty tags.
12758         (sgmlCloseTag): ditto.
12759
12760         * buffer.h (pop_tag): removed.
12761         (push_tag): removed.
12762
12763 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * language.h (Languages): added size_type and size().
12766
12767 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12768
12769         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12770         response on compability reading of minipages. One probliem is that
12771         the old usage of minipages was «flertydig»
12772
12773         * several files here and in subdirs: don't use static at file
12774         scope use anon namespaces instead.
12775
12776 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12777
12778         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12779         LaTeX output. This is necessary for Literate document
12780         processing.
12781
12782 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12783
12784         * buffer.C: insert hfill when needed.
12785
12786         * tabular.C (l_getline): use string::erase, small whitespace change.
12787
12788         * BufferView_pimpl.C: try the anon namespace.
12789         * WorkArea.C: ditto
12790
12791 2001-03-16  Juergen Vigna  <jug@sad.it>
12792
12793         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12794         otherwise it won't open options-dialogs.
12795
12796         * buffer.C: honor pextraWidth(p) on converting minipages.
12797
12798         * tabular.C (l_getline): changed the functions to strip trailing \r.
12799
12800 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * BufferView_pimpl.C:
12803         * minibuffer..C: added "using SigC::slot" declaration.
12804
12805 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12806
12807         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12808
12809         * text2.C: ditto
12810
12811         * text.C: ditto
12812
12813         * paragraph.C: ditto
12814
12815         * lyxtext.h: NO_PEXTRA
12816
12817         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12818
12819         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12820         * ParameterStruct.h: ditto
12821         * ParagraphParameters.h: ditto
12822         * lyxparagraph.h: ditto
12823
12824 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12825
12826         * buffer.C: add compability for minipage alignment.
12827         (latexParagraphs): remove unwanted pextra check.
12828
12829         * several files: remove CXX_WORKING_NAMESPACES
12830
12831         * buffer.C (pop_tag): tie is in namespace boost
12832
12833         * BufferView.h: noncopyable is in namespace boost
12834         * lyxlex.h: ditto
12835         * lyx_main.h: ditto
12836         * lyx_gui.h: ditto
12837         * layout.h: ditto
12838         * lastfiles.h: ditto
12839         * bufferlist.h: ditto
12840         * ShareContainer.h: ditto
12841         * LyXView.h: ditto
12842         * LyXAction.h: ditto
12843         * LaTeX.h: ditto
12844
12845 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * Merging changes from BRANCH_MVC back into HEAD.
12848
12849         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12850
12851 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * BufferView_pimpl.C: change from intl.C
12854
12855         * combox.h:
12856         * combox.C:
12857         * Makefile.am: move combox.*
12858
12859         * form1.h:
12860         * form1.C:
12861         * lyx_gui.C:
12862         * intl.h:
12863         * intl.C: remove dialog (covered by prefs)
12864
12865 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * lyxfunc.C (Dispatch): removed redundant break statement.
12868
12869 2001-03-14  Juergen Vigna  <jug@sad.it>
12870
12871         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12872
12873 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12874
12875         * buffer.C: add hack to fix compability reading of minipages.
12876
12877 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * buffer.C (getLists): Cleanup.
12880
12881 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12882
12883         * lyxfont.C (update): don't honor toggleall on font size.
12884
12885 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * bmtable.c:
12888         * bmtable.h:
12889         * Makefile.am: moved to frontends/xforms/
12890
12891         * lyx_gui_misc.C:
12892         * lyxfunc.C:
12893         * BufferView_pimpl.C: changes for moved mathpanel
12894
12895 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * gettext.h: fix gettext_init() in --disable-nls
12898
12899 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12900
12901         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12902
12903 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * lyx.C:
12906         * lyx.h: strip external form
12907
12908 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * BufferView_pimpl.C: add comment, destroySplash()
12911
12912 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * BufferView_pimpl.C:
12915         * LyXAction.C:
12916         * buffer.C:
12917         * commandtags.h:
12918         * lyxfunc.C: use re-worked insetinclude
12919
12920 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12921
12922         * buffer.C: add using std::stringstream.
12923
12924         * lyx_cb.C: readd using std::ios.
12925
12926         * buffer.C: add using std::map.
12927
12928         * BufferView_pimpl.C: add using std::vector.
12929
12930         * ShareContainer.h: add std:: to swap.
12931
12932         * buffer.h: add some typedefs
12933         * buffer.C (getLists): use them
12934         (getLists): renamed from getTocList.
12935         add a counter for the different float types and use it in the
12936         generated string.
12937         (getLists): use the same counter for the NEW_INSETS and the "non"
12938         NEW_INSETS
12939
12940         * lyx_cb.h: remove unused items, includes, using etc.
12941
12942         * ShareContainer.h: remove some commented code, add more comments
12943         and "documentation".
12944
12945 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12946
12947         * buffer.C (getTocList): make the list also when NEW_INSETS is
12948         defined.
12949
12950         * buffer.h: remove TocType
12951
12952         * buffer.C (getTocList): change to return a map<string,
12953         vector<TocItem> >, implement for dynamic number of list.
12954
12955         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12956         * text2.C (PasteSelection): adjust
12957         * CutAndPaste.C (pasteSelection): adjust
12958
12959         * FloatList.C (FloatList): update from the new_insets branch.
12960         * Floating.[Ch]: ditto
12961         * LaTeXFeatures.C: ditto
12962         * buffer.C: ditto
12963         * lyxlex_pimpl.C: ditto
12964
12965         * paragraph.C (Last): remove when NEW_INSETS is defined.
12966
12967         * other file: changes because of the above.
12968
12969 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12970
12971         * lyxparagraph.h: rename next to next_, previous to previous_,
12972         make them private for NEW_INSETS. Rename Next() to next(),
12973         Previous() to previous().
12974
12975         * other files: changes because of the above.
12976
12977 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * BufferView.h:
12980         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12981         problem.
12982
12983 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * main.C (main): pass lyx_localedir to gettext_init().
12986
12987         * gettext.h: remove locale_init and gettext_init macros
12988
12989         * gettext.C (locale_init): new function
12990         (gettext_init): new function
12991
12992         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12993         setlocale().
12994
12995 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12996
12997         * Moved credits to frontends:
12998         * credits.[Ch]: removed
12999         * credits_form.[Ch]: removed
13000         * lyx_gui_misc.C: remove credits stuff
13001         * Makefile.am:
13002
13003 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13004
13005         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13006
13007         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13008         unneeded destructor.
13009
13010         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13011         a standalone pointer again.
13012
13013         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13014
13015 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * Makefile.am:
13018         * filedlg.h:
13019         * filedlg.C:
13020         * LyXAction.C:
13021         * ToolbarDefaults.C:
13022         * bufferlist.C:
13023         * commandtags.h:
13024         * form1.C:
13025         * form1.h:
13026         * lyx_cb.C:
13027         * lyx_cb.h:
13028         * lyxfunc.h:
13029         * lyxfunc.C:
13030         * BufferView_pimpl.C: use new file dialog in GUII
13031
13032         * lyx_cb.h:
13033         * lyx_cb.C: remove LayoutsCB to Toolbar
13034
13035 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * ShareContainer.h (get): add std:: qualifier
13038
13039 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040
13041         * ShareContainer.h: define a proper ShareContainer::value_type
13042         type (and use typename to please compaq cxx)
13043
13044 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13045
13046         * lyxparagraph.h: move serveral local vars to
13047         ParameterStruct/ParagraphParameters., use ShareContainer in
13048         FontTable., make vars in FontTable private and add getter and
13049         setter.
13050
13051         * paragraph.C: changes because of the above.
13052
13053         * lyxfont.h: remove copy constructor and copy assignment. (the
13054         default ones is ok), move number inside FontBits. move inlines to
13055         lyxfont.C
13056
13057         * lyxfont.C: add number to initializaton of statics, move several
13058         inlines here. constify several local vars. some whitespace
13059         cleanup. Dont hide outerscope variables.
13060
13061         * Spacing.h: add two new constructors to match the set methods.
13062
13063         * ShareContainer.h: new file, will perhaps be moved to support
13064
13065         * ParameterStruct.h: new file
13066
13067         * ParagraphParameters.h: new file
13068
13069         * ParagraphParameters.C: new file
13070
13071         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13072         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13073
13074         * BufferView_pimpl.C: ParagraphParameter changes.
13075         * buffer.C: Likewise.
13076         * bufferview_funcs.C: Likewise.
13077         * text.C: Likewise.
13078         * text2.C: Likewise.
13079
13080 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13081
13082         * lyxfind.C (LyXReplace): do not redefine default argument in
13083         implementation.
13084         (IsStringInText): ditto
13085         (SearchForward): ditto
13086         (SearchBackward): ditto
13087
13088 2001-03-06  Juergen Vigna  <jug@sad.it>
13089
13090         * lyxfind.C (IsStringInText): put parentes around expressions.
13091
13092 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13093
13094         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13095
13096 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13099
13100         * stl_string_fwd.h: add comment
13101
13102         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13103
13104         * tabular.h:
13105         * tabular.C: remove unused DocBook methods
13106
13107         * intl.C:
13108         * language.C:
13109         * paragraph.C:
13110         * buffer.C:
13111         killed DO_USE_DEFAULT_LANGUAGE
13112
13113 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13114
13115         * lyx_gui.C: do not include language.h.
13116
13117         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13118         arguments in function implementation.
13119
13120 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13121
13122         * BufferView_pimpl.C: add <ctime>
13123
13124 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13125
13126         * BufferView_pimpl.C: add using std::find_if
13127
13128 2001-02-27  José Matos  <jamatos@fep.up.pt>
13129
13130         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13131         by OnlyPath.
13132
13133 2001-02-11  José Matos  <jamatos@fep.up.pt>
13134
13135         * buffer.C (makeDocBookFile): command styles now have a parameter as
13136         "title" by default.
13137
13138 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13139
13140         * layout_forms.[Ch]: removed
13141         * lyx_cb.[Ch]: out character
13142         * lyx_gui.C: out character
13143         * lyx_gui_misc.C: out character
13144         * bufferview_funcs.C: : out character,
13145         added toggleall as parameter in ToggleAndShow
13146
13147 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13148
13149         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13150
13151         * text2.C (SetCurrentFont): Disable number property at boundary.
13152
13153 2001-02-26  Juergen Vigna  <jug@sad.it>
13154
13155         * lyxfunc.C (getStatus): added a string argument override function so
13156         that this is correctly called from LyXFunc::Dispatch if it contains a
13157         do_not_use_argument which is used!
13158         (Dispatch): added check for "custom" export and call appropriate func.
13159
13160 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13161
13162         * lyxrc.C: Add language_command_local, language_use_babel and
13163         language_global_options.
13164
13165         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13166
13167         * buffer.C (makeLaTeXFile): Use language_use_babel and
13168         language_global_options.
13169
13170 2001-02-23  Juergen Vigna  <jug@sad.it>
13171
13172         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13173         which works with LyXText and putted it inside BufferView. Here now we
13174         only call for that part the BufferView::Dispatch() function.
13175
13176         * BufferView.C (Dispatch): added.
13177
13178         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13179         functions which needs to use a LyXText over from LyXFunc.
13180         (MenuInsertLyXFile): added
13181         (getInsetByCode): added
13182         (moveCursorUpdate): added
13183         (static TEXT): added
13184
13185 2001-02-22  Juergen Vigna  <jug@sad.it>
13186
13187         * BufferView_pimpl.C (update): call a status update to see if LyXText
13188         needs it.
13189
13190 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13191
13192         * vc-backend.C (revert): implement for CVS
13193         (getLog): implement for CVS
13194
13195 2001-02-20  Juergen Vigna  <jug@sad.it>
13196
13197         * text2.C (ClearSelection): added BufferView param for inset_owner call
13198
13199         * lyxfunc.C (TEXT): added this function and use it instead of
13200         directly owner->view()-text of getLyXText().
13201
13202 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13203
13204         * src/layout_forms.C: out preamble
13205         * src/layout_forms.h: out preamble
13206         * src/lyx_cb.C: out preamble
13207         * src/lyx_cb.h: out preamble
13208         * src/lyx_gui.C: out preamble
13209         * src/lyx_gui_misc.C: out preamble
13210         * src/lyxfunc.C: connect with guii preamble
13211
13212 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13213
13214         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13215
13216 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13217
13218         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13219         whether to run bibtex.
13220
13221 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13222
13223         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13224
13225 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13226
13227         * Makefile.am (lyx_SOURCES): removed bibforms.h
13228
13229         * vspace.h: doxygen
13230
13231         * text.C (GetVisibleRow): make several local vars const
13232
13233         * tabular.C: small cleanup.
13234
13235         * lyxserver.C (callback): use compare instead of strncmp
13236
13237         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13238         inlines to after class or to paragraph.C
13239
13240         * lyxfont.h: remove friend operator!=
13241
13242         * converter.h: move friend bool operator< to non friend and after
13243         class def.
13244
13245         * combox.h: small cleanup
13246
13247         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13248         to inlines after class def.
13249
13250         * buffer.C (pop_tag): use string operations instead of strcmp
13251
13252         * bmtable.c: doxygen, small cleanup
13253
13254         * LaTeX.h: remove friend operator==
13255
13256 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13257
13258         * screen.C:
13259         * lyxrc.[Ch]:
13260         * lyxfunc.C:
13261         * lyxfont.[Ch]:
13262         * lyx_cb.C:
13263         * intl.[Ch]:
13264         * commandtags.h:
13265         * buffer.C:
13266         * WorkArea.[Ch]:
13267         * LyXAction.C:
13268         * BufferView_pimpl.C:
13269         * BufferView.[Ch]: remove cruft
13270
13271 2001-02-14  Juergen Vigna  <jug@sad.it>
13272
13273         * lyxfunc.C: removed #if 0 unused code
13274
13275         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13276
13277         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13278
13279         * text2.C (SetSelection): added a BufferView * parameter
13280
13281 2001-02-13  Juergen Vigna  <jug@sad.it>
13282
13283         * lyxfunc.C (Dispatch): fixed protected blank problem.
13284         * BufferView2.C (protectedBlank): added LyxText * parameter.
13285
13286         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13287         (AppendColumn): same as above for column_info.
13288
13289         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13290         (moveCursorUpdate): use a LyXText param for support of InsetText.
13291
13292         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13293         (tripleClick): ditto
13294
13295         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13296
13297         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13298
13299         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13300
13301         * text2.C (SetSelection): set correct update status if inset_owner
13302         (ToggleFree): ditto
13303
13304 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13305
13306         * tabular.C: remove some commented code.
13307
13308 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * BufferView_pimpl.C: call hideSplash()
13311
13312         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13313
13314         * include_form.h:
13315         * bibforms.h: remove
13316
13317         * lyxfunc.C:
13318         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13319           add LFUN_CHILD_CREATE
13320
13321         * counters.h: fix tiny typo
13322
13323         * lyx_cb.C:
13324         * lyx.h:
13325         * lyx_gui.C:
13326         * lyx.C: move splash to frontends/xforms/
13327
13328         * lyx_gui_misc.C: move Include and Bibform to frontends
13329
13330         * lyxvc.h: clarify comment
13331
13332         * vspace.C: tiny housekeeping
13333
13334 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13335
13336         * text.C (PrepareToPrint): RTL Fix.
13337
13338         * paragraph.C (GetUChar): New method.
13339         (String):  Use GetUChar.
13340
13341         * buffer.C (asciiParagraph): Use GetUChar.
13342
13343 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13346
13347 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * buffer.h:
13350         * buffer.C: rename to getLogName(), handle
13351           build log / latex log nicely
13352
13353 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * MenuBackend.C:
13356         * MenuBackend.h: remove support for reference menuitem type.
13357
13358 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * BufferView_pimpl.C: housekeeping
13361         * BufferView_pimpl.h:
13362         * LyXView.h:
13363         * Makefile.am:
13364         * Timeout.C:
13365         * Timeout.h:
13366         * minibuffer.h: move Timeout GUI-I
13367
13368 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13369
13370         * lyxrc.C (read): Update converters data-structures.
13371
13372 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13373
13374         * LaTeX.h (operator!=): add operator != for Aux_Info
13375
13376 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13379
13380         * LaTeXLog.C: deleted, useful code moved to Buffer
13381
13382         * buffer.h:
13383         * buffer.C: new function getLatexLogName()
13384
13385         * lyx_gui_misc.C:
13386         * lyx_gui.C:
13387         * lyxvc.C:
13388         * lyxvc.h:
13389         * lyxfunc.C: use frontends for LaTeX and VC logs
13390
13391 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13392
13393         * LaTeX.h: yet another std:: that Allan forgot.
13394
13395         * Variables.C (set): renamed from isset(), because this clashes
13396         with some HP-UX macros (grr).
13397
13398 2001-02-06  Allan Rae  <rae@lyx.org>
13399
13400         * LaTeX.h: Another bug fix.  Missing std:: this time.
13401
13402 2001-02-04  Allan Rae  <rae@lyx.org>
13403
13404         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13405         floats problem. I've left it commented out because it's not quite
13406         correct.  It should also test that the current object is a table or
13407         figure inset.  But I haven't gotten around to figuring out how to do
13408         that.  I *think* it'll be something like: "table" == inset.type()
13409
13410         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13411         bool.
13412
13413 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13414
13415         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13416         all the citation/databases/styles in the auxilary file.
13417         (run): Rerun latex if there was a babel language error.
13418
13419 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13420
13421         * text.C (Backspace): Preserve the font when changing newline char
13422         with a space.
13423         (BreakParagraph): If the cursor is before a space, delete the space.
13424
13425         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13426
13427 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13428
13429         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13430         new argument (code).
13431         (ChangeCitationsIfUnique): New method.
13432
13433         * paragraph.C (GetPositionOfInset): Handle bibkey.
13434
13435 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * BufferView_pimpl.h: change type of Position::par_pos to
13438         LyXParagraph::size_type.
13439
13440 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13441
13442         * BufferView_pimpl.C (savePosition, restorePosition): Write
13443         messages to minibuffer.
13444
13445 2001-01-28  José Matos  <jamatos@fep.up.pt>
13446
13447         * buffer.C (makeDocBookFile): adds support for document language.
13448         A silly restriction on the name of LatexCommand types where removed.
13449         Added support for CDATA sections, allows to chars unescaped, used
13450         among others in code, to avoid escape < and >.
13451
13452 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13453
13454         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13455         saved positions instrad of a stack. Furthermore, a position is
13456         stored using paragraph id/paragraph position.
13457
13458         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13459         Remove LFUN_REF_BACK.
13460
13461 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13462
13463         * converter.C (dvipdfm_options): New method.
13464
13465 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * vspace.C (isValidLength): Fix for empty input string.
13468
13469 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * LyXAction.C (init): change description of LFUN_FIGURE to
13472         "Insert Graphics"
13473
13474 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * LaTeX.C: add using directive
13477
13478 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * MenuBackend.C (expand): Fix the sorting of the formats.
13481
13482 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13483
13484         * lyx_main.C: tiny error message fix
13485
13486 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13487
13488         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13489         calling fl_initialize(). This fixes the problem with ',' as
13490         decimal separator in text files.
13491
13492 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * trans.C (process): Fix the keymap bug.
13495
13496 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13497
13498         * LaTeX.C (scanAuxFiles): New method. Provides support for
13499         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13500         (scanLogFile) Scan for "run BibTeX" messages.
13501
13502         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13503         OT1 font encoding. Also, load the aecompl package if the ae
13504         package is loaded.
13505
13506         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13507
13508 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * texrow.C (increasePos): turn two error messages into debug
13511         messages.
13512
13513 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13514
13515         * LaTeX.C (scanAux): Handle the \@input macro.
13516         (runBibTeX): Use scanAux().
13517
13518         * language.C (latex_options_): New field.
13519
13520         * LaTeXFeatures.C (getMacros): Add language macros.
13521
13522         * buffer.C (makeLaTeXFile): Small fix.
13523
13524 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13525
13526         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13527
13528         * text2.C: add a using directive.
13529
13530 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * BufferView2.C:
13533         * lyx_gui_misc.h:
13534         * lyxfr1.C:
13535         * lyxfunc.C: kill LyXBell.
13536
13537 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * text.C (IsBoundary): Remove the error message
13540
13541         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13542
13543         * lyxrc.C (setDefaults): Correct initialization value for
13544         font_norm_type.
13545
13546 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13547
13548         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13549         gotoError().
13550
13551         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13552         and GotoNextNote().
13553
13554         * src/LyXAction.C: Added reference-next.
13555
13556         * text.C (InsertChar): Use contains instead of strchr.
13557
13558         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13559
13560 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13561
13562         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13563         alignment commands (when needed).
13564
13565         * text.C (InsertChar): Add ':' to number separator chars.